1.2 Get Refund Payments
Request URL
{domain}/open-api/refund/payments
Request Method
| Parameter Name | Required | Type | Description |
| Content-Type | mandatory | string | application/json |
Request Body Param
| Parameter Name | Required | Type | Description |
| appId | Y | string | Application Id |
| param | Y | string | param |
| sign | Y | string | signature |
param
| Parameter Name | Required | Type | Length | Example | Description |
| originalTransactionId | N | string | 1-32 | CCP20220428011068111 | Original transaction id(Either the original transaction id or the refund transaction id is optional.) |
| refundTransactionId | N | string | 1-32 | CCP20220428011068111 | Refund transaction id(Either the original transaction id or the refund transaction id is optional.) |
| timestamp | Y | long | - | 1677495496979 | timestamp |
Request Example
Request Body
How to construct request body
Response Param
| Parameter Name | Type | Description |
| code | integer | response code |
| message | string | response message |
| data | Object | data |
data(List)
| 参数名 | 类型 | 说明 |
| mchRefundOrderId | string | Merchant refund order id (unique for customer) |
| originalTransactionId | string | Original transaction id |
| refundTransactionId | string | Platform refund transaction id |
| refundAmount | Long | Refund amount (Unit is in cents, when the country is Indonesia, the unit is in yuan) |
| feeRefunded | Long | Fee refunded (Unit is in cents, when the country is Indonesia, the unit is in yuan) |
| refundStatus | string | Refund status |
| refundCreateTime | string | Refund create time |
| refundReturnTime | string | Refund complete time |
| failedCode | int | Fail code(Value present on failure.) |
| failedMessage | string | Fail message(Value present on failure.) |
Response Example
Code Collection
Failed Response Example