Billing status
cooper_billing_statusUse this when you need to know the account's plan, how much of its monthly quota is used, or why a send or inbox create returned 402. Read-only; requires auth; no inputs. Returns {plan, plan_name, status, usage:{period, sends, inboxes}, limits:{inboxes, emails_per_month, custom_domains}, addons:{available, path, inboxes, domains, email_packs}, upgrade:{next_plan, upgrade_url}, …}. addons.available is true on Starter and Pro. Buy or change those quantities with cooper_set_addons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Plan id: free, starter, or pro. | |
| usage | No | {period, sends, inboxes} used this period. | |
| addons | No | {available, path, inboxes, domains, email_packs}. Change them with cooper_set_addons. | |
| limits | No | Plan limits that apply to this account. | |
| status | No | Subscription status. | |
| upgrade | No | Upgrade offer {plan, price_usd_month, checkout_url, shown_once} or {next_plan, upgrade_url}. Give the link to the human. | |
| plan_name | No | Display name of the plan. |