Palbase Payments · API
POST
/payments/me/subscriptions/{subscription_id}/cancelCancel my subscription
Schedules cancellation of one of the signed-in customer's subscriptions at period end.
Called by a signed-in user of your app, with their token and the publishable key.
Path
subscription_idstring · requiredSubscription UUID.curl
curl -X POST "https://<your-ref>.palbase.studio/payments/me/subscriptions/<subscription_id>/cancel" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200OK
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation CancelMySubscription of payments's contract.