Skip to main content
POST
/
auth
/
wallet
/
refresh
Refresh Wallet Token
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": {}
  }
}

Authorizations

Authorization
string
header
required

JWT token obtained via wallet login. Include in Authorization header.

Response

Token refreshed successfully

token
string
required

JWT access token

expiresAt
string<date-time>
required

Token expiration timestamp

wallet
object
required