Upgrade Player Subscription
Move a player's subscription to another plan.
Nothing is charged now and the billing schedule is untouched: the cycle the player already paid for runs to its end and the next renewal charges the new plan. Naming a plan_key takes every setting from that plan in the game's catalog; any setting sent alongside it wins.
Path parameters
Request body
Key of a plan on this subscription's item. Every setting below is taken from that plan unless it is set explicitly.
Charge per billing cycle, in minor currency units.
Price charged once the introductory discount ends, in minor currency units. Accepted only together with discounted_cycles.
How many initial billing cycles keep the discounted amount. 0 means the discount never ends. Accepted only together with recurring_amount.
Length of a billing cycle in seconds.
Days a failing subscription keeps its benefits before cancellation.
Days the account stays locked after cancellation.
Whether the player may pause the subscription.
Whether downgrading to this plan is supported.
Whether a canceled subscription may be reactivated.
Response
Subscription moved to the new plan.
Upgraded subscription ID.
Plan the subscription now renews on. Null for a subscription created before plans were recorded, which an override-only upgrade leaves untouched.
Amount charged on the next renewal, in minor currency units.
Amount charged once the introductory discount ends, in minor currency units. Equals amount when there is no discount.
How many initial billing cycles keep the discounted amount. 0 means the discount never ends.
Billing cycles already paid for.
Length of a billing cycle in seconds.
When the next renewal is charged, in Unix epoch time (seconds).
Changes
Changed in 1 of the 28 revisions of this API.○1
- ○
endpoint added
endpoint-added
- ○