Get MWD Pay Orders
Description
取得會員信用卡交易列表。
Resource
GET /v1/payment/mwd/order
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Query Parameters
| Name | Type | Description |
|---|---|---|
| CardToken | string | 替代性信用卡卡號或替代性銀行帳號(Account Link) |
| IsRedeem | string (enum) |
信用卡紅利折抵 ALLOWED VALUES:
|
Request Example
GET /v1/payment/mwd/barcode?CardToken=f18172b7-a333-4537-861f-a5cb8503f714_3042185767408615&IsRedeem=N
Response
{
"RtnCode": "1000",
"RtnMessage": "交易成功",
"OriRequestParams": {
"ApiVer": "1.0.1",
"ApposId": "86519539000000000171",
"TransNo": "20200722164728",
"RequestParams": {
"CardToken": "f18172b7-a333-4537-861f-a5cb8503f714_3042185767408615",
"IsRedeem": "N",
"MemberId": "16301262_01071"
},
"Random": "0395209675794654",
"TimeStamp": "1595407648",
"CheckSum": "V682JVL+TGH6BHUUOJTZFQOP44EYERQH0LEY78GRTSI="
},
"ResponseParams": {
"ResultCode": "1000",
"ResultMessage": "交易成功",
"ResultData": {
"Barcode": "MW2167580529551830",
"Duration": "290",
"ExpDate": "20200722 165143 +0800",
"BankNo": "812",
"Card": {
"CardHash": "Nk71RQydOocnLQchyeQ1v3ODtZY1JlpzkBK1DKWTZDQ=",
"CardNumber": "438045******2708",
"CoBranded": ""
},
"CoBrandCardEventCode": "",
"CoBrandCardStartDate": "",
"CoBrandCardEndDate": "",
"Remark": "",
"PaymentType": "04",
"ExtraData": {
"ExBarcode": "",
"ExData01": "",
"ExData02": "",
"ExData03": ""
}
}
},
"TimeStamp": "1595407613",
"Random": "0761823457648302",
"CheckSum": "D/PF/7D20IFXLM6QO/P05IOG8KPAGRVWLYKNYHIUREQ=",
"QRCode": {
"Barcode": "MW2167580529551830",
"BarcodeExpired": "20200730111100",
"VipId": "01071"
}
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| RtnCode | string | 交易結果代碼 |
| RtnMessage | string | 交易結果訊息 |
| OriRequestParams | OriRequestParams | 向台新請求之參數 |
| ResponseParams | ResponseParams | 台新回傳之參數 |
| TimeStamp | string | 電文產生時間 |
| Random | string | 16 碼防偽隨機碼 |
| CheckSum | string | 檢查碼 |
| QRCode | QRCode | 列印QRCode資料 |
Response Body Parameters - OriRequestParams
| Name | Type | Description |
|---|---|---|
| ApiVer | string | Api 版號 |
| ApposId | string | pay+ Id |
| Random | string | 16 碼防偽隨機碼 |
| RequestParams | RequestParams | 請求參數 |
| TimeStamp | string | 電文產生時間 |
| CheckSum | string | 檢查碼 |
Response Body Parameters - RequestParams
| Name | Type | Description |
|---|---|---|
| MemberId | string | 會員編號 |
| CardToken | string | 替代性信用卡卡號或替代性銀行帳號(Account Link) |
| IsRedeem | string (enum) |
信用卡紅利折抵 ALLOWED VALUES:
|
Response Body Parameters - ResponseParams
| Name | Type | Description |
|---|---|---|
| ResultCode | string | 回傳結果 1000 (其餘參數為失敗參數,長度為2-6) |
| ResultMessage | string | 會員編號 |
| ResultData | ResultData | 回傳值 |
Response Body Parameters - ResultData
| Name | Type | Description |
|---|---|---|
| Barcode | string | 支付條碼,若一維條碼超過一定長度會造成App端顯示以及BarCode Reader讀取因解析度等問題而增加失敗率,建議例如長度超過24碼,請改使用QRCode呈現。 |
| Duration | string | 條碼過期秒數 (ex:20 為20秒後條碼過期) |
| ExpDate | string | 條碼逾時時間 Format:YYYYMMDD HHmmss(UTC+8) |
| BankNo | string | 銀行別 : 信用卡發卡銀行代碼或銀行帳號(Account Link)對應銀行代碼 |
| Card | Card | 信用卡資訊 |
| Remark | string | 備註 |
| PaymentType | string (enum) |
支付工具類別 ALLOWED VALUES:
|
| ExtraData | ExtraData | 額外資料 |
Response Body Parameters - Card
| Name | Type | Description |
|---|---|---|
| CardHash | string | SHA256後之卡號(僅信用卡) 轉換Base64字串 |
| CardNumber | string | 1.信用卡號(遮蔽) 前六後四呈現明碼,其餘遮蔽 2.銀行帳號(Account Link)(遮蔽) 經遮蔽處理的綁定實體帳號 |
| CoBranded | string | 聯名卡註記 |
| CoBrandCardEventCode | string | 聯名卡綁卡活動代碼 |
| CoBrandCardStartDate | string | 聯名卡綁卡活動開始時間 yyyy/MM/dd |
| CoBrandCardEndDate | string | 聯名卡綁卡活動結束時間 yyyy/MM/dd |
Response Body Parameters - ExtraData
| Name | Type | Description |
|---|---|---|
| ExBarcode | string | 支付條碼 若一維條碼超過一定長度會造成App端顯示以及BarCode Reader讀取因解析度等問題而增加失敗率,建議例如長度超過24碼,請改使用QRCode呈現。 |
| ExData01 | string | 保留欄位 |
| ExData02 | string | 保留欄位 |
| ExData03 | string | 保留欄位 |
Response Body Parameters - QRCode
| Name | Type | Description |
|---|---|---|
| Barcode | string | 支付條碼 |
| BarcodeExpired | string | 支付條碼到期時間 yyyyMMddHHmmss |
| VipId | string | 會員Id |