getSettingsPaymentProcessor function

Future<ApiResponse<SettingsPaymentProcessorRead>> getSettingsPaymentProcessor(
  1. ExsitedClient client,
  2. Object paymentProcessorId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

GET /api/{api_version}/settings/payment_processors/{payment_processor_id}

Get one payment processor, under payment_processor.

Implementation

Future<ApiResponse<SettingsPaymentProcessorRead>> getSettingsPaymentProcessor(
  ExsitedClient client,
  Object paymentProcessorId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(SettingsUrls.settingsPaymentProcessor,
        pathParams: {'payment_processor_id': paymentProcessorId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: SettingsPaymentProcessorRead.fromMap);