cURL
curl --request POST \ --url https://api.g2cplatform.com/v2/auth/wallet/refresh \ --header 'Authorization: Bearer <token>'
{ "token": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "wallet": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "username": "<string>", "status": "active", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "email": "[email protected]", "blockchainAddress": "<string>", "metadata": {} } }
Refresh the JWT token for an authenticated wallet. Provides a new access token and expiration time.
JWT token obtained via wallet login. Include in Authorization header.
Token refreshed successfully
JWT access token
Token expiration timestamp
Show child attributes