Skip to content

PlatformPaymentRequest

Defined in: platform/types.ts:688

One in-game purchase, in the vocabulary every mini-game host shares.

offerId: string

Defined in: platform/types.ts:690

The offer this game sells under, from the host’s developer console.


quantity: number

Defined in: platform/types.ts:692

How many units of the host’s in-game currency to buy.


optional sandbox?: boolean

Defined in: platform/types.ts:697

Use the host’s sandbox rather than charging real money.


optional zoneId?: string

Defined in: platform/types.ts:695

Which of the game’s zones/servers the currency lands in. Hosts default it to the first one; a single-zone game can leave it out.