Saltar al contenido principal
GET
List the lines of a remittance

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

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 ruta

remittance_id
string<uuid>
requerido

Identifier of the remittance.

Ejemplo:

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

Parámetros de consulta

status
enum<string>

Only the lines in this status.

Opciones disponibles:
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>
predeterminado:50

Most items per page.

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

50

Respuesta

OK. One page of remittance lines.

items
object[]
requerido

The page's lines, in file order.

limit
integer<int64>
requerido

Most lines the page holds.

Ejemplo:

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