Refund API
Endpoint
POST {BASE_URL}/api/v2.0/payments/refund
Refund API is used to request a refund based on the order amount. A single payment order can be refunded in multiple batches, and the total refund amount must not exceed the actual payment amount. The refund currency must be the same as the payment order currency.
Refund Request Body
{ "paymentId": "string", "refundRequestId": "string", "refund": { "refundAmount": { "value": "string" }, "description": "string", "notifyUrl": "string" } }
Refund Response
{ "refundId": "string", "paymentId": "string", "refundRequestId": "string", "refund": { "refundAmount": { "value": "string" }, "description": "string", "notifyUrl": "string" }, "refundTime": "2019-08-24T14:15:22Z", "result": { "resultCode": "string", "resultMessage": "string", "resultStatus": "S" } }