Skip to content

Get Card Page

Description

取得麥味登Pay信用卡綁卡網頁。

Resource

GET /v1/payment/mwd/card_page

Authorization

採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login

Request Example

GET /v1/payment/mwd/credit_card/auth

Response

{
    "RtnCode": "1000",
    "RtnMessage": "交易成功",
    "OriRequestParams": {
        "ApiVer": "1.0.2",
        "ApposId": "86519539000000000171",
        "RequestParams": {
            "FailUrl": "",
            "MemberId": "16301262_01071",
            "OrderNo": "16301262_01071_20200722115022440",
            "PaymentType": "04",
            "ResultUrl": "https%3A//omni2.lafresh.com.tw/payment/mwd/card_result",
            "SuccessUrl": ""
        },
        "Random": "2779975392285128",
        "TimeStamp": "1595389822",
        "CheckSum": "TBXOGBQLPPRAEQ68HR06CBVQFMHP42DCYHRHCWYUN/M="
    },
    "ResponseParams": {
        "ResultCode": "1000",
        "ResultMessage": "交易成功",
        "ResultData": {
            "CardAuthUrl": "https://apposweb-t.taishinbank.com.tw/O2OgwApi/card/confirm?id=e35da365-5bff-414c-8018-c3ba32b7d3c3_4ocw55v12xb883078677"
        }
    },
    "TimeStamp": "1595389788",
    "Random": "2681453077258641",
    "CheckSum": "7HHIBTMK2LZGEIPUIDNJUV5D/DQTZANHVIBYTZB6OAU="
}

Response Body Parameters

Name Type Description
RtnCode string 交易結果代碼
RtnMessage string 交易結果訊息
OriRequestParams OriRequestParams 向台新請求之參數
ResponseParams ResponseParams 台新回傳之參數
TimeStamp string 電文產生時間
Random string 16 碼防偽隨機碼
CheckSum string 檢查碼

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
OrderNo string 要求序號, 為錢包 Server 和 pay+對應唯一值
MemberId string 會員編號
ResultUrl string 交易成功後,以非同步方式通知此API 位址
SuccessUrl string 綁卡成功後的導頁網址(無提供則為 pay+預設網頁)
FailUrl string 綁卡失敗後的導頁網址(無提供則為 pay+預設網頁)
PaymentType string
(enum)
支付工具類別
ALLOWED VALUES:
  • 03 : Account Link
  • 04 : 信用卡(預設)

Response Body Parameters - ResponseParams

Name Type Description
ResultCode string 回傳結果 1000
(其餘參數為失敗參數,長度為2-6)
ResultMessage string 會員編號
ResultData ResultData 回傳值

Response Body Parameters - ResultData

Name Type Description
CardAuthUrl string 信用卡或Account Link綁卡頁面