Skip to main content
POST
Cancelar uma autorização do Pix Automá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).

X-Idempotency
string
obrigatório

Chave de idempotência

Parâmetros de caminho

id
string
obrigatório

ID da autorização (formato UUID)

Corpo

application/json
reasonKind
enum<string>
obrigatório
Opções disponíveis:
PAYER,
FRAUD
Exemplo:

"PAYER"

cancelledBy
string
Maximum string length: 255
Exemplo:

"agent-4417"

evidenceReference
string
Maximum string length: 200
Exemplo:

"FRAUD-CASE-2026-0042"

reasonText
string
Maximum string length: 500
Exemplo:

"Customer reported unauthorized charge"

Resposta

OK

authorization
object