Skip to main content

Editing disbursement bank account

Request

ENDPOINT
/debt/DEBT-KEY/disbursement_bank_accounts
METHOD
PUT

PATH PARAMS

FieldTypeDescription
debt_key (required)stringDebt 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.

FieldTypeDescriptionMax. Caract.
name *stringAccount owner's name50
document_number *stringAccount owner's CPF11
bank_code *stringFinancial institution COMPE code (https://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf)3
branch_number *stringBank agency Number (do not inform agency verifying digit!)4
account_number *stringAccount aumber (do not inform account verifying digit!)10
account_digit *stringAccount verifying digit (inform zero rather than letters)1
account_typeenumEnumerador Account Type Account type1

Response

STATUS
200
Request Body
{}
STATUS
400
Request Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}