Create or Update an Expenditure
This endpoint creates an individual expenditure for a client.
Path parameters
-
The uuid of the client.
-
The uuid of the parent Life Stage.
-
The uuid of the parent Life Stage Field.
POST
/api/v1/client/{client_uuid}/expenditure/{lifeStage_uuid}/{lifeStageField_uuid}
curl \
--request POST 'https://api.plannrcrm.com/api/v1/client/f6aa1670-dcf0-484e-a0c5-08590fe89a84/expenditure/dcf0-484e-a0c5-08590fe89a84-f6aa1670/dcf0-484e-a0c5-08590fe89a84-f6aa1670' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"amount":50000,"life_stage_section_uuid":"ec20d6d8-ce14-436b-8d51-d9b5ef7db6c0"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "ec20d6d8-ce14-436b-8d51-d9b5ef7db6c0"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "5b2944f1-0b5a-43ce-9d81-b261e1ce035e",
"amount": {
"amount": {
"example": "4000",
"description": "Money amount at their lowest denominator (for example: pennies)"
},
"currency": {
"example": "GBP",
"description": "Currency of the money"
},
"formatted": {
"example": "£40.00",
"description": "Money amount formatted with currency"
}
},
"section": "Housekeeping Expenses",
"position": "1",
"created_at": "2025-10-08T10:40:15+01:00",
"updated_at": "2025-10-08T10:40:15+01:00",
"life_stage_uuid": "3d219e43-6b10-4b47-b976-c3c6eaa05293",
"life_stage_field_uuid": "f41185dd-eac0-4455-b30b-beb22e5ffda4",
"life_stage_section_uuid": "99c14a78-9940-480e-ab7e-d0ceb944b97a"
}