# List all payments Required scopes: payments:read Endpoint: GET /payments Version: v1 Security: http, oauth2 ## Query parameters: - `page[size]` (integer) The number of results that will be returned per page. - `page[cursor]` (string) The cursor to start the pagination from. - `filter` (string) Allowed filter fields (with allowed operators): | Field | Type | Operators | |------|------|-----------| | archived | enum: with, only, without | eq | | reference | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull | | type | enum | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull | | iban | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull | | payment_account.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull | | payment_account.type | enum | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull | | payment_account.iban | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull | | outgoing_invoice.id | id | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull | | date_of_payment | date | eq, ne, neq, lt, lte, le, gt, gte, ge, in, nin, notin, isnull, isnotnull, notnull | Filtering expression. Accepts either JSON (array/tree of conditions) or a readable string DSL. You can check the full syntax at Docs Filtering section. Special values: - me.id — current authenticated user id (usable on fields of type id). Example: id eq me.id - now — current date-time. Example: dueOn lt now - sow/eow — start/end of week. Examples: dueOn gt sow, dueOn lt eow - som/eom — start/end of month. Examples: dueOn gt som, dueOn lt eom - today — special date for today; with eq it expands to the whole day range. Example: dueOn eq today - today±Nd — relative day offset. Examples: today-30d, today+5d. Example: "title contains \"Acme\" and (created_at >= \"2024-01-01\" or client.name contains \"Corp\")" - `sort` (string) Available sorts are reference, iban, date_of_payment, created_at.You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -title. Example: "sort=-created_at,title" ## Response 200 fields (application/json): - `data` (array, required) The list of items - `data.id` (string, required) - `data.type` (string, required) - `data.date_of_payment` (string,null, required) - `data.reference` (string, required) - `data.iban` (string,null, required) - `data.bic` (string,null, required) - `data.value` (number, required) - `data.payment_account` (object, required) - `data.payment_account.is_default` (boolean, required) - `data.payment_account.title` (string, required) - `data.payment_account.organization` (string,null, required) - `data.payment_account.identifier` (string,null, required) - `data.payment_account.owner` (any, required) - `data.payment_account.updated_at` (string,null, required) - `data.payment_account.created_at` (string, required) - `data.payment_account.deleted_at` (string,null, required) - `data.bookings` (array, required) - `data.bookings.payment_type` (string, required) - `data.bookings.outgoing_invoice_id` (string,null, required) - `links` (array, required) - `meta` (object, required) - `meta.path` (string,null, required) Base path for paginator generated URLs. - `meta.per_page` (integer, required) Number of items shown per page. - `meta.next_cursor` (string,null, required) - `meta.next_cursor_url` (string,null, required) - `meta.prev_cursor` (string,null, required) - `meta.prev_cursor_url` (string,null, required) ## Response 401 fields (application/json): - `message` (string, required) Error overview.