Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.monkepay.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Access models

Token expiry one_time tokens that expire after a configurable duration — e.g. grant access for 24 hours, 7 days, or 30 days. After expiry the agent pays again for a new token. Subscription mode Wallet-scoped recurring access. An agent pays once per billing period and gets unlimited access for that period. No token management needed — access is tied to the wallet address. Credit pack mode Pay for N requests upfront. Credits are consumed across calls and shared across agent instances holding the same credential. Good for usage-based plans with bulk discounts. Perpetual unlock (wallet-scoped) Like one_time but tied to the agent’s wallet address rather than a token string. Any agent instance with the right wallet address gets access — no token to manage or lose.

Networks

Additional EVM chains Expanding beyond Base to other EVM-compatible chains. Chains being evaluated: Arbitrum, Optimism, Polygon. Adding a new EVM chain requires Coinbase x402 facilitator support and a USDC contract on that chain — the SDK middleware code changes nothing. Solana SVM support is a separate workstream from EVM expansion. Requires a different signing scheme and wallet client. Planned but not scheduled.

SDK

baseUrl for Hono and Express Currently baseUrl is accepted in config for Hono and Express but has no effect — resource URL construction is handled internally by x402-hono and x402-express. Explicit baseUrl support is planned for consistency with Fastify. Streaming support Payment settlement currently happens in the response lifecycle which requires the full response to be available. Streaming endpoints (SSE, chunked responses) are not currently supported on payment-gated routes. Streaming support is being evaluated.

Platform

Automatic scheduled payouts Payouts are currently processed manually. Automatic scheduled payouts (daily, weekly, monthly) are coming soon. Webhook events HTTP webhooks for payment events — fire a POST to your endpoint on each payment instead of using the onPayment callback in the SDK. Analytics Endpoint-level analytics in the dashboard — volume, unique agents, revenue by endpoint, and daily breakdowns.