DELETE
Delete a payment method
Scope:
sales:invoicing-settings.writehttps://api.holded.com/api/v2/payment-methods/{paymentMethodId}Deletes a manual payment method.
Parameters
Path parameters
paymentMethodId
stringrequiredPayment method identifier
Request
python
import requests
url = "https://api.holded.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
204Resource deletedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Payment method not foundapplication/json