getRefund function
GET /api/{api_version}/refunds/{refund_id}
Implementation
Future<ApiResponse<Refund>> getRefund(
ExsitedClient client,
Object refundId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(RefundsUrls.refund,
pathParams: {'refund_id': refundId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: Refund.fromMap);