List bank accounts
Retrives bank accounts of the merchant.
Query Parameters
- primary boolean
The true value will return only the primary bank account (the one used for settlements).
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
Schema array
- bank_code string
Bank code
- branch_code string
Branch code
- swift string
SWIFT code
- account_number string
Account number
- iban string
IBAN
- account_type string
Type of the account
- account_category string
Account category - business or personal
- account_holder_name string
- status string
Status in the verification process
- primary boolean
The primary bank account is the one used for settlements
- created_at string
Creation date of the bank account
- bank_name string
Bank name
[
{
"bank_code": "string",
"branch_code": "string",
"swift": "string",
"account_number": "string",
"iban": "string",
"account_type": "string",
"account_category": "string",
"account_holder_name": "string",
"status": "string",
"primary": true,
"created_at": "string",
"bank_name": "string"
}
]
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid_ Token
- Not_ Authorized_ Token
- Missing_ Token
Schema
- message string
Short description of the error.
- error_code string
Platform code for the error.
{
"message": "string",
"error_code": "string"
}
{
"error_message": "invalid access token",
"error_code": "NOT_AUTHORIZED"
}
{
"error_message": "NOT_AUTHORIZED",
"error_code": "NOT_AUTHORIZED"
}
{
"message": "access token required",
"error_code": "NOT_AUTHORIZED"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Forbidden
Schema
- error_message string
Short description of the error.
- error_code string
Platform code for the error.
- status_code string
HTTP status code for the error.
{
"error_message": "string",
"error_code": "string",
"status_code": "string"
}
{
"error_message": "request_not_allowed",
"error_code": "FORBIDDEN",
"status_code": 403
}