Here is a typical Payssion pagination query params:
| Param | Requirement | Description |
|---|
| page | optional | default is 1 |
| per_page | optional | default is 10 |
| time_field[lt] | conditional | one of [lt] or [lte] should be passed |
| time_field[lte] | conditional | one of [lt] or [lte] should be passed |
| time_field[gt] | conditional | one of [gt] or [gte] should be passed |
| time_field[gte] | conditional | one of [gt] or [gte] should be passed |
| Param | Description |
|---|
| object | Fixed value as list |
| url | API endpoint route |
| has_more | Whether there is more results |
| data | Array of all records in current page |
{
"object": "list",
"url": "/v2/customers",
"has_more": false,
"data": [
{},// customer object
{}
]
}