session
prepaid
credits
high-frequency
metering
loop
gateway
off-chain

Open a Prepaid Session ($0.002/call)

Mint a bearer session token bound to your wallet. Prepay credits via /credits/buy, open a session here (once), then call /m/<route> with the token to spend credits per call OFF-CHAIN at high frequency — no per-call settlement. The rail for looping agents. Token expires; treat it as a password. Returns {session_token, ns, balance, expires_at}.

Paid endpoint: $0.002 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.

post/session/open

Request

  • Base URL: https://x402.shizu.me
  • URL: https://x402.shizu.me/session/open
  • Auth: none declared

Response

Paid result (JSON)

Changes

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