1. QR รับแต้มท้ายใบเสร็จ
PointUpCRM Public API
  • ภาพรวมระบบ API
  • Authentication
  • QR รับแต้มท้ายใบเสร็จ
    • สร้าง QR Code ท้ายใบเสร็จ
      POST
    • สร้างยอดซื้อจาก POS
      POST
  • สมาชิก
    • ค้นหาสมาชิกด้วยเบอร์โทร หรือคำค้นทั่วไป
      GET
    • สร้างสมาชิกใหม่ หรืออัปเดตข้อมูลถ้ามีเบอร์นี้อยู่แล้ว
      POST
    • ดูข้อมูลสมาชิกรายคนด้วย member
      GET
  • แต้ม / แสตมป์ & ประวัติ
    • ยอดแต้ม/แสตมป์คงเหลือปัจจุบันของสมาชิก
      GET
    • รายการได้/ใช้แต้มล่าสุดของสมาชิก
      GET
    • ให้แต้มจากยอดขาย
      POST
  1. QR รับแต้มท้ายใบเสร็จ

สร้าง QR Code ท้ายใบเสร็จ

Developing
POST
/api/integrations/v1/receipt-qr

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/integrations/v1/receipt-qr' \
--header 'X-CRMPlus-Api-Key: {{apiKey}}' \
--header 'Content-Type: application/json' \
--data '{
    "receiptNo": "POS-INV-0001",
    "expiresInMinutes": 120,
    "purchaseAmountTHB": 800,
    "storeCode": "BRN01"
}'
Response Response Example
{
    "ok": true,
    "duplicate": false,
    "id": "50682439-6a26-42dc-847e-21f2d449e1c7",
    "receiptNo": "POS-INV-0001",
    "purchaseAmountTHB": 800.00,
    "qrToken": "rW1aSoyRWTXZhAV90sTiNcT9zAaCYLYmb8qBmT-bSvg",
    "qrUrl": "https://localhost:7205/m/tenant-c5f9?receiptToken=rW1aSoyRWTXZhAV90sTiNcT9zAaCYLYmb8qBmT-bSvg",
    "expiresAt": "2026-06-20T04:15:16.651182Z"
}
Previous
Authentication
Next
สร้างยอดซื้อจาก POS
Built with