Billing

Billing

The plan, this month’s use, and the prepaid balance.

On this page
  1. billing status
  2. billing usage
  3. billing upgrade
  4. billing portal
  5. billing switch
  6. billing cancel
  7. billing resume
  8. billing payg
  9. billing balance
  10. billing topup
  11. billing autotopup
  12. billing ledger

mailset billing status

Your org’s plan, members, Mailset AI, the balance and this month’s use.

Admin or owner

Returns

With --json it prints the Billing object.

In the API: POST /v1/billing.status

Usage
mailset billing status [--org <id>]
Example
mailset billing status

mailset billing usage

This month’s outside email, storage and AI against the plan, and what went past it.

Admin or owner

Returns

With --json it prints what the API returns.

In the API: POST /v1/billing.usage

Usage
mailset billing usage [--org <id>]
Example
mailset billing usage

mailset billing upgrade

Owners: open Stripe Checkout for a plan.

Owner

Flags

  • --planenumoptional

    The plan: base or team.

    One ofbaseteam

    Default base.

  • --yearlyflagoptional

    Base only: billed once a year.

Returns

With --json it prints what the API returns.

In the API: POST /v1/billing.upgrade

Usage
mailset billing upgrade [--plan base|team] [--yearly] [--org <id>]
Example
mailset billing upgrade --plan base --yearly

mailset billing portal

Owners.

Owner

Flags

  • --cardflagoptional

    Go straight to changing the card.

Returns

With --json it prints what the API returns.

In the API: POST /v1/billing.portal

Usage
mailset billing portal [--card] [--org <id>]
Example
mailset billing portal --card

mailset billing switch

Owners: move a paying org to another plan, seats and all.

Owner

Flags

  • <plan>argumentoptional

    The plan: base or team.

    Default base.

  • --yearlyflagoptional

    Base only: billed once a year.

Returns

With --json it prints the Billing object.

In the API: POST /v1/billing.switch

Usage
mailset billing switch [<plan>] [--yearly] [--org <id>]
Example
mailset billing switch team

mailset billing cancel

Owners: end the plan when its paid period ends, saying why.

Owner

Flags

  • <reason>argumentrequired

    Why the plan is ending, one of the listed reasons.

  • --comment<comment>optional

    Anything to add, up to 1,000 characters.

Returns

With --json it prints the Billing object.

In the API: POST /v1/billing.cancel

Usage
mailset billing cancel <reason> [--comment <comment>] [--org <id>]
Example
mailset billing cancel too_expensive --comment "We only need two mailboxes"

mailset billing resume

Owners: keep a plan that was set to end, so it renews again.

Owner

Returns

With --json it prints the Billing object.

In the API: POST /v1/billing.resume

Usage
mailset billing resume [--org <id>]
Example
mailset billing resume

mailset billing payg

Owners: turn pay as you go on or off: on|off (with no card yet, it prints the first top-up’s link).

Owner

Flags

  • <state>argumentrequired

    on or off.

Returns

With --json it prints what the API returns.

In the API: POST /v1/billing.payg

Usage
mailset billing payg <state> [--org <id>]
Example
mailset billing payg on

mailset billing balance

The prepaid balance, what’s pending, and auto top-up.

Admin or owner

Returns

With --json it prints the Billing object.

In the API: POST /v1/billing.balance

Usage
mailset billing balance [--org <id>]
Example
mailset billing balance

mailset billing topup

Owners: add credit to the balance through Stripe Checkout.

Owner

Flags

  • <amount>argumentrequired

    How much credit to add, in whole units of the plan’s currency.

Returns

With --json it prints what the API returns.

In the API: POST /v1/billing.topup

Usage
mailset billing topup <amount> [--org <id>]
Example
mailset billing topup 20

mailset billing autotopup

Owners: auto top-up.

Owner

Flags

  • <state>argumentoptional

    on or off. Left out: as it is.

  • --threshold<n>optional

    Top up when the balance falls below this, in whole units.

  • --amount<n>optional

    How much each top-up adds, in whole units.

  • --ceiling<n>optional

    The most auto top-ups may charge in a calendar month, in whole units.

Returns

With --json it prints the Billing object.

In the API: POST /v1/billing.autotopup

Usage
mailset billing autotopup [<state>] [--threshold <n>] [--amount <n>] [--ceiling <n>] [--org <id>]
Example
mailset billing autotopup on --threshold 5 --amount 20 --ceiling 100

mailset billing ledger

The balance’s credits and debits, newest first.

Admin or owner

Flags

  • --limit<n>optional

    How many lines to return, 1 to 500.

    Default 50.

Returns

With --json it prints what the API returns.

In the API: POST /v1/billing.ledger

Usage
mailset billing ledger [--limit <n>] [--org <id>]
Example
mailset billing ledger --limit 20