---
agentTools:
  projectIndex: https://tyms.readme.io/llms.txt
---

# Create Bank

This resource contains all needed to create bank within the organization or business.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Tyms (Sandbox)",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://staging-api.tyms.io/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "secret-key",
        "in": "header",
        "x-default": "sk_2938310299229"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/create/bank": {
      "post": {
        "summary": "Create Bank",
        "description": "This resource contains all needed to create bank within the organization or business.",
        "operationId": "create-bank-1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "nuban",
                  "account_name",
                  "name"
                ],
                "properties": {
                  "nuban": {
                    "type": "integer",
                    "description": "Account number",
                    "format": "int32"
                  },
                  "account_name": {
                    "type": "integer",
                    "description": "Account name",
                    "format": "int32"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name of bank"
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "nuban": "0260833782",
                    "account_name": "Tyms Book",
                    "name": "Fidelity Bank"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"success\",\n    \"message\": \"Bank added successfully\",\n    \"data\": {\n        \"uuid\": \"ad9f94e8adcb4ea3a8512cec5aeecc37\",\n        \"nuban\": \"0260833782\",\n        \"account_name\": \"Tyms Book\",\n        \"name\": \"Fidelity Bank\",\n        \"currency\": \"NGN\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Bank added successfully"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "example": "ad9f94e8adcb4ea3a8512cec5aeecc37"
                        },
                        "nuban": {
                          "type": "string",
                          "example": "0260833782"
                        },
                        "account_name": {
                          "type": "string",
                          "example": "Tyms Book"
                        },
                        "name": {
                          "type": "string",
                          "example": "Fidelity Bank"
                        },
                        "currency": {
                          "type": "string",
                          "example": "NGN"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "66af161f6f18be002a6dc48f:64eec04fc34c83000c13741b"
}
```