Skip to main content
POST
Decode QR code

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
qrCode
string
required

Pix QR code string to decode.

Example:

"00020126580014br.gov.bcb.pix0136019c96a0-0c0c-7221-8cf3-13313fb60081"

accountId
string<uuid>
required

Account identifier requesting the decode.

Example:

"019c96a0-0a98-7287-9a31-786e0809c769"

Response

QR code decoded successfully

qrCodeType
enum<string>
required

Pix QR code type. String values indicating the behavior and reusability of the QR code.

Valid values:

  • STATIC = Reusable QR code with fixed amount (can be scanned multiple times)
  • DYNAMIC = Single-use QR code (with expiration time and advanced validation)
Available options:
STATIC,
DYNAMIC
Example:

"STATIC"

endToEndId
string
required

End-to-end transaction identifier.

Example:

"E1234567820230615123456789012345"

amount
number<double>
required

Payment amount.

Example:

100.5

key
string
required

Pix key of the recipient.

Example:

"+5511987654321"

description
string
required

Payment description.

Example:

"Payment for services"

txId
string
required

Unique transaction identifier.

Example:

"tx_abc123"

payee
object
required

Bank account information.