---
updatedAt: 2025-11-19T15:03:28.000Z
agentTools:
  projectIndex: https://partner.wirexpaychain.com/llms.txt
---

# Create bank account

Activates bank account details for the specified account type

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Wirex BaaS API",
    "description": "The **Wirex BaaS API** enables partners to deliver non-custodial financial services directly to their retail users. Through a single integration, partners can onboard users, verify identities, issue smart wallet–linked cards, and enable crypto-backed bank transfers—without ever handling fiat or taking custody of user funds.</br>All transactions are powered by **user-owned smart wallets**, ensuring security, transparency, and full user control. Wirex acts as the infrastructure provider, so you can focus on building exceptional user experiences while we handle the heavy lifting.",
    "contact": {
      "name": "API Support Team",
      "email": "company@wirexpaychain.com"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api-baas.wirexapp.tech",
      "description": "Sandbox environment"
    },
    {
      "url": "https://api-baas.wirexapp.com",
      "description": "Production environment"
    }
  ],
  "tags": [
    {
      "name": "Bank",
      "description": "The **Bank APIs** section bridges traditional Web2 banking with non-custodial Web3 wallets using Account Abstraction (AA).\n\n- **Automatic Account Creation**: All supported accounts would be created automatically upon registration. The user would be able to access their account details and manage their funds through the AA wallet. \n\n- **Fiat to Crypto**: Users can transfer fiat (EUR/GBP) from a traditional bank account to provided account details. The funds are automatically converted and deposited into their AA wallet as cryptocurrency.\n\n- **Crypto to Fiat**: Users can send crypto from their AA wallet, which is converted and delivered as fiat to a traditional bank account (via IBAN, sort code, etc.).\n\nThis allows seamless value transfer between fiat and crypto systems while maintaining full user custody and control via smart contract wallets."
    }
  ],
  "paths": {
    "/api/v1/bank/accounts": {
      "post": {
        "tags": [
          "Bank"
        ],
        "summary": "Create bank account",
        "description": "Activates bank account details for the specified account type",
        "requestBody": {
          "description": "Body data",
          "content": {
            "*/*": {
              "schema": {
                "$ref": "#/components/schemas/request.BankAccountActivateDetailsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/response.BankAccountActivateDetailsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/response.ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/response.ErrorResponse"
                }
              }
            }
          }
        },
        "x-codegen-request-body-name": "bodyData"
      }
    }
  },
  "components": {
    "schemas": {
      "request.AccountType": {
        "type": "string",
        "enum": [
          "Sepa",
          "Swift",
          "FasterPayment",
          "Ach",
          "Spei"
        ],
        "x-enum-varnames": [
          "AccountTypeSepa",
          "AccountTypeSwift",
          "AccountTypeFasterPayment",
          "AccountTypeAch",
          "AccountTypeSpei"
        ]
      },
      "request.BankAccountActivateDetailsRequest": {
        "required": [
          "account_type"
        ],
        "type": "object",
        "properties": {
          "account_type": {
            "type": "object",
            "description": "AccountType specifies the type of bank account",
            "example": "Ach",
            "allOf": [
              {
                "$ref": "#/components/schemas/request.AccountType"
              }
            ]
          }
        }
      },
      "response.BankAccountActivateDetailsResponse": {
        "required": [
          "details_id"
        ],
        "type": "object",
        "properties": {
          "details_id": {
            "type": "string",
            "description": "Identifier of the bank account details",
            "example": "00000000-0000-0000-0000-000000000001"
          }
        }
      },
      "response.ErrorCategory": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "grpc_status_code": {
            "type": "integer"
          },
          "http_status_code": {
            "type": "integer"
          }
        }
      },
      "response.ErrorDetails": {
        "type": "object",
        "properties": {
          "details": {
            "type": "string"
          },
          "key": {
            "type": "string"
          }
        }
      },
      "response.ErrorReason": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string"
          }
        }
      },
      "response.ErrorResponse": {
        "type": "object",
        "properties": {
          "error_category": {
            "$ref": "#/components/schemas/response.ErrorCategory"
          },
          "error_description": {
            "type": "string"
          },
          "error_details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/response.ErrorDetails"
            }
          },
          "error_reason": {
            "$ref": "#/components/schemas/response.ErrorReason"
          }
        }
      }
    },
    "securitySchemes": {
      "Auth0Token": {
        "type": "apiKey",
        "description": "Token obtained using Auth0 client credentials grant flow. Please see [Authorization](#tag/Authorization/Auth0) section",
        "name": "Authorization",
        "in": "header"
      },
      "WirexPayToken": {
        "type": "apiKey",
        "description": "Wirex issued JWT token that can be obtained by using [Login as user](#tag/User/paths/~1user~1authorize/post) endpoint",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "WirexPayToken": []
    },
    {
      "Auth0Token": []
    }
  ],
  "x-readme": {}
}
```