Errors

plan_downgrade_needs_schedule

409: Moving down is scheduled, not ordered.

Moving down is scheduled, not ordered. Answered with 409.

What it means

POST /api/billing/checkout named a Plan below the one the Org holds, or the Org is on Enterprise. An order takes effect the moment it is paid; a move down takes effect at the end of the period already paid for, costs nothing today and is not a purchase. Nothing was ordered and nothing was charged.

What to do

POST /api/billing/schedule with the lower Plan; the Org moves there at current_period_end. Two cases have no schedule to set, and the detail says which applies: while the subscription is past_due the schedule takes only a cancel (send free) until the renewal is paid, and a Plan that was agreed with Tigby rather than bought (Enterprise above all) is changed through support@tigby.eu.

The body

{
  "type": "https://tigby.eu/problems/plan_downgrade_needs_schedule",
  "title": "Moving down is scheduled, not ordered",
  "status": 409,
  "detail": "…what was refused, naming this request's own values",
  "code": "plan_downgrade_needs_schedule",
  "doc_url": "https://docs.tigby.eu/errors/plan_downgrade_needs_schedule",
  "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.