PayNow

ProductCommandDto

contentstringRequired
Content of the command.
online_onlybooleanRequired
Value indicating whether the command should only execute when the player is online.
stageenumRequired
Defines the stages at which product commands can be executed.
Possible enum values
  • invalid

    Represents an invalid or unspecified command stage.

  • on_purchase

    Commands that should be executed when a product is purchased.

  • on_expire

    Commands that should be executed when a product expires.

  • on_refund

    Commands that should be executed when a product is refunded.

  • on_renew

    Commands that should be executed when a subscription is renewed.

  • on_chargeback

    Commands that should be executed when an order is charged back.

  • on_trial_start

    Commands that should be executed when a trial is started.

  • on_trial_expire

    Commands that should be executed when a trial expires.

override_execute_on_gameserver_idsFlakeId[]Optional
Value indicating on which game servers should the command be executed. If left empty or null, then the default behavior applies (executing on all game servers or on the selected game server is selection is enabled)
Example
{
  "content": "string",
  "online_only": true,
  "stage": "invalid",
  "override_execute_on_gameserver_ids": [
    "411486491630370816"
  ]
}