List Subscriptions
Retrieve subscriptions for your business.
-H "x-api-key: your_secret_key"GET {{host}}/v1/subscriptions?page=1&limit=20&order=DESCQuery Parameters
| Field | Data Type | Required | Description |
|---|---|---|---|
| page | integer | No | Page to retrieve. Defaults to 1. |
| limit | integer | No | Records per page. Maximum is 100. |
| order | string | No | ASC or DESC. Defaults to DESC. |
| sort | string | No | Field to sort by. Defaults to createdAt. |
| query | string | No | Search term supported by the backend service. |
| startDate | string | No | Start date filter. |
| endDate | string | No | End date filter. |
{
"status": true,
"message": "Success",
"code": 200,
"data": {
"page": 1,
"limit": 20,
"total": 1,
"pageCount": 1,
"hasPreviousPage": false,
"hasNextPage": false,
"data": [
{
"id": "93ad2450-b49f-4c3f-a871-52a5455bdf62",
"code": "SUB_abc123",
"status": "ACTIVE",
"paymentMethod": "card",
"startDate": "2026-05-20T10:15:00.000Z",
"nextPaymentDate": "2026-06-20T10:15:00.000Z"
}
]
}
}Updated 18 days ago
