Plans
A paid app can offer up to four plans, such as Basic, Pro and Premium. The store owner picks one when installing your app and can move to another at any time. Your app reads the plan the store is on and unlocks what that plan includes.
Setting Up Your Plans
Choose Monthly subscription under Pricing on the Version tab, then fill in one card per plan. Use Add a plan for another card, the arrows to change their order, and the bin to remove one.
| Field | Rule |
|---|---|
| Plan name | Required, up to 30 characters. Each plan needs its own name. |
| Price | Required, in US dollars a month, from 0.01 to 999.99. |
| Free trial | Optional, from 1 to 90 days. A store gets one free trial of your app, whatever plan it starts on. |
| Features | Optional, one feature per line, up to 6 lines and 300 characters. Merchants compare your plans by these lines. |
- Plans belong to the version, so they are reviewed and go live with it. The reviewer sees which plans are new and which prices changed.
- An app with one plan works exactly like an app with one price: the merchant sees no plan to pick.
- With several plans, the market shows the lowest price, such as From 9 USD / monthly, and the longest trial.
- A plan keeps its identity from one version to the next, so the stores on it stay on it when you rename it or change its price.
- A raise follows Changing the Price, plan by plan: the stores on that plan are emailed, and their renewals keep the old price for 7 days.
- When a new version drops a plan, no store can pick it any more, but the stores already on it keep it at its price until they move.
Moving Between Plans
The store owner changes the plan in your app's window in their dashboard. Only the owner can, never a staff member, since the wallet is the owner's money.
| Move | When it applies | What the store pays |
|---|---|---|
| To a plan that costs more | At once | The difference between the two monthly prices for the part of the period still to run, taken from the wallet at once. It is never more than the whole difference. The next renewal charges the new price. |
| To a plan that costs less | At the next renewal | Nothing now. The renewal charges the cheaper plan and moves the store onto it. Until then, the store keeps the plan it paid for. |
| To a plan at the same price | At once | Nothing. |
| Any move during a free trial | At once | Nothing. The trial goes on and ends on the same day, then the new plan is charged. |
For example, a store on a 10 USD plan moves to a 30 USD plan with 15 days left of a 30 day period. It pays half of the 20 USD difference, 10 USD, at once, and 30 USD at its next renewal. The amount is rounded to the cent.
- When the wallet does not cover the difference, nothing changes and the owner is asked to add funds.
- Picking the current plan again cancels a move to a cheaper plan that has not happened yet.
- The difference paid for an upgrade is shared with you like a renewal, and shows on your monthly statement.
- Your own stores never pay and hold no plan. On them, the subscription reads
development.
Read the Store's Plan
/v1/app-subscriptionAccepts only an app access token, and needs no permission: every app may read its own subscription. Read it when the store opens your app and after each app-plan-changed event.
curl "https://api.storeep.com/v1/app-subscription" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"{
"data": {
"app_id": "123456789012345678",
"status": "active",
"plan": {
"id": "216402187420131328",
"name": "Pro",
"price": 29,
"currency": "USD",
"interval": "month"
},
"current_period_end": "2027-01-14 09:30:00",
"scheduled_change": {
"plan": {
"id": "216402187420131329",
"name": "Basic",
"price": 9,
"currency": "USD",
"interval": "month"
},
"effective_at": "2027-01-14 09:30:00"
}
}
}| Field | Description |
|---|---|
status | active while the store pays for a plan, trial during its free trial, free for a free app, and development on one of your own stores. |
plan | The plan the store is on, with its monthly price in US dollars. null when the status is free or development. |
current_period_end | When the running period, or the trial, ends and the next renewal is charged, in UTC. null without a plan. |
scheduled_change | The cheaper plan the store moves to at effective_at, the end of the running period. null when nothing is scheduled. |
The app-plan-changed Event
Your app hears every change of a store's plan through app-plan-changed, sent to your webhook address without a subscription, signed like every app webhook, and retried for about a day and a half.
| change | When |
|---|---|
upgraded | The owner moved to a plan that costs more. It applies at once, amount is the difference the store paid. |
switched | The owner moved during a free trial, or to a plan at the same price. It applies at once and costs nothing. |
downgrade_scheduled | The owner picked a cheaper plan. effective_at is the next renewal, the store keeps previous_plan until then. |
downgrade_canceled | The owner picked their current plan again before the move happened. plan is the plan they stay on, previous_plan the one they no longer move to. |
downgraded | The renewal charged the cheaper plan and moved the store onto it. amount is what the renewal charged. |
{
"change": "upgraded",
"plan": {
"id": "216402187420131328",
"name": "Pro"
},
"previous_plan": {
"id": "216402187420131329",
"name": "Basic"
},
"amount": 10,
"currency": "USD",
"effective_at": "2026-12-30 09:30:00",
"period_end": "2027-01-14 09:30:00"
}- Unlock or lock features from
plan.id, never from the name, which you may change. - Events can arrive out of order. When it matters, read
/v1/app-subscriptionfor the current plan. - A store whose wallet cannot pay a renewal loses your app, and you receive
app-uninstalled.