Skip to main content
POST
Create a Static QR Code

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cabeçalhos

X-Account-Id
string
obrigatório

Unique identifier of the Midaz Ledger Account (UUID format).

Parâmetros de consulta

include_base64
boolean
padrão:false

Returns the rendered QR code in base64 alongside the EMV payload.

Corpo

application/json
receiverKey
string
obrigatório

Pix key that will receive the payment.

Exemplo:

"+5511999999999"

amount
string

Optional fixed amount.

Exemplo:

"100.00"

description
string

Custom description.

Exemplo:

"Payment for order #12345"

txId
string

Optional transaction identifier.

Exemplo:

"TXabcdefghijklmno123456789"

Resposta

Static QR Code created successfully.

id
string

QR Code unique identifier.

Exemplo:

"019c96a0-0bf7-7060-8f39-1bfbcb9168ca"

emv
string

EMV QR Code payload.

Exemplo:

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

base64
string

Base64 encoded QR Code image (if requested).

receiverKey
string

Pix key.

Exemplo:

"+5511999999999"

amount
string

Fixed amount (if set).

Exemplo:

"100.00"

description
string

Description.

Exemplo:

"Payment for order #12345"

createdAt
string<date-time>
Exemplo:

"2024-01-15T10:30:00Z"