These docs are for v2.0. Click to read the latest docs for v3.

Subscriptions Count API

Fetch the number of subscriptions taken by a specific customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

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

AttributeTypeDescription
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

AttributeTypeDescription
countnumberCount of total subscriptions taken by the customer.
Path Params
string
required
Defaults to 5324957843531

Pass customer id of the logged in customer.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json