Skip to main content

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
string
required
The plan to move to.
Response
Redirect the customer here. They can pay by card or transfer.
string
The prorated amount collected now (kobo).
The plan does not change until the payment settles — the subscription stays on its current plan until the webhook applies the swap (respecting the tenant’s activation strategy). Listen for subscription.upgraded / invoice.paid to know when it lands.