Cancellation Requests
Customers can request to cancel a subscription anytime from the web app. When the cancellation request is received by the vendor, he will perform one last billing to account for the remaining unpaid period. After the billing, the subscription is automatically cancelled.
Get cancellation requests of a plan
GET
https://api.8pay.network/v1/:chain/variable-recurring/plans/:planId/cancellation-requests
Path Parameters
id
string
ID of the plan
chain
string
Query Parameters
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 request of a subscription
GET
https://api.8pay.network/v1/:chain/variable-recurring/subscriptions/:subscriptionId/cancellation-request
Path Parameters
id
string
ID of the subscription
chain
string
Headers
Authorization
string
Bearer <api-key>
Last updated