Delete contribution
This endpoint allows users to delete a household pension contribution.
Path parameters
-
The HouseholdGUID of the client.
-
The PensionGUID for the contribution you want to delete.
-
The PensionContributionGUID you want to delete.
DELETE
/api/v2/household/{HouseholdGUID}/pensions/{PensionGUID}/contributions/{PensionContributionGUID}
curl \
-X DELETE https://api.fincalc.co.uk/api/v2/household/{HouseholdGUID}/pensions/{PensionGUID}/contributions/{PensionContributionGUID} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"message": "Contribution deleted successfully"
}
Response examples (403)
{
"success": false,
"message": "You do not have permission to edit the household."
}
Response examples (404)
{
"success": false,
"message": "Contribution not found."
}