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

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).

Path Parameters

id
string
required

Charge ID (UUID format)

Response

OK

accountId
string
Example:

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

amount
string
Example:

"29.90"

attemptCount
integer
Example:

1

attempts
object[]
authorizationId
string
Example:

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

authorizationRequestId
string
Example:

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

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

0

currentScheduleId
string
Example:

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

dueDate
string<date>
Example:

"2026-04-25"

executedAt
string<date-time>
externalChargeId
string
Example:

"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).

Example:

"CHARGE_REJECTED"

id
string
Example:

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

journey
enum<string>
Available options:
J1,
J2,
J3,
J4
Example:

"J4"

maxAttempts
integer
Example:

4

recurrenceId
string
Example:

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

status
enum<string>
Available options:
RECEIVED,
SCHEDULED,
EXECUTED,
FAILED,
CANCELLED
Example:

"SCHEDULED"

updatedAt
string<date-time>