Pular para o conteúdo principal
POST
Decode a Pix QR Code

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Account-Id
string<uuid>
obrigatório

Unique identifier of the Midaz Ledger Account (UUID format)

Corpo

application/json
emv
string
obrigatório

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

Minimum string length: 1
Exemplo:

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

cityCode
string

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

Exemplo:

"3550308"

paymentDate
string

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

Exemplo:

"2024-12-31"

Resposta

OK

receiverKey
string
obrigatório

Pix key that will receive the payment

Exemplo:

"+5511999999999"

type
string
obrigatório

QR Code type identifier (STATIC)

Exemplo:

"STATIC"

amount
string

Fixed payment amount (optional)

Exemplo:

"100.00"

description
string

Custom message or description shown to the payer

Exemplo:

"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

Exemplo:

"TX123ABC"