Editing disbursement bank account
Request
ENDPOINT
/debt/DEBT-KEY/disbursement_bank_accountsMETHOD
PUTPATH PARAMS
Field | Type | Description |
---|---|---|
debt_key (required) | string | Debt Id. |
Request Body
{
"disbursement_bank_accounts": [{
"bank_code": "329",
"branch_number": "001",
"account_number": "6947216",
"account_digit": "4",
"account_type": "checking_account",
"document_number": "946321801",
"name": "Pedro Felipe Henrique Alves",
"percentage_receivable": 100
}]
}
BODY PARAMS
A debt issuance must contain the disbursement bank information, which should be an account belonging to the debtor.
Field | Type | Description | Max. Caract. |
---|---|---|---|
name * | string | Account owner's name | 50 |
document_number * | string | Account owner's CPF | 11 |
bank_code * | string | Financial institution COMPE code (https://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf) | 3 |
branch_number * | string | Bank agency Number (do not inform agency verifying digit!) | 4 |
account_number * | string | Account aumber (do not inform account verifying digit!) | 10 |
account_digit * | string | Account verifying digit (inform zero rather than letters) | 1 |
account_type | enum | Enumerador Account Type Account type | 1 |
Response
STATUS
200Request Body
{}
STATUS
400Request Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}