Skip to content

Founding user: 10% + 10% year end sale

Get Started
← All posts

How to Cancel a Stripe Subscription: Dashboard, Portal, and API Options

· · 8 min read

You can cancel a Stripe subscription three ways: the Dashboard for one-off manual changes, the customer portal for self-serve, and the API for your own in-app flow. Each lets you cancel immediately or at the end of the billing period. Immediate cancellation ends the subscription and billing now, while period-end cancellation keeps both running until the current period closes. Stripe ends the subscription, but your product has to update the customer’s access, typically by handling the customer.subscription.deleted webhook. A subscription that has fully ended can’t be restarted, but a period-end cancellation can be reversed until the period closes.

The details that cause trouble come after you pick a route: what happens to invoices, credits, and access once the subscription is canceled. This guide covers each route, the billing effects, and how to ask why someone is leaving and show a relevant offer without making the exit hard.

Key takeaways

  • Three routes: Use the Dashboard for manual cancels, the portal for quick self-serve, and the API for a custom flow.
  • Default to period-end: The customer keeps what they paid for, and you keep a window for a win-back.
  • Proration isn’t a refund: It creates a credit. Returning money takes a separate refund.
  • Webhooks control access: Revoke access on customer.subscription.deleted, not before.
  • Ask why first: The cancellation reason tells you what to fix, and one matched offer can save the account.

Which Stripe cancellation route fits your situation?

It depends on who is canceling and how much control you want. Support-driven cancels fit the Dashboard, while self-serve cancels fit the portal or your own API flow.

Customers can’t cancel through Stripe directly

Stripe doesn’t cancel subscriptions on a merchant’s behalf. Customers need the business’s cancel link, portal, or support contact. If you run a SaaS with a hidden cancel button, you’re sending those customers to your inbox or their bank.

If you’re the customer, check your receipt or account for “Manage subscription.” If there’s no link, email the business with your account details and ask for written confirmation. Contact your card issuer if the business is unresponsive or appears fraudulent. If you run the business, the sections below are for you.

Dashboard, portal, or API: a side-by-side comparison

RouteBest forWho triggers itTiming controlSetup effort
Stripe DashboardSupport-driven, one-off cancelsYou or your teamImmediately, end of period, or custom dateNone
Customer portalQuick self-serveThe customerImmediate or end of period, set in configurationConfiguration in Settings
Stripe APIYour own in-app cancel flowYour codeFull control per requestDevelopment work
Reoffer (hosted cancellation flow)Adding reasons and matched offersThe customerOffer-based: discount, free cycle, pause, or talk to a personOne swapped link, no SDK

Read the table by volume. If cancels trickle in through support, the Dashboard is enough. Once customers expect to cancel on their own, move to the portal or API. The last row is for when you also want to know why people leave and respond with the right offer.

How do you cancel a subscription in the Stripe Dashboard or customer portal?

In the Dashboard, you go to Billing, then Subscriptions, and cancel from the subscription’s menu. For the portal, you configure cancellation in your settings so customers do it themselves.

Dashboard steps: Billing, Subscriptions, Cancel

  1. Open Billing, then Subscriptions.
  2. Find the subscription and open the ⋯ menu.
  3. Choose Cancel subscription.
  4. Pick the timing: immediately, at the end of the period, or on a custom date.
  5. If offered, choose the refund treatment: prorated, a full refund of the last payment, or none.
  6. Confirm.

Use immediate cancellation for fraud or an explicit refund request. For a standard “I’m done” request, choose end of period so the customer keeps access through the time they’ve already paid for.

Turning on cancellation in the customer portal

Go to Settings, then Billing, then Customer portal, and open the Cancellations section. Confirm that cancellation is enabled for your configuration, and review these settings before you rely on it:

  • Immediate versus end-of-period cancellation
  • Proration behavior for immediate cancels
  • Cancellation reasons, such as poor quality, missing features, or inadequate customer service
  • A “benefits you’ll lose” message
  • A retention coupon

Available options can vary with your portal configuration, so check what your account shows rather than assuming every setting is present.

Portal limits worth knowing

The portal gives you a coupon-style retention step and a reason dropdown. Within a single configuration, everyone sees the same offer no matter what they answer, so a customer who says “too expensive” and one who says “missing features” get the same coupon. Stripe also offers Retention Rules; when they’re enabled, the separate retention-coupon setting is disabled, so check what they can do before relying on either.

You can create separate portal configurations for different customer groups. If cancellation is enabled, process two webhooks: customer.subscription.updated when a cancel is scheduled, and customer.subscription.deleted when it completes. Stripe’s cancellation and webhook documentation covers the exact event payloads.

How do you cancel a Stripe subscription through the API?

Use a DELETE call to cancel immediately, or update the subscription with cancel_at_period_end set to true to cancel when the period closes. Both are covered in Stripe’s Cancel Subscription API reference and cancellation documentation. Keep your secret keys on the server and make these calls only from backend code.

Cancel immediately with the DELETE endpoint

const canceled = await stripe.subscriptions.cancel('sub_123', {
  invoice_now: true,
  prorate: true,
});

Both flags default to false. invoice_now generates a final invoice for unbilled metered usage and pending proration items. prorate creates a credit for unused time. Confirm how the two flags interact against Stripe’s current documentation before relying on them in production.

