Errors

plan_upgrade_needs_checkout

400: Moving up is a purchase.

Moving up is a purchase. Answered with 400.

What it means

POST /api/billing/schedule changes what the Org becomes at the end of the period it has paid for, which is a downgrade or a cancel. The Plan named is above the one being paid for, and moving up is money changing hands.

What to do

Start a checkout with POST /api/billing/checkout for the Plan you want; it takes effect when the payment settles, not at the end of the period.

The body

{
  "type": "https://tigby.eu/problems/plan_upgrade_needs_checkout",
  "title": "Moving up is a purchase",
  "status": 400,
  "detail": "…what was refused, naming this request's own values",
  "code": "plan_upgrade_needs_checkout",
  "doc_url": "https://docs.tigby.eu/errors/plan_upgrade_needs_checkout",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.