Sends a refund request to return a payment to a user. Read about the Refund feature to learn more about the process.
You can call this API method in sandbox mode. To do this, pass the test payment data in the request. Refer to the instruction for more information about sandbox mode access and testing scenarios.
OK (No error).
Refund request accepted.
Unauthorized (Access denied).
Transaction Not Found.
Unprocessable Entity (Invalid request parameters).
- "description": "test refund request"
- "message": "The request for a refund has been accepted. Xsolla CS will automatically send the customer an email with alternative refund options as the user's method does not support direct refunds."