getPayment method

Future<ApiResponse<PaymentRead>> getPayment(
  1. Object paymentId, {
  2. Map<String, Object?>? queryParams,
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/payments/{payment_id}

Implementation

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