Subscriptions
Subscriptions allow you to charge customers on a recurring basis. Customers can subscribe through 8Pay’s hosted checkout pages that can be reached by embedded buttons, short urls and QR codes.
Subscriptions can be in three different statuses:
ACTIVE
: a cycle is in progress, no payment is dueEXPIRED
: the latest cycle is over and billing can be triggeredCANCELLATION_REQUESTED
: user has requested cancellation and he’s waiting for vendor’s actionCANCELLED
: the subscription was cancelled by the userTERMINATED
: the subscription was terminated by the vendor
Get a list of subscriptions
GET
https://api.8pay.network/v1/:chain/variable-recurring/subscriptions
Path Parameters
Query Parameters
Headers
Get subscriptions of a plan
GET
https://api.8pay.network/v1/:chain/variable-recurring/plans/:planId/subscriptions
Path Parameters
Query Parameters
Headers
Get a subscription
GET
https://api.8pay.network/v1/:chain/variable-recurring/subscriptions/:subscriptionId
Path Parameters
Headers
Last updated