Pagination
Every list endpoint uses cursor pagination for stable, order-preserving traversal.
Response shape
{
"object": "list",
"data": [ /* items */ ],
"has_more": true,
"next_cursor": "cur_01HT3P2W…",
"prev_cursor": null
}Parameters
| Field | Type | Description |
|---|---|---|
limit | int (1-100) | Page size. Defaults to 25. |
cursor | string | Opaque cursor from a previous response. |
created[gte] | unix timestamp | Filter to items created at or after. |
created[lte] | unix timestamp | Filter to items created at or before. |
Example
SDK v1.0.0
for await (const payment of korven.payments.list({ limit: 100 }).autoPaged()) {
console.log(payment.id);
}