Refresh an ID token

Exchange a refresh token for a new ID token. This is a free endpoint — no x402 payment required. Uses the standard OAuth2 grant_type=refresh_token pattern.

post/auth

Request

  • Base URL: https://laso.finance
  • URL: https://laso.finance/auth
  • Auth: none required

Request body

grant_type'refresh_token' required

Must be "refresh_token"

refresh_tokenstring required

The refresh token received from a previous /auth or /get-card call

Response

Refreshed auth credentials and user ID

id_tokenstring

New ID token — use as Bearer token for Laso Finance APIs

refresh_tokenstring

New refresh token — use for the next refresh

expires_instring

Token lifetime in seconds

user_idstring

The user's ID (lowercase wallet address)

Changes

No recorded changes to this operation across all 2 revisions of this API.