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
Name | Type | Description |
---|---|---|
id | string | ID of the plan |
chain | string |
Query Parameters
Name | Type | Description |
---|---|---|
triggeredBy | string | filter by the user who triggered the billing |
from | number | filter by |
to | number | filter by |
sort | string |
|
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Get cancellation for a subscription
GET
https://api.8pay.network/v1/:chain/fixed-recurring/subscriptions/:subscriptionId/cancellation
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the subscription |
chain | string |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Last updated