Debit My Data · Schema

ProductQuote

Decentralized IdentifierDigital IdentityAI AgentsVerifiable Credential

Properties

Name Type Description
purchase_id string
payment_intent_id string
product object
did string
commercial_price object What this quote charges.
list_price object The product's price (more than commercial_price for an upgrade, which pays the difference).
upgrade_from object For an upgrade: the tier the DID-LLM owns now (product ID).
selected_payment_option object
price_quote object
payment_status string
next_action string
expires_at string
status_url string
terms_version string
policy_urls object
View JSON Schema on GitHub

JSON Schema

debitmydata-product-quote-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/debitmydata/json-schema/debitmydata-product-quote-schema.json",
  "title": "ProductQuote",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/debitmydata-openapi.json#/components/schemas/ProductQuote",
  "properties": {
    "purchase_id": {
      "type": "string",
      "title": "Purchase Id"
    },
    "payment_intent_id": {
      "type": "string",
      "title": "Payment Intent Id"
    },
    "product": {
      "$ref": "#/$defs/ProductInfo"
    },
    "did": {
      "type": "string",
      "title": "Did"
    },
    "commercial_price": {
      "$ref": "#/$defs/Money",
      "description": "What this quote charges."
    },
    "list_price": {
      "$ref": "#/$defs/Money",
      "description": "The product's price (more than commercial_price for an upgrade, which pays the difference)."
    },
    "upgrade_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Upgrade From",
      "description": "For an upgrade: the tier the DID-LLM owns now (product ID)."
    },
    "selected_payment_option": {
      "$ref": "#/$defs/SelectedPaymentOption"
    },
    "price_quote": {
      "anyOf": [
        {
          "$ref": "#/$defs/PriceQuote"
        },
        {
          "type": "null"
        }
      ]
    },
    "payment_status": {
      "type": "string",
      "title": "Payment Status"
    },
    "next_action": {
      "type": "string",
      "title": "Next Action"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "title": "Expires At"
    },
    "status_url": {
      "type": "string",
      "title": "Status Url"
    },
    "terms_version": {
      "type": "string",
      "title": "Terms Version"
    },
    "policy_urls": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Policy Urls"
    }
  },
  "type": "object",
  "required": [
    "purchase_id",
    "payment_intent_id",
    "product",
    "did",
    "commercial_price",
    "list_price",
    "selected_payment_option",
    "price_quote",
    "payment_status",
    "next_action",
    "expires_at",
    "status_url",
    "terms_version",
    "policy_urls"
  ],
  "$defs": {
    "Money": {
      "properties": {
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        }
      },
      "type": "object",
      "required": [
        "currency",
        "amount"
      ],
      "title": "Money"
    },
    "PriceQuote": {
      "properties": {
        "source": {
          "type": "string",
          "title": "Source"
        },
        "usd_per_unit": {
          "type": "string",
          "title": "Usd Per Unit"
        },
        "price_observed_at": {
          "type": "string",
          "format": "date-time",
          "title": "Price Observed At"
        },
        "quoted_at": {
          "type": "string",
          "format": "date-time",
          "title": "Quoted At"
        },
        "expires_at": {
          "type": "string",
          "format": "date-time",
          "title": "Expires At"
        }
      },
      "type": "object",
      "required": [
        "source",
        "usd_per_unit",
        "price_observed_at",
        "quoted_at",
        "expires_at"
      ],
      "title": "PriceQuote"
    },
    "ProductInfo": {
      "properties": {
        "product_id": {
          "type": "string",
          "title": "Product Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "entitlement": {
          "type": "string",
          "title": "Entitlement"
        },
        "period_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Period Days",
          "description": "How long one purchase covers; null: for good."
        },
        "commercial_price": {
          "$ref": "#/$defs/Money"
        },
        "tier": {
          "anyOf": [
            {
              "$ref": "#/$defs/TierInfo"
            },
            {
              "type": "null"
            }
          ],
          "description": "One tier of a family: a DID-LLM owns one tier, and a higher tier costs the difference in price."
        },
        "payment_options": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Payment Options"
        },
        "quote_url": {
          "type": "string",
          "title": "Quote Url"
        }
      },
      "type": "object",
      "required": [
        "product_id",
        "name",
        "description",
        "entitlement",
        "period_days",
        "commercial_price",
        "payment_options",
        "quote_url"
      ],
      "title": "ProductInfo"
    },
    "SelectedPaymentOption": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "asset": {
          "type": "string",
          "title": "Asset"
        },
        "asset_type": {
          "type": "string",
          "title": "Asset Type"
        },
        "asset_id": {
          "type": "string",
          "title": "Asset Id"
        },
        "token_contract": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Token Contract"
        },
        "network": {
          "type": "string",
          "title": "Network"
        },
        "payment_protocol": {
          "type": "string",
          "title": "Payment Protocol"
        },
        "scheme": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scheme"
        },
        "transfer_method": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Transfer Method"
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "amount_base_units": {
          "type": "string",
          "title": "Amount Base Units"
        },
        "decimals": {
          "type": "integer",
          "title": "Decimals"
        },
        "recipient": {
          "type": "string",
          "title": "Recipient"
        },
        "payment_reference": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Reference"
        },
        "required_confirmations": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Required Confirmations"
        },
        "finality": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Finality"
        },
        "payment_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Url"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "asset",
        "asset_type",
        "asset_id",
        "token_contract",
        "network",
        "payment_protocol",
        "scheme",
        "transfer_method",
        "amount",
        "amount_base_units",
        "decimals",
        "recipient",
        "payment_reference",
        "required_confirmations",
        "finality"
      ],
      "title": "SelectedPaymentOption"
    },
    "TierInfo": {
      "properties": {
        "group": {
          "type": "string",
          "title": "Group",
          "description": "The family of tiers, e.g. bottybotty."
        },
        "rank": {
          "type": "integer",
          "title": "Rank",
          "description": "1 is the lowest tier."
        },
        "name": {
          "type": "string",
          "title": "Name"
        }
      },
      "type": "object",
      "required": [
        "group",
        "rank",
        "name"
      ],
      "title": "TierInfo"
    }
  }
}

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/debitmydata-product-quote"
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.