Bet Placing Webhook
Description:
This webhook is triggered whenever a user's bet is canceled in the Hypetech API. It logs rollback transactions, ensuring data consistency and transparent balance adjustments.
https://yourdomain.com/webhooks/hypetech/rollback
Request Body Schema: application/json
Domain and Token Configuration
Request Fields
|
Example Payload
Content type: application/json { "user_id": "26", "currency": "USD", "amount": 200, "provider": "hypetech", "provider_tx_id": "559", "game": "aviador", "action": "rollback", "round_id": "255", "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.