Link Search Menu Expand Document

Billing Operations

All game operations are performed through a single endpoint /open-api-games/v1/games-processor

Financial Transaction (Withdrawal / Replenishment / Cancellation)

These requests allow you to manage financial transactions for a player’s account, including processing withdrawals, replenishments, and cancellations of replenishments.

sequenceDiagram
UserBrowser ->> ProviderGameServer: start spin
ProviderGameServer ->> PlatformAPI: request {"api": "debit", "amount": TOTAL-BET, ...}
PlatformAPI ->> ProviderGameServer: response {"api": "debit", "isSuccess": true, ...}
ProviderGameServer ->> UserBrowser: start spin animation, show spin result
UserBrowser ->> ProviderGameServer: spin animation finished
ProviderGameServer ->> PlatformAPI: request {"api": "credit", "amount": SPIN-WIN, ...}
PlatformAPI ->> ProviderGameServer: response {"api": "credit", "isSuccess": true, ...}
ProviderGameServer ->> UserBrowser: spin result, updatedBalance value

Balance fetching

Request to fetch user’s balance.

sequenceDiagram
    UserBrowser ->> ProviderCDN: open game at accounts[].gameEmbedUrl
    ProviderCDN ->> ProviderGameServer: game initialization
    ProviderGameServer ->> PlatformAPI: balance request {"api": "balance"}
    PlatformAPI ->> ProviderGameServer: balance and configuration response
    ProviderGameServer ->> ProviderCDN: game initialized
    ProviderCDN ->> UserBrowser: final game init response

Table of contents