PayNow

UpdateSubscriptionRequestDto

linesUpdateSubscriptionLineRequestDto[]Required
The line items describing the desired state of the subscription after the change.
custom_variablesobjectRequired
Custom variable values keyed by variable name.
product_idFlakeIdOptional
product_version_idFlakeIdOptional
selected_gameserver_idFlakeIdOptional
proration_behaviorenumRequired
Describes how proration is handled when a subscription change is applied.
Possible enum values
  • invalid
  • immediate

    Subscription will be updated instantly, and a proration charge will be applied.

  • next_billing_period

    Subscription will be updated at the end of the billing period, no proration will be applied.

  • none

    No proration is applied, subscription is updated instantly.

Example
{
  "lines": [
    {
      "custom_variables": {},
      "product_id": "411486491630370816",
      "product_version_id": "411486491630370816",
      "selected_gameserver_id": "411486491630370816"
    }
  ],
  "proration_behavior": "invalid"
}