getRefund method

Future<ApiResponse<Refund>> getRefund(
  1. Object refundId, {
  2. Map<String, Object?>? queryParams,
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/refunds/{refund_id}

Implementation

Future<ApiResponse<views.Refund>> getRefund(
  Object refundId, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    endpoints.getRefund(
      client,
      refundId,
      queryParams: queryParams,
      raiseOnError: raiseOnError,
      responseFormat: responseFormat,
    );