Fetch the number of subscriptions taken by a specific customer.


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

customer_idnumberId of the customer.
stateenumSubscription state. It can be either active, halted, paused, trial, cancelled.

Default - Count of all subscriptions irrespective of the state.

Response Params

countnumberCount of total subscriptions taken by the customer.
Click Try It! to start a request and see the response here!