Refresh Access Token

View as Markdown
The Refresh Access Token API is an authenticated endpoint intended for access token renewal. <Callout intent="warning"> Invoke this endpoint only when the existing access token has expired (token validity: 7 days). Do not call it repeatedly or on every request, as this can cause unnecessary token regeneration and potential rate-limiting issues. </Callout>

Headers

api-secretstringRequiredDefaults to YOUR_API_SECRET
Your api secret, you can get it from <a href="https://dashboard.transak.com" target="_blank">Transak Partner Dashboard</a> for respective environment Note: Refer <a href="/guides/how-to-create-partner-access-token" target="_blank">this</a> tutorial on how to fetch the API secret from the partner dashboard.

Request

This endpoint expects an object.
apiKeystringRequiredDefaults to YOUR_API_KEY
Your Api Key which you can get it from <a href="https://dashboard.transak.com" target="_blank">Transak Partner Dashboard</a> for respective environment

Response

200
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error