✅ Correct QR Verification / ✅ Valid Amount
Header: { x-authorization: }
Request Body
{
"data": "0041000600000101030040220013071152533APM077365102TH91048134",
"log": true,
}
HTTP Status: 200
Response Body
{
"success": true,
"data": {
"success": true,
"message": "✅",
"rqUID": "783_20191108_v4UIS1K2Mobile",
"language": "TH",
"transRef": "010092101507665143",
"sendingBank": "004",
"receivingBank": "004",
"transDate": "20200401",
"transTime": "10:15:07",
"sender": {
"displayName": "นาย ธนาคาร ก",
"name": "Mr. Thanakarn K",
"proxy": {
"type": null,
"value": null
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x0209-x"
}
},
"receiver": {
"displayName": "กสิกร ร",
"name": "KASIKORN R",
"proxy": {
"type": "",
"value": ""
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x3109-x"
}
},
"amount": 1,
"paidLocalAmount": 1,
"paidLocalCurrency": "764",
"countryCode": "TH",
"transFeeAmount": 0,
"ref1": "",
"ref2": "",
"ref3": "",
"toMerchantId": ""
}
}
Invalid QR Verification #1
Header: { x-authorization: }
Request Body
{
"data": "ABCD",
"log": true,
}
HTTP Status: 400
Response Body
{
"code": 1008,
"message": "QR Code ไม่ใช่ QR สำหรับตรวจสอบการชำระเงิน"
}
Invalid QR Verification #2
Header: { x-authorization: }
Request Body
{
"data": "0041000600000101030040220013071152533APM077365102TH91048134",
"log": true,
}
HTTP Status: 400
Response Body
{
"code": 1007,
"message": "QR Code หมดอายุ หรือ ไม่มีรายการอยู่จริง"
}
Invalid QR Verification #3
HTTP Status: 400
Response Body
{
"code": 1007,
"message": "รูปภาพไม่มี Qr code"
}
Invalid Image File
HTTP Status: 400
Response Body
{
"code": 1006,
"message": "รูปภาพไม่ถูกต้อง",
}
Invalid API Key or Request with No API Key in Header
HTTP Status: 401
Response Body
{
"code": 1002,
"message": "Authorization Header ไม่ถูกต้อง",
}
Empty or Invalid Request Body
HTTP Status: 400
Response Body
{
"code": 1000,
"message": "กรุณาใส่ข้อมูล QR Code ให้ครบใน field data หรือ files",
}
Invalid Amount (If user attach amount with the request)
Header: { x-authorization: }
Request Body
{
"data": “0041000600000101030040220123456789ABCDEFGHIJK5102TH91044C2D”,
"amount": 100,
"log": true,
}
HTTP Status: 400
Response Body
{
"code": 1013,
"message": "ยอดที่ส่งมาไม่ตรงกับยอดสลิป",
"data": {
"success": true,
"message": "✅",
"rqUID": "783_20191108_v4UIS1K2Mobile",
"language": "TH",
"transRef": "010092101507665143",
"sendingBank": "004",
"receivingBank": "004",
"transDate": "20200401",
"transTime": "10:15:07",
"sender": {
"displayName": "นาย ธนาคาร ก",
"name": "Mr. Thanakarn K",
"proxy": {
"type": null,
"value": null
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x0209-x"
}
},
"receiver": {
"displayName": "กสิกร ร",
"name": "KASIKORN R",
"proxy": {
"type": "",
"value": ""
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x3109-x"
}
},
"amount": 1,
"paidLocalAmount": 1,
"paidLocalCurrency": "764",
"countryCode": "TH",
"transFeeAmount": 0,
"ref1": "",
"ref2": "",
"ref3": "",
"toMerchantId": ""
}
}
Invalid Destination Bank (If user attach log with the request)
Header: { x-authorization: }
Request Body
{
"data": “0041000600000101030040220123456789ABCDEFGHIJK5102TH91044C2D”,
"log": true,
}
HTTP Status: 400
Response Body
{
"code": 1014,
"message": "บัญชีผู้รับไม่ตรงกับบัญชีหลักของร้าน",
"data": {
"success": true,
"message": "✅",
"rqUID": "783_20191108_v4UIS1K2Mobile",
"language": "TH",
"transRef": "010092101507665143",
"sendingBank": "004",
"receivingBank": "004",
"transDate": "20200401",
"transTime": "10:15:07",
"sender": {
"displayName": "นาย ธนาคาร ก",
"name": "Mr. Thanakarn K",
"proxy": {
"type": null,
"value": null
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x0209-x"
}
},
"receiver": {
"displayName": "กสิกร ร",
"name": "KASIKORN R",
"proxy": {
"type": "",
"value": ""
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x3109-x"
}
},
"amount": 1,
"paidLocalAmount": 1,
"paidLocalCurrency": "764",
"countryCode": "TH",
"transFeeAmount": 0,
"ref1": "",
"ref2": "",
"ref3": "",
"toMerchantId": ""
}
}
Repeat Slip (If user attach log with the request and the slip is already sent - slip data will also be provided)
Header: { x-authorization: }
Request Body
{
"data": “0041000600000101030040220123456789ABCDEFGHIJK5102TH91044C2D”,
"log": true,
}
HTTP Status: 400
Response Body
{
"code": 1012,
"message": "สลิปซ้ำ สลิปนี้เคยส่งเข้ามาในระบบเมื่อ 2023-09-09 09:09:09",
"data": {
"success": true,
"message": "✅",
"rqUID": "783_20191108_v4UIS1K2Mobile",
"language": "TH",
"transRef": "010092101507665143",
"sendingBank": "004",
"receivingBank": "004",
"transDate": "20200401",
"transTime": "10:15:07",
"sender": {
"displayName": "นาย ธนาคาร ก",
"name": "Mr. Thanakarn K",
"proxy": {
"type": null,
"value": null
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x0209-x"
}
},
"receiver": {
"displayName": "กสิกร ร",
"name": "KASIKORN R",
"proxy": {
"type": "",
"value": ""
},
"account": {
"type": "BANKAC",
"value": "xxx-x-x3109-x"
}
},
"amount": 1,
"paidLocalAmount": 1,
"paidLocalCurrency": "764",
"countryCode": "TH",
"transFeeAmount": 0,
"ref1": "",
"ref2": "",
"ref3": "",
"toMerchantId": ""
}
}
Bank Delay Slip (For BBL & SCB)
** You need to recheck this slip again to validate the result based on delay (mins) **
Header: { x-authorization: }
Request Body
{
"data": “0041000600000101030040220123456789ABCDEFGHIJK5102TH91044C2D”,
"log": true,
}
HTTP Status: 400
Response Body
{
"code": 1010,
"message": "เนื่องจากเป็นสลิปจากธนาคารกรุงเทพ กรุณารอการตรวจสอบสลิปหลังการโอนประมาณ 8 นาที",
"data": {
"qrcodeData": 0041000600000101030040220123456789ABCDEFGHIJK5102TH91044C2D,
"bankCode": "002",
"bankName": "กรุงเทพ",
"delay": 8,
}
}