Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
DELETE

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

python
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

← PreviousUpdate a payment method →

Next →List payment methods →