Lili · Schema

LeadRequest

Contains the information about an account partner wants to register

BankingBusiness BankingFinancial ServicesFintechEmbedded FinanceOnboardingKYCWebhookMCPAgent-NativeInvoicingBill PayAccountingSmall Business

Properties

Name Type Description
email string The unique ID of the webhook
phoneNumber string Customer phone number. E.164 format.
ssn string Customer SSN
birthDate string Customer birth date
firstName string Customer first name
lastName string Customer last name
line1 string Customer address line1
line2 string Customer address line2
city string Customer address city
state string Customer address 2 letter state code
country string Customer country of residence (Alpha 2, ISO 3166 format)
postalCode string Customer address postal code
ein string Business EIN
businessName string Business name
businessAddress object The physical (operational) address where the business operates day-to-day. Must be a US address. Used as the address in the Beneficial Ownership file.
registeredBusinessAddress object The registered business address (the address the business provided to the state of formation to accept legal process). Can be outside of the US, in case only a registered agent address is available. U
mailingAddress object Business mailing address. Optional. Must be in the US, can be a registered agent address. Used as the card shipment address for Non-US applicants when selected.
businessType object Incorporation type of the business
incorporationState string State the business was incorporated in
uniqueId string Unique ID to be used by the partner to identify the customer
duns string Business DUNS number
passportNumber string Passport number
idGovNumber string Non US customer National ID number
idCountry string National ID country (Alpha 2, ISO 3166 format). Note that if a passport number is supplied, this is the passport issuance country
idExpirationDate string National ID expiration date. Note that if passport number is supplied, this is the passport expiration date
ownershipPercent number The ownership percentage of the customer
documentUrls array A list of URLs containing the business documents of the customer
documentDataList array A list of Base64 encoded documents
uboList array A list of UBOs with >25% of the business ownership
naicsCode string NAICS code of the business
campaign string Campaign code
metadata object A map of key-value pairs to store additional partner-specific data on the customer
eddQuestionData array A list of EDD questions and answers
View JSON Schema on GitHub

JSON Schema

