CancelSubscription
Cancels a customers subscription immediately.
Stored Procedure Specific Information
Stripe allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison.
For example:
EXECUTE CancelSubscription SubscriptionId = 'sub_1OhQdeSC4snQ4WkOg6UheEPI', InvoiceNow = 'false', IsProrate = 'false', CancellationDetailsComment ='commenting', CancellationDetailsFeedback = 'low_quality'
Input
| Name | Type | Description |
| SubscriptionId | String | The Subscription Id. |
| CancellationDetailsComment | String | Additional comments about why the user canceled the subscription. |
| CancellationDetailsFeedback | String | The customer submitted reason for why they canceled. |
| InvoiceNow | String | Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. |
| IsProrate | String | Will generate a proration invoice item that credits remaining unused time until the subscription period end. |
Result Set Columns
| Name | Type | Description |
| Success | String | Execution status of the stored procedure |