Skip to main content
List endpoints that can return large result sets are paginated. These are the POST variants of the list routes — you send the paging parameters in the request body, and the response comes back wrapped in a page envelope.
Each list resource has two forms: a simple GET that returns results directly, and a POST that accepts pagination (and, for most, an optional date-range filter). An empty POST body is valid — it returns the first page using the defaults, so the POST form behaves like its GET counterpart when you don’t pass anything.

Paginated endpoints

Most accept an optional date-range filter:
  • POST /ramp/orders
  • POST /ramp/customer/{customer_id}/orders
  • POST /ramp/bank-accounts
  • POST /ramp/customer/{customer_id}/bank-accounts
  • POST /ramp/customers
  • POST /ramp/wallets
  • POST /ramp/customer/{customer_id}/wallets
One takes pagination only (no filter):
  • POST /ramp/webhooks
Find them under the matching groups in the API Reference.

Request

Limits & defaults
  • pageSize defaults to 30 and is capped at 100. Requesting more returns 400 (You can only request 100 items at a time); a pageSize of 0 returns 400 (Page size must be greater than 0).
  • pageNumber defaults to 0.
  • filters is optional. POST /ramp/webhooks ignores filters entirely (pagination only).
  • A malformed JSON body returns 400 with a JSON { "error": … } describing the parse failure; an empty body uses the defaults.

Response

Results come back in a page envelope:

Iterating through pages

Start at pageNumber: 0 and keep requesting until pageNumber + 1 >= totalPages (or until next is null):
For real-time order tracking, prefer webhooks over polling these endpoints — newly created orders can take a moment to appear in list results.