How to cancel a Solana subscription
To cancel a subscription you pay from a Solana wallet, cancel it in the app you subscribed through: open its billing page, connect the wallet that pays, and sign the cancel. If Mesub bills it, open mesub.io/subscriptions. This guide covers subscriptions built on the Solana Subscriptions program, which Mesub uses.
A cancel stops one subscription: no new billing period starts after the current one. A cancel is not a revoke. A revoke blocks every subscription you pay with the same token, such as USDC, at every service.
How do I cancel a subscription on Mesub?
- Open mesub.io/subscriptions and press Connect a wallet. You do not need a Mesub account.
- Pick the wallet that pays, and sign the short message Mesub shows. It proves the wallet is yours and moves nothing.
- Mesub lists the subscriptions it bills to that wallet. Press Cancel on the one you want to stop.
- Your wallet signs the cancel and pays its network fee. Before you sign, check that your wallet shows no USDC or other token leaving it, apart from that fee.
The list only shows subscriptions billed through Mesub. For any other one, cancel it in the app you subscribed through.
What happens after I cancel?
- No new billing period starts. The subscription ends when the current period ends.
- The current period can still be charged until it ends, if the service had not charged it yet. A cancel does not refund a period already paid. A refund is between you and the service.
- The service decides your access. It may keep it open until the period ends, or not.
- The subscription stays on chain after it ends, with its deposit still in it. While it stays there, you cannot subscribe to the same plan again. Close it to get the deposit back (see below).
- Your other subscriptions paid with the same token keep working.
Can I take a cancellation back?
Yes, until the current period ends. On Mesub, press Resume on the same page. The cancellation is lifted: your subscription carries on, and the current period does not restart. Resume is refused if the service deleted or changed the plan in the meantime.
Once the period is over, the subscription has ended. To take the same plan again, close the old subscription first, then subscribe again.
How do I get the subscription's deposit back?
Each subscription is stored on Solana in an account of its own. Solana keeps an account open only while it holds a deposit in SOL, which Solana calls rent. Once the subscription has ended, close it: on Mesub, press Close subscription on the same page. The button shows once the subscription can be closed. The account is closed, and its deposit goes back to whoever paid it. On Mesub, that is your wallet.
Cancel, revoke or close: which one do I need?
The first time you subscribe with a token, such as USDC, your wallet approves one address to move that token: the Subscription Authority. It has no private key. Only the Subscriptions program can use it, within each plan you signed. Every subscription you pay with that token uses that one approval.
| You want to | Do this |
|---|---|
| Stop one subscription | Cancel it |
| Get its deposit back once it ended | Close the subscription |
| Block every charge with one token, for now | Revoke the token approval |
| End every subscription with one token, for good | Close the Subscription Authority (not offered on Mesub) |
A revoke can be undone: charges can start again if your wallet approves the same Subscription Authority again. Some apps, Mesub included, close the Subscription Authority and create a new one when you subscribe again after a revoke, which ends the old subscriptions with that token for good. What each step does to your other subscriptions is in Revoke Solana token approvals without breaking a subscription.
The app is gone, or it has no cancel button
- Find who charges you. Paste your wallet's address into the token approval checker. It reads mainnet and lists the subscriptions your wallet signed through the Solana Subscriptions program: whether each one can still charge, and the address it pays, with a link to the explorer. A plan can carry a name its service wrote: the checker shows it, marked as not verified. On a busy wallet, it shows at most 40, starting with those that can charge now.
- Ask the service to stop charging you, if it still answers. It cannot cancel for you: every cancel needs your wallet's signature.
- Block the charges. Revoke the token approval, as the revoke guide shows. This also blocks your other subscriptions with that token. It ends nothing, and it can be undone.
- End them for good. Closing the Subscription Authority ends every subscription you pay with that token, at every service, including the ones you want to keep. They cannot come back. Mesub's pages do not offer this step; the program's repository describes it. For developers: the step is
revoke_subscription_authority. The program'sclose_subscription_authorityalso ends them, but it leaves the token approval in place.
Disconnecting your wallet from a site cancels nothing: the subscription is stored on chain, not in the site.
How does a cancel work in the Solana Subscriptions program?
For developers, with the @solana/subscriptions SDK. The merchant is the service that charges.
| Step | SDK call | Who signs | What changes |
|---|---|---|---|
| Cancel | cancelSubscription | The customer alone | The subscription ends when the current period ends |
| Cancel now | cancelSubscriptionNow | The customer and the merchant | The subscription ends at once |
| Resume | resumeSubscription | The customer, before the end | The cancellation is lifted; the period does not restart |
| Close | revokeSubscription | The customer, once the subscription has ended. Or whoever paid the rent, once the plan has ended | The account is closed and its rent goes back to whoever paid it |
A cancel moves no tokens. It sets the subscription's expiresAtTs to the end of the current billing period, paid or not; expiresAtTs is zero while the subscription runs. If the plan was deleted or its terms changed, the cancel sets it to the current time instead. The account stays open after that time, so a check that only asks "is there an account?" keeps giving access to people who cancelled. Compare expiresAtTs with the chain's clock instead, and check the plan too: a plan past its end date, or deleted, stops every subscription to it. On devnet, a charge after a cancelled period ended failed with error 508, SubscriptionCancelled. The full access check, with code, is in How the Solana Subscriptions program works.
FAQ
Does cancelling refund what I paid?
No. A period already charged stays paid. A refund is between you and the service.
Is it safe to sign a cancel?
Yes. A cancel moves no tokens; your wallet only pays a network fee. Reach the app's page yourself rather than through a link someone sent you.
I cancelled, but a payment still went through. Why?
The service can still charge the current billing period until it ends, if it had not charged it yet. No later period can be charged.
Does revoking a token approval cancel my subscription?
No. A revoke blocks the charges of every subscription you pay with that token, and the services you pay may stop your access. The subscriptions stay on chain. To stop one subscription, cancel it.
Cancelling and closing were tested on 2026-11-12 on a local copy of the program build that mainnet runs (v0.5.0, build 364a419). Cancelling and the access check were also tested on Solana devnet. What a cancel and a resume change was checked in the code of that build. The program is open source and audited.