{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dnsofmoney-com/json-schema/dnsofmoney-com-create-payment-request-schema.json",
  "title": "CreatePaymentRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dnsofmoney-com-founding-api-openapi.yml#/components/schemas/CreatePaymentRequest",
  "properties": {
    "alias_name": {
      "type": "string",
      "maxLength": 128,
      "minLength": 5,
      "title": "Alias Name"
    },
    "xrpl_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Xrpl Address",
      "description": "If provided, the backend checks wallet_exists before creating the payload — prevents Xaman from requesting a payment from a wallet that is already registered."
    }
  },
  "type": "object",
  "required": [
    "alias_name"
  ]
}