Manage billing
Checkout, customer portal, PAYG, and add-ons.
Requires full access. Checkout and portal flows are designed for the Postbound portal origin; use HTTPS success/cancel URLs on your portal host.
Current subscription
GET /billingReturns the workspace plan object, billing_status, monthly quota/usage, domain and inbox limits, PAYG flag, add-on quantities, and whether checkout or portal management is available.
Statuses include none, active, past_due, canceled, and unpaid.
Upgrade with Checkout
POST /billing/checkout
Content-Type: application/json
{
"plan": "letter_40k",
"success_url": "https://postbound.app/…",
"cancel_url": "https://postbound.app/…"
}Response includes a Stripe Checkout URL. After payment, webhooks update the workspace plan.
Customer portal
POST /billing/portal
{ "return_url": "https://postbound.app/…" }Opens the Stripe Customer Portal for payment methods and invoices when a Stripe customer already exists.
Pay-as-you-go emails
POST /billing/extras/payg-emails
{ "enabled": true }When enabled on Letter/Parcel (or higher), usage past the monthly quota bills at the plan’s overage rate.
Add-ons
POST /billing/addons
{
"addon": "domains",
"quantity": 1
}addon is one of inboxes, domains, or sso. Quantity semantics match the catalog.
Enterprise / Postmaster offers
GET /billing/enterprise
POST /billing/enterprise/acceptSession owner flows for custom Postmaster offers. Not used for self-serve Letter/Parcel upgrades.