Skip to main content
POST
Cancel a Pix Automático Authorization

Authorizations

Authorization
string
header
required

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

Headers

X-Account-Id
string
required

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

X-Idempotency
string
required

Idempotency key

Path Parameters

id
string
required

Authorization ID (UUID format)

Body

application/json
reasonKind
enum<string>
required
Available options:
PAYER,
FRAUD
Example:

"PAYER"

cancelledBy
string
Maximum string length: 255
Example:

"agent-4417"

evidenceReference
string
Maximum string length: 200
Example:

"FRAUD-CASE-2026-0042"

reasonText
string
Maximum string length: 500
Example:

"Customer reported unauthorized charge"

Response

OK

authorization
object