Accounts

Query accounts

Query accounts filtering, sorting and paginating results.

See Queries for more examples and details about pagination and common query patterns.

post/v2/accounts/query

Request

Headers

Getpaid-Idempotency-Keystring required
Example:5c255194-30ec-11ed-a261-0242ac120002

A unique idempotency key to allow safe retrying. See Getpaid API idempotency for more details.

Request body

type'accounts' required

The type of the Getpaid solution resources to query.

Some query endpoints infer the resource type from the request path. In those cases, if this field is set, it must match the resource targeted by the request URL.

firstinteger

Pagination. The number of elements that will be retrieved.

afterstring

Pagination. The cursor from next page will be retrieved.

Example request

{
  "filters": {
    "id": "acc_44678r08jtm8zbt227tzhc4nw5",
    "country": "DE"
  }
}

Response

OK

type'accounts' required
cursorstring

The cursor to the last item. If non-empty, can be used to fetch the next page. If not set, there is no more elements.

Example response

{
  "cursor": "Q3VyaW9zaXR5IEtpbGxlZCB0aGUgQ2F0Cg==",
  "data": [
    {
      "id": "acc_44678r08jtm8zbt227tzhc4nw5",
      "country": "DE",
      "created_at": "2025-09-01T22:05:48.479Z"
    }
  ]
}

Changes

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