Exchange Auth Intent
Exchange a settled auth intent for a JWT
Exchange for JWT
After the agent pays the auth challenge, exchange the intent for a JWT:
Parameters
Response
The response contains:
JWT sub format
The sub claim identifies the wallet:
Parse it to extract the chain and address:
Errors
Intent not settled (402)
The agent hasn’t paid the challenge yet:
HTTP 402 (Payment Required) is the correct status here — the agent hasn’t paid the auth challenge. Your backend should poll and retry with backoff until the agent completes payment or the intent expires.