Sends a partial refund request to return a part of a payment to a user. Please note that a partial refund is available only for credit card and PayPal payments. Read about the Refund feature to learn more about the process.
Note
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.
Refund request accepted
Do not have necessary permission
Transaction not found
Unprocessable entity
{- "refund_amount": "1.50",
- "description": "test refund request"
}
{- "message": "Transaction with specified ID does not exist."
}