get https://api.reepay.com/v1/list/subscription
Get list of subscriptions. See List queries for a general introduction to list operations. Note that excessive usage will be considered unfair API usage.
Examples
A common query is to get all active subscriptions for a customer. This can be used to authorize a user for a certain action that requires a subscription.
GET https://api.reepay.com/v1/list/subscription?customer=cust-007&state=active
All active subscriptions with a given plan can be fetched like this.
GET https://api.reepay.com/v1/list/subscription?plan=gold&state=active
All subscriptions activated after a certian date and time
GET https://api.reepay.com/v1/list/invoice?range=activated&from=2022-03-01&to=2022-04-01