Rester Coins
    Rester Coins
    • Status
      GET
    • Lists
      GET
    • Transactions
      GET
    • Control
      POST
    • Webhook

      Transactions

      GET
      /api/chair/transactions
      Transactions API ใช้สำหรับเรียกการทำรายการ

      Request

      Query Params

      Header Params

      Responses

      🟢200Success
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://restercoins.com/api/chair/transactions?from&to&limit=20&offset=0&order=chronological' \
      --header 'Apikey: {{Apikey}}'
      Response Response Example
      {
          "status": "success",
          "code": 200,
          "data": [
              {
                  "TransactionId": "ckmdkdffsclmdklfsfk",
                  "TransactionCode": "CWV20250310LSOW",
                  "TransactionTime": "2025-03-10 17:25:27",
                  "Location": "Central Westville",
                  "Status": "finished",
                  "Amount": "20.00",
                  "PlayTime": "10",
                  "MassageChair": "ABCDEF",
                  "Label": "ขวา",
                  "DeviceId": "D8123456789",
                  "PaymentMethod": "promptpay",
                  "PaymentReference": "charg_dcsdfll4433333"
              },
              {
                  "TransactionId": "fdsacghbfdsvvdefdee",
                  "TransactionCode": "CWV20250311353",
                  "TransactionTime": "2025-03-10 17:25:27",
                  "Location": "Central Westville",
                  "Status": "finished",
                  "Amount": "20.00",
                  "PlayTime": "10",
                  "MassageChair": "ABCDEF",
                  "Label": "ขวา",
                  "DeviceId": "D8123456789",
                  "PaymentMethod": "promptpay",
                  "PaymentReference": "charg_dsfsdsfdsfsfeee"
              }
          ]
      }
      Modified at 2026-01-02 16:36:00
      Previous
      Lists
      Next
      Control
      Built with