Onboard A User And Access Their Bank Data
A 4-step recipe with Tink. We can help you get access.
Recipe · 4 steps
Onboard A User And Access Their Bank Data
with Tink
Create a Tink user, obtain a delegated grant and user token, then list their accounts.
- Create a permanent Tink user keyed by your external user id so the user can be re-authorized for continuous-access products later.
- Mint a delegated authorization code for the user. The returned code is exchanged for a user token, and the customer follows the Tink Link flow to authenticate with their bank.
- Exchange the delegated authorization code for a user access token using the authorization_code grant type.
- List the bank accounts the user has consented to share, using the freshly issued user access token.
What you'll need to have ready
- clientAccessToken: A client (client_credentials) access token authorized to create users and grants.
- externalUserId: Your own stable identifier for the end user (e.g. a customer id).
- market: ISO 3166-1 alpha-2 market code for the user (e.g. GB).
- locale: The user locale (e.g. en_US).
- scope: The data-product scopes to request (e.g. accounts:read,transactions:read).
For your developer
Arazzo workflow tink-com:onboard-user-and-list-accounts, 4 operations: createUser → createDelegatedAuthorizationGrant → createOauthToken → listAccounts. Specs on APIs.io.