Pular para o conteúdo principal
GET
List the lines of a remittance

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Organization-Id
string

Midaz organization the remittance belongs to. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025. A remittance of another organization is answered 404, exactly as one that does not exist.

Parâmetros de caminho

remittance_id
string<uuid>
obrigatório

Identifier of the remittance.

Exemplo:

"019a7c1e-4b2d-7f30-9c11-2a5e8d0f4b70"

Parâmetros de consulta

status
enum<string>

Only the lines in this status.

Opções disponíveis:
WAITING,
READY,
IN_FLIGHT,
EXECUTED,
REJECTED
cursor
string

Opaque cursor returned in nextCursor or prevCursor. Left out, the first page.

Maximum string length: 512
limit
integer<int64>
padrão:50

Most items per page.

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

50

Resposta

OK. One page of remittance lines.

items
object[]
obrigatório

The page's lines, in file order.

limit
integer<int64>
obrigatório

Most lines the page holds.

Exemplo:

50

nextCursor
string | null

Cursor of the page after this one; null on the last page.

Maximum string length: 512
prevCursor
string | null

Cursor of the page before this one; null on the first page.

Maximum string length: 512