Refund
POST/api/v1/payment/refund
Use this request to send a Refund request for a specific payment identified by its payment_id.
If the payment is in pending status (a DMS authorization that was not captured) or is a debit payment, the refund is processed as a reversal, for the full amount only. A successful reversal comes in the callback with type=refund and order_status=reversal.
On success, you get a result attribute that is equal to "accepted".
Request
Responses
- 200
- 400
- 401
Refund request response
Bad request - missing or invalid parameters
Unauthorized - invalid merchant key or hash