Cancellations
Last updated
Last updated
Customers cannot directly cancel a subscription but they must request the cancellation to the vendor. When the cancellation request is received by the vendor, he will perform one last billing to account for the remaining unpaid period and the subscription will be immediately cancelled. 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
https://api.8pay.network/v1/:chain/variable-recurring/plans/:planId/cancellations
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.8pay.network/v1/:chain/variable-recurring/subscriptions/:subscriptionId/cancellation
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
id
string
ID of the plan
chain
string
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
)
Authorization
string
Bearer <api-key>
id
string
ID of the subscription
chain
string
Authorization
string
Bearer <api-key>