PX Pay Refund
Description
全支付 PX Pay 退款
Resource
POST /v1/payment/px/refund
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| pos_id | string | 特店 POS 機號 |
| order_id | string | 訂單編號 |
Request Example
POST /v1/payment/px/refund
Request
{
"pos_id": "01",
"order_id": "23800122042900004"
}
Response
{
"mer_trade_no": "2380012205030000201",
"gate_trade_no": "",
"px_trade_no": "TX970878883136020480",
"amount": 120,
"trade_amount": 120,
"discount_amount": 0,
"invo_carrier": "/ABD.122",
"marketing": [],
"px_trade_time": "20220503104603",
"status_code": "0000",
"status_message": "交易成功"
}
Response Body Parameters Refund Info
| Name | Type | Description |
|---|---|---|
| mer_trade_no | string | 付款特店序號 |
| gate_trade_no | string | 付款 Gateway 平台序號 |
| px_trade_no | string | 全支付或錢包交易序號 |
| status_code | string | 交易結果代碼
|
| status_message | 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 Marketing
| Name | Type | Description |
|---|---|---|
| marketing_code | string | 共同行銷活動代碼 |
| discount | int | 折扣金額 |