API Gateway

  • FastAPI (Python 3.11+)

  • Responsibilities:

    • JWT + API key auth

    • x402-style payment verification

    • proxy + routing

    • revenue split

    • rate limiting, abuse protection

    • webhooks/events

Base URL: https://facilitator.qwery.xyz

Core Endpoints (12 total):

Information:

GET / Service info

GET /health Health check

GET /supported Supported tokens/networks

GET /discovery Discovery information

Payment Processing:

POST /create-payment Create payment request

POST /settle Submit signed transaction

POST /verify Verify payment status

GET /wallet-status Check facilitator wallet

Token Gateway (Access Control):

POST /token-gate/check-access Check if wallet owns token

GET /token-gate/get-tier Get membership tier

GET /token-gate/accepted-tokens List accepted tokens

GET /token-gate/tiers List all tiers

Rate Limits:

  • No authentication required (facilitator is public)

  • Reasonable rate limits apply

  • DOS protection active

Last updated