{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/notarize/json-schema/notarize-referral-params-schema.json",
  "title": "referral_params",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/notarize-referrals-api-openapi.yml#/components/schemas/referral_params",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the new campaign"
    },
    "cover_payment": {
      "type": "boolean",
      "description": "Will the organization pay for these referred transactions? This will result in single use links. Default: false"
    },
    "organization_id": {
      "type": "string",
      "maxLength": 5000,
      "description": "ID of organization to create the campaign for, only needed when creating for a child organization"
    },
    "redirect_url": {
      "type": "string",
      "maxLength": 5000,
      "description": "URL that customers will be sent to from the referral. This can be set to an Easylink URL. Default: retail URL"
    },
    "use_branding": {
      "type": "boolean",
      "description": "Will the referred transactions display the orgs branding? Default: false"
    }
  },
  "required": [
    "name"
  ]
}