Skip to main content

Approve Boleto Payment

To make a Boleto payment, two calls are required:

  1. Transfer validation token request: /baas/token_request

  2. Transfer approval: /baas/movement_validation

info

The sent Token must be provided at the time of boleto payment approval, and the "movement_payload" must be the same as provided when the token was requested.

Request

METHOD
POST
ENDPOINT
/baas/movement_validation

Request Body
{
"token": "358192",
"movement_payload": {
"resource_account_key": "6d30a0b1-cb90-4ceb-b1ea-5bd600cdf3c8",
"digitable_line": "32990001031000699926165000000201993810000003500"
}
}

Body Params

FieldTypeDescriptionCharacters
token *stringAuthentication token6
agent_document_number *stringCPF of the user who will receive the token. (Numbers only)11
movement_payloadObjectPayload containing transfer informationObject movement_payload

Object movement_payload

FieldTypeDescriptionCharacters
resource_account_key *uuidv4Unique identification key of the account that will make the payment36
digitable_line *stringBoleto digitable line47

Response

STATUS
200
Response Body
{
"movement_info": {
"origin": {
"account": "42863",
"branch": "0001",
"digit": "0",
"document": "73685224000239",
"name": "Empresa de Teste",
"financialInstitution": "QI Sociedade de Crédito Direto S.A."
},
"faceValue": "2185.0",
"amount": "2185.0",
"dueDate": "2024-04-18T03:00:00.000Z",
"type": "bank_slip_payment",
"digitableLine": "32990001031000699926165000000201993810000003500",
"barCode": "00191969000002185000000001120035240112154117",
"destination": {
"document": "05626796000106",
"guarantorName": null,
"name": "Beneficiário do Boleto",
"guarantorDocument": null,
"bank": "QI Sociedade de Crédito Direto S.A."
}
},
"account_key": "0000000-0000-0000-0000-000000000000",
"transaction_key": "0000000-0000-0000-0000-000000000000",
"movement_status": "approved",
"schedule_key": null,
"movement_amount": 2185,
"origin_key": null,
"transacted_at_br": "2024-04-18 09:50:38-03:00",
"requester_user_key": "0000000-0000-0000-0000-000000000000",
"requester_key": "0000000-0000-0000-0000-000000000000",
"movement_request_key": "0000000-0000-0000-0000-000000000000",
"movement_date": "2024-04-18",
"approval_feedback": true,
"movement_type": "bank_slip_payment",
"movement_data": {
"transaction_key": "0000000-0000-0000-0000-000000000000",
"resource_account_key": "0000000-0000-0000-0000-000000000000",
"digitable_line": "32990001031000699926165000000201993810000003500"
},
"transacted_at": "2024-04-18 12:50:38"
}