application/jsoncancel_at_cycle_end=true keeps access until the current period ends and just stops the next charge; false cancels immediately.purchase_key, cancel_at_cycle_end200 - updated status404 - not your subscription or not a recurring planAuthorization: Bearer ********************{
"cancel_at_cycle_end": true,
"purchase_key": "Purchase-83921"
}curl --location 'https://uat-api.hastaai.in/api/v1/subscriptions/cancel' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cancel_at_cycle_end": true,
"purchase_key": "Purchase-83921"
}'{
"success": true,
"message": "Success",
"data": {
"status": "active",
"auto_renew": false
}
}