Skip to content

NCCC Pay Upload

Description

手動上傳NCCC請款檔。

Resource

GET /v1/payment/nccc/upload

Authorization

不驗 token,僅限排程服務所在的容器從本機呼叫(每日排程,或維運人員在該容器內手動觸發)。其他來源一律回 403 Forbidden。

Request Body Parameters

Name Type Description
company_id string 公司編號
shop_id string 門市編號
merchant_id string NCCC特店代號
terminal_id string 終端機代號
trans_date string 交易日期

Request Example

GET /v1/payment/nccc/upload?company_id=89826011&merchant_id=6600800020&terminal_id=70502876&trans_date=20211108

Response

{
    "message": "%2fe7eFc3R3D6YgSLEHjkTCQ%3d%3d",
    "notify_url": "https://balance.lafresh.com.tw",
    "nccc_response": {
        "message": "ReponseCode=00 ReponseMsg=交易金鑰產生.",
        "data": "%2fe7eFc3R3D6YgSLEHjkTCQ%3d%3d"
    }
}

Error Response

非排程服務本機呼叫時:

HTTP Status:403 Forbidden

{
    "message": "僅限排程服務呼叫"
}