Refund
Request address
SANDBOX : https://sandbox.j-pay.net/pay/trade/refund
Request parameters
| Parameter Name | Type | Required(Y or N) | Sign(Y or N) | Parameter Description |
|---|
| pay_memberid | String | Y | Y | Merchant ID |
| transaction_id | String | Y | Y | Transaction order number |
| pay_orderid | String | Y | Y | Merchant order number |
| currency | String | Y | N | Order currency |
| pay_amount | String | Y | N | The total amount of orders |
| refund_amount | String | Y | N | Order refund amount(supports partial refund) |
| refund_reason | String | Y | N | Reason for order refund |
| pay_md5sign | String | Y | N | Please see MD5 signature field format |
Refund return parameters
| Parameter Name | Type | Required(Y or N) | Parameter Description |
|---|
| memberid | String | Y | Merchant ID |
| transaction_id | String | Y | Transaction order number |
| orderid | String | Y | Merchant order number |
| currency | String | Y | Order currency |
| amount | String | Y | The total amount of orders |
| refund_orderid | String | N | Refund Order ID (When the refund application is successful, a response will be returned.) |
| refund_amount | String | Y | Order refund amount (supports partial refund) |
| refund_reason | String | Y | Reason for order refund |
| returncode | String | Y | "00": success |
| refund_message | String | Y | `V0000:OK |
| sign | String | Y | sign |