To get refresh token
POST/api/v1/token-refresh
After the successful login, you need to update the refresh token for every 15 minutes.
For this API, the payload is transmitted in plain format. Encryption or decryption of the payload is not required before sending the request to the server or when processing the server response.
🔋 Sample request payload
{
"refreshToken": "def5020051586e6138944cc871..."
}
🎯 Important Note:
❌ Payload Encryption : Not required. The payload must be sent in plain format without applying Hesabe encryption method.
❌ Payload Decryption: Not required. The response from the server can be consumed directly without Hesabe decryption method.
⚡️ Payload details
Fields Name | Description | Required |
---|---|---|
refreshToken | Pass the current refresh token | ✅ Yes |
Request
Responses
- 200
- 404
- 500
Successfully fetched, Save the refresh token for further requests
Not found, Please verify the token credentials
Internal Server Error – An unexpected error occurred on the server while processing the request. This may be due to a temporary issue or a server-side malfunction. Please try again later or contact support if the issue persists.