Multiple Transactions Query
Query multiple transactions by date range
Request
Header
Item | Mandatory | Data Type | Sample | Description |
Method | YES | String(5) | 00000 | Fill in 00000 (indefinite payment method) |
ServiceType | YES | String(32) | OrderQuery | Selected Scan2Pay Service type |
MchId | YES | String(32) | Account0001 | Merchant ID provided by intella |
TradeKey | YES | String(128) | sha256...hash | Marchant password provided by intella, this password must be encoded by SHA256 |
CreateTime | YES | String(14) | 20180101120000 | Request time, the format is "yyyyMMddHHmmss" |
Data
Item | Mandatory | Data Type | Sample | Description |
StartDate | YES | String(16) | 20180101 | Search start date, the format is "yyyyMMddHHmmss" |
EndDate | YES | String(16) | 20180102 | Search end date, the format is "yyyyMMddHHmmss" |
OrderStatus | YES | String(16) | 1 | 0:In processing 1:Transaction success 2:Transaction failure |
StoreOrderNo | NO | String(32) | PO1801 | Keywords, has to be more than 3 characters |
Response
Header
Item | Data Type | Sample | Description |
StatusCode | String(4) | 0000 | |
StatusDesc | String | Success | Description of transaction status |
Method | String(5) | 10100 | Payment method code |
ServiceType | String | OrderQuery | Selected Scan2Pay Service type |
MchId | String | Account0001 | Merchant ID |
ResponseTime | String | 20180101120000 | Transaction response time, the format is "yyyyMMddHHmmss" |
Data
Data will be responded in Array format
欄位 | 型別 | 範例 | 說明 |
SysOrderNo | String(32) | 2018010110074205610 | System order number |
StoreOrderNo | PO180101001 | PO180101001 | Store order number |
TotalFee | Integer | 75 | Transaction amount |
FeeType | String(4) | TWD | Transaction currency, defaults to TWD |
Description | String | Chickenchop | Product description |
Status | String(16) | Trade success | Order status |
RefundStatus | String(16) | Refund success | Refund status (Refund success / Refund fail) |
RefundStatus field will not be responded if no refund has been claimed for this transaction
API Example
Request
Response
Last updated