New Multiple Transactions Query

New query multiple transactions by date range

Description

The debit transaction and refund transaction are two records according to the date of transaction. So perhaps it's may be listed on different dates. The debit transaction amount is positive and the refund transaction amount is negative.

Request

Data

Response

Header

Data

Data will be responded in Array format

API Example

Request

{
   "Header": {
      "Method": "00000",
      "ServiceType": "OrderQuery1.1",
      "MchId": "super",
      "CreateTime": "20200326152331",
      "TradeKey": "9af15b336e6a9619928537df30b2e6a2376569fcf9d7e773eccede65606529a0"
   },
   "Data": "{
      "StartDate": "20200324",
      "EndDate": "20200326",
      "AccoundId": "super",
      "StoreType": 1,
   }
}

Response

{
    "Header": {
        "StatusCode": "0000",
        "StatusDesc": "Success",
        "Method": "00000",
        "ServiceType": "OrderQuery1.1",
        "MchId": "Account0001",
        "ResponseTime": "20200326113716"
    },
    "Data": {
        "list": [
            {
                "Status": "Trade success",
                "AccountId": "super",
                "TranDate": "20200326",
                "Amount": 1,
                "LinePayMethod": "Credit Card Payment",
                "StoreOrderNo": "4BF0020032600001",
                "Method": "LINE Pay",
                "Name": "intella",
                "BrandName": "",
                "StoreType": "Directly-managed stores",
                "TranDayTime": "093331",
                "ServiceType": "OLPay",
                "SysOrderNo": "2020032654781817810",
                "UserId": 15400,
                "ItemName": "intella-4831"
            },
            {
                "Status": "Refund success",
                "AccountId": "super",
                "TranDate": "20200325",
                "Amount": -10,
                "LinePayMethod": "Credit Card",
                "StoreOrderNo": "4BF0020032500002",
                "Method": "LINE Pay",
                "Name": "intella",
                "BrandName": "intella",
                "StoreType": "Directly-managed stores",
                "TranDayTime": "163350",
                "ServiceType": "OLPay",
                "SysOrderNo": "2020032554684970010",
                "UserId": 15401,
                "ItemName": "Green Tea"
            }
        ]
    }
}

{
    "Header": {
        "StatusCode": "8002",
        "StatusDesc": "Incorrect data format"
    },
    "Data": {}
}

Last updated