Skip to content
Pay
Esc
↑↓navigate↵open⌘Jpreview

List pre-approvals

Page through your project's pre-approvals, most recent first.

GET/preapprovals
statusquerystring

pending, approved, failed, cancelled or expired. Default: all.

phone_numberquerystring

Only this customer’s. Use the canonical form, with the 268 country code and no +.

pagequeryinteger
Default: 1

Which page, starting at 1. See pagination.

limitqueryinteger
Default: 25

Results per page, up to 100.

qquerystring

Search by external_reference, message or payer phone number. Case-insensitive, matches part of a value.

Response

A page of pre-approvals, newest first.

dataarrayrequired

The pre-approvals on this page.

pageintegerrequired

The page returned.

limitintegerrequired

The page size used.

totalintegerrequired

How many match the filters and search across all pages.

total_pagesintegerrequired

How many pages there are at this limit; 0 when nothing matches. Keep requesting while page < total_pages.

Request
curl -X GET 'https://api.razpay.razonetix.com/v1/preapprovals' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "success": true,
  "message": "",
  "data": { "data": [], "page": 1, "limit": 25, "total": 0, "total_pages": 0 }
}

Was this page helpful?