Skip to main content

Scenario Simulation of Boleto Registration and Modification

To generate simulations of a boleto registration notification where the account holder is the payer, the integrator partner can use the endpoints below:

Boleto Registration Request

ENDPOINT
/mock/baas/dda/account/ACCOUNT_KEY/bankslip_notification
METHOD
POST
Request Body
{
"barcode": "32993953000000714870001090000699950000347340",
"digitable_line": "32990001039000069995000003473402395300000071487",
"total_value": 999,
"expiration_date": "2023-05-05",
"payer": {
"name": "Mateus F Carneiro",
"document_number": "01308925565"
},
"beneficiary": {
"name": "Mateus F carneiro",
"document_number": "01308925565"
}
}

Response

STATUS
201
{}

Boleto Modification Request

ENDPOINT
/mock/baas/dda/account/ACCOUNT_KEY/bankslip_notification
METHOD
PUT
Request Body
{
"barcode": "32993953000000714870001090000699950000347340",
"digitable_line": "32990001039000069995000003473402395300000071487",
"total_amount": 999,
"expiration_date": "2023-05-05",
"payer": {
"name": "Mateus F Carneiro",
"document_number": "01308925565"
},
"beneficiary": {
"name": "Mateus F carneiro",
"document_number": "01308925565"
},
"status": "written_off"
}

Response

STATUS
200
{}