Pular para o conteúdo principal
GET
List boletos

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Organization-Id
string

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

Parâmetros de consulta

status
enum<string>

Status filter. REVERSED: the payment was returned to the payer; the boleto will not be paid.

Opções disponíveis:
PENDING,
CREATED,
SETTLED,
CANCELED,
INACTIVATED,
FAILED,
REVERSED
Exemplo:

"CREATED"

kind
enum<string>

Boleto kind filter. BATCH lists the items of batches.

Opções disponíveis:
SINGLE,
INSTALLMENT,
BATCH
Exemplo:

"SINGLE"

type
enum<string>

Boleto type filter. Hybrid boletos (type HYBRID) are not listed, and type=HYBRID is answered with 501 PBP-0127.

Opções disponíveis:
TRADITIONAL,
QR_CODE,
HYBRID
Exemplo:

"TRADITIONAL"

batchId
string<uuid>

Batch filter: only the boletos created as items of this batch. A value that is not a UUID is refused with 400 PBP-0001. A batch that does not exist, or that belongs to another organization, yields an empty list (total 0), not 404: this is a filter. Combined with a kind other than BATCH, the list is empty.

Exemplo:

"0192a3b4-c5d6-7e8f-9a0b-1c2d3e4f5a6b"

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

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

"2026-12-31"

dueDateFrom
string<date>

Due-date lower bound, inclusive.

Exemplo:

"2026-02-01"

dueDateTo
string<date>

Due-date upper bound, inclusive.

Exemplo:

"2026-11-30"

page
integer<int64>
padrão:1

Page number, one-based.

Intervalo obrigatório: x >= 1
Exemplo:

1

limit
integer<int64>
padrão:20

Items per page.

Intervalo obrigatório: 1 <= x <= 100
Exemplo:

20

settlementState
enum<string>

Settlement stage filter: only SETTLED boletos whose settlement.state is this value. A boleto that is not SETTLED never matches, even when a stage was already recorded for it. A value outside the list is refused with 400 PBP-0001, like every other enum filter of this operation.

Opções disponíveis:
PENDING_RELEASE,
RELEASED,
REVERSED,
CHARGEBACK_PENDING,
CHARGED_BACK
Exemplo:

"PENDING_RELEASE"

baseSituation
enum<string>

Base situation filter: only boletos whose baseSituation is this value. PENDING and FAILED boletos carry no baseSituation and never match. OPEN also matches a SETTLED boleto whose title was reopened at the base (PAID to OPEN) and a REVERSED boleto. CANCELLED and LAPSED also match a SETTLED boleto whose reopened title was then canceled by the payee's bank or lapsed. A value outside the list is refused with 400 PBP-0001.

Opções disponíveis:
OPEN,
PAID,
CANCELLED,
LAPSED
Exemplo:

"OPEN"

Resposta

OK. A page of boletos of the organization.

items
object[] | null
obrigatório
limit
integer<int64>
obrigatório
page
integer<int64>
obrigatório
total
integer<int64>
obrigatório