Store Bank account

{
	"id": "TlnNDVS6TteSn2-FEh3ZKg",
	"account_holder_name": "John Doe",
	"account_holder_type": "individual",
	"country": "PL",
	"currency": "EUR",
	"customer": "P2ZTA56JQ7-AvwGf0pHd2Q",
	"fingerprint": "R1gbK7BauiX3XdnUCQRhzlnvMxxtSKVS7NqScFBeVRE",
	"last4": "6784",
	"routing_number": "110000000",
	"swift_code": "",
	"status": "new",
	"type": "bank_account"
}

Arguments

Contains the bank account information to be stored.

Parameter
Type
Requiered
Description

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

Parameter
Type
Description

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