Refund a Payment
/api/payments/{identifier}/refundThis endpoint refunds a previously captured payment by providing the necessary refund details, including the amount to be refunded.
Path Parameters
Body application/json
Indicates if the refund has already been processed by the payment processor.
The amount to be refunded.
Response
A successful response indicating the payment was refunded.
The result of the refund request, including status and any relevant messages.
The unique identifier for the merchant associated with the payment.
The refunded amount.
The three-letter currency code (ISO 4217) for the refund.
The name of the acquirer processing the refund.
The unique identifier for the customer associated with the refund.
A reference provided by the merchant to identify the customer.
The unique identifier for the merchant's order.
The unique identifier for the payment method used for the refund.
The unique identifier for the refunded payment.
The request is invalid or contains incorrect parameters.
The result object that contains the outcome and additional details of the API request.
Unauthorized request. Authentication is required.
Access is forbidden due to insufficient permissions.
The specified payment was not found.
The result object that contains the outcome and additional details of the API request.