U.CASH · Schema

Resource

CompanyPaymentsCryptocurrencyDeFiTokenization

Properties

Name Type Description
amount number fiat price, e.g. 0.05
currency string
accepted_assets array defaults to all configured wallets
webhook_url string notified (HMAC-signed) on settlement
max_per_caller object optional per-caller spend cap; a payer whose settled spend in the window reaches amount is refused new authorization
checkout_url string response field: the canonical buyer door on pay.u.cash (/checkout/?cloud=). A human gets the HTML checkout; an agent fetches ?agent=1 for the 402 manifest; an x402 client sends X-PAYMENT
test boolean test mode: settles instantly for $0, no wallet needed, marked in responses, excluded from earnings
test_confirmations integer sandbox only: simulated confirmations required before settle (POST /v1/simulate-payment advances them; default 1 = instant, like the historic behavior)
View JSON Schema on GitHub

JSON Schema

u-cash-resource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/u-cash/json-schema/u-cash-resource-schema.json",
  "title": "Resource",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agents-u.cash-openapi.json#/components/schemas/Resource",
  "type": "object",
  "required": [
    "amount"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "description": "fiat price, e.g. 0.05"
    },
    "currency": {
      "type": "string",
      "default": "USD"
    },
    "accepted_assets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "defaults to all configured wallets"
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "description": "notified (HMAC-signed) on settlement"
    },
    "max_per_caller": {
      "type": "object",
      "description": "optional per-caller spend cap; a payer whose settled spend in the window reaches amount is refused new authorization",
      "properties": {
        "amount": {
          "type": "number"
        },
        "window_hours": {
          "type": "integer"
        },
        "by": {
          "type": "string",
          "enum": [
            "wallet",
            "ip"
          ],
          "default": "wallet",
          "description": "wallet = enforce at verify/settle; ip = enforce at the door before charge"
        }
      }
    },
    "checkout_url": {
      "type": "string",
      "format": "uri",
      "description": "response field: the canonical buyer door on pay.u.cash (/checkout/<enc>?cloud=<token>). A human gets the HTML checkout; an agent fetches ?agent=1 for the 402 manifest; an x402 client sends X-PAYMENT"
    },
    "test": {
      "type": "boolean",
      "description": "test mode: settles instantly for $0, no wallet needed, marked in responses, excluded from earnings"
    },
    "test_confirmations": {
      "type": "integer",
      "minimum": 0,
      "maximum": 12,
      "default": 1,
      "description": "sandbox only: simulated confirmations required before settle (POST /v1/simulate-payment advances them; default 1 = instant, like the historic behavior)"
    }
  }
}

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/u-cash-resource"
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.