Skip to navigation

Refresh Access Token

View as Markdown

The Refresh Access Token API is an authenticated endpoint intended for access token renewal.

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.

Headers

x-api-keystringRequired

Your Partner API key. You can find this in the Partner Dashboard.

api-secretstringRequired

Your api secret, you can get it from Transak Partner Dashboard for respective environment

Note: Refer this tutorial on how to fetch the API secret from the partner dashboard.

Request

This endpoint expects an object.
apiKeystringRequired

Your Api Key which you can get it from Transak Partner Dashboard for respective environment

Response

200
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error