createSettingsPaymentProcessor function
Future<ApiResponse<SettingsPaymentProcessorSaved> >
createSettingsPaymentProcessor(
- ExsitedClient client,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
POST /api/{api_version}/settings/payment_processors
Create an offline payment processor; 201. Refused unless
credentials.maximumRetryOnFailure is "0" or "1".
Implementation
Future<ApiResponse<SettingsPaymentProcessorSaved>>
createSettingsPaymentProcessor(
ExsitedClient client,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(SettingsUrls.settingsPaymentProcessors,
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: SettingsPaymentProcessorSaved.fromMap);