For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
DocsAPI Reference
    • What is Transak
  • Features
    • Auth Reliance
    • KYC Reliance using Sumsub
    • Webhooks
    • WebSockets
  • Products Overview
    • On Ramp
    • Off Ramp
    • NFT Checkout
  • Integration Options
    • API
  • Customization Options
    • Query Parameters
    • Customizing theme using query parameters
  • Guides
    • How To Create a Partner Dashboard Account
    • How to Add Partner Fees and Set Up Partner Payouts
    • How to Test using Sandbox Credentials
    • How to Test ACH Pull Transaction in Sandbox
    • How to Test Apple Pay in Sandbox
    • How to Track Order Status
    • Transak Different KYC Levels
    • How to Submit FCA Requirements
    • How to Use Advanced Query Params
    • How to Create a Widget URL with Parameters and Test Different Scenarios
    • How to Generate Calldata for NFT Checkout
    • How to Add NFT Smart Contract in the Dashboard and Create a contractId
    • Get Price based on User Region
    • How to Create Partner Access Token
    • How to Decrypt the Webhook Payload
    • How to add MCP Server for Transak Documentation
    • Widget with API Customization
    • Integration Update - Mandatory Migration to API based Transak Widget URL
    • Biconomy: Simplified Onboarding Using MEE-Compatible Smart Accounts
    • Partner FAQs
    • Need Help?
Dashboard
LogoLogo
Guides

How to Create a Partner Access Token

Generate a short-lived access token using your API key and secret from the Transak partner dashboard

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Get Price Based on User Region

Next

How to Decrypt the Webhook Payload

Built with

A Partner Access Token is required to authenticate calls to Transak’s partner APIs. You generate it by calling the Refresh Token endpoint with your API key and secret — it expires after 7 days.

1

Log in to your dashboard

Go to dashboard.transak.com and sign in to your partner account.

Transak partner dashboard login screen
2

Open the Developers tab

Click Developers in the left-hand navigation panel.

Developers tab in the Transak partner dashboard
3

Copy your API credentials

Your API Key and API Secret are shown on this page. Copy both — you’ll need them in the next step.

Never expose your API secret in client-side code or public repositories. Always make this call from a secure backend.

4

Call the Refresh Token API

Make a POST request to the Refresh Token endpoint, passing your API secret as a header and your API key in the request body.

$curl --request POST \
> --url https://api-stg.transak.com/partners/api/v2/refresh-token \
> --header 'accept: application/json' \
> --header 'api-secret: YOUR_API_SECRET' \
> --header 'content-type: application/json' \
> --data '{"apiKey":"YOUR_API_KEY"}'

A successful response returns a JWT accessToken valid for 7 days:

1{
2 "data": {
3 "accessToken": "eyJhbI1NiIsInR5cCI6IkpXVCJ9.eyJBUElfZIjoiMDRiOGJmZDItNTQ1YS00YjU1LWFkNzQtMjY0OTQ5NmFlMTI3IiwiaWF0IjoxNzcwMzczMTM0LCJleHAiOjE3NzA5Nzc5MzR9.95zFcIfGY-YLwbah37-YyNqLL62KURoz_jUcCLfhP74",
4 "expiresAt": 1770977934
5 }
6}
accessToken
string

JWT token to include as a Bearer token in subsequent API requests.

expiresAt
number

Unix timestamp (seconds) indicating when the token expires.