PUT
Update a payment
Scope:
accounting:payments.writehttps://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
paymentId
stringrequiredPayment ID (24-char hex ObjectId)
Request body
object
typestring
Movement direction: "payment" for outgoing money, "collection" for incoming money
Enum:
paymentcollectionamountstring
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 updatedError responses
400Bad requestapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Payment not foundapplication/json429Rate limit exceededapplication/json