POST /v1/subscriptions/:id/change-checkout
When a customer has no payment method on file (e.g. they paid by bank transfer, which doesn’t tokenize), an immediate paid upgrade can’t be auto-charged. Instead of failing, call this to collect the prorated upgrade amount through a Nomba-hosted checkout. The intended change is recorded as pending; when the payment settles, the payment webhook swaps the plan and records the paid proration invoice. Only meaningful when the change costs money now (an upgrade with a positive net). Lateral moves and downgrades need no payment — use/change instead (they return
no_payment_required here).
cURL
The plan to move to.
Response
Redirect the customer here. They can pay by card or transfer.
The prorated amount collected now (kobo).
subscription.upgraded / invoice.paid to know when it lands.