Skip to main content
GET
List payments

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Organization-Id
string

Midaz organization whose payments are listed. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025. Only payments of this organization are listed and counted.

Query Parameters

status
enum<string>

Status filter. UNCONFIRMED selects the payments whose outcome at the payment provider is not known yet: an initiation answered 202 leaves its payment there until it resolves.

Available options:
UNCONFIRMED,
CREATED,
SCHEDULED,
PENDING_APPROVAL,
APPROVED,
EXECUTED,
SETTLED,
REJECTED,
FAILED,
CANCELED
Example:

"CREATED"

type
enum<string>

Payment type filter.

Available options:
BANKSLIP,
UTILITIES,
DARF
Example:

"BANKSLIP"

from
string

Created-from bound, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and starts at its first instant; an RFC 3339 date-time with offset (e.g. 2026-09-30T00:00:00-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Example:

"2026-01-01"

to
string

Created-to bound, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and covers it to its last instant; an RFC 3339 date-time with offset (e.g. 2026-09-30T23:59:59.999999-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Example:

"2026-12-31"

dueDateFrom
string<date>

Due-date lower bound, inclusive. It matches the DARF and BANKSLIP payments that carry a due date (see dueDate on the payment). UTILITIES payments carry none, so this bound matches none of them.

Example:

"2026-02-01"

dueDateTo
string<date>

Due-date upper bound, inclusive. It matches the DARF and BANKSLIP payments that carry a due date (see dueDate on the payment). UTILITIES payments carry none, so this bound matches none of them.

Example:

"2026-11-30"

page
integer<int64>
default:1

Page number, one-based.

Required range: x >= 1
Example:

1

limit
integer<int64>
default:20

Items per page.

Required range: 1 <= x <= 100
Example:

20

idempotencyKey
string

The Idempotency-Key a payment was created under, on POST /v1/payments or POST /v1/payments/darf. Lists the payment that key created in this organization, if any: the way to find what a creation answered without a payment id left behind, a 5xx above all. A key whose creation was refused before anything was created lists nothing. A payment retried under the same key after a refusal for funds is listed with the refused attempt. Combines with the other filters. A value that is not a UUID is refused with 400 PBP-0001; an empty value is ignored, as on the other filters. Meant for recovering one request, not for polling.

Example:

"6f9619ff-8b86-d011-b42d-00c04fc964ff"

Response

OK

items
object[] | null
required
limit
integer<int64>
required
page
integer<int64>
required
total
integer<int64>
required