Skip to main content
POST
Decode a Pix QR Code

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Account-Id
string<uuid>
required

Unique identifier of the Midaz Ledger Account (UUID format)

Body

application/json
emv
string
required

EMV QR Code payload string to decode (text content from scanned QR Code)

Minimum string length: 1
Example:

"00020126580014br.gov.bcb.pix..."

cityCode
string

City code based on IBGE Municipal Code Table (optional, used for COBV)

Example:

"3550308"

paymentDate
string

Payment date in ISO8601 format (defaults to current date if not provided)

Example:

"2024-12-31"

Response

OK

receiverKey
string
required

Pix key that will receive the payment

Example:

"+5511999999999"

type
string
required

QR Code type identifier (STATIC)

Example:

"STATIC"

amount
string

Fixed payment amount (optional)

Example:

"100.00"

description
string

Custom message or description shown to the payer

Example:

"Payment for order #12345"

merchant
object

Merchant information from the QR code

recurrence
object

Pix Automático recurrence data (present only for recurrence-bearing QR codes)

txId
string

Transaction identification (txid) sent on the payment message

Example:

"TX123ABC"