Creates a single-use token that represents a bank account’s details.
You can use this token with any v1 API method in place of a bank account dictionary.
You can only use this token once.
To do so, attach it to a connected account where controller.requirement_collection is application, which includes Custom accounts.
The card this token will represent.
If you also pass in a customer, the card must be the ID of a card belonging to the customer.
Otherwise, if you do not pass in a customer, this is a dictionary containing a user’s credit card details, with the options described below.
This value is used to determine if a business is exempt from providing ultimate beneficial owners.
See this support article and changelog for more details.
The category identifying the legal structure of the company or legal entity.
See Business structure for more details.
Pass an empty string to unset this value.
Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
The type of entity that holds the account.
It can be company or individual.
This field is required when attaching the bank account to a Customer object.
The card this token will represent.
If you also pass in a customer, the card must be the ID of a card belonging to the customer.
Otherwise, if you do not pass in a customer, this is a dictionary containing a user’s credit card details, with the options described below.
The customer’s preferred card network for co-branded cards.
Supports cartes_bancaires, mastercard, or visa.
Selection of a network that does not apply to the card will be stored as invalid_preference on the card.
Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.