Webhooks
Webhook - Transação
Enviaremos um webhook para informar uma transação.
post/api/webhook
Request
- Base URL: https://api.playfivers.com
- URL: https://api.playfivers.com/api/webhook
- Auth: none declared
Headers
Content-Typestring
Request body
Example request
{
"type": "WinBet",
"agent_code": "AGENTE123",
"agent_secret": "SEGREDO123",
"user_code": "teste0209@email.com",
"user_balance": 150.75,
"game_original": true,
"game_type": "slot",
"slot": {
"provider_code": "PGSOFT",
"game_code": "126",
"type": "BASE",
"round_id": "ROUND12345",
"bet": 50,
"win": 100,
"txn_id": "TXN123456",
"txn_type": "debit_credit",
"buy_bonus": true,
"free_rounds": {
"enable": true,
"total_step": 10,
"win": 10
},
"user_before_balance": 200,
"user_after_balance": 250,
"created_at": "2023-10-01T12:34:56Z"
}
}Response
Você deve retornar o saldo atualizado do jogador
Example response
{
"balance": 150.75
}Changes
No recorded changes to this operation across all 1 revision of this API.