Create a new bank account.
Creates a new embedded bank account for the authenticated user.
Token types: APP, USER | Required scopes: bank_account:write:org
Authorizations
Application (M2M) OAuth2 access token (client credentials).
Headers
ID of the organization to perform this operation on behalf of. Required for BANK and PLATFORM app token callers targeting a specific organization. If omitted, the request uses the authenticated caller's own organization. Must be a valid non-empty UUID. Present but malformed values return 400.
Body
Request model for creating a new bank account.
The nickname for the new bank account.
An optional bank account number to assign to the new account. When omitted, Tesouro generates one. Only available to providers explicitly approved by the bank; the value is validated against the bank's account number rules and rejected if it does not conform.
An optional reference identifier to associate with the bank account. Can be used to store a Platform's or VSP's internal account identifier. Must be alphanumeric (letters, numbers, hyphens, underscores, and dots) and max 50 characters.
The ID of a beneficial owner to use for VSP APP token bank account creation.
Required for VSP APP token callers (no user context). Not applicable when
organizationId is provided by BANK or PLATFORM callers.
Response
Bank account created successfully.
Response model for a bank account.
Unique identifier for the bank account.
Masked account number.
The UTC timestamp when the bank account was created.
Bank routing number.
The status of the bank account.
ACTIVE, CLOSED Reference identifier associated with the bank account.
Nickname for the bank account.