{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blindpay-com/json-schema/blindpay-com-update-instance-in-schema.json",
  "title": "UpdateInstanceIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blindpay-com-instances-api-openapi.yml#/components/schemas/UpdateInstanceIn",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 3,
      "maxLength": 100
    },
    "customer_invite_redirect_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "logo_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Logo shown to your customers on hosted pages such as the Terms of Service acceptance page"
    },
    "accent_color": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^#[0-9a-f]{6}$",
      "description": "Accent color applied to hosted pages such as the Terms of Service accept button"
    },
    "email_notifications": {
      "type": "boolean",
      "default": true,
      "description": "Whether payment emails (payout and PIX payin created) are sent to customers. Customer RFI emails are controlled by customer_rfi_emails_enabled."
    },
    "require_passkey": {
      "type": "boolean",
      "default": false,
      "description": "Whether passkey verification is required for protected actions"
    },
    "compliance_emails": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string",
        "format": "email"
      },
      "maxItems": 20,
      "description": "When non-empty, compliance Request for Information emails are sent only to these addresses instead of all instance members"
    },
    "partner_tos_link": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Passthrough Terms of Service: the page where your customers are presented with the BlindPay Terms of Service"
    },
    "partner_tos_screenshot": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Passthrough Terms of Service: a screenshot of how the BlindPay Terms of Service are displayed to your customers. Must be a file_url returned by POST /upload with bucket documents."
    },
    "customer_rfi_emails_enabled": {
      "type": "boolean",
      "description": "Whether customer (customer) Request for Information notification emails are sent for this instance. Omit to leave unchanged."
    },
    "partner_tos_terms_accepted": {
      "type": "boolean",
      "enum": [
        true
      ],
      "description": "Passthrough Terms of Service: accept the current Passthrough Terms of Service Partner Agreement (https://blindpay.com/passthrough-tos-partner-agreement). Dashboard users only; requires partner_tos_link and partner_tos_screenshot."
    }
  },
  "required": [
    "name"
  ]
}