Skip to main content
This service is not yet available in v3. Available in v2 only.

What is the Boleto Payments?

The Boleto Payments API (v2) allows you to programmatically manage and execute boleto bancário payments (bank slips) in Brazil, including both:
  • Manual boletos (initiated via barcode)
  • DDA (Débito Direto Autorizado) pre-authorized invoices retrieved automatically from financial institutions
You can use this API to:
  • Fetch and display pending DDA bills
  • Initiate boleto payments (DDA or manual)
  • Retrieve a complete payment history

Available Endpoints


Get all DDA invoices

Use this endpoint to retrieve all DDA invoices (pending or unpaid) available to your company. These invoices are issued by suppliers or creditors and automatically associated with your account by the banking network.

Endpoint

GET /v2/payments/dda

cURL Request

cURL

Sample JSON Response

JSON

Get DDA Invoice by UUID

Use this endpoint to retrieve detailed information for a specific DDA invoice using its uuid.

Endpoint

GET /v2/payments/dda/{uuid}

cURL Request

cURL

Sample JSON Response

JSON

Create a Boleto Payment

Use this endpoint to initiate a boleto payment using a valid barcodeDigitableLine. This works for both DDA and manually obtained boletos. You can optionally attach metadata to link this payment to specific internal processes.

Endpoint

POST /v2/payments

cURL Request

cURL

Sample JSON Response

JSON

Get All Boleto Payments

Use this endpoint to retrieve the list of all boleto payments initiated from your account, including both DDA and manual payments. You can apply filters such as status, startDate, or endDate.

Endpoint

GET /v2/payments

cURL Request

cURL

Sample JSON Response

JSON

**💡 Tip: **Use the DDA endpoints to show users their pre-approved invoices. You can pay them by simply passing the barcodeDigitableLine to the /v2/payments endpoint. **⚠️ Note: **All payments must comply with due dates and available balance. Payment execution is not guaranteed if validation fails or if the boleto is expired.

Endpoint Reference

GET /api/v2/payments

List payments (v2)

POST /api/v2/payments

Create payment (v2) Request Body (PaymentRequest):

GET /api/v2/payments/dda

List DDA payments (v2)

GET /api/v2/payments/{barcode_digitableline}

Get payment by barcode or digitable line (v2). Returns merged payment data from all matching payment attempts. Path parameter must be numeric only. Parameters: Response Schema (PaymentMergedV2): PaymentAttempt fields: