Skip to main content
Cancels an active subscription, either immediately or at the end of the billing period.

Mutation

Parameters

SubscriptionCancellationInput
required
Input for canceling a subscription

Cancellation Time Options

Cancellation Action Options

Return Type

Returns the canceled CustomerSubscription object with:

Examples

Immediate Cancellation

Cancel at Period End

Common Use Cases

Cancel when customer explicitly requests cancellation.
Cancel after failed payment recovery attempts.
Cancel as part of account deletion process.