getInvoicePayment method

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

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

Implementation

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