# Billing

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

## mailset billing status

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

```bash
mailset billing status [--org <id>]
```

An admin or owner of the org can run it.

With `--json` it prints the [Billing object](https://mailset.app/docs/api/billing#billing).

Example:

```bash
mailset billing status
```

In the API: [POST /v1/billing.status](https://mailset.app/docs/api/billing#billing.status)

## mailset billing usage

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

```bash
mailset billing usage [--org <id>]
```

An admin or owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/billing#billing.usage-returns).

Example:

```bash
mailset billing usage
```

In the API: [POST /v1/billing.usage](https://mailset.app/docs/api/billing#billing.usage)

## mailset billing upgrade

Owners: open Stripe Checkout for a plan.

```bash
mailset billing upgrade [--plan base|team] [--yearly] [--org <id>]
```

### Flags

- `--plan` (enum, optional): The plan: `base` or `team`. One of `base`, `team`. Default `base`.
- `--yearly` (flag, optional): Base only: billed once a year.

Only an owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/billing#billing.upgrade-returns).

Example:

```bash
mailset billing upgrade --plan base --yearly
```

In the API: [POST /v1/billing.upgrade](https://mailset.app/docs/api/billing#billing.upgrade)

## mailset billing portal

Owners.

```bash
mailset billing portal [--card] [--org <id>]
```

### Flags

- `--card` (flag, optional): Go straight to changing the card.

Only an owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/billing#billing.portal-returns).

Example:

```bash
mailset billing portal --card
```

In the API: [POST /v1/billing.portal](https://mailset.app/docs/api/billing#billing.portal)

## mailset billing switch

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

```bash
mailset billing switch [<plan>] [--yearly] [--org <id>]
```

### Flags

- `<plan>` (argument, optional): The plan: `base` or `team`. Default `base`.
- `--yearly` (flag, optional): Base only: billed once a year.

Only an owner of the org can run it.

With `--json` it prints the [Billing object](https://mailset.app/docs/api/billing#billing).

Example:

```bash
mailset billing switch team
```

In the API: [POST /v1/billing.switch](https://mailset.app/docs/api/billing#billing.switch)

## mailset billing cancel

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

```bash
mailset billing cancel <reason> [--comment <comment>] [--org <id>]
```

### Flags

- `<reason>` (argument, required): Why the plan is ending, one of the listed reasons.
- `--comment` (\<comment\>, optional): Anything to add, up to 1,000 characters.

Only an owner of the org can run it.

With `--json` it prints the [Billing object](https://mailset.app/docs/api/billing#billing).

Example:

```bash
mailset billing cancel too_expensive --comment "We only need two mailboxes"
```

In the API: [POST /v1/billing.cancel](https://mailset.app/docs/api/billing#billing.cancel)

## mailset billing resume

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

```bash
mailset billing resume [--org <id>]
```

Only an owner of the org can run it.

With `--json` it prints the [Billing object](https://mailset.app/docs/api/billing#billing).

Example:

```bash
mailset billing resume
```

In the API: [POST /v1/billing.resume](https://mailset.app/docs/api/billing#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).

```bash
mailset billing payg <state> [--org <id>]
```

### Flags

- `<state>` (argument, required): `on` or `off`.

Only an owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/billing#billing.payg-returns).

Example:

```bash
mailset billing payg on
```

In the API: [POST /v1/billing.payg](https://mailset.app/docs/api/billing#billing.payg)

## mailset billing balance

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

```bash
mailset billing balance [--org <id>]
```

An admin or owner of the org can run it.

With `--json` it prints the [Billing object](https://mailset.app/docs/api/billing#billing).

Example:

```bash
mailset billing balance
```

In the API: [POST /v1/billing.balance](https://mailset.app/docs/api/billing#billing.balance)

## mailset billing topup

Owners: add credit to the balance through Stripe Checkout.

```bash
mailset billing topup <amount> [--org <id>]
```

### Flags

- `<amount>` (argument, required): How much credit to add, in whole units of the plan’s currency.

Only an owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/billing#billing.topup-returns).

Example:

```bash
mailset billing topup 20
```

In the API: [POST /v1/billing.topup](https://mailset.app/docs/api/billing#billing.topup)

## mailset billing autotopup

Owners: auto top-up.

```bash
mailset billing autotopup [<state>] [--threshold <n>] [--amount <n>] [--ceiling <n>] [--org <id>]
```

### Flags

- `<state>` (argument, optional): `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.

Only an owner of the org can run it.

With `--json` it prints the [Billing object](https://mailset.app/docs/api/billing#billing).

Example:

```bash
mailset billing autotopup on --threshold 5 --amount 20 --ceiling 100
```

In the API: [POST /v1/billing.autotopup](https://mailset.app/docs/api/billing#billing.autotopup)

## mailset billing ledger

The balance’s credits and debits, newest first.

```bash
mailset billing ledger [--limit <n>] [--org <id>]
```

### Flags

- `--limit` (\<n\>, optional): How many lines to return, 1 to 500. Default `50`.

An admin or owner of the org can run it.

With `--json` it prints what [the API returns](https://mailset.app/docs/api/billing#billing.ledger-returns).

Example:

```bash
mailset billing ledger --limit 20
```

In the API: [POST /v1/billing.ledger](https://mailset.app/docs/api/billing#billing.ledger)

---

© 2026 Intenseloop, Inc. Mailset’s site, docs and guides are copyrighted. You may read them and use their code to build with Mailset. Don’t republish them or use them to build a copy of Mailset. Terms: https://mailset.app/terms#content