Game session data
Player, brand, game, currency, country, language, mode, jurisdiction และ access expiry
เส้นทางครบตั้งแต่ตรวจ player และ launch เกม ไปจนถึง bets, wins, game rounds, rollbacks และ financial reconciliation
Player, game, currency, language, country, mode และ return URL
Temporary access key, launch URL และ game availability check
Balance check, bet, win, combined operation และ platform responses
Final result, rollbacks, financial ledger และ provider report
Game launch และ fund movement เป็นคนละส่วนของ flow เดียวกัน Session ระบุ player และ launch conditions, round เชื่อม provider actions และ platform API ยืนยัน debit, credit และ rollback ทุกครั้ง
Player, brand, game, currency, country, language, mode, jurisdiction และ access expiry
Platform ตรวจ available funds และใช้แต่ละ bet, payout หรือ rollback เพียงครั้งเดียว
Operation ID, round ID, operation type, amount และ balance ก่อน/หลัง ถูกเก็บไว้เพื่อ control และ reconciliation
Platform ตรวจ player และ game availability ก่อน จากนั้นสร้าง time-limited session และรับ launch URL จาก provider
Platform ตรวจ account status, currency, country, restrictions, limits, real/demo mode และ game availability
สร้าง session ID พร้อมข้อมูล player, game, brand, currency, language, IP และ expiry
Provider รับ session key, notification/return URLs, device type, jurisdiction และ interface parameters
Player เปิด URL ที่ได้รับ จากนั้น financial operations ทำแบบ server-to-server โดยตรง
ชื่อ methods ของแต่ละ provider อาจต่างกัน แต่ logic เหมือนกัน: balance check, bet debit, win credit และ rollback ของ operation ที่ยืนยันแล้ว
คืน available player balance ใน currency ของ active session โดยไม่เปลี่ยน financial ledger
ตรวจ player, session, currency และ available funds แล้วหัก bet ที่ยืนยันเพียงครั้งเดียว
เครดิต win ด้วย unique operation ID และ round ID รวมถึง zero-result
ใช้ bet และ game result พร้อมกันเมื่อ provider รองรับ flow นี้
สร้าง corrective operation แยกสำหรับ bet หรือ payout ที่ยืนยันก่อนหน้า โดยไม่ลบ original record
ส่ง bonus campaign และ game round data โดยแยก real money และ bonus funds
ทุก operation ตรวจ currency, amount units, decimal places และ rounding rules
คืน operation status, internal ID, current balance และ unified error code
หนึ่ง round อาจมีหลาย bets และ results สถานะของ round ขึ้นอยู่กับ game rules ไม่ใช่แค่ลำดับ network requests
Platform ได้ round ID ครั้งแรกและสร้าง internal record
Round อาจมี additional bets, game actions และ intermediate wins
Platform ยืนยัน debit และเชื่อมกับ unique provider operation ID
ได้รับ win หรือ zero result แต่ round อาจยังเปิดอยู่ตาม game rules
Provider ยืนยันว่า round เสร็จและ expected financial operations ทั้งหมดถูกประมวลผลแล้ว
หนึ่งหรือหลาย operations ถูกแก้ไขโดยยังเก็บ original history ครบถ้วน
Round ID ไม่ควรเป็น duplicate-protection key เพียงตัวเดียว แต่ละ bet, payout และ rollback ต้องมี unique ID ของตัวเอง
Game API ต้องจัดการ repeated requests, response delays, out-of-order operations และ provider recovery หลัง failure อย่างปลอดภัย
Testing ต้องครอบคลุม game launch, player restrictions, insufficient balance, repeated operations, response delays, rollbacks และ closed-round reconciliation
Real/demo modes, wrong currency, blocked country, expired access และ unavailable game
Insufficient funds, blocked player, currency mismatch และ limit exceeded
Provider ไม่ได้รับ response หลัง debit เกิดขึ้นจริง และ resend operation ด้วย ID เดิม
ID เดิมเข้ามาก่อนหรือหลัง processing เสร็จ รวมถึงกรณี parameters ขัดแย้ง
Bet rollback, win rollback, repeated rollback และ reference ไปยัง unknown original operation
Bet, win และ rollback amounts, final status, balance movement และ provider report ต้องตรงกัน
Launch หลังตรวจ game sessions, balance operations, duplicate protection, rollbacks และ reporting แล้ว
ส่ง provider documentation, รายการ balance operations, game round model, currencies และ reporting requirements มาให้ APIACE จะช่วยวาง game launch, bets, wins, rollbacks และ financial reconciliation