Pay a boleto
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Transaction PIN of the operator in X-Acting-Document. Required on cashout routes when the credential enforces a PIN (428 pin_required).
Real IP of the end user, for integrator credentials calling on their behalf. This is the IP evaluated against cashoutSourceIps — without it the check would see your server’s IP. Ignored for delegated credentials, where the connection IP is already the right one.
Optional client-generated idempotency token (recommended for safe retries).
Request
Barcode or linha digitável (alias of line)
Amount to pay, greater than zero. Use totalUpdated from the preview.
Linha digitável — canonical field; barcode is the alias
Payer’s CPF/CNPJ
Response headers
Response
Canonical payment id (bol_ + UUID). Same value as boletoId and as transactionId in webhooks.
Deprecated alias of paymentId (same value).
Always PROCESSING at acceptance. Terminal state (COMPLETED/FAILED) is delivered via webhook and the status endpoint.