Create Widget URL
This API creates a widgetUrl to securely store widget query parameters and authentication context. This facilitates secure widget interactions by encapsulating info in a sessionId, reducing exposure in client-side requests.
Use the returned widgetUrl to load the Transak Widget. This URL expires 5 minutes after creation.
Important:
-
Each sessionId is single-use.
-
The widget cannot be reopened using the same widgetUrl.
-
A new sessionId is required for every new user flow.
| Environment | Base URL |
|---|---|
| Staging | https://api-gateway-stg.transak.com |
| Production | https://api-gateway.transak.com |
Request
- Base URL: https://api-stg.transak.com/partners/api/v2
- URL: https://api-stg.transak.com/partners/api/v2/api/v2/auth/session
- Auth: none declared. Required headers: x-user-ip, x-api-key, access-token
Headers
End user's originating IP. More details here
Partner API Key present in Transak Dashboard.
Your Partner Access Token. Please refer here for a tutorial on generating your access token.
User Authorization Token. Only required in Integrations via User Authentication APIs.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.