Skip to main content
PUT

Update a payment method

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

Updates an existing manual payment method.

Parameters

Path parameters

paymentMethodIdstringrequired

Payment method identifier

Request body

object
namestring

Display name for the payment method

dueDaysinteger | null

Number of days until due

bankingAccountIdstring | null

Associated banking account ID

Request

python
import requests

url = "https://api.holded.com/api/v2/payment-methods/507f1f77bcf86cd799439011"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "name": "string",
    "dueDays": 0,
    "bankingAccountId": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "id": "string"
}

Success responses

200Payment method updatedapplication/json
object
idstring

Error responses

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