{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stabledrop-me/json-schema/stabledrop-me-request-body-schema.json",
  "title": "RequestBody",
  "description": "A payment request: the terms, without the buyer. The seller — who is paid — is the\nsigned-in caller, or the `seller` named here.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stabledrop-me-openapi.json#/components/schemas/RequestBody",
  "properties": {
    "seller": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seller",
      "description": "Who is paid: a wallet, or an email (resolved to that person's wallet, made for them if they have never signed in). Omit to be paid yourself, which needs you signed in. A request for anyone else needs no sign-in: nobody is emailed, and it is not listed on the seller's dashboard until somebody claims it."
    },
    "amount": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "title": "Amount",
      "description": "In the TOKEN's base units (1 USDC = 1000000)."
    },
    "expiry_timestamp": {
      "type": "integer",
      "minimum": 0,
      "title": "Expiry Timestamp",
      "description": "Unix time the dispute window closes. 0 settles instantly."
    },
    "description": {
      "type": "string",
      "maxLength": 160,
      "minLength": 1,
      "title": "Description",
      "description": "What the payment is for, 1 to 160 characters."
    },
    "token_symbol": {
      "type": "string",
      "title": "Token Symbol",
      "description": "A configured token, e.g. USDC.",
      "default": "USDC"
    },
    "arbiter": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Arbiter",
      "description": "Who decides a dispute: a wallet, or an email address. An email is resolved to that person's wallet by contractservice when the request is stored (a wallet is made for them if they have never signed in), because the arbiter is in the payment contract's address. Omit for the default arbiter."
    },
    "brand": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-z0-9-]{2,32}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Brand",
      "description": "White-label partner id (`?b=`). Attribution only."
    },
    "product_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 160
        },
        {
          "type": "null"
        }
      ],
      "title": "Product Name",
      "description": "Display only."
    }
  },
  "type": "object",
  "required": [
    "amount",
    "expiry_timestamp",
    "description"
  ]
}