FiatDock · Schema

X402Call

The relay envelope: what an index-listed x402 endpoint answered — its status, body, decoded 402 (paymentRequired + howToPay) or settlement receipt.

MarketplaceArtificial IntelligencePaymentsBlockchainCryptocurrencyCompany

Properties

Name Type Description
ok boolean true when the endpoint answered 2xx
status number The ENDPOINT's HTTP status (a 402 comes back as isError with the decoded challenge instead)
url string The URL that was called
method string GET or POST
paid boolean true when a payment header travelled with the request — yours, or one this package signed
settlement object The endpoint's decoded PAYMENT-RESPONSE header when it settled: the x402 settlement receipt (tx hash, network, payer)
result object The endpoint's response body — parsed JSON when it returned JSON, otherwise the raw text
truncated boolean True when the body was cut at 256 KB
note string Present only when truncated
hint string Present on a 405: the endpoint refused this HTTP method — call again with the other one (the index records no method)
allow string The endpoint's Allow header on a 405, when it sent one
View JSON Schema on GitHub

JSON Schema

fiatdock-com-x402-call-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fiatdock-com/json-schema/fiatdock-com-x402-call-schema.json",
  "title": "X402Call",
  "description": "The relay envelope: what an index-listed x402 endpoint answered — its status, body, decoded 402 (paymentRequired + howToPay) or settlement receipt.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fiatdock-com-x402-api-openapi.yml#/components/schemas/X402Call",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "true when the endpoint answered 2xx"
    },
    "status": {
      "type": "number",
      "description": "The ENDPOINT's HTTP status (a 402 comes back as isError with the decoded challenge instead)"
    },
    "url": {
      "type": "string",
      "description": "The URL that was called"
    },
    "method": {
      "type": "string",
      "description": "GET or POST"
    },
    "paid": {
      "type": "boolean",
      "description": "true when a payment header travelled with the request — yours, or one this package signed"
    },
    "settlement": {
      "description": "The endpoint's decoded PAYMENT-RESPONSE header when it settled: the x402 settlement receipt (tx hash, network, payer)"
    },
    "result": {
      "description": "The endpoint's response body — parsed JSON when it returned JSON, otherwise the raw text"
    },
    "truncated": {
      "type": "boolean",
      "description": "True when the body was cut at 256 KB"
    },
    "note": {
      "type": "string",
      "description": "Present only when truncated"
    },
    "hint": {
      "type": "string",
      "description": "Present on a 405: the endpoint refused this HTTP method — call again with the other one (the index records no method)"
    },
    "allow": {
      "type": "string",
      "description": "The endpoint's Allow header on a 405, when it sent one"
    }
  },
  "required": [
    "ok",
    "status",
    "url",
    "method",
    "paid"
  ]
}

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/fiatdock-com-x402-call"
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. See our Privacy Policy and Terms.

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