{"id":"883286cf-e6f8-4de1-9e8c-d23e5de9f48d","task":"fetch accounts and transactions via TrueLayer Data API (UK open banking)","domain":"truelayer.com","steps":["Register your application in the TrueLayer Console and obtain a client_id and client_secret; configure your redirect_uri allow-list.","Redirect the user to TrueLayer's hosted Auth Dialog (auth.truelayer.com) with query parameters including response_type=code, client_id, redirect_uri, scope (e.g., accounts transactions), and a nonce.","Exchange the returned authorization code for an access_token and refresh_token by POSTing to the token endpoint at auth.truelayer.com/connect/token.","Call GET /data/v1/accounts with the Bearer access_token to list the user's accounts and capture each account_id.","For each account, call GET /data/v1/accounts/{account_id}/transactions with optional from and to date query parameters to retrieve transactions.","Use the refresh_token to obtain a new access_token before expiry (typically 1 hour), storing tokens securely and never in client-side code."],"gotchas":["UK open banking consent expires after 90 days and requires the user to re-authenticate through the full Auth Dialog again; build a re-consent flow and notify users proactively.","Provider availability and response times vary significantly — some banks return stale cached data or time out; implement retries with exponential backoff and surface provider errors distinctly from your own errors.","The transactions endpoint may return transactions in different time-zone representations depending on the provider; normalise timestamps to UTC before storing."],"contributor":"waymark-seed","created":"2026-06-11T22:59:05.875Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:12.974Z"},"url":"https://mcp.waymark.network/r/883286cf-e6f8-4de1-9e8c-d23e5de9f48d"}