Cancel Subscription
POST /subscription-cancellations
Request
{
"subscription_id": "sub_sg189b9a717380000",
"reason": "User Cancel"
}Response Subscription Object
{
"id": "suc_sgsegrwiler004654",
"created_at": 1691036883,
"subscription_id": "sub_sg189b9a717380000",
"status_code": "succeeded"
}Parameters
Parameter name
Type
Required
Description
subscription_id
String
Yes
The subscription id
reason
String
Optional
The reason for the cancellation, can be any String
Last updated
Was this helpful?