Skip to content

NCCC Pay Search

Description

進行NCCC交易查詢(付款)。

Resource

GET /v1/payment/nccc/{order_id}

Authorization

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

Path Parameters

Name Type Description
order_id string 訂單編號

Query Parameters

Name Type Description
shop_id string 門市編號

Request Example

GET /v1/payment/nccc/a23?shop_id=11

Response

{
    "message": "授權結果查詢成功 ReturnCode=2 ReponseCode=922 ReponseMsg=3D 2.0交易認證錯誤. ",
    "notify_url": "https://balance.lafresh.com.tw",
    "nccc_response": {
        "message": "授權結果查詢成功 ReturnCode=2 ReponseCode=922 ReponseMsg=3D 2.0交易認證錯誤. ",
        "data": {
            "merchant_id": "6600800020",
            "order_id": "a23",
            "terminal_id": "70502878",
            "member_token": "",
            "member_id": "",
            "pan": "356050******0073",
            "expire_date": "2812",
            "trans_code": "00",
            "trans_mode": "0",
            "trans_amt": "100",
            "trans_date": "20211109",
            "trans_time": "133622",
            "approve_code": "",
            "response_code": "922",
            "response_msg": "3D 2.0交易認證錯誤. ",
            "installment": "0",
            "installment_type": "",
            "first_amt": "0",
            "each_amt": "0",
            "fee": "0",
            "redeem_type": "",
            "redeem_used": "0",
            "redeem_balance": "0",
            "credit_amt": "0",
            "risk_mark": "",
            "foreign_card": "N",
            "secure_status": "N",
            "private_data": ""
        }
    }
}