The PayOut endpoint is used to process the payout transaction once the outcome of a bet is determined. This endpoint communicates the result of a game round by registering the winnings (or confirming a loss) for a placed bet. By doing so, it finalizes the bet lifecycle and updates the user’s balance accordingly.The PayOut method allows to:
Process Bet Outcomes: Once the game round is completed, and the outcome (win/loss) is determined, this endpoint is used to process the payout.
Update User Balance: The response from the endpoint includes the updated account balance after the win is credited or a confirmed loss is acknowledged.
Link Transactions: The method uses a unique bet identifier (betId) that ties together the cash flow transactions (starting from bet placement via PayIn/PayInOut through to the eventual payout), ensuring traceability and consistency within one betting event.
The PayOut endpoint, like other API requests within this integration, requires strict authentication to ensure that only authorized parties can interact with it. This is achieved through the use of mandatory HTTP headers. Please see the required headers below in the Header Params section.