In-game purchases
Offer players the ability to buy in-game items, unlock premium content, or access season passes — available for eligible games on Global Launch.
In-game purchases are only enabled for games that have completed Global Launch and have been approved for monetization by the PozyGame team.
Triggering a purchase
// Show the purchase dialog for an item
const result = await sdk.purchases.buy({
itemId: "premium_skin_01"
});
if (result.success) {
unlockItem(result.itemId);
}
Verifying purchases server-side
// Send token to your backend for validation
const result = await sdk.purchases.buy({ itemId: "gem_pack_500" });
if (result.success) {
await fetch("/api/verify-purchase", {
method: "POST",
body: JSON.stringify({ token: result.token })
});
}
Item catalog
Define your purchasable items in the PozyGame Developer Dashboard. Each item requires:
- ✓ A unique
itemIdstring - ✓ Display name and description
- ✓ Price in USD (PozyGame handles currency conversion)
- ✓ Item icon image (512×512px recommended)