Authorize a third party for a boleto
Authorizes a third party to see and pay a presented boleto.
How it works
- The third party must also be an electronic payer, at any institution.
- The third party must differ from the customer who owes the boleto.
- Send
authorizer.kind:PAYER, orAGGREGATEwithaggregateIdwhen the boleto is issued against one of the customerβs aggregates. - Send the third partyβs
document(CPF or CNPJ) and the customerβsconsent. - The answer is
202with arequestId. The outcome arrives as a webhook notice and atGET /v1/electronic-payers/{electronicPayerId}/requests/{requestId}. - A retry under the same
Idempotency-Keyand body returns the same202andrequestId. It never creates a second request. - The same key with another body or
X-Organization-Idis refused withPBP-0013. - If the provider did not answer an earlier attempt, the same key and body resend it with the same
requestId. The provider discards the duplicate.
Headers
UUID. The same key with the same body returns the same 202 with the same requestId and never creates a second request; the same key with another body is refused. One exception: while the provider has not answered the request (the earlier answer was 202 PENDING because the provider did not answer after the request was sent), a retry with the same key and body sends the request again with the same requestId, which the provider deduplicates, and returns the 202 completed with the provider's answer (for an adhesion, the electronicPayerId). Once the provider has answered, retries return that 202 unchanged. The key is released only by a 503, when no attempt under it can have reached the provider.
Body
Response
Accepted. The request was taken for processing. The outcome arrives as a webhook notice and at GET /v1/electronic-payers/{electronicPayerId}/requests/{requestId}.

