getRefunds function
GET /api/{api_version}/refunds
Implementation
Future<ApiResponse<RefundList>> getRefunds(
ExsitedClient client, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(RefundsUrls.refunds,
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: RefundList.fromMap);