Getting started
Integration Flow
Correct path of an iframe integration. The callback is sent before notifying the frontend.
sequenceDiagram participant U as User participant W as Your website participant WG as Wealth Reader Widget participant API as Wealth Reader API participant B as Financial institution U->>W: Open the app W->>WG: Insert the iframe with operation_id U->>WG: Choose the entity and give consent WG->>API: Request the data with operation_id API->>B: Ask for account details B-->>API: Returns raw data API-->>WG: Returns normalized data WG->>W: Send a POST to the callback (operation_id + token + payload) W-->>WG: Answer HTTP 200 and status ok WG-->>W: Send postMessage flow completed W-->>U: Displays the success screen
Who does what
| Actor | Responsibility |
|---|---|
| Your Frontend | Generate a operation_id one, load the widget, and listen to postMessage. |
| The Widget | It shows banks, login, 2FA and errors to the user. |
| The Wealth Reader API | Talk to the entity and normalize the response. |
| Your Backend | Exposes the callback URL, replies {"status":"ok"} and saves operation_id, token and payload. |
If something goes wrong
- Incorrect password, 2FA, or an entity error: the widget resolves this with the user. Your front may receive an error JSON for
postMessage; the callback is not called until the read finishes successfully. - Your callback does not respond
200+{"status":"ok"}: the user does not see success and the front does not receiveflow completed. - A
tokencease to be valid (password change, new 2FA): reopen the widget by passing thattokenone so that the user can reauthenticate.
The detail of each message and the callback body is on the iframe pages.
Next step
If you're integrating by iframe, go through frontend ] and then backend. If you can't embed an iframe, go to OAuth.
Last updated