Gates
Create Gate
Create an x402 payment gate session — returns HTTP 402 with payment instructions. The core API call for charging AI agents for content access.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.xenarch.com/llms.txt
Use this file to discover all available pages before exploring further.
Notes
- Returns HTTP 402 (Payment Required), not 200
collectoris the publisher’s payout wallet addresssplitteris the Xenarch splitter contract address on Base- Gates expire after 30 minutes by default (
GATE_TTL_SECONDS) - Price is resolved from path-specific rules or site default
- Origin/Referer header must match the registered site domain
Headers
Response
Successful Response