Move the organization to another plan
Moves a self-serve organization between the free plan and Pro.
Moves a self-serve organization between the free plan and Pro. Moving up starts at once: the larger limits and sizes are there now and the month is prorated. Moving down takes effect at the start of next month, with no refund for the rest of this one; until then pending_change names it, and moving up again cancels it. Pro needs a card on file (conflict). An invited organization's plan is staff's (conflict). The same plan again is a no-op. A higher plan is agreeing to pay more, so only a signed-in person whose role may read billing can call it, with a fresh second factor; an API key answers person_required. With billing off it is conflict; the billing provider not answering is upstream.
For people only: a signed-in person with a fresh second factor makes this call. An API key is refused with person_required. The person's role must be one that may read billing.
Request
curl -X PUT "https://api.pod.mapier.ai/v1/billing/plan" \
-H "Authorization: Bearer $POD_PERSON_TOKEN" \
-H "Content-Type: application/json" \
-d '{"plan":"free"}'Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Body
| Field | Type | Required | What it is |
|---|---|---|---|
plan | "free" | "pro" | Yes |
Answer
200. The plan now, and when the one asked for starts.
{
"plan": "invited",
"effective": "now",
"effective_at": "2026-11-23T12:00:00.000Z",
"pending_change": null
}| Field | Type | Always | What it is |
|---|---|---|---|
plan | "invited" | "free" | "pro" | Yes | |
effective | "now" | "period_end" | Yes | |
effective_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
pending_change | PendingPlanChange | null | Yes |
Errors
The refusals this call is known for: invalid, person_required, forbidden, conflict, upstream. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | pod.billing.changePlan(plan) |
| Python | pod.billing.change_plan(plan) |