Get Subscription List
Description:
Retrieves a paginated list of subscriptions. The response includes details of each subscription, and filtering options can be applied via query parameters.
Url Parameter Parameters:
status(string, optional) – Filter subscriptions by status (e.g.,SENT,ONGOING,COMPLETED, CANCELLED).
Query Parameters:
page(integer, optional) – The page number for pagination. Default:1.phone(string, optional) – Filter subscriptions by phone.customerName(string, optional) – Retrieve subscriptions associated with a specific customer.startDate(date, optional) – Filter subscriptions that started on or after this date (Format:YYYY-MM-DD).endDate(date, optional) – Filter subscriptions that ended on or before this date (Format:YYYY-MM-DD). startDate and endDate should be used together.
Authentication
This endpoint requires authentication using a Bearer Token. The client must send the token in the Authorization header for every request.
Example Authentication Header:
If the token is missing or invalid, the API will return a 401 Unauthorized response.
| Endpoint | : | https://demo-api.frontpayment.no/api/v1/connect/subscriptions/list/{status?} |
| Method | : | GET |
| Authorization | : | Bearer |
|
Response Structure |
: |
|
|
Example Response |
: |
|