API Explanation
Request Type
POST
Request URI
/api/v1/pay/refund
Request
Parameter | Type | Required | Description | Remark |
---|---|---|---|---|
oriPaymentId | String | Yes | Payment ID to be Refunded | |
refundAmount | String | Yes | Refund Amount | cent is the unit, “100” means a dollar |
Request Example:
{
"oriPaymentId": "1677688845950853",
"refundAmount": "10"
}
Response
Parameter | Type | Description | Remark |
---|---|---|---|
refundId | String | Refund ID | |
refundAmount | String | Refund Amount | cent is the unit, “100” means a dollar |
refundStatus | String | Refund Order Status | |
tradeTime | String | Refund Transaction Time | |
saleNumber | String | ||
exchangeRate | String | Exchange Rate |
Response Example:
{
"status": "SUCCESS",
"result": {
"refundId": "REF167871916840228",
"refundAmount": "100",
"refundStatus": "success",
"tradeTime": "Mar 13, 2023 10:52:49 AM",
"saleNumber": null,
"exchangeRate": "5.00767700"
}
}