Create or Update an Expenditure Run in API Explorer
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":"5577d86f-ff6d-402a-99e4-20886dff16a9"}'
Request examples
{
"amount": 50000,
"life_stage_section_uuid": "5577d86f-ff6d-402a-99e4-20886dff16a9"
}
Response examples (200)
{
"name": "Electricity",
"uuid": "556e661d-430d-40b1-81f3-55dd21b21236",
"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-11-17T21:14:39+00:00",
"updated_at": "2025-11-17T21:14:39+00:00",
"life_stage_uuid": "abe72598-d383-4193-85d5-d643397c8e21",
"life_stage_field_uuid": "acfe57fd-5449-4c22-8fc7-985065122977",
"life_stage_section_uuid": "0f594fbc-06e6-46f9-9929-5c6178a679d5"
}