{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/breezecash/json-schema/breezecash-create-offramp-request-request-schema.json",
  "title": "CreateOfframpRequestRequest",
  "description": "Offramp request details",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/breezecash-offramp-api-openapi.yml#/components/schemas/CreateOfframpRequestRequest",
  "type": "object",
  "properties": {
    "network": {
      "type": "string"
    },
    "token": {
      "type": "string"
    },
    "amount": {
      "type": "number",
      "minimum": 100,
      "maximum": 10000000,
      "exclusiveMinimum": 0
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "customer": {
      "type": "object",
      "properties": {
        "country": {
          "const": "US"
        }
      },
      "required": [
        "country"
      ],
      "additionalProperties": false
    },
    "successReturnUrl": {
      "type": "string"
    },
    "failReturnUrl": {
      "type": "string"
    },
    "settings": {
      "type": "object",
      "properties": {
        "payByMerchant": {
          "default": true,
          "const": true
        },
        "feePayByMerchant": {
          "default": true,
          "const": true
        },
        "releaseMethod": {
          "type": "string",
          "default": "automatic",
          "enum": [
            "automatic",
            "manual"
          ]
        }
      },
      "additionalProperties": false
    },
    "clientReferenceId": {
      "type": [
        "array",
        "boolean",
        "number",
        "object",
        "string",
        "null"
      ]
    }
  },
  "required": [
    "network",
    "token",
    "amount",
    "email",
    "customer"
  ],
  "additionalProperties": false,
  "deprecated": true
}