Skip to content

NCCC Pay Refund

Description

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

Resource

PATCH /v1/payment/nccc/refund

Authorization

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

Request Body Parameters

Name Type Description
shop_id string 門市編號
order_id string 訂單編號

Request Example

PATCH /v1/payment/nccc/refund

{
   "shop_id": "11",
   "order_id": "a15",
}

Response

{
    "message": "授權取消失敗 ReponseCode=928 ReponseMsg=[a23] 非有效訂單編號,無法取消授權.",
    "nccc_response": {
        "message": "授權取消失敗 ReponseCode=928 ReponseMsg=[a23] 非有效訂單編號,無法取消授權.",
        "data": null
    }
}