Skip to main content
PUT

Update a payment

Scope:accounting:payments.write
https://api.holded.com/api/v2/payments/{paymentId}

Updates an existing payment movement. All fields are optional; only provided fields are updated. If `type` is provided it changes the movement direction and flips the stored sign accordingly. If `amount` is provided it must be a positive absolute value.

Parameters

Path parameters

paymentIdstringrequired

Payment ID (24-char hex ObjectId)

Request body

object
typestring

Movement direction: "payment" for outgoing money, "collection" for incoming money

Enum:paymentcollection
amountstring

Absolute payment amount as decimal string (must be greater than zero)

datestring<date>

Payment date in ISO 8601 format (YYYY-MM-DD)

bank_account_idstring | null

Treasury account identifier

contact_idstring | null

Contact identifier

descriptionstring | null

Payment description

Request

python
import requests

url = "https://api.holded.com/api/v2/payments/{paymentId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "type": "payment",
    "amount": "1500.50",
    "date": "2026-05-13",
    "bank_account_id": "string",
    "contact_id": "string",
    "description": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Success responses

200Payment updated

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Payment not foundapplication/json
429Rate limit exceededapplication/json