Preview proration for a plan change
Subscriptions
Preview proration for a plan change
Computes the credit/debit for switching to a different plan now, without applying it.
GET
Preview proration for a plan change
Authorizations
Your PayBridgeNP API key. Obtain one from the dashboard under Settings → API Keys. Prefix: sk_test_ for testing, sk_live_ for production.
Path Parameters
Query Parameters
Response
Proration preview.
Computed proration estimate (amounts only, no persisted object). NOTE: this object uses camelCase keys (legacy); snake_case alignment is a tracked follow-up.
Paisa credited for unused time on the current plan.
Paisa charged for remaining time on the new plan.
debitAmount - creditAmount (positive = customer owes more).
Example:
"NPR"