Skip to content

Cancel a subscription at the end of the current billing period

POST
/v1/portal/subscriptions/{id}/cancel
curl --request POST \
--url https://api.extport.dev/api/v1/portal/subscriptions/example/cancel \
--cookie extport_buyer_session=<extport_buyer_session>
id
required
string

Scheduled for cancellation at period end

Subscription cannot be canceled or Stripe account not connected

No buyer session

Subscription not found

Stripe API unavailable