PayNow

SubscriptionChangeLineDto

A single line item within a subscription change.

amountSubscriptionChangeLineAmountDtoRequired
Pricing breakdown for a single subscription change line, in the smallest units of the given currency (e.g. cents).
currencystringRequired
ISO 4217 currency code in lowercase.
discountintegerRequired
Total discount applied, in smallest currency units.
subtotalintegerRequired
Base amount before discounts or tax, in smallest currency units.
taxintegerRequired
Tax amount, in smallest currency units.
totalintegerRequired
Amount due after discounts and tax, in smallest currency units.
idFlakeIdRequired
is_deletedbooleanRequired
Whether this line is being removed by the change.
presentment_amountSubscriptionChangeLineAmountDtoRequired
Pricing breakdown for a single subscription change line, in the smallest units of the given currency (e.g. cents).
currencystringRequired
ISO 4217 currency code in lowercase.
discountintegerRequired
Total discount applied, in smallest currency units.
subtotalintegerRequired
Base amount before discounts or tax, in smallest currency units.
taxintegerRequired
Tax amount, in smallest currency units.
totalintegerRequired
Amount due after discounts and tax, in smallest currency units.
priceintegerRequired
Base price in smallest settlement currency units.
productSubscriptionChangeLineProductDtoRequired
The product associated with a subscription change line.
custom_variablesobjectRequired
Custom variables set on this line item, keyed by variable identifier.
idFlakeIdRequired
namestringRequired
Display name of the product.
version_idFlakeIdRequired
image_urlstringOptional
URL of the product image, if set.
pricing_region_idstringOptional
The pricing region used to determine the price, if applicable.
selected_gameserver_idFlakeIdOptional
prorated_amountintegerRequired
Prorated charge for this line in smallest settlement currency units.
prorated_presentment_amountintegerRequired
Prorated charge for this line in smallest presentment currency units.
remaining_minutesintegerRequired
Minutes remaining in the billing period at the time of change - used to calculate proration.
tax_inclusivebooleanRequired
Whether tax is included in the base price.
total_minutesintegerRequired
Total minutes in the billing period - used to calculate proration.
subscription_line_idFlakeIdOptional
Example
{
  "amount": {
    "currency": "string",
    "discount": 0,
    "subtotal": 0,
    "tax": 0,
    "total": 0
  },
  "id": "411486491630370816",
  "is_deleted": true,
  "presentment_amount": {
    "currency": "string",
    "discount": 0,
    "subtotal": 0,
    "tax": 0,
    "total": 0
  },
  "price": 0,
  "product": {
    "custom_variables": {},
    "id": "411486491630370816",
    "name": "string",
    "version_id": "411486491630370816",
    "image_url": "string",
    "selected_gameserver_id": "411486491630370816",
    "pricing_region_id": "string"
  },
  "prorated_amount": 0,
  "prorated_presentment_amount": 0,
  "remaining_minutes": 0,
  "tax_inclusive": true,
  "total_minutes": 0,
  "subscription_line_id": "411486491630370816"
}