Privage Open API
    Open API
    • Open API
    • Welcome to Privage Open API Documents
    • Get Access Token
      POST
    • Renew Access Token
      POST
    • Exchange Access Token
      POST
    • Get Current Add-On status
      GET
    • Get Profile
      GET
    • Add Point
      POST
    • Burn Point
      POST
    • Void Transaction By Id
      DELETE
    • Void Transaction By RefNo
      DELETE
    • Void Transaction By RefId
      DELETE
    • Get Campaign
      GET
    • Get Transaction
      GET
    • Get Coupon Set
      GET
    • Create Coupon Set
      POST
    • Give Coupon to Member ID
      POST
    • Get Give Coupon History
      GET
    • Void Give Coupon
      DELETE
    • Get Transaction
      GET
    • Check Coupon
      GET
    • Mark Use Coupon
      POST

      Get Transaction

      Developing
      สำหรับผู้ใช้ทั่วไป (Privage Open API)
      https://core.privageapp.com
      สำหรับผู้ใช้ทั่วไป (Privage Open API)
      https://core.privageapp.com
      GET
      /api/v1/connect/transactions
      ส่งคืนรายการ Transaction ทั้งหมด
      การแบ่งหน้า:
      page — เริ่มต้น 1
      size — ค่าเริ่มต้น 100, สูงสุด 1000 (เกินจะได้ 400)
      ตัวกรองช่วงวันที่ (ไม่บังคับ):
      from — ISO 8601 UTC ขอบล่างแบบ inclusive (ต้องลงท้ายด้วย Z เท่านั้น ไม่รับ offset เช่น +07:00)
      to — ISO 8601 UTC ขอบบนแบบ exclusive
      ช่วงแบบ half-open เหมาะสำหรับการ poll รายวัน/รายชั่วโมงโดยไม่นับซ้ำ เช่น from=2026-04-17T00:00:00Z&to=2026-04-18T00:00:00Z
      ช่วงต้องไม่เกิน 31 วัน (1 เดือน)

      Request

      Authorization
      JWT Bearer
      Add the parameter
      Authorization
      to Headers
      Example:
      Authorization: ********************
      or
      Query Params

      Responses

      🟢200
      application/json
      รายการธุรกรรมแบบแบ่งหน้า
      Body

      🟠400
      🟠401
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://core.privageapp.com/api/v1/connect/transactions?page&size&sort&search&from=2026-04-17T00:00:00Z&to=2026-04-18T00:00:00Z' \
      --header 'Authorization: Bearer <token>'
      Response Response Example
      {
          "pagination": {
              "total": 250,
              "page": 1,
              "size": 100
          },
          "data": [
              {
                  "uuid": "txn-uuid-string",
                  "refId": "ref-id-string",
                  "name": "สมชาย",
                  "lastName": "ใจดี",
                  "phone": "0812345678",
                  "cardNo": "001",
                  "refNo": "REF-001",
                  "createdAt": "2026-01-15T10:00:00Z",
                  "points": 100,
                  "receiveType": "EARN",
                  "amount": 1000
              }
          ]
      }
      Modified at 2026-04-18 11:13:01
      Previous
      Void Give Coupon
      Next
      Check Coupon
      Built with