deleteSettingsPaymentProcessor function

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

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

Delete a payment processor; answered 204. The default processor is refused.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteSettingsPaymentProcessor(
  ExsitedClient client,
  Object paymentProcessorId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(SettingsUrls.settingsPaymentProcessor,
        pathParams: {'payment_processor_id': paymentProcessorId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);