Skip to content

NCCC Pay

Description

進行NCCC授權交易(付款)。

Resource

GET /v1/payment/nccc/pay

Authorization

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

Request Body Parameters

Name Type Description
shop_id string 門市編號
order_id string 訂單編號
transaction_amt int 金額
notify_url string 跳轉URL
## Request Example
POST /v1/payment/nccc/pay?shop_id=11&order_id=a23&transaction_amt=100&notify_url=https://balance.lafresh.com.tw
## Response
{
    "message": "%2fe7eFc3R3D6YgSLEHjkTCQ%3d%3d",
    "notify_url": "https://balance.lafresh.com.tw",
    "nccc_response": {
        "message": "ReponseCode=00 ReponseMsg=交易金鑰產生.",
        "data": "%2fe7eFc3R3D6YgSLEHjkTCQ%3d%3d"
    }
}