Skip to main content
POST

Notes

  • Returns HTTP 402 (Payment Required), not 200
  • collector is the publisher’s payout wallet address
  • splitter is 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

x-site-token
string
required

Body

application/json
url
string
required
detection_method
string | null

Response

Successful Response

gate_id
string<uuid>
required
price_usd
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
splitter
string
required
collector
string
required
network
string
required
verify_url
string
required
expires
string<date-time>
required
xenarch
boolean
default:true
asset
string
default:USDC
protocol
string
default:x402