Pria UI now available in Dark mode !
cURL
curl --request POST \ --url http://localhost:3000/api/user/stripe/cancel \ --header 'x-access-token: <api-key>'
{ "success": true, "message": "Subscription will be cancelled at end of billing period" }
Cancels the current subscription at the end of the billing period
JWT token passed in x-access-token header
Subscription cancelled successfully
true
"Subscription will be cancelled at end of billing period"
Was this page helpful?