APIEndpoint referenceStripe
/stripe/cancel-subscription
Cancels at the end of the paid period rather than immediately, so a user who has paid for the month keeps the month.
Cancels at the end of the paid period rather than immediately, so a user who has paid for the month keeps the month.
AuthorizationBearer <token>
Supabase access token.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/stripe/cancel-subscription"{ "success": true}