Skip to main content

Send Investor Bank Account


Introduction​

This resource registers a bank account for the investor within a registration analysis. Each account must be sent in a separate request — to register more than one account, call the endpoint multiple times.

Input / Output​

As input, send the data of one bank account.

As output, the keys of the created account — bank_account_key and external_bank_account_key — and its status are returned.

Request​

ENDPOINT
/investor_registry/investor/{investor_key}/investor_analysis/{investor_analysis_key}/bank_account
METHOD
POST
STATUS
201

Request body​

Example: individual main account
Request Body
{
"financial_institution_code": "341",
"account_number": "12345678",
"account_digit": "9",
"account_branch": "0001",
"main_account": true
}
Example: joint account
Request Body
{
"financial_institution_code": "341",
"account_number": "12345678",
"account_digit": "9",
"account_branch": "0001",
"shared_account_owners": [
{
"name": "Maria Silva",
"document_number": "969.698.790-03"
}
]
}

Body params​

FieldTypeDescriptionCharactersRequired
financial_institution_codestringFinancial institution code (COMPE / short ISPB)1 - 4Yes
account_numberstringBank account number (digits only)1 - 20Yes
account_digitstringAccount check digit1Yes
account_branchstringBranch number (4 digits)4Yes
main_accountbooleanIndicates whether it is the investor's main account-No
shared_account_ownersarrayList of Shared Account Owner objects-No
info

Only one account can be marked as main_account: true. If no account is marked as main, the first one registered is assumed to be the main account.

Shared Account Owners​

FieldTypeDescriptionCharactersRequired
namestringName of the account co-holder-Yes
document_numberstringCo-holder CPF (XXX.XXX.XXX-XX)14Yes

Response​

Response Body
{
"bank_account_key": "UUID",
"external_bank_account_key": "UUID",
"status": "active"
}
FieldTypeDescription
bank_account_keystringInternal identifier of the created bank account
external_bank_account_keystringKey used in the account maintenance routes: update data, update status and set main account
statusstringAccount status on creation — always active

Errors​

StatusCodeWhen it happens
400IVR000018The analysis is no longer in pending_registry_data (it has already been sent or closed)
404IVR000078Unknown bank code
409IVR000077The account is already registered

Authentication, permission and host errors: see API Errors.