Cancel a subscription
Changed onCancels a customer’s subscription. If you set the at_period_end parameter to true, the subscription will remain active until the end of the period, at which point it will be canceled and not renewed. Otherwise, with the default false value, the subscription is terminated immediately. In either case, the customer will not be charged again for the subscription.
Note, however, that any pending invoice items that you’ve created will still be charged for at the end of the period, unless manually deleted. If you’ve set the subscription to cancel at the end of the period, any pending prorations will also be left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations will be removed.
By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
Request
- Base URL: https://api.stripe.com
- URL: https://api.stripe.com/v1/customers/{customer}/subscriptions/{subscription_exposed_id}
- Auth: one of:
- HTTP basic
- HTTP bearer
Path parameters
Response
Successful response.
Changes
- warning
added the new
final_payment_failureenum value to the///response property for the response status - warning
added the new
first_payment_failureenum value to the///response property for the response status
- warning
- breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
///////////////from the response with the status - breaking
removed the required property
/////////////from the response with the status - breaking
removed the required property
/////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
////////////from the response with the status - breaking
removed the required property
//////////from the response with the status - breaking
removed the required property
//////////from the response with the status - breaking
removed the required property
//////////////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
/////////////////from the response with the status - breaking
removed the required property
///////////////from the response with the status - breaking
removed the required property
///////////////from the response with the status - breaking
removed the required property
//////////////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
////////////////////from the response with the status - breaking
removed the required property
///////////////from the response with the status - breaking
removed the required property
/////////////from the response with the status - breaking
removed the required property
/////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
//////////////from the response with the status - breaking
removed the required property
//////////////from the response with the status - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
///////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
//////////////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
///////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
///////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
//////////////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
///////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
///////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
//////////////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
///////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
/////////////////////////////from the response with the status - breaking
removed the required property
///////////////////////from the response with the status - breaking
removed the required property
/////////////////////from the response with the status - breaking
removed the required property
/////////////////////from the response with the status - breaking
removed the required property
//////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
////////////////from the response with the status - breaking
removed the required property
///////////////////////from the response with the status - breaking
removed the required property
/////////////////////from the response with the status - breaking
removed the required property
/////////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
//////////////////////from the response with the status - breaking
removed the required property
//////////////////////from the response with the status - breaking
removed the required property
///////////////////from the response with the status - breaking
removed the required property
/////////////////from the response with the status - breaking
removed the required property
/////////////////from the response with the status - breaking
removed the required property
////////////////////////from the response with the status - breaking
removed the required property
//////////////////////from the response with the status - breaking
removed the required property
//////////////////////from the response with the status
This list may be incomplete.
- breaking
Some revisions have not been checked yet.