List payments

Returns payments across all your sales, oldest first.

Results are paged (50 per page by default, up to 250 with limit). If there's another page, you'll get an X-Next-Page header. Request that path to continue.

See Filtering, sorting and search for how the filters, ranges and sort work.

Required permission (any one of these):

GroupPermission
SalesList and view sale payments
SalesRecord payments (includes view)
Query Params
integer
1 to 250
Defaults to 50

How many results per page. Defaults to 50, maximum 250.

string

Paging cursor. Don't build it yourself; take the whole path from the X-Next-Page header.

string

Comma-separated list matched against payment_method_id.

string

Comma-separated list matched against sale_id.

string

Comma-separated list matched against store_id.

string

Comma-separated list matched against register.

string

Up to (including) the amount.

string

From (including) the amount.

string

Comma-separated list matched against id.

integer

Greater than (not including) the id.

string

Exact match on serial_number.

string
^\d+(,\d+)*$

Matches one payment method id or a comma-separated list (up to 200).

string
^\d+(,\d+)*$

Matches one sale id or a comma-separated list (up to 200).

string
^\d+(,\d+)*$

Matches one store id or a comma-separated list (up to 200).

string
^\d+(,\d+)*$

Matches one register or a comma-separated list (up to 200).

number

Minimum amount, inclusive.

number

Maximum amount, inclusive.

string

From this created. Accepts YYYY-MM-DD (a _to date covers the whole day) or a full timestamp (RFC 3339, converted to UTC). Inclusive.

string

Up to this created. Accepts YYYY-MM-DD (a _to date covers the whole day) or a full timestamp (RFC 3339, converted to UTC). Inclusive.

string

Text search: matches records where any of name, serial_number contains this text (up to 200 characters).

string

Sort order. Use sort=key for ascending or sort=-key for descending, for example sort=-created. Keys: id, created, amount. The older sort_field=key&sort=asc|desc style still works.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json