DevelopersAPIReferenceaccounts
Remove history
Permanently delete this one account's transactions before beforeDate and replace them with a single balance transaction, so the running balance stays…
Authentication
Checking whether you're signed in…
POST
header
Authorization<token>A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.
companyId*stringFormat
uuidaccountId*stringFormat
uuidapplication/json- body
beforeDate*stringMatch
^\d{4}-\d{2}-\d{2}$History removed and balance transaction created
application/json- response
success*booleancurl -X POST 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/remove_history' \ -H 'Content-Type: application/json' \ -d '{ "beforeDate": "string"}'Example Response
{ "success": true}Switch to manual
Detach an account from the integration feeding it and make it manually managed. Existing transactions stay; new ones stop arriving automatically and the…
List initial balance
Get the account's initial-balance seed, the synthetic transaction that carries whatever the account held before its first imported transaction.