deleteAccountPaymentMethod function
Future<ApiResponse<Object?> >
deleteAccountPaymentMethod(
- ExsitedClient client,
- Object accountId,
- Object paymentMethodId, {
- bool? raiseOnError,
- String? responseFormat,
DELETE /api/v4/accounts/{account_id}/payment_methods/{payment_method_id} - delete one method.
Implementation
Future<ApiResponse<Object?>> deleteAccountPaymentMethod(
ExsitedClient client,
Object accountId,
Object paymentMethodId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendDeleteRequest(AccountsUrls.accountPaymentMethod,
pathParams: {
'account_id': accountId,
'payment_method_id': paymentMethodId
},
raiseOnError: raiseOnError,
responseFormat: responseFormat);