dnsofmoney-com · Schema

AP2PurchaseRequest

An inbound AP2 purchase: the user's IntentMandate + the settled-on-XRPL proof.

FinTechPaymentsBlockchainAPIFinancialAddressResolution

Properties

Name Type Description
intent object
alias string The pay: alias being paid (the merchant/payee).
amount object Amount paid, in the asset's display unit (XRP).
currency string Settlement asset. XRP (XRPL) for v1.
tx_hash string The already-settled XRPL transaction hash (verified read-only).
merchant_name string Merchant name carried in the CartMandate.
View JSON Schema on GitHub

JSON Schema

dnsofmoney-com-ap2-purchase-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dnsofmoney-com/json-schema/dnsofmoney-com-ap2-purchase-request-schema.json",
  "title": "AP2PurchaseRequest",
  "description": "An inbound AP2 purchase: the user's IntentMandate + the settled-on-XRPL proof.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dnsofmoney-com-openapi.json#/components/schemas/AP2PurchaseRequest",
  "properties": {
    "intent": {
      "$ref": "#/$defs/IntentMandate"
    },
    "alias": {
      "type": "string",
      "title": "Alias",
      "description": "The pay: alias being paid (the merchant/payee)."
    },
    "amount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string",
          "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
        }
      ],
      "title": "Amount",
      "description": "Amount paid, in the asset's display unit (XRP)."
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "description": "Settlement asset. XRP (XRPL) for v1.",
      "default": "XRP"
    },
    "tx_hash": {
      "type": "string",
      "title": "Tx Hash",
      "description": "The already-settled XRPL transaction hash (verified read-only)."
    },
    "merchant_name": {
      "type": "string",
      "title": "Merchant Name",
      "description": "Merchant name carried in the CartMandate.",
      "default": "DNS of Money"
    }
  },
  "type": "object",
  "required": [
    "intent",
    "alias",
    "amount",
    "tx_hash"
  ],
  "$defs": {
    "IntentMandate": {
      "properties": {
        "natural_language_description": {
          "type": "string",
          "title": "Natural Language Description"
        },
        "intent_expiry": {
          "type": "string",
          "title": "Intent Expiry"
        },
        "user_cart_confirmation_required": {
          "type": "boolean",
          "title": "User Cart Confirmation Required",
          "default": true
        },
        "merchants": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Merchants"
        },
        "skus": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Skus"
        },
        "requires_refundability": {
          "type": "boolean",
          "title": "Requires Refundability",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "natural_language_description",
        "intent_expiry"
      ],
      "title": "IntentMandate"
    }
  }
}

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/dnsofmoney-com-ap2-purchase-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.