Set disbursement date
Request
ENDPOINT
/debt/DEBT-KEY/set_disbursement_dateMETHOD
POSTbody.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
Field | Type | Description |
---|---|---|
debt_key * | string | Debt key returned at the moment of credit operation creation. |
BODY PARAMS
Field | Type | Description | Characters |
---|---|---|---|
disbursement_date * | date | Operation disbursement date. | 10 |
disbursement_bank_account | object | Object 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.
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's COMPE code (https://www.bcb.gov.br/pom/spb/estatistica/port/ASTR003.pdf) | 3 |
branch_number * | string | Branch number (do not include the branch check digit!) | 4 |
account_number * | string | Account number (without the account check digit!) | 10 |
account_digit * | string | Account check digit (use zero in place of letters) | 1 |
account_type | enum | Enumerador Account Type Account type | 1 |
Response
STATUS
400body.json
{
"key": "25dd0a85-dbd7-453f-9076-d776a9ef7c3a",
"event_datetime": "2022-03-29 15:30:20",
"data": {},
"webhook_type": "debt",
"status": "disbursement_date_set"
}
STATUS
400body.json
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}