Delete preview
Preview what deleting an account would do to transfers in other accounts, without changing anything. Deleting an account removes its transactions, and a…
Authentication
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*string1 <= lengthaccountId*string1 <= lengthThe transfers in other accounts the delete would reopen or remove
application/json- response
otherAccounts*array<>Per other account, the transfers linked to this account, directly or through a transit account. Transit accounts are left out. Empty when nothing elsewhere is linked.
curl -X GET 'https://api.saasflow.com/companies/string/accounts/string/delete_preview'{ "otherAccounts": [ { "accountId": "string", "reopenedTransferCount": 0, "removedCounterCount": 0 } ]}Update account
Update an account. Only the fields you send change. Two rules are enforced here: transit accounts may not change their type or currency (422), and a…
Archive
Archive an account. It drops out of the app's account lists and pickers while its transactions and history stay intact, which is the right move for a…