คุณสามารถส่งลิงก์รูปภาพของสลิปโอนเงินธนาคารผ่าน API เพื่อตรวจสอบความถูกต้องของสลิป ยอดเงินโอน เวลาโอน ผู้โอน และผู้รับโอนเงินโดยอัตโนมัติ โดยระบบจะต่อสายตรงไปตรวจสอบกับผู้ให้บริการ Slip2go ในทันที
🌐 Base URL: https://999.kairew.co — ทุก Request ต้องมี Header x-api-key เสมอ
| Header Key | Value | คำอธิบาย |
|---|---|---|
| x-api-key | xxxxxxx | คีย์เข้าใช้งาน API ของคุณ |
| Content-Type | application/json | ต้องส่ง Content-Type เป็น JSON เสมอ |
รองรับการส่งทั้งแบบครอบด้วย payload (ตามมาตรฐาน Slip2go) หรือส่งแบบเรียบๆ (Flat Object)
{
"payload": {
"imageUrl": "https://slip.kairew.co/slip/kbank.png"
}
}
{
"imageUrl": "https://slip.kairew.co/slip/kbank.png"
}
{
"code": "200000",
"message": "Slip found.",
"data": {
"referenceId": "92887bd5-60d3-4744-9a98-b8574eaxxxxx-xx",
"decode": "0041000600000101030040220014242082547BPM049885102TH9104xxxx",
"transRef": "015073144041ATF00999",
"dateTime": "2025-04-23T08:32:45.123Z",
"amount": 1,
"ref1": null,
"ref2": null,
"ref3": null,
"receiver": {
"account": {
"name": "บริษัท DUYDUY จำกัด",
"bank": {
"account": "xxx-x-x5366-x"
},
"proxy": {
"type": "NATID",
"account": "xxx-x-x5366-x"
}
},
"bank": {
"id": "004",
"name": "ธนาคารกสิกรไทย"
}
},
"sender": {
"account": {
"name": "บริษัท DUYDUY จำกัด",
"bank": {
"account": "xxx-x-x9866-x"
}
},
"bank": {
"id": "004",
"name": "ธนาคารกสิกรไทย"
}
}
}
}
curl -X POST https://999.kairew.co/api/check-slip \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"payload": {
"imageUrl": "https://slip.kairew.co/slip/kbank.png"
}
}'
import requests
url = "https://999.kairew.co/api/check-slip"
headers = {
"x-api-key": "your_api_key_here",
"Content-Type": "application/json"
}
data = {
"payload": {
"imageUrl": "https://slip.kairew.co/slip/kbank.png"
}
}
response = requests.post(url, headers=headers, json=data)
print(response.json())