Treasury
Create Treasury Movement
Creates a new client’s treasury movement.
post/api/v3/clients/{client_id}/treasury_movements.json
Path parameters
client_idstring required
Example:12345
ID of the client.
Query parameters
api_keystring required
Example:YOUR_API_KEY
Your API Key.
Request body
Example request
{
"treasury_movement": {
"value": 123.45,
"movement_type": "Reimbursement",
"payment_method": "MB",
"date": "2023-04-28",
"serie": "2023",
"observation": "Payment observation"
}
}Response
SUCCESS
Example response
{
"treasury_movement": {
"value": 123.45,
"movement_type": "Reimbursement",
"payment_method": "MB",
"date": "2023-04-28",
"serie": "2023"
}
}Changes
Changed in 1 of the 3 revisions of this API.21
- ▲
the response property
treasury_movement/observationbecame nullable for the status201response-property-became-nullable
- ▲
the
errorsresponse's property type/format changed fromobject/toarray/for status401response-property-type-changed
- ●
removed the optional property
errors/errorfrom the response with the401statusresponse-optional-property-removed
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