POST
Create a payment
Scope:
accounting:payments.writehttps://api.holded.com/api/v2/paymentsCreates a new payment movement in your account. Use `type: "payment"` for outgoing money (money you send out, e.g. paying a supplier) and `type: "collection"` for incoming money (money you receive, e.g. collecting from a customer). The response returns the new payment movement `id`.
Request body
object
typestringrequired
Movement direction: "payment" for outgoing money, "collection" for incoming money
Enum:
paymentcollectionamountstringrequired
Absolute payment amount as decimal string (must be greater than zero)
datestring<date>required
Payment date in ISO 8601 format (YYYY-MM-DD)
bank_account_idstring | nulloptional
Treasury account identifier
contact_idstring | nulloptional
Contact identifier
descriptionstring | nulloptional
Payment description
Request
python
import requests
url = "https://api.holded.com/api/v2/payments"
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.post(url, headers=headers, json=payload)
print(response.json())Responses
Response
json
{
"id": "507f1f77bcf86cd799439011"
}Success responses
201Payment createdapplication/jsonobject
idstring
Error responses
400Bad requestapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json