Saltar al contenido principal
GET
List payments

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

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.

Parámetros de consulta

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.

Opciones disponibles:
UNCONFIRMED,
CREATED,
SCHEDULED,
PENDING_APPROVAL,
APPROVED,
EXECUTED,
SETTLED,
REJECTED,
FAILED,
CANCELED
Ejemplo:

"CREATED"

type
enum<string>

Payment type filter.

Opciones disponibles:
BANKSLIP,
UTILITIES,
DARF
Ejemplo:

"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}))?$
Ejemplo:

"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}))?$
Ejemplo:

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

Ejemplo:

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

Ejemplo:

"2026-11-30"

page
integer<int64>
predeterminado:1

Page number, one-based.

Rango requerido: x >= 1
Ejemplo:

1

limit
integer<int64>
predeterminado:20

Items per page.

Rango requerido: 1 <= x <= 100
Ejemplo:

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.

Ejemplo:

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

effectiveScheduledDateFrom
string<date>

Planned. Effective date of the scheduled payment, lower bound, inclusive. Filters by the date the payment runs or ran, not by the requested date (scheduledDate), the creation date (from) or the title due date (dueDateFrom). Immediate payments are not returned by this filter. Effective scheduled-date lower bound, inclusive.

Ejemplo:

"2026-09-14"

effectiveScheduledDateTo
string<date>

Planned. Effective date of the scheduled payment, upper bound, inclusive. Independent of effectiveScheduledDateFrom: sending only one side leaves the other side open. Effective scheduled-date upper bound, inclusive.

Ejemplo:

"2026-09-18"

Respuesta

OK.

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