Schedule cancellation with cancel_at_period_end

await stripe.subscriptions.update('sub_123', {
  cancel_at_period_end: true,
});

The customer keeps access until the period ends. To undo it, set the flag back to false, which only works before the period ends. Period-end is the safer default for self-serve flows because it keeps the door open for a win-back. In your UI, show the scheduled-cancel state (for example, “Ends on this date, undo cancellation”) so customers know they still have access.

Subscription schedules and webhook safety

If a Subscription Schedule manages the subscription, cancel the schedule instead. Its status must be not_started or active, and canceling an active schedule cancels its subscription.

Rely on webhooks, not API responses alone, to keep access in sync. Verify each webhook’s signature, handle duplicate events by making your handler idempotent, and check the customer’s entitlement state before revoking access.

What happens to access, proration, refunds, and invoices after you cancel?

The subscription moves to the terminal canceled state and Stripe stops generating subscription invoices. Everything else, from access to credits to open invoices, needs your attention.

Access and future billing

Stripe doesn’t control your product’s access. Revoke it when the customer.subscription.deleted webhook arrives, as described in Stripe’s webhook documentation. Don’t revoke when a cancel is merely scheduled, because the customer has paid through the period.

Proration vs refunds: not the same thing

When the proration option is enabled, Stripe creates a credit for unused time. It is not a cash refund. To return money, issue a separate refund; otherwise the credit may remain on the customer balance, appear on a final invoice, or be left for you to handle later. Stripe’s cancel API doesn’t refund the latest payment automatically.

Without proration, unused time isn’t credited and unbilled metered usage may be discarded.

Unpaid invoices, pending items, and resubscribing

Finalized unpaid invoices stay outstanding, and automatic collection stops by default (auto_advance=false). Resolve them as paid, void, or uncollectible, or resume collection manually. Pending invoice items go on a final invoice if you generate one. Otherwise, delete them if they should never be charged.

A subscription that has fully ended can’t be restarted, so create a new one if the customer returns. A scheduled period-end cancel can be reversed before the period ends.

How do you ask why customers leave and offer a save without trapping them?

Ask one reason question, show one offer that fits the answer, and keep a clear way to finish canceling.

Collect the reason first, keep it to one question

Offer a short list: price, low usage, missing feature, switching tools, other. Add a short free-text box and let people skip it. The reason matters more than the offer, because it tells you what to fix in your product and pricing.

Match one offer to the reason

A price complaint gets a discount. Low usage gets a pause or a free billing cycle. A product complaint gets a talk-to-a-person option. Show the offer’s price and dates before the customer accepts.

Stay fair with four rules:

  • Put a clear “continue to cancel” link on every screen.
  • Skip guilt copy.
  • Don’t repeat an offer the customer already declined.
  • Add no extra steps after they decline.

Where Reoffer fits

Reoffer is a hosted offer page that sits behind your cancel button. It asks why the customer is leaving and shows the one offer that fits the answer. Accepted offers are applied through Stripe Connect as real coupons, free cycles, or pauses. A save counts only once Stripe confirms the change, so the numbers match your Stripe dashboard.

Setup is one swapped link and no SDK, which suits small SaaS teams with no retention department. Feedback-only mode collects reasons without a Stripe connection. You also get Stripe test mode for rehearsing the flow, plus analytics, session history, and CSV export.

If you only need a cancel button that works, the Dashboard or API is enough. Reoffer is for when you also want to collect reasons and track saves that match your Stripe data.

Conclusion: pick the route, then make the exit worth a second look

To cancel a Stripe subscription, use the Dashboard for manual cancels, the portal for quick self-serve, and the API for a custom flow. Default to period-end cancellation, and remember that proration is a credit, not a refund. Tie access to the customer.subscription.deleted webhook.

The cancellation moment is also an opportunity to collect churn feedback. Ask the reason, show one relevant offer, and let people leave cleanly when they decline.

Want to see it before a customer does? Try Reoffer in Stripe test mode and walk through the cancel flow yourself.

Frequently Asked Questions

Can a customer cancel directly through Stripe?

No, customers need your cancel link, customer portal, or support contact. If you’re the customer, check your receipt or account for a "Manage subscription" link, or email the business and ask for written confirmation.

Can a customer undo a scheduled cancellation?

Yes, a period-end cancellation can be reversed before the billing period closes. If you use the API, set cancel_at_period_end back to false before then.

Can a customer restart a subscription after it ends?

No, a fully ended subscription can’t be restarted. If the customer returns, you’ll need to create a new subscription.

What happens to unpaid invoices after cancellation?

Finalized unpaid invoices remain outstanding, and automatic collection stops by default. You can resolve them as paid, void, or uncollectible, or resume collection manually.

Can you collect cancellation feedback without connecting Stripe?

Yes, you can collect cancellation reasons without a Stripe connection using Reoffer’s feedback-only mode. We also offer Stripe test mode so you can rehearse the cancellation flow.

Related: cancellation flow best practices and resetting the Stripe billing cycle anchor.

See why your customers leave

Start on the Free plan: no card, one product, feedback only. Connect Stripe on a paid plan when you want offers applied and saves counted.