Delete a payment method
Scope: sales:invoicing-settings.write https://api.alladdin.com/api/v2/payment-methods/{paymentMethodId}
Deletes a manual payment method.
Parameters
Path parameters
paymentMethodId string required
Payment method identifier
Request
import requests
url = "https://api.alladdin.com/api/v2/payment-methods/507f1f77bcf86cd799439011"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())Responses
Success responses
204 Resource deleted
Error responses
401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Payment method not found application/json
