Skip to main content
DELETE

Delete a payment method

Scope:sales:invoicing-settings.write
https://api.holded.com/api/v2/payment-methods/{paymentMethodId}

Deletes a manual payment method.

Parameters

Path parameters

paymentMethodIdstringrequired

Payment 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 deleted

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Payment method not foundapplication/json