Transaction data

GET {{base_url}}/api/v1/finance/settlements/order/:date?signature={{signature}}&timestamp=1647228347&mid=mch35618&offset=0&limit=50

Transaction data

Transaction report is mean all of transection (Paid/Notpaid/On processes/refund etc). for merchant can check what is current status /Dashboard.

API

URL/api/v1/finance/settlements/order/{yyyymmdd}
MethodGET
Acceptapplication/json

Request parameter

path parameter
nameLocationTypesrequiredinstruction
yyyymmddpathstringYesThe year, month and day to be queried, such as 20210803
channelquerystringNothe channel you want to query, don't send this param if you want to query all.
limitquerystringYesdata size one time, must less than 50
midquerystringYesthe mid of the request.
offsetquerystringYesData Offset
signaturequerystringYesRequest signature
timestampquerystringYesTimestamp
Request URL example
https://sandbox.vip.ksher.net/api/v1/finance/settlements/order/20220301?signature=6A8139EF256F9AAF3D7DEDE137DC619D017814FFFFEF4ED2FE9F54C41F338E1B&timestamp=20220301111213

Response result

Successful response example

{
  "error_message": "Successful",
  "data": {
    "data": [
      {
        "amount": 8,
        "transaction_time": "2022-03-01 19:04:40",
        "type": "PAY",
        "channel": "promptpay2",
        "device_id": "gate_scosmatch2133",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "order_01b05d3f-55dc-48c0-88f5-45",
        "ksher_order_id": "90020220301200336817684"
      },
      {
        "amount": 120,
        "transaction_time": "2022-03-01 16:43:13",
        "type": "PAY",
        "channel": "promptpay2",
        "device_id": "gate_smonsterbuys309",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "130",
        "ksher_order_id": "90020220301174252967780"
      },
      {
        "amount": 120,
        "transaction_time": "2022-03-01 16:21:38",
        "type": "PAY",
        "channel": "promptpay2",
        "device_id": "gate_smonsterbuys308",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "129",
        "ksher_order_id": "90020220301172123704867"
      },
      {
        "amount": 120,
        "transaction_time": "2022-03-01 15:32:26",
        "type": "PAY",
        "channel": "promptpay2",
        "device_id": "gate_smonsterbuys307",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "128",
        "ksher_order_id": "90020220301163134343744"
      },
      {
        "amount": -900,
        "transaction_time": "2022-03-01 15:26:17",
        "type": "REFUND",
        "channel": "wechat",
        "device_id": "",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "2_18905",
        "ksher_order_id": "90020220301161949956409"
      },
      {
        "amount": 900,
        "transaction_time": "2022-03-01 15:20:11",
        "type": "PAY",
        "channel": "wechat",
        "device_id": "",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "1_18904",
        "ksher_order_id": "90020220301161949956409"
      },
      {
        "amount": 120,
        "transaction_time": "2022-03-01 15:17:44",
        "type": "PAY",
        "channel": "promptpay2",
        "device_id": "gate_smonsterbuys305",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "126",
        "ksher_order_id": "90020220301161718603171"
      },
      {
        "amount": 120,
        "transaction_time": "2022-03-01 15:12:13",
        "type": "PAY",
        "channel": "truemoney",
        "device_id": "gate_smonsterbuys304",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "125",
        "ksher_order_id": "90020220301161212118281"
      },
      {
        "amount": 1,
        "transaction_time": "2022-03-01 15:10:13",
        "type": "PAY",
        "channel": "wechat",
        "device_id": "",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "1_18901",
        "ksher_order_id": "90020220301161007714189"
      },
      {
        "amount": 1,
        "transaction_time": "2022-03-01 15:04:43",
        "type": "PAY",
        "channel": "wechat",
        "device_id": "",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "1_18899",
        "ksher_order_id": "90020220301160437486332"
      },
      {
        "amount": -1,
        "transaction_time": "2022-03-01 15:01:38",
        "type": "REFUND",
        "channel": "wechat",
        "device_id": "",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "2_18897",
        "ksher_order_id": "90020220301155352743361"
      },
      {
        "amount": 1,
        "transaction_time": "2022-03-01 14:54:03",
        "type": "PAY",
        "channel": "wechat",
        "device_id": "",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "1_18891",
        "ksher_order_id": "90020220301155352743361"
      },
      {
        "amount": 100,
        "transaction_time": "2022-03-01 14:31:48",
        "type": "PAY",
        "channel": "promptpay2",
        "device_id": "gate_satgenes137",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "20220301010",
        "ksher_order_id": "90020220301153118324574"
      },
      {
        "amount": 1,
        "transaction_time": "2022-03-01 12:09:22",
        "type": "PAY",
        "channel": "linepay",
        "device_id": "gate_sdits424",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "SUB20220301120848",
        "ksher_order_id": "90020220301130856725628"
      },
      {
        "amount": 500,
        "transaction_time": "2022-03-01 10:30:32",
        "type": "PAY",
        "channel": "truemoney",
        "device_id": "gate_s39449130",
        "operator_id": 34447,
        "operator_name": "MR.WANG XU",
        "currency": "THB",
        "order_id": "1001",
        "ksher_order_id": "90020220301113031400620"
      }
    ],
    "total": 15,
    "channel": "",
    "limit": 50,
    "count": 15,
    "offset": 0
  },
  "error_code": "SUCCESS",
  "signature": "6A8139EF256F9AAF3D7DEDE137DC619D017814FFFFEF4ED2FE9F54C41F338E1B",
  "timestamp": "20220301111213",
  "mid": "35618"
}

Request Params

KeyDatatypeRequiredDescription
signaturestringRequest signature
timestampnumberTimestamp
midstringthe mid of the request.
offsetnumberData Offset
limitnumberdata size one time, must less than 50

HEADERS

KeyDatatypeRequiredDescription
Acceptstring