guide menu
คู่มือการใช้งาน

Response

รูปแบบข้อมูลที่ส่งคืนจากการตรวจสอบสลิป

Success Response
Error Response
Slip found
{
  "code": "200000",
  "message": "Slip found.",
  "data": {
    "referenceId": "92887bd5-60d3-4744-9a98-b8574eaxxxxx-xx",
    "decode": "0041000600000101030040220014242082547BPM049885102TH9104xxxx",
    "transRef": "184440173749COT08999",
    "dateTime": "2024-05-29T05:37:00.000Z",
    "amount": 1000,
    "ref1": "",
    "ref2": "",
    "ref3": "",
    "receiver": {
      "account": {
        "name": "บริษัท สลิปทูโก จำกัด",
        "bank": {
          "account": "xxx-x-x1234-x"
        },
        "proxy": {
          "type": "BILLERID",
          "account": "XXXXXXXXXXX1234"
        }
      },
      "bank": {
        "id": "002",
        "name": "ธนาคารกรุงเทพ"
      }
    },
    "sender": {
      "account": {
          "name": "นาย สมชาย อัธยาศัยดี",
          "bank": {
            "account": "xxx-x-x1234-x"
        }
      },
      "bank": {
        "id": "004",
        "name": "ธนาคารกสิกรไทย"
      }
    }
  }
}
Get Info Success
{
    "code": "200001",
    "message": "Get Info Success.",
    "data": {
      "shopName": "สวัสดีวันอังคาร 2",
      "package": "BASIC-1",
      "packageExpiredDate": "2025-10-07T23:59:59.999Z",
      "tokenLimit": 400,
      "tokenRemaining": 200,
      "creditRemaining": 0,
      "autoRenewalPackage": false,
      "checkSlipByCredit": true,
      "quotaQrLimit": 100,
      "quotaQrRemaining": 10
    }
}
Slip is valid
{
    "code": "200200",
    "message": "Slip is valid.",
    "data": { /* ข้อมูลอ้างอิงตาม code "200000" ( เหมือน "Slip found" ) */}
}
Successfully Queue
{
  "code": "200202",
  "message": "successfully queue.",
  "data": { 
    "queueId": "92887bd5-60d3-4744-9a98-b8574eaxxxxx-xx"
  }
}
Recipient Account Not Match
{
    "code": "200401",
    "message": "Recipient Account Not Match.",
    "data": { /* ข้อมูลอ้างอิงตาม code "200000" ( เหมือน "Slip found" ) */}
}
Transfer Amount Not Match
{
    "code": "200402",
    "message": "Transfer Amount Not Match.",
    "data": { /* ข้อมูลอ้างอิงตาม code "200000" ( เหมือน "Slip found" ) */}
}
Transfer Date Not Match
{
    "code": "200403",
    "message": "Transfer Date Not Match.",
    "data": { /* ข้อมูลอ้างอิงตาม code "200000" ( เหมือน "Slip found" ) */}
}
Slip not found
{
  "code": "200404",
  "message": "Slip not found.",
  "data": {
    "referenceId": "92887bd5-60d3-4744-9a98-b8574eaxxxxx-xx"
    }
}
Slip is fraud
{
    "code": "200500",
    "message": "Slip is fraud.",
    "data": {
      "referenceId": "92887bd5-60d3-4744-9a98-b8574eaxxxxx-xx"
      }
}
Slip is Duplicated
{
    "code": "200501",
    "message": "Slip is Duplicated.",
    "data": { /* ข้อมูลอ้างอิงตาม code "200000" ( เหมือน "Slip found" ) */}
}
Bank error, Please try again
{
    "code": "200502",
    "message": "Bank error, Please try again."
}
สถานะ
รายละเอียด
HTTPStatus
ResponseCode
คิดโทเคน
ตัวอย่าง
Slip found
ข้อมูลสลิปแสดงในระบบธนาคารอย่างถูกต้อง
200
200000
arrow slip2go success
ข้อมูลสลิปแสดงในระบบธนาคารอย่างถูกต้อง
Get Info Success
ขอข้อมูลสำเร็จ
200
200001
ขอข้อมูลสำเร็จ
Slip is valid
ข้อมูลสลิปถูกต้อง
200
200200
arrow slip2go success
ข้อมูลสลิปถูกต้อง
Successfully Queue
ข้อมูลบันทึกลง Queue สำเร็จ
200
200202
arrow slip2go success
ข้อมูลบันทึกลง Queue สำเร็จ
Recipient Account Not Match
บัญชีผู้รับไม่ถูกต้อง
200
200401
arrow slip2go success
บัญชีผู้รับไม่ถูกต้อง
Transfer Amount Not Match
ยอดโอนเงินไม่ตรงเงื่อนไข
200
200402
arrow slip2go success
ยอดโอนเงินไม่ตรงเงื่อนไข
Transfer Date Not Match
วันที่โอนไม่ตรงเงื่อนไข
200
200403
arrow slip2go success
วันที่โอนไม่ตรงเงื่อนไข
Slip not found
ไม่พบข้อมูลสลิปในระบบธนาคาร
200
200404
arrow slip2go success
ไม่พบข้อมูลสลิปในระบบธนาคาร
Slip is fraud
สลิปเสีย/สลิปปลอม
200
200500
arrow slip2go success
สลิปเสีย/สลิปปลอม
Slip is Duplicated
สลิปซ้ำ
200
200501
สลิปซ้ำ
Bank error, Please try again
Error ที่มาจากธนาคาร
200
200502
Error ที่มาจากธนาคาร