Payables and receivables

List invoices

The payable and receivable book, newest first, with the row id breaking equal timestamps. Each invoice carries the agent's reasoning, not only its verdict. Only a transaction reference beginning with 0x is exposed as txHash; a simulated receipt gives null.

An unknown direction or status is refused with 400 rather than ignored.

get/api/v1/invoices

Request

  • Base URL: https://www.vestiarion.xyz
  • URL: https://www.vestiarion.xyz/api/v1/invoices
  • Auth: HTTP bearer

Query parameters

limitinteger

How many items to return. Defaults to 50; a larger value is capped at 200.

cursorstring

The previous response's page.nextCursor, passed back unchanged to continue. Opaque: never decode or construct one. A cursor this endpoint could not have issued is refused with 400.

direction'payable' | 'receivable'

Only payables, or only receivables.

status'pending' | 'matched' | 'scheduled' | 'paid' | 'held' | 'flagged' | 'awaiting_info' | 'received' | 'rejected'

Only invoices in this status.

counterpartyIdstring

Only invoices from or to this counterparty.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.