accounts.lifecycle.preview
Read the account and its latest verified statement end date before marking it inactive. Returns the next-day cutoff, or null when no verified statement is available.
GETPOST
/api/v1/accounting/accounts.lifecycle.previewPermissions
accounting:readaccounting:admin
Who can call it
admin
Retries
Safe to retry: it only reads
MCP
accounting_accounts_lifecycle_previewFields
idstring (ID)RequiredThe record's ID.
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/accounts.lifecycle.preview \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
GET/api/v1/accounting/accounts.lifecycle.preview
curl -G https://app.getoatmilk.com/api/v1/accounting/accounts.lifecycle.preview \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'More in Transactions.