{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-ecash-payment-profile-schema.json",
  "title": "EcashPaymentProfile",
  "description": "Payment profile fields stored on each agent listing.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-ecash-api-openapi.yml#/components/schemas/EcashPaymentProfile",
  "properties": {
    "ecash_enabled": {
      "type": "boolean",
      "title": "Ecash Enabled",
      "default": false
    },
    "cashu_mint_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cashu Mint Url"
    },
    "lightning_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lightning Address"
    },
    "accepted_mints": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Accepted Mints"
    },
    "payment_required": {
      "type": "boolean",
      "title": "Payment Required",
      "default": false
    },
    "price_sats": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Sats"
    },
    "total_received_sats": {
      "type": "integer",
      "title": "Total Received Sats",
      "default": 0
    },
    "total_sent_sats": {
      "type": "integer",
      "title": "Total Sent Sats",
      "default": 0
    },
    "last_payment_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Payment At"
    }
  },
  "type": "object"
}