Agent-native onboarding

Begin or complete verified agent-owned signup

A first request creates only a 30-minute pending row and returns an AgentID authorization URL. After AgentID PKCE verification, replaying the same name and registrationToken creates or recovers one zero-balance personal account and returns its scoped connection credential. The verified provider/subject pair is the durable one-account boundary. No free or bonus credits are issued.

post/credits/agent/register

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/agent/register
  • Auth
    none required

Request body

namestring required

Control and bidirectional-formatting characters are rejected.

registrationTokenstring required

Canonical base64url encoding of 24 bytes generated by a cryptographically secure random-number generator.

agentEmailstring email

Optional AgentID inbox sent as login_hint. The verified token claim is authoritative.

Response

Existing verified account replayed, renewed, or recovered

successunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.