Get a Pix Schedule
Retrieve a schedule by its unique identifier. Cross-account lookups return 404 — existence is never leaked across accounts.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Unique identifier of the Midaz Ledger Account (UUID format).
Path Parameters
Schedule ID (UUID v7)
Response
OK
AccountID echoes the input AccountID for audit / log correlation.
"019cf6ef-e418-7ced-80c0-7b9816faa798"
Amount is the BRL amount with 2 decimal places.
"100.50"
AttemptCount is the number of fire attempts made so far.
0
Attempts is the chronological list of failed prior fire attempts. The successful attempt is not included here; it is recorded on the schedule itself via its TransferID and EndToEndID. Empty array when no failures have been recorded.
CancelledAt is the moment the schedule reached CANCELLED. Absent for non-CANCELLED rows.
"2026-05-19T09:15:33Z"
CreatedAt is the persistence timestamp (ISO 8601 UTC).
"2026-05-26T12:30:00Z"
Description is the optional human-readable transfer message.
"Recurring charge installment 03/12"
Destination is the destination snapshot captured on the schedule.
EndToEndID is the BACEN end-to-end identifier of the settled transfer (resolved via TransferID). Absent for non-EXECUTED states.
"E1234567820260815060012345678901"
ExecutedAt is the moment the schedule reached EXECUTED. Absent for non-EXECUTED rows.
"2026-08-15T06:00:04Z"
FailedAt is the moment the schedule reached the terminal FAILED state. Absent for non-FAILED rows. Symmetric with ExecutedAt / CancelledAt.
"2026-08-15T06:00:04Z"
FailureMessage is the free-text (PII-sanitized) human-readable failure description. Absent for non-FAILED rows.
FailureReason categorizes a terminal failure. Snapshot of the latest Attempts[] entry's FailureReason. Absent for non-FAILED rows.
INSUFFICIENT_FUNDS, BTG_REJECTED, MIDAZ_REJECTED, VALIDATION_FAILED, SCHEDULE_STALE_TIMEOUT, SCHEDULE_RETRIES_EXHAUSTED "INSUFFICIENT_FUNDS"
FiredAt is the most recent dispatch instant. Absent until the schedule starts processing (PROCESSING / EXECUTED / FAILED).
"2026-08-15T06:00:04Z"
ID is the unique schedule identifier (UUID v7, app-generated).
"01989f9e-6508-79f8-9540-835be49fbd0d"
InitiationID is the payment initiation referenced at create time (audit anchor). It is never reused at fire time; each fire attempt uses its own initiation, surfaced per attempt as Attempts[].InitiationID.
"550e8400-e29b-41d4-a716-446655440010"
InitiationType records how the destination was captured (MANUAL, KEY, QR_CODE).
MANUAL, KEY, QR_CODE "MANUAL"
MaxAttempts is the per-row retry cap accepted at create time.
2
RecurrenceID echoes the parent recurrence anchor when the schedule was created from a recurring flow. Empty for direct POST /v1/schedules calls.
"01988a7c-1234-7abc-8def-111122223333"
ScheduledFor is the wall-clock fire moment (ISO 8601 UTC).
"2026-08-15T09:00:00Z"
Status is the schedule lifecycle status. Always SCHEDULED on create. Lifecycle: SCHEDULED -> PROCESSING -> EXECUTED | FAILED | CANCELLED.
SCHEDULED, PROCESSING, EXECUTED, FAILED, CANCELLED "SCHEDULED"
TransferID is the identifier of the settled transfer. Populated only on EXECUTED.
"c8d27e3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f"
UpdatedAt is the last status-transition timestamp (ISO 8601 UTC).
"2026-05-26T12:30:00Z"

