Skip to main content
POST
Refresh TRACES session
Send the deductor_refresh_token returned by Authenticate a TRACES deductor in the Authorization header. Include your Sandbox API key in x-api-key. This request has no body. Replace both saved deductor tokens with the returned data.access_token and data.refresh_token. If the refresh token has expired or is rejected, authenticate the deductor again. See Check TDS challans or Verify PANs with a deductor token for the complete flow.

Headers

Authorization
string
required

Deductor refresh token returned by Authenticate a TRACES deductor or this endpoint. Send the token without a Bearer prefix.

x-api-key
string
required

Sandbox API key.

Response

Returns replacement access and refresh tokens for the TRACES session.

code
enum<integer>
required
Available options:
200
timestamp
integer<int64>
required

Unix timestamp in milliseconds.

transaction_id
string
required
data
object
required