Subscription Change Proration
bpj_subscription_prorationProrate the unused old plan and remaining new plan over the actual days left in the billing cycle.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"old": "<old>",
"updated": "<updated>",
"remaining": "<remaining>",
"days": "<days>"
},
"name": "bpj_subscription_proration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old | Yes | ||
| days | Yes | ||
| updated | Yes | ||
| remaining | Yes |