Эта страница доступна только на английском. Код, поля API и идентификаторы не переводятся.
Pagination
List endpoints return pages of objects, newest first, with a cursor.
GET /v1/payments, /v1/refunds, /v1/events and /v1/webhook-endpoints return a list object.
Parameters
| Parameter | Meaning |
|---|---|
limit | Objects per page, 1–100. Default 20. |
starting_after | An object ID from the previous page. Returns objects created before it (IDs sort by creation time). |
Reading every page
Request the next page with starting_after set to the id of the last object you received, until has_more is false.
Filters (for example status or order_id on payments, payment_id on refunds, type on events) are listed per endpoint in the API reference.