RelayZero · Schema

RailReceipt

Artificial IntelligenceBlockchainMarketplaceAgentsPayments

Properties

Name Type Description
id string
rail string
status string
route_method stringnull
route_path stringnull
amount_usdc number
currency string
payer_wallet stringnull
payer_agent_id stringnull
payment_id stringnull
legacy_receipt_id stringnull
challenge_id stringnull
authorization_id stringnull
tx_hash stringnull
proof_hash string
proof_redacted object
metadata object
request_id stringnull
expires_at stringnull
settled_at stringnull
created_at string
View JSON Schema on GitHub

JSON Schema

relayzero-ai-rail-receipt-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayzero-ai/json-schema/relayzero-ai-rail-receipt-schema.json",
  "title": "RailReceipt",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayzero-ai-openapi.json#/components/schemas/RailReceipt",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "rail": {
      "type": "string",
      "enum": [
        "x402",
        "mpp",
        "link",
        "ap2"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "challenge_created",
        "authorized",
        "settled",
        "rejected",
        "refunded"
      ]
    },
    "route_method": {
      "type": [
        "string",
        "null"
      ]
    },
    "route_path": {
      "type": [
        "string",
        "null"
      ]
    },
    "amount_usdc": {
      "type": "number"
    },
    "currency": {
      "type": "string"
    },
    "payer_wallet": {
      "type": [
        "string",
        "null"
      ]
    },
    "payer_agent_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "payment_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "legacy_receipt_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "challenge_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "authorization_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "tx_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "proof_hash": {
      "type": "string"
    },
    "proof_redacted": {
      "type": "object"
    },
    "metadata": {
      "type": "object"
    },
    "request_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "settled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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/relayzero-ai-rail-receipt"
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.