Skip to main content
GET
Get a Pix Automático Charge

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 caminho

id
string
obrigatório

Charge ID (UUID format)

Resposta

OK

accountId
string
Exemplo:

"019cf6ef-e418-7ced-80c0-7b9816faa798"

amount
string
Exemplo:

"29.90"

attemptCount
integer
Exemplo:

1

attempts
object[]
authorizationId
string
Exemplo:

"019cf6ef-e418-7ced-80c0-7b9816faa798"

authorizationRequestId
string
Exemplo:

"019cf6ef-e418-7ced-80c0-7b9816faa798"

cancelledAt
string<date-time>
createdAt
string<date-time>
currentDayIndex
integer
Exemplo:

0

currentScheduleId
string
Exemplo:

"019cf6ef-e418-7ced-80c0-7b9816faa798"

dueDate
string<date>
Exemplo:

"2026-04-25"

executedAt
string<date-time>
externalChargeId
string
Exemplo:

"90d0b9e1551447f695985409bf9b7fb5"

failedAt
string<date-time>
failureCode
string

FailureCode is the privacy-preserving generic code reported to the receiver for the charge's current outcome (e.g. CHARGE_REJECTED, OVER_LIMIT, ACCEPTED, DEBIT_FAILED). It is the ONLY code surfaced on the read API and outbound payload — the internal financial reason is never carried here (T-33 privacy boundary, rev. 10 rule #6).

Exemplo:

"CHARGE_REJECTED"

id
string
Exemplo:

"019cf6ef-e418-7ced-80c0-7b9816faa798"

journey
enum<string>
Opções disponíveis:
J1,
J2,
J3,
J4
Exemplo:

"J4"

maxAttempts
integer
Exemplo:

4

recurrenceId
string
Exemplo:

"019cf6ef-e418-7ced-80c0-7b9816faa798"

status
enum<string>
Opções disponíveis:
RECEIVED,
SCHEDULED,
EXECUTED,
FAILED,
CANCELLED
Exemplo:

"SCHEDULED"

updatedAt
string<date-time>