Store Bank account
Arguments
Contains the bank account information to be stored.
bank_account[currency]
string
required
The currency the bank acount is in.
bank_account[country]
string
required
The country in which the bank account is located.
bank_account[account_holder_name]
string
optional
The name of the person or business that owns the bank account. This field is required when attaching the bank account to a Customer object.
bank_account[account_holder_type]
string
optional
The type of entity that holds the account. This can be either individual, company. This fields is required when attaching the bank account to a Customer object.
bank_account[routing_number]
string
optional
The routing number, short code, or other country-appropriate institution number for the bank account.
bank_account[account_number]
string
required
The account number for the bank account, in string formaat. Must be a checking account.
bank_account[swift_code]
string
optional
The account swift code for international transfers.
source
string
required
Contain the token ID received from the token creation. Optionl if bank account data is present
metadata
hash
Set of key-value pairs that you can attach to an object. This contain useful for storing additional information about the object in a structured format.
Parameters
customer
string
The customer (owned by the application’s account) for wich to create a token.
Returns
Returns the created bank account token if successful. Otherwise, this call returns an error.
Last updated