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).
Unix seconds. Required on the signed host; tolerance is 300s either way (403 request_timestamp_skew).
Lowercase hex SHA-256 of the body. An empty body hashes the empty string, so the header is always present. Mismatch returns 400 body_hash_mismatch.
Detached JWS (<protected>..<signature>, ES256 or PS256) over METHOD\nPATH?QUERY\nTIMESTAMP\nIDEMPOTENCY_KEY_OR_EMPTY\nX_CONTENT_SHA256.
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.