Report player balance Webhook
Description:
This route is used to obtain the player's updated balance when necessary. It is triggered whenever the API requires financial information about the player to ensure a seamless and integrated gaming experience.
https://yourdomain.com/games/getBalance
Request Body Schema: application/json
Request Fields
|
Example Payload
Content type: application/json { "player_id": "99e27bf0-35da-46e2-a82d-07c492d1ed25", "currency": "BRL" } |
200 Balance information
RESPONSE SCHEMA: application/json
Field | Type | Description |
---|---|---|
balance |
string | User's updated balance in the requested currency. |
{
"balance": "2050.00"
}
404 Route not found
Description: The specified route could not be found.
Goal:
This webhook ensures robust integration, providing accurate financial data for a secure and reliable gaming experience.