Connect each client's bank once with ongoing access, read only what changed with a cursor, and renew before the consent ends. It works in Sandbox today.

Short answer

For accounting, create one link with ongoing access for each client and bank. Didit then syncs the balances and transactions by itself, tells you with a webhook when new data arrived, and a change feed returns only what changed since your last read. The Bank data API works in Sandbox applications today: live banks are being opened, and Sandbox is available today.

#The shape that works

Use one connection per client and bank, and run the same code for every client. Your own reference for the client goes in end_user.reference, so Didit recognises the same client connecting the same accounts again and does not store them twice.

Ask forWhat it does
access: ongoingKeeps access open until the consent ends or someone stops it
dataWhich data you need: accounts, balances, transactions
history_from or history_daysHow far back to read, up to 365 days. The bank may deliver less, and each account reports how far back the data really goes in history_coverage
segmentPersonal or business accounts, where the bank allows business accounts
ownership.comparenone skips the holder comparison. The other values compare the holder with a person or a company verified in Didit
consent_daysA request: the bank decides the real end date, shown on the connection

The person connects on the hosted page. See how a person connects their bank.

#Keep the feed current

  • Didit syncs every active ongoing connection automatically, between one and four times a day depending on the bank.
  • When a sync stores changes, the bank.data.updated webhook arrives. You then call the change feed with your stored cursor.
  • Your first read, with an empty cursor, returns every current transaction as added with reset: true. Replace your copy with it instead of adding to it.
  • Each later read returns what was added, modified and removed since your cursor. Store the new cursor only when a page says there is nothing more.
  • A transaction id stays the same across reads, syncs and renewals, so a re-read does not duplicate a movement.
  • Reads never bill. The data changes only when a sync runs, so one read per webhook is enough. You can also ask for a sync on demand, within the bank's daily limit.

Didit sends a reminder 14, 7 and 1 day before the end. A renewal keeps the same connection, the same accounts and the same history. To renew, you send the person the renew link: they confirm on one screen and sign in at their bank once, and the connection then has a new end date. Read one-time read or ongoing access for the details.

#When a client leaves

Stopping access and deleting are different actions. Revoke the connection to stop reading, or delete it to stop access and delete the data. If the client stops sharing at their bank, a bank.connection.revoked webhook arrives and you stop the feed for that connection. See stopping access and deleting a connection.

#What it costs

Ongoing access is charged per active connection per month. Its live price is published when live ongoing access opens. See what bank data costs.

Still stuck? Talk to a human.

Include your organization ID and the session ID you are asking about.

Contact support