Creating bank accounts
When making API requests to our system, it is important to include the authorization token in the Authorization
header to authenticate your requests. The correct format for including the token is:
Authorization: Bearer ${ACCESS_TOKEN}
For detailed information on obtaining and using access tokens, please refer to the Authentication section of our documentation.
Create Bank Account
Creates a new bank account for a receiver.
Request Body
Example:
Iban validations
Check if
accountNumber
is notundefined
,null
, or an empty string.Verify if there is a specification (
spec
) available for the country indicated by the first two characters of theaccountNumber
. If not, the validation fails.Ensure that the length of the
accountNumber
matches the expected length specified for the country. If not, the validation fails.Validate the format of the Basic Bank Account Number (BBAN) portion of the
accountNumber
. If it doesn't match, the validation fails.Check if the two digits following the country code in the
accountNumber
represent a valid checksum (i.e., they are numeric).Validate the IBAN checksum. If the checksum is invalid, the validation fails.
If no
accountNumber
is provided, the validation fails.
BIC/SWIFT validations
Check if the
bic
(Bank Identifier Code) is falsy (null, undefined, empty string). If so, the validation fails.The first 6 characters must be alphabetic (uppercase or lowercase).
The next 2 characters can be alphanumeric (uppercase, lowercase, or digits).
Optionally, the next 3 characters can be alphanumeric.
Retrieve the country specification based on the two characters at positions 4 and 5 in the uppercase
bicSwift
.
Example response (Success):
Note: To assist with creating Bank Accounts you can retrieve information from our Countries and Currencies APIs.
Retrieve Bank Account by ID
Retrieves a bank account by id
If the bank account belongs to you, you will receive a 200
status code along with the bank account details. If the bank account was not found or does not belong to you, you will receive a 400
status code with an error message.
Example Response (Success):
Last updated