lili-lead-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lili/main/json-schema/lili-lead-request-schema.json",
  "title": "LeadRequest",
  "description": "Contains the information about an account partner wants to register",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lili-lili-api-openapi.yml#/components/schemas/LeadRequest",
  "type": "object",
  "required": [
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "description": "The unique ID of the webhook",
      "format": "email"
    },
    "phoneNumber": {
      "type": "string",
      "description": "Customer phone number. E.164 format. "
    },
    "ssn": {
      "type": "string",
      "pattern": "^(?!666|000|9\\d{2})\\d{3}-\\d{2}-(?!0{4})\\d{4}$|^(?!666|000|9\\d{2})\\d{3}\\d{2}(?!0{4})\\d{4}$",
      "format": "regex",
      "description": "Customer SSN"
    },
    "birthDate": {
      "type": "string",
      "format": "date",
      "description": "Customer birth date"
    },
    "firstName": {
      "type": "string",
      "description": "Customer first name"
    },
    "lastName": {
      "type": "string",
      "description": "Customer last name"
    },
    "line1": {
      "type": "string",
      "description": "Customer address line1"
    },
    "line2": {
      "type": "string",
      "description": "Customer address line2"
    },
    "city": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "Customer address city"
    },
    "state": {
      "type": "string",
      "description": "Customer address 2 letter state code"
    },
    "country": {
      "type": "string",
      "description": "Customer country of residence (Alpha 2, ISO 3166 format)"
    },
    "postalCode": {
      "type": "string",
      "pattern": "^\\d{5}(-\\d{4})?$",
      "format": "regex",
      "description": "Customer address postal code"
    },
    "ein": {
      "type": "string",
      "pattern": "^(0[1-6]|1[0-6]|2[0-7]|3[0-9]|4[0-8]|5[0-9]|6[0-8]|7[1-7]|8[0-8]|9[0-5]|9[8-9])[0-9]{7}$",
      "format": "regex",
      "description": "Business EIN"
    },
    "businessName": {
      "type": "string",
      "description": "Business name"
    },
    "businessAddress": {
      "$ref": "#/$defs/AddressData",
      "description": "The physical (operational) address where the business operates day-to-day. Must be a US address. Used as the address in the Beneficial Ownership file."
    },
    "registeredBusinessAddress": {
      "$ref": "#/$defs/AddressData",
      "description": "The registered business address (the address the business provided to the state of formation to accept legal process). Can be outside of the US, in case only a registered agent address is available. Used as the billing address and presented on bank statements and invoices."
    },
    "mailingAddress": {
      "$ref": "#/$defs/AddressData",
      "description": "Business mailing address. Optional. Must be in the US, can be a registered agent address. Used as the card shipment address for Non-US applicants when selected."
    },
    "businessType": {
      "enum": [
        "DBA",
        "LLC",
        "MMLLC",
        "GENERAL_PARTNERSHIP",
        "LLP",
        "S_CORP",
        "SSN",
        "C_CORP"
      ],
      "description": "Incorporation type of the business"
    },
    "incorporationState": {
      "type": "string",
      "description": "State the business was incorporated in"
    },
    "uniqueId": {
      "type": "string",
      "description": "Unique ID to be used by the partner to identify the customer"
    },
    "duns": {
      "type": "string",
      "description": "Business DUNS number"
    },
    "passportNumber": {
      "type": "string",
      "description": "Passport number"
    },
    "idGovNumber": {
      "type": "string",
      "description": "Non US customer National ID number"
    },
    "idCountry": {
      "type": "string",
      "description": "National ID country (Alpha 2, ISO 3166 format). \nNote that if a passport number is supplied, this is the passport issuance country"
    },
    "idExpirationDate": {
      "type": "string",
      "description": "National ID expiration date. Note that if passport number is supplied, this is the passport expiration date"
    },
    "ownershipPercent": {
      "type": "number",
      "description": "The ownership percentage of the customer",
      "minimum": 0,
      "maximum": 100
    },
    "documentUrls": {
      "type": "array",
      "description": "A list of URLs containing the business documents of the customer",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "documentDataList": {
      "type": "array",
      "description": "A list of Base64 encoded documents",
      "items": {
        "$ref": "#/$defs/DocumentData"
      }
    },
    "uboList": {
      "type": "array",
      "description": "A list of UBOs with >25% of the business ownership",
      "items": {
        "$ref": "#/$defs/UBOData"
      }
    },
    "naicsCode": {
      "type": "string",
      "description": "NAICS code of the business"
    },
    "campaign": {
      "type": "string",
      "description": "Campaign code"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A map of key-value pairs to store additional partner-specific data on the customer"
    },
    "eddQuestionData": {
      "type": "array",
      "description": "A list of EDD questions and answers",
      "items": {
        "$ref": "#/$defs/EDDQuestionData"
      }
    }
  },
  "$defs": {
    "AddressData": {
      "title": "AddressData",
      "type": "object",
      "properties": {
        "line1": {
          "type": "string",
          "description": "Line 1 of the address"
        },
        "line2": {
          "type": "string",
          "description": "Line 2 of the address"
        },
        "city": {
          "type": "string",
          "maxLength": 30,
          "minLength": 1,
          "description": "City"
        },
        "state": {
          "type": "string",
          "description": "State 2 letter code (ISO 3166 format)"
        },
        "postalCode": {
          "type": "string",
          "description": "Postal code"
        },
        "country": {
          "type": "string",
          "description": "Country 2 letter code (ISO 3166 format)"
        }
      }
    },
    "DocumentData": {
      "title": "DocumentData",
      "type": "object",
      "required": [
        "content",
        "contentType",
        "fileName"
      ],
      "properties": {
        "content": {
          "type": "string",
          "description": "File content, Base64 decoded"
        },
        "contentType": {
          "type": "string",
          "description": "The file content type. All standard mime types are supported"
        },
        "fileName": {
          "type": "string",
          "description": "The name of the file"
        },
        "llcFileType": {
          "type": "string",
          "description": "The type of the file",
          "enum": [
            "IRS_EIN_LETTER",
            "ARTICLES_OF_ORGANIZATION",
            "LETTER_OF_REINSTATEMENT",
            "GOVERNMENT_IDENTIFICATION",
            "ARTICLES_OF_INCORPORATION",
            "SIGNED_PARTNERSHIP_AGREEMENT",
            "AMENDMENT_DOCUMENT",
            "OPERATING_AGREEMENT",
            "UTILITY_BILL",
            "PASSPORT",
            "SS4_DOCUMENT"
          ]
        }
      }
    },
    "EDDQuestionData": {
      "type": "object",
      "properties": {
        "question": {
          "type": "string",
          "description": "The question"
        },
        "answer": {
          "type": "string",
          "description": "The answer"
        },
        "questionId": {
          "type": "string",
          "description": "The answer"
        }
      }
    },
    "UBOData": {
      "title": "UBOData",
      "type": "object",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string",
          "description": "The unique ID of the webhook",
          "format": "email"
        },
        "phoneNumber": {
          "type": "string",
          "description": "Customer phone number. E.164 format. "
        },
        "ssn": {
          "type": "string",
          "pattern": "^(?!666|000|9\\d{2})\\d{3}-\\d{2}-(?!0{4})\\d{4}$|^(?!666|000|9\\d{2})\\d{3}\\d{2}(?!0{4})\\d{4}$",
          "format": "regex",
          "description": "Customer SSN"
        },
        "birthDate": {
          "type": "string",
          "format": "date",
          "description": "Customer birth date"
        },
        "firstName": {
          "type": "string",
          "description": "Customer first name"
        },
        "lastName": {
          "type": "string",
          "description": "Customer last name"
        },
        "passportNumber": {
          "type": "string",
          "description": "Passport number"
        },
        "idGovNumber": {
          "type": "string",
          "description": "Non US customer National ID number"
        },
        "idCountry": {
          "type": "string",
          "description": "National ID country (Alpha 2, ISO 3166 format). \nNote that if a passport number is supplied, this is the passport issuance country"
        },
        "idExpirationDate": {
          "type": "string",
          "description": "National ID expiration date. Note that if passport number is supplied, this is the passport expiration date"
        },
        "role": {
          "enum": [
            "PARTNER",
            "PARTNER_FULL_ACCESS"
          ],
          "description": "The UBO role in the account"
        },
        "ownershipPercent": {
          "type": "number",
          "description": "The ownership percentage of the UBO",
          "minimum": 25,
          "maximum": 100
        },
        "address": {
          "$ref": "#/$defs/AddressData",
          "description": "The UBO address"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lili-lead-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.