2.7 Refund Simulation
-
Path: /external/refund/trialPlan/v1
-
Method: POST
-
API Description: Before the partner send the refund request, the partner can use this API to simulate the refund to check the relevant fees.
Request Message
Request Headers
Request Body
Request Example
{
"partnerOrderId": "1e1e51a8-8d38-11ef-b32d-ca3c6358d263",
"refundAmount": 5000,
"refundType":"ALL_REFUND",
"currency": "MXN",
"refundTime": "2024-10-11T17:10:00.000+08:00"
}
Response Message
Response Header
Response Body
Response Example
{
"code": "SUCCESS",
"message": "SUCCESS",
"data": {
"effectiveFee": 0,
"originalFee": 150,
"chargeFee": 150
},
"error": null
}