get
https://staging.myrecurpay.com/api/storefront/v2/customers//subscriptions/count
Fetch the number of subscriptions taken by a specific customer.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Using the APIs in production?While using the APIs in production, you just need to use your URL (example.recurpay.com) as an endpoint instead of staging.recurpay.com as shown in examples.
Path Params
| Attribute | Type | Description |
|---|---|---|
| customer_id | number | Id of the customer. |
| state | enum | Subscription state. It can be either active, halted, paused, trial, cancelled.
|
Response Params
| Attribute | Type | Description |
|---|---|---|
| count | number | Count of total subscriptions taken by the customer. |
