Skip to main content
POST

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

REQUIRED. Client-supplied replay key, at most 64 bytes. A request without it is refused with PIX-0030 @ 400 before the handler runs. An identical resend within 1 hour returns the original response, status included, with X-Idempotency-Replayed: true. Reusing the key with a divergent method, URL or body is PIX-0031 @ 412.

Required string length: 1 - 64

Body

application/json

The scanned QR Code content, with the journey-3 or journey-4 payment outcome when there is one.

payerAccountId
string<uuid>
required

The payer account the authorization would apply to, selected by the calling PSP among its own customers. A value that is not a non-zero UUID is refused with 400. This is the one route of the payer surface that carries the account in the BODY rather than the X-Account-Id header: a QR journey creates a mandate that does not exist yet, so the account is part of what is being created.

Pattern: ^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$
Example:

"0198f3a2-1c4e-7c8b-9d1e-2f3a4b5c6d7e"

qrCodePayload
string
required

Raw EMV content read from the QR Code. The app decodes it, detects the journey and reads the recurrence payload from the location it carries.

Maximum string length: 4096
Example:

"00020126180014br.gov.bcb.pix5204000053039865802BR5913Fulano de Tal6008BRASILIA62070503***80740014br.gov.bcb.pix2552pix.example.com/rec/2353c790eefb11eaadc10242ac1200026304F2DA"

immediatePayment
object

How the payment-or-scheduling flow of the charge ended. REQUIRED on journey 3, where Guia v1.2 §3.4 forbids proceeding with the authorization before the settlement flow completed. On journey 4 it is optional, and a FAILED result is refused: §3.5 forbids the offer that would follow an error. Ignored on journey 2, which carries no charge.

Response

Recurrence loaded and presented as a pending authorization request.

authorizationRequestId
string
required

Local payer-side request identifier created for the QR journey. Use this exact value on the decision route; do not forward it as a BACEN idSolicRec.

Example:

"SC12345678202608276bca619e690"

expiresAt
string<date-time>
required
Example:

"2026-09-26T19:18:38Z"

journey
enum<string>
required

The journey detected from the QR Code content.

Available options:
JOURNEY_2,
JOURNEY_3,
JOURNEY_4
Example:

"JOURNEY_2"

recurrenceId
string
required
Example:

"RR12345678202608276bca619e690"

status
enum<string>
required

The pending status the request was born in.

Available options:
RECEIVED
Example:

"RECEIVED"

recurrence
object
required

Terms of the recurrence the payer is asked to authorize: the receiver, periodicity, dates, amount shape and retry policy. They are the terms this institution holds after recording the request: when the payload read from the QR Code carries a version no newer than the one already held, the held terms are returned. They are a snapshot as of recording: newer terms can arrive later, and a replay answers this response verbatim, so GET the request for the current terms before deciding.