GAP Integration - AmKa Chat — 2026-03-21 (Saturday)
Group: GAP integrration - AmKa (WhatsApp)
Bhargav Veepuri — 4:57 PM
Hey Ken, thanks again for the detailed answers earlier. We're getting ready to start building the integration. A few more questions before we begin:
Money Safety (CRITICAL)
- Bet timeout = money lost? When you call our /betrequest and we debit the user, but our response takes >4 seconds — you mark the bet as FAILED. In that case, do you send us a /rollbackrequest for that failed bet? Or is the debit orphaned on our side with no callback? This is our #1 concern for money safety.
- What happens to the old session on new login? If a user has an active session and we call operator/login again for the same user — does GAP terminate the old session automatically? Or does it reject the new login? Or does it create a second session?
Endpoint Setup 3. Endpoint path customization — When you call our wallet endpoints, do you call exactly /balance, /betrequest, /resultrequest, /rollbackrequest on the base URL we give you? Or can we specify custom paths like /api/gap/balance? 4. GAP's server IPs — What IPs should we whitelist for incoming wallet requests from your servers (dev/staging)?
Retry & Timing 5. Result/rollback retry interval — The 10 retries on /resultrequest and /rollbackrequest — what's the interval between retries? Immediate? Exponential backoff? Over what total time window?
Provider & Games 6. HKD provider list — Could you share the list of game providers that support HKD? We need it to filter our game catalog so users don't hit error code 7.
Reconciliation 7. Reconciliation API — Can we use the get-bet-info or get-bet-details API to verify/reconcile transaction status on our side? Is there a rate limit on those endpoints?
Operator Setup 8. BackOffice access — Will we get access to the GAP BackOffice for dev/staging? We need it for test case execution.
Data Format 9. rollbackAmount sign — In the sports docs, rollbackAmount is -150 (negative). For casino rollbacks, is it always positive, always negative, or can it be either? Should we use the absolute value? 10. Zero-amount bets — Your docs mention "zero bet is possible for bonuses/rewards/freebets." Does this apply to casino games too? Should we accept debitAmount: 0?
ken (+1 (510) 370-0943) — 5:20 PM
let me check
ken (+1 (510) 370-0943) — 5:29 PM
1.Rollback is sent when response is not received on bet request within 4 sec 2. will answer 3. should be exact paths 4. will share dev and prod IPs 5. 2 secs , 4 secs , 8 secs ,........ interval of retries 2 power n 6. will share HKD list 7. Currently we are not supporting the reconciliation API 8. Will share BO access for stage for testing 9. for casino , it is positive - rollback amount 10. free spins / free bets / promo bets if for casino - where debitAmount : 0 and your system needs to accept it