Create Session
Create a session and use it to initialize the SDK.
Sessions last 30 minutes. It is best practice to create a new session each time you initialize the SDK and not log the session in any internal or 3rd party tooling.
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
Product to associate the session with.
card_switcher
, transaction_link
"card_switcher"
Your unique identifier for the user.
"123abc"
Your internal identifier for a specific card. Required if type = card_switcher.
"81n9al10a0ayn13"
User's phone number in E.164 format.
"+11234567890"
User's email address.
"ada.lovelace@gmail.com"
Plaid processor_token if using transaction data from Plaid to detect merchants.
"processor-production-0asd1-a92nc"
Response
A session.
"915efe72-5136-4652-z91q-d9d48003c102"
Was this page helpful?