Retrieve the plan and credits of the account behind a key
The plan, tier, billing interval and credits left by kind of the account behind your API key, to read before a fix. Costs nothing to call.
Authorizations
An API key of your account, created on makeseamless.com and sent in the x-api-key header. Keys start with smls_.
Response
The account of the API key.
free, pro, enterprise The Pro tier (its monthly credits); null on other plans.
The plan's billing interval; week only for a plan bought in the App Store or Google Play.
month, year, week, null The subscription's status: active, past_due, cancelled, incomplete, expired, unpaid or paused; null without one. The plan is Pro while it is active or past_due.
True when fixes cost no credit.
Credits left by kind, in the order fixes spend them.
The plan's allowance; for a monthly plan the plan credits each paid invoice adds, for a yearly plan the year's credits as written (plan credits left plus used this period, so credits carried in count); null off Pro.
Plan credits spent since the last paid invoice.
x >= 0When the plan renews, or ends when a cancellation is set; null off Pro.
Where the account's Pro plan is bought and managed; web is makeseamless.com.
web, app_store, google_play The notice the account agreed to in the apps before a first fix, or null.
When a store plan renews or ends; null for a plan bought on the web, or none.