OKF Index · Schema

PaymentX402

x402 payment configuration in force. Comes from `planPublic` and is the same across the products.

KnowledgeArtificial IntelligenceDatasetsSearchOpen Knowledge

Properties

Name Type Description
provider string Always `x402` — the only billing protocol accepted.
mode string Seller mode: `live` charges for real, `dev` lets calls through unpaid.
network string USDC network: `base` in production, `base-sepolia` in staging.
chain_id integer EVM chain ID of the network above, so the wallet signs on the right chain.
pay_to stringnull Address that receives the payment.
homolog boolean Staging seam on: the loop can be closed without spending USDC.
dev boolean Development mode: the 402 is simulated.
dev_gate boolean A homologation credential is configured; this grants no access.
alternavel boolean Dev only: a request with `X-MM-Pagamento: real` pays for real instead of in test mode.
gratis array Temporarily free SKUs.
cobrados array SKUs charged even when `gratis` has `*`.
facilitator string URL of the facilitator that verifies and settles the payment.
asset string Accepted currency — always `USDC`.
asset_address string USDC contract on the network above.
faucet stringnull Test-USDC faucet; only on base-sepolia.
wallets object Links to wallets that speak x402 (metamask, coinbase, base_app).
View JSON Schema on GitHub

JSON Schema

okfindex-com-payment-x402-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/okfindex-com/json-schema/okfindex-com-payment-x402-schema.json",
  "title": "PaymentX402",
  "description": "x402 payment configuration in force. Comes from `planPublic` and is the same across the products.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/okfindex-com-openapi.yml#/components/schemas/PaymentX402",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "description": "Always `x402` — the only billing protocol accepted."
    },
    "mode": {
      "type": "string",
      "description": "Seller mode: `live` charges for real, `dev` lets calls through unpaid."
    },
    "network": {
      "type": "string",
      "description": "USDC network: `base` in production, `base-sepolia` in staging."
    },
    "chain_id": {
      "type": "integer",
      "description": "EVM chain ID of the network above, so the wallet signs on the right chain."
    },
    "pay_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "Address that receives the payment."
    },
    "homolog": {
      "type": "boolean",
      "description": "Staging seam on: the loop can be closed without spending USDC."
    },
    "dev": {
      "type": "boolean",
      "description": "Development mode: the 402 is simulated."
    },
    "dev_gate": {
      "type": "boolean",
      "description": "A homologation credential is configured; this grants no access."
    },
    "alternavel": {
      "type": "boolean",
      "description": "Dev only: a request with `X-MM-Pagamento: real` pays for real instead of in test mode."
    },
    "gratis": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Temporarily free SKUs."
    },
    "cobrados": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "SKUs charged even when `gratis` has `*`."
    },
    "facilitator": {
      "type": "string",
      "description": "URL of the facilitator that verifies and settles the payment."
    },
    "asset": {
      "type": "string",
      "description": "Accepted currency — always `USDC`."
    },
    "asset_address": {
      "type": "string",
      "description": "USDC contract on the network above."
    },
    "faucet": {
      "type": [
        "string",
        "null"
      ],
      "description": "Test-USDC faucet; only on base-sepolia."
    },
    "wallets": {
      "type": "object",
      "description": "Links to wallets that speak x402 (metamask, coinbase, base_app)."
    }
  },
  "required": [
    "provider",
    "mode",
    "network",
    "chain_id",
    "pay_to",
    "homolog",
    "dev",
    "dev_gate",
    "alternavel",
    "facilitator",
    "asset",
    "asset_address",
    "faucet",
    "wallets"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/okfindex-com-payment-x402"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.