Skip to main content
POST
Decode a Pix QR code via its payload URL

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Obtain token from /v1/login/oauth/access_token endpoint using client credentials (clientId and clientSecret).

Include token in Authorization header: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Token expires after 3600 seconds (1 hour).

Body

application/json
accountId
string
required

The CRM account id of the scanning payer (sources the PI-PayerID document).

payloadUrl
string
required

The payee-published JWS payload URL to decode (urlPayloadJson; schema-less).

municipalityCode
string

Payer municipality code (codMun; cobv holiday calc).

paymentDate
string

Intended payment date (dPP; aaaa-mm-dd; cobv valorFinal calc).

Response

OK

amount
number<double>
required

The decoded amount in reais.

payee
object
required
qrCodeType
string
required

The decoded QR type (STATIC or DYNAMIC; cobv folds onto DYNAMIC).

amountTroco
number<double>

The Pix Troco amount in reais (troco only).

bankIdPss
integer<int64>

The saque/troco PSS participant ISPB.

description
string

Additional data (dadosAdicionais).

dueDate
string

Due date (cobv/static optional).

endToEndId
string

The SPI end-to-end id.

isPixSaque
boolean

Whether the QR carries a Pix Saque leg.

isPixTroco
boolean

Whether the QR carries a Pix Troco leg.

key
string

The recipient Pix key.

txId
string

Conciliation id (idConciliacaoRecebedor).