Cancellations
Customers can cancel a subscription anytime from the web app and will not be charged again. A subscription can be terminated (forcefully cancelled) anytime by plan’s admin or operational accounts, using the web app or the 8Pay Javascript library.
Get cancellations of a plan
GET
https://api.8pay.network/v1/:chain/fixed-recurring/plans/:planId/cancellations
Path Parameters
id
string
ID of the plan
Query Parameters
triggeredBy
string
filter by the user who triggered the billing
from
number
filter by timestamp
(default 0)
to
number
filter by timestamp
(default current timestamp)
sort
string
asc
or desc
based on timestamp
(default desc
)
Headers
Authorization
string
Bearer <api-key>
Get cancellation for a subscription
GET
https://api.8pay.network/v1/:chain/fixed-recurring/subscriptions/:subscriptionId/cancellation
Path Parameters
id
string
ID of the subscription
Headers
Authorization
string
Bearer <api-key>
Last updated