Skip to main content

Set disbursement date

Request

ENDPOINT
/debt/DEBT-KEY/set_disbursement_date
METHOD
POST
body.json
{
"disbursement_date": "2021-09-01",
"disbursement_bank_account": {
"name": "Pedro Felipe Henrique Alves",
"bank_code": "329",
"account_digit": "1",
"branch_number": "001",
"account_number": "94632180173",
"document_number": "026.923.850-63"
}
}

Attention!

If the issuance of debt with multiple dates is chosen, after the contract is signed, the disbursement date must be set through this endpoint.

PATH PARAMS

FieldTypeDescription
debt_key *stringDebt key returned at the moment of credit operation creation.

BODY PARAMS

FieldTypeDescriptionCharacters
disbursement_date *dateOperation disbursement date.10
disbursement_bank_accountobjectObject Disbursement Bank Account - Bank account details for the operation disbursement.

Object Disbursement Bank Account

Bank information for disbursement can be changed along with the disbursement date. By default, the disbursement is made to an account held by the debtor.

FieldTypeDescriptionMax. Caract.
namestringAccount owner's name50
document_numberstringAccount owner's CPF11
bank_code *stringFinancial institution's COMPE code (https://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf)3
branch_number *stringBranch number (do not include the branch check digit!)4
account_number *stringAccount number (without the account check digit!)10
account_digit *stringAccount check digit (use zero in place of letters)1
account_typeenumEnumerador Account Type Account type1

Response

STATUS
400
body.json
{
"key": "25dd0a85-dbd7-453f-9076-d776a9ef7c3a",
"event_datetime": "2022-03-29 15:30:20",
"data": {},
"webhook_type": "debt",
"status": "disbursement_date_set"
}

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