Skip to main content
GET
List payments

Authorizations

Authorization
string
header
required

Query Parameters

s
string

Filter payments with a JSON-encoded condition passed as a string in the URL — ?s={"field":{"$operator":value}} — and combine conditions with $and / $or. An $or written inside a field ({"field":{"$or":…}}) takes one plain operator: several operators, a list or a nested $or return 400 — combine conditions with a top-level $or instead.

Operators — $eq equals · $ne not equals · $gt $gte $lt $lte range · $between [min, max] · $cont $starts $ends text match · $in $notin value list · $isnull $notnull null check. Append L for case-insensitive text match ($contL, $startsL, …). Shorthand: {"field": value} is the same as {"field": {"$eq": value}}. Dates accept YYYY-MM-DD or full ISO 8601 (2026-06-01T00:00:00.000Z); filtering an unlisted field returns 400.

Filterable fields

id, clientId and invoiceId only take hyphenated UUIDs (8-4-4-4-12, as the API returns them) or null: any other value returns 400. They only accept $eq, $ne, $in, $notin, $isnull and $notnull — the range ($gt $gte $lt $lte $between) and text-matching operators return 400 even on a valid UUID. A list of values is only accepted under $in and $notin, and never nested.

currencyAmount is exposed as amount in responses — filter on currencyAmount.

Examples

Example:

"{\"invoiceId\":{\"$eq\":\"00000000-0000-0000-0000-000000000000\"}}"

page
integer
default:1

Number of the page, from 1.

Required range: x >= 1
limit
integer
default:200

Number of items per page, from 1 to 200.

Required range: 1 <= x <= 200
sort
string[]

Sort keys: id · createdAt · updatedAt. Default: updatedAt,DESC.

Pattern: ^(id|createdAt|updatedAt),(ASC|DESC)$

Response

200 - application/json

One page of payments.

count
integer
required

Number of items in data.

total
integer
required

Number of items that match the filter, on all pages.

page
integer
required

Number of the page.

pageCount
integer
required

Number of pages.

data
object[]
required

The payments of the page.