Preview a plan change
Subscriptions
Preview a plan change
Calculates exactly what a plan change would cost without committing it. Always call this before change so the customer sees the exact amount before confirming. Returns proration amounts to the kobo.
POST
Preview a plan change
Authorizations
Use sk_test_ keys for sandbox. Use sk_live_ keys for production. Obtain your key from the dashboard.
Path Parameters
Response
200 - application/json
Proration preview
Available options:
preview Available options:
upgrade, downgrade, lateral Example:
"upgrade"
Kobo to charge immediately (upgrade). Zero if deferred.
Example:
"466667"
Kobo to credit to balance (downgrade). Zero if deferred.
Example:
"0"
Set when the change is deferred to period end. Null if immediate.