Bet Placing Webhook
Description:
Triggered whenever a user places a bet during a game, this webhook provides detailed transaction information to ensure accuracy and traceability.
https://yourdomain.com/webhooks/hypetech/register
Request Body Schema: application/json
Request Fields
|
Example Payload
Content type: application/json { "user_id": "26", "currency": "USD", "amount": 200, "provider": "hypetech", "provider_tx_id": "559", "game": "aviador", "action": "bet", "round_id": "255", "mode":"default" "count_register": "1" "session_token": "b72afc947ed1809d9a993d378733cfea", } |
200 Bet information
RESPONSE SCHEMA: application/json
Field | Type | Description |
---|---|---|
operator_tx_id |
string | Transaction ID on client’s platform. |
new_balance |
string | New user balance. |
old_balance |
string | Balance before bet. |
user_id |
string | User ID. |
currency |
string | Currency used on transaction. |
provider |
string | Reference to the platform where the bet was made. |
provider_tx_id |
string | Transaction ID generated. |
{
"operator_tx_id": "559",
"new_balance": "2050.00",
"old_balance": "2300.00",
"user_id": "13",
"currency": "BRL",
"provider": "hypetech",
"provider_tx_id": "559"
}
404 Route not found
Description: The specified route could not be found.
Goal:
This webhook offers a reliable and transparent mechanism to log bets, ensuring secure and efficient integration with the Hypetech API.