Transaction Session API
Creates a transaction session for the Headless KYC module. Returns a sessionId for your integration.
Headers
x-user-ip
End user’s originating IP. More details here
x-api-key
Your Partner API key. You can find this in the [Partner Dashboard](https://docs.transak.com/guides/how-to-create-partner-dashboard-account#open-the-developers-section).
x-access-token
Your Partner Access Token. Please refer here for a tutorial on generating your access token.
Note: This is applicable only for Auth Reliance Flows
x-user-identifier
The authenticated user’s email address.
Note: This is applicable only for Auth Reliance Flows.
Request
This endpoint expects an object.
quoteId
Quote ID from the Quotes API.
module
Set to kyc to initialize a Headless KYC session.
config
Additional optional UI configuration passed through to the session.
Response
Success
data
Errors
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error