API สำหรับยืนยันสลิปโอนเงินไทยด้วย QR Code — แม่นยำ รวดเร็ว ใช้งานง่ายผ่าน REST API พร้อม Dashboard และ API Key Management
# ส่งสลิปเพื่อตรวจสอบ
curl -X POST https://yourdomain.com/api/slip.php \
-H "X-API-Key: gx_xxxxxxxxxxxxxxxxxxxxxxxx" \
-F "slip=@transfer_slip.jpg"
# Response
{
"type": "SLIP",
"slipVerification": {
"transfer": {
"transactionRef": "202504270001234567",
"transactionDateTime": "2025-04-27T10:30:00+07:00",
"fromBankName": "SCB",
"fromAccountNo": "123-4-56789-0",
"toBankName": "KTB",
"toAccountNo": "987-6-54321-0",
"amount": { "amount": 500.00, "currency": { "code": "THB" } }
}
},
"_meta": { "calls_used": 42, "calls_remaining": 458, "response_ms": 312 }
}