Unified operation ID
ID นี้เชื่อม player, amount, currency, payment method, payment provider และ processing history ทั้งหมด
ดู payment flow ครบตั้งแต่สร้าง deposit และยืนยัน payment ไปจนถึง credit, withdrawal, refund และ financial reconciliation
บันทึก player, amount, currency, payment method และ unique operation ID
ส่ง player ไป payment page, ขอ bank confirmation หรือ process payment โดยตรง
ตรวจ payment provider response และยืนยัน final operation result
Credit หรือ debit funds เพียงครั้งเดียว บันทึก fee และเก็บ operation สำหรับ reconciliation
Platform กำหนด internal ID ให้ operation เชื่อมกับ payment provider response และเปลี่ยน financial state หลังยืนยันผลแล้วเท่านั้น Repeated request ต้องไม่สร้าง debit หรือ credit ซ้ำ
ID นี้เชื่อม player, amount, currency, payment method, payment provider และ processing history ทั้งหมด
Operation ผ่านเฉพาะ stages ที่อนุญาตและไม่เปลี่ยน completed result โดยไม่มี correction แยก
Payment status, balance change, fee และ accounting entry เชื่อมโยงกัน แต่ตรวจสอบแยกกัน
Deposit เริ่มจากการสร้าง internal operation และจบด้วยการ credit เพียงครั้งเดียวหลัง payment provider ยืนยัน
Platform ตรวจ player, KYC, limits, currency, amount และ payment method แล้วกำหนด internal ID ให้ operation
Provider รับ amount, currency, player data, return URL, notification URL และข้อมูลที่จำเป็น
Player ยืนยัน payment บน external page ผ่าน 3-D Secure หรือ banking app
หลังตรวจ signature และ final status แล้ว platform เพิ่ม player balance เพียงครั้งเดียวและปิด operation
Outgoing operations ต้องตรวจ player, available balance, risk, payment details และ final response จาก payment provider
KYC, อายุ, account status, limits, self-exclusion และ withdrawal methods ที่อนุญาต
AML, fraud indicators, wagering requirements, source of funds และ operator approval
Amount ถูกล็อกใน balance จนได้ final payout result
สร้าง payout request แยกพร้อม unique ID และ beneficiary details ที่ยืนยันแล้ว
Platform รับ intermediate statuses และไม่ debit amount ซ้ำ
Refund ถูกสร้างเป็น operation แยก เชื่อมกับ original payment และมี amount ของตัวเอง
Cancellation ทำได้เฉพาะก่อน irreversible stage และไม่แทน refund ของ completed operation
Provider report, payout data, fees และ balance changes ต้องแสดงผลตรงกัน
Internal statuses รวม responses จาก payment providers ต่าง ๆ ให้เป็น model เดียวที่ platform เข้าใจง่าย
Operation ถูกสร้างใน platform แล้ว แต่ยังไม่ส่งหรือยังไม่ถูก provider รับ
Player ต้องยืนยัน payment, กรอกข้อมูล หรือทำ action ในธนาคาร
Provider รับ operation แล้ว แต่ final result ยังไม่ยืนยัน
Operation สำเร็จ แล้วจึงเปลี่ยน balance เพียงครั้งเดียว
Operation จบด้วยการปฏิเสธ พร้อมเก็บ reason และไม่มี debit/credit ซ้ำ
Final result ไม่ทราบเนื่องจาก connection drop, delayed response หรือข้อมูลขัดแย้ง
Payment อาจถูก provider รับแล้วแม้ไม่มี response ทันเวลา ให้ขอ current status หรือรอ confirmation ก่อน แล้วค่อยตัดสินใจว่าจะทำ operation ซ้ำหรือไม่
ความน่าเชื่อถือของ Payment API ขึ้นอยู่กับพฤติกรรมที่ปลอดภัยเมื่อมี repeated requests, delayed confirmations และ partial failures
ทดสอบ successful payment, decline, connection loss, repeated confirmation, unknown result, refund และ financial reconciliation
Intermediate statuses ทั้งหมด, confirmation, balance change และ final reporting
Insufficient funds, invalid details, limit exceeded, bank decline, risk check และ unavailable payment method
Connection หลุดหลังส่ง request แล้ว confirmation มาทีหลังหรือถูกขอแยก
Operation หรือ confirmation เดิมเข้ามาซ้ำหลัง processing เสร็จ
Full/partial refund, cancellation ก่อน processing และห้าม cancel completed operation
Amount, fee, final status, balance และ provider report ต้องตรงกันหลังทุก scenario
Production payments เปิดหลังตรวจ statuses, confirmations, duplicate protection, balance และ financial reporting
ส่งรายชื่อ PSP, payment methods, currencies, markets, balance rules และ statuses มาให้ APIACE จะช่วยวาง deposit, withdrawal, refund, confirmation และ financial reconciliation