Plans, pricing and subscriptions
How a plan is priced, what a subscription record contains, and why App Center refuses to know your limits.
A plan is a priced SKU of your application. App Center stores its identity — code, interval, amount, status — and nothing about what it allows. That split is deliberate: you can change what a plan includes without an App Center release, and App Center never needs to understand your product.
Fields
name- RulesText
- NotesShown on the plan card, e.g.
Pro monthly. amountMinor- RulesInteger
- NotesMinor units —
4500is GH₵ 45.00. Never a float. interval- Rules
monthly·annual - NotesThe billing period.
accessTier- Rules
basic·pro·premium·enterprise - NotesThe entitlement tier the plan maps to. Always lower case —
PROis not a tier. status- Rules
active·archived - NotesOnly active plans can be bought.
Create a plan
/appcenter/v3/admin/apps/{appId}/plansAdmin bearer token with Manage applicationsAdd a priced SKU to an application and get the stored record back. The body is strict: an unknown field is refused, not ignored.
Headers
- Content-Type
application/json
Parameters
codestringrequired- 1–64 characters matching
^[a-z0-9][a-z0-9_-]*$. Unique within the application and effectively immutable — subscriptions and quotes refer to it. namestringrequired- 1–100 characters, shown on the plan card, e.g.
Starter monthly. accessTierstringrequiredbasic,pro,premiumorenterprise— lower case.amountMinorinteger | null- Minor units,
0–100000000. Defaults tonull. A plan may be stored without a price, but it cannot beactivewithout one. intervalstringmonthlyorannual. Defaults tomonthly.statusstringdraftoractive. Defaults todraft.activewith no price is a422.currency"GHS"- The only accepted value. Defaults to
GHS. descriptionstring | null- Up to 2,000 characters of plan copy.
featuresstring[]- Up to 50 bullet points, 300 characters each. Defaults to
[]. displayOrderinteger- Sort position on the pricing grid. Defaults to
0. featuredboolean- Highlights the plan in the catalog. Defaults to
false.
POST /appcenter/v3/admin/apps/42/plans HTTP/1.1
Authorization: Bearer $APPCENTER_ADMIN_TOKEN
Content-Type: application/json
{
"code": "starter-monthly",
"name": "Starter monthly",
"accessTier": "basic",
"amountMinor": 4500,
"interval": "monthly",
"status": "draft",
"description": "One shop, unlimited invoices.",
"features": ["Unlimited invoices", "Two bank feeds", "Email support"]
}{
"success": true,
"data": {
"plan": {
"id": 118,
"appId": 42,
"code": "starter-monthly",
"name": "Starter monthly",
"description": "One shop, unlimited invoices.",
"features": [
"Unlimited invoices",
"Two bank feeds",
"Email support"
],
"interval": "monthly",
"amountMinor": 4500,
"currency": "GHS",
"accessTier": "basic",
"status": "draft",
"previousStatus": null,
"displayOrder": 0,
"featured": false,
"version": 1,
"legacyType": null,
"createdAt": "2026-11-08T09:14:22.418Z",
"updatedAt": "2026-11-08T09:14:22.418Z"
}
},
"message": "Pricing plan saved"
}version starts at 1 and increments on every write — send it back with PATCH. legacyType is compatibility metadata, null for anything created through this endpoint.
{
"success": false,
"error": {
"code": "CONFLICT",
"message": "This plan code already exists for the application"
}
}Failures to handle
- 409
CONFLICT - The code is already used by another plan, or the application is archived.
- 404
NOT_FOUND - No application with that id.
- 422
VALIDATION_FAILED - A required field is missing, an amount is out of range, or
status: activearrived with no price. The body carrieserror.fields[]of{ path, message }.
GET /apps/:appId/plansanswers{ success: true, data: { plans: [] } }— the same records, ordered bydisplayOrderthenid. There is no pagination: an application has tens of plans, not thousands.PATCH /apps/:appId/plans/:planIdmerges and requiresversion; a stale one is409 VERSION_CONFLICT.POST …/archiveand…/restoretake{ version }and nothing else.- Archiving a plan is how a SKU is retired: the row and its history survive, and existing subscribers are unaffected.
Editing a price does not reprice a checkout
A purchase captures a quote at the moment it starts. An admin price change cannot alter an in-progress checkout or an already-paid subscription.
What a subscription looks like
Your backend reads subscriptions with a service token. The projection is flat, typed and identical on every call — there is no plan sub-object to unwrap.
/appcenter/v3/app/subscriptions/{accountUuid}Service token — client_credentials, scope appcenter:serviceEvery subscription the account holds to your application, newest first. Read-only.
GET /appcenter/v3/app/subscriptions/0d6c1f8a-3c4e-4f2b-9a51-7b0e2d8c4a11 HTTP/1.1
Authorization: Bearer $APPCENTER_SERVICE_TOKEN
Accept: application/json{
"success": true,
"data": {
"subscriptions": [
{
"id": 8712,
"planCode": "pro-monthly",
"planName": "Pro monthly",
"accessTier": "pro",
"interval": "monthly",
"legacyPlan": "pro",
"status": "active",
"startDate": "2026-04-01T00:00:00.000Z",
"endDate": "2026-12-01T00:00:00.000Z",
"active": true,
"daysRemaining": 23
}
]
}
}active is status === "active". daysRemaining is a whole-day count and drops to 0 once the end date has passed.
{
"success": true,
"data": {
"subscriptions": []
}
}An account unknown to App Center answers the same thing. That is not an error — it is the honest answer to no subscription here.
Failures to handle
- 401
— - No bearer token, or the access token has expired.
- 403
service_token_required - The token is a person's, not a
client_credentialsservice token. - 403
app_not_bound - The service client is inactive or not attached to an application.
statusis derived fromendDate, never stored:activewhile the end date is in the future,expiredonce it has passed. Branch onactivewhen you only need a yes or no.legacyPlanis the tier captured at purchase — one ofbasic,pro,premium,enterprise. It keeps that value when a plan is re-tiered, so readaccessTierfor what the account is on today.planCode,planName,accessTierandintervalarenullon rows sold before the plan catalogue existed.legacyPlanis the fallback for exactly those rows.- The full field list for every object your backend receives is on Objects.
Own the limits
App Center answers *what did this account buy*. Your backend answers *what does that allow*. The mapping belongs in one table in your repository, edited without a platform release. A working example is in Owning your plan limits.
An empty list is not an error
An account with no subscription to your application gets 200 and []. Whether that means trial, read-only or blocked is entirely your decision.
Subscription events
subscription.created— paid for the first timesubscription.renewed— the period rolled oversubscription.plan_changed— an admin moved the account to another plansubscription.cancelled— an admin cancelled itsubscription.expired— the expiry job passed the end date
Subscribe to these rather than polling. See the event catalogue for payloads.
Something here out of date or unclear?
The platform team answers integration questions directly.
