Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pagination & Filtering

Use the correct pagination and filters for each On/Off Ramp list endpoint and interpret its response structure.

Pagination is endpoint-specific. Do not assume every list accepts page, limit or date filters.

List
Pagination
Response items

page (default 1), limit (default 10, maximum 100)

data.records; total in data.count

Not paginated; returns active accounts

data array

No list filters or pagination

data array

No list filters or pagination

data array

curl --fail-with-body 'https://ramp-api.ivorypay.io/api/v1/transactions?page=1&limit=20' \
  -H "Authorization: $IVORYPAY_RAMP_SECRET_KEY"

Example empty transaction page:

{
  "success": true,
  "message": "Query successful",
  "data": { "records": [], "count": 0 }
}

For transactions, startPeriodDatetime and endPeriodDatetime accept ISO 8601 date/time strings. Use UTC timestamps such as 2026-10-01T00:00:00Z and URL-encode query values. q searches transaction and customer identifiers. See the endpoint reference for supported filters.

Calculate transaction pages with Math.ceil(data.count / limit). Data can change between requests; avoid treating a page position as a permanent identifier. Use the transaction reference to reconcile records.

Last updated