Skip to main content
POST
Criar um QR Code Estático

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

Identificador único da Conta do Ledger Midaz (formato UUID).

Parâmetros de consulta

include_base64
boolean
padrão:false

Retorna o QR code renderizado em base64 junto com o payload EMV.

Corpo

application/json
receiverKey
string
obrigatório

Chave Pix que receberá o pagamento.

Exemplo:

"+5511999999999"

amount
string

Valor fixo opcional.

Exemplo:

"100.00"

description
string

Descrição personalizada.

Exemplo:

"Pagamento do pedido #12345"

txId
string

Identificador de transação opcional.

Exemplo:

"TXabcdefghijklmno123456789"

Resposta

QR Code estático criado com sucesso.

id
string

Identificador único do QR Code.

Exemplo:

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

emv
string

Payload EMV do QR Code.

Exemplo:

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

base64
string

Imagem do QR Code codificada em Base64 (se solicitada).

receiverKey
string

Chave Pix.

Exemplo:

"+5511999999999"

amount
string

Valor fixo (se definido).

Exemplo:

"100.00"

description
string

Descrição.

Exemplo:

"Pagamento do pedido #12345"

createdAt
string<date-time>
Exemplo:

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