In this guide, you’ll create Session Token which makes it easier to manage you end customer’s tokens.
/session-token
endpoint or call the .getTokenForLinkedAccount() method of the NodeJS SDK. The request should include the linked-account_id
of the user for which the Session token is to be generated.token
if request was successful. Parse the JSON response body and extract the token
./session-token
endpoint returns a 500 error, your server-side code should handle it gracefully. The error is returned due to providing an incorrect linked_account_id while making the request.