Skip to content

PlatformPaymentRequest

Defined in: sdk/src/platform/types.ts:743

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

offerId: string

Defined in: sdk/src/platform/types.ts:745

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


quantity: number

Defined in: sdk/src/platform/types.ts:747

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


optional sandbox?: boolean

Defined in: sdk/src/platform/types.ts:752

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


optional zoneId?: string

Defined in: sdk/src/platform/types.ts:750

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.