Skip to content

PX Pay Search

Description

全支付 PX Pay 查詢

Resource

GET /v1/payment/px/{order_id}

Authorization

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

Path Parameters

Name Type Description
order_id string 訂單編號

Query Parameters

Name Type Description
store_id string 分店編號

Request Example

GET /v1/payment/PXPay/23800122050400001?store_id=238001

Response

{
    "pay_info": {
        "mer_trade_no": "23800122050400001",
        "gate_trade_no": "",
        "px_trade_no": "TX971228862874656768",
        "status_code": "0000",
        "status_message": "交易成功",
        "amount": 240,
        "trade_amount": 240,
        "discount_amount": 0,
        "pay_tool_info": {
            "pay_tool": 2,
            "tool_name": "華泰銀行",
            "identity": "*50095"
        },
        "invo_carrier": "/ABD.122",
        "mem_card_no": "",
        "px_trade_time": "20220504095645",
        "marketing": []
    },
    "refund_info": {
        "mer_trade_no": "2380012205040000101",
        "gate_trade_no": "",
        "px_trade_no": "TX971230226124120064",
        "status_code": "0000",
        "status_message": "交易成功",
        "amount": 240,
        "trade_amount": 240,
        "discount_amount": 0,
        "invo_carrier": "/ABD.122",
        "marketing": [],
        "px_trade_time": "20220504100212"
    }
}

Response Body Parameters

Name Type Description
pay_info pay_info 付款資訊
refund_info refund_info 退款資訊

Response Body Parameters Pay Info

Name Type Description
mer_trade_no string 付款特店序號
gate_trade_no string 付款 Gateway 平台序號
px_trade_no string 全支付或錢包交易序號
amount int 訂單金額
trade_amount int 支付金額 (訂單金額扣除折抵金額後之金額)
discount_amount int 折抵金額
px_trade_time string 全支付交易日期時間
pay_tool_info payToolInfo 付款工具資訊
marketing marketing 共同行銷活動折抵
invo_carrier string 手機條碼載具
mem_card_no string 特店會員 token
wallet_id string 錢包代碼

Response Body Parameters Refund Info

Name Type Description
mer_trade_no string 付款特店序號
gate_trade_no string 付款 Gateway 平台序號
px_trade_no string 全支付或錢包交易序號
amount int 訂單金額
trade_amount int 支付金額 (訂單金額扣除折抵金額後之金額)
discount_amount int 折抵金額
px_trade_time string 全支付交易日期時間
marketing marketing 共同行銷活動折抵
invo_carrier string 手機條碼載具
mem_card_no string 特店會員 token
wallet_id string 錢包代碼

Response Body Parameters Pay Tool Info

Name Type Description
pay_tool int 支付工具
ALLOWED VALUES:
  • 1:信用卡
  • 2:AccountLink
  • 4:全支付或錢包儲值帳戶
tool_name string 支付工具名稱
identity string 支付工具識別碼

Response Body Parameters Marketing

Name Type Description
marketing_code string 共同行銷活動代碼
discount int 折扣金額