Cancel a subscription

Cancel an active subscription in the payment system. Only subscriptions of the project the api_key belongs to are found; a pay_system_id of another project returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

ID of the subscription in external Stripe/Paddle/Solidgate/Primer, e.g. sub_1PzNJzCsRq5tBi2bbfNsAf86

string

Optional comment for the cancellation.

boolean

If true, the subscription will be canceled at the end of the current billing period. If false or not provided, the subscription will be canceled immediately.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json