refundOrder method
Sends a request to refund a previous order.
refundDetails
: The details of the order to refund.
Returns an http.Response
with the refund status.
Implementation
Future<http.Response> refundOrder(Map<String, dynamic> refundDetails) {
return makeApiRequest(ApiEndpoints.refundOrder, refundDetails, 'POST');
}