cURL
curl --request POST \ --url https://laso.finance/refresh \ --header 'Content-Type: application/json' \ --data ' { "refresh_token": "<string>" } '
{ "auth": { "id_token": "<string>", "refresh_token": "<string>", "expires_in": "<string>" }, "user_id": "<string>" }
Deprecated: Use POST /auth with grant_type=refresh_token instead. This endpoint is kept for backward compatibility.
POST /auth
grant_type=refresh_token
Exchange a refresh token for a new ID token. This is a free endpoint — no x402 payment required.
The refresh token received from /auth or a previous refresh call
Refreshed auth credentials and user ID
Show child attributes
The user's ID (lowercase wallet address)