---
updatedAt: 2026-04-21T16:06:54.000Z
agentTools:
  projectIndex: https://canopy-api.readme.io/llms.txt
---

# Create a new business borrower

Creates a new business borrower.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Canopy Servicing Core API",
    "description": "\nCanopy allows you to easily manage credit, installment, or other more complex lending programs from a servicing and compliance perspective -\nwhether newly launched or migrated from existing systems. using canopy, you can track balances and transactions for each customer of your product, both in real-time and historically.\nYou can see how various policy and product changes would impact your customers, and readily generate compliance reports and minimize your risk with all real-time information always on hand.\nCanopy additionally surfaces information around all of your lending activity through its intuitive ui which provides a customer support interface as well as at-a-glance data needed for compliance and insights.\nSimply configure your product`s policies through our create product api endpoint, and then you can immediately begin adding customer accounts and relying on canopy for accurate servicing information.\n",
    "contact": {
      "name": "Canopy Support",
      "url": "https://www.canopyservicing.com/contact",
      "email": "support@canopyservicing.com"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "Contact sales to enable your sandbox",
      "description": "Your private sandbox environment"
    },
    {
      "url": "https://demo-api.us.canopyservicing.com",
      "description": "Demo environment"
    }
  ],
  "paths": {
    "/core/v1/borrowers/business": {
      "post": {
        "tags": [
          "Borrowers"
        ],
        "summary": "Create a new business borrower",
        "description": "Creates a new business borrower.",
        "operationId": "BorrowersCBV_create_business_borrower_core_v1_borrowers_business_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBusinessInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns the created business borrower",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer"
                }
              }
            }
          },
          "400": {
            "description": "Your request is invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrBadRequestSchema"
                }
              }
            }
          },
          "404": {
            "description": "Entity not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrNotFoundSchema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "500": {
            "description": "A server error has occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrServerErrorSchema"
                }
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AccountDesignation": {
        "properties": {
          "account_id": {
            "type": "string",
            "title": "Account Id",
            "description": "the ID of the account associated with the customer"
          },
          "designation": {
            "$ref": "#/components/schemas/Designation",
            "description": "The designation of the customer for the account.",
            "examples": [
              "INDIVIDUAL"
            ]
          }
        },
        "type": "object",
        "title": "AccountDesignation"
      },
      "AddressCountryCode": {
        "type": "string",
        "enum": [
          "US",
          "GB",
          "CA",
          "AF",
          "AX",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AQ",
          "AG",
          "AR",
          "AM",
          "AN",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BA",
          "BW",
          "BV",
          "BR",
          "IO",
          "BN",
          "BG",
          "BF",
          "BI",
          "KH",
          "CM",
          "CV",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CX",
          "CC",
          "CO",
          "KM",
          "CG",
          "CD",
          "CK",
          "CR",
          "CI",
          "HR",
          "CU",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "ET",
          "FK",
          "FO",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "TF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GG",
          "GN",
          "GW",
          "GY",
          "HT",
          "HM",
          "VA",
          "HN",
          "HK",
          "HU",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IM",
          "IL",
          "IT",
          "JM",
          "JP",
          "JE",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KR",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LS",
          "LR",
          "LY",
          "LI",
          "LT",
          "LU",
          "MO",
          "MK",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "FM",
          "MD",
          "MC",
          "MN",
          "ME",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NF",
          "MP",
          "NO",
          "OM",
          "PK",
          "PW",
          "PS",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PN",
          "PL",
          "PT",
          "PR",
          "QA",
          "RE",
          "RO",
          "RU",
          "RW",
          "BL",
          "SH",
          "KN",
          "LC",
          "MF",
          "PM",
          "VC",
          "WS",
          "SM",
          "ST",
          "SA",
          "SN",
          "RS",
          "SC",
          "SL",
          "SG",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "GS",
          "ES",
          "LK",
          "SD",
          "SR",
          "SJ",
          "SZ",
          "SE",
          "CH",
          "SY",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TL",
          "TG",
          "TK",
          "TO",
          "TT",
          "TN",
          "TR",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "UM",
          "UY",
          "UZ",
          "VU",
          "VE",
          "VN",
          "VG",
          "VI",
          "WF",
          "EH",
          "YE",
          "ZM",
          "ZW"
        ],
        "title": "AddressCountryCode"
      },
      "AddressType": {
        "type": "string",
        "enum": [
          "CONFIRMED",
          "KNOWN",
          "NOT_CONFIRMED",
          "MILITARY",
          "SECONDARY",
          "BUSINESS",
          "UNDELIVERABLE",
          "DEFAULT",
          "BILL_PAYER_SERVICE"
        ],
        "title": "AddressType"
      },
      "AssignToAccount": {
        "properties": {
          "account_id": {
            "type": "string",
            "title": "Account Id",
            "description": "This is generated by Canopy. A unique ID for the account.",
            "examples": [
              "31mNprzLd2bKl6koVna68ARM"
            ]
          },
          "customer_account_role": {
            "$ref": "#/components/schemas/CustomerAccountRole",
            "description": "The role of the customer for the account.",
            "examples": [
              "PRIMARY"
            ]
          },
          "customer_account_external_id": {
            "type": "string",
            "title": "Customer Account External Id",
            "description": "A unique number for the customer on the account. For instance, a credit card number. If none is provided, a Canopy-generated ID can be used.",
            "examples": [
              "4465220133024156"
            ]
          },
          "designation": {
            "$ref": "#/components/schemas/Designation",
            "description": "The designation of the customer for the account.",
            "examples": [
              "INDIVIDUAL"
            ]
          }
        },
        "type": "object",
        "required": [
          "account_id",
          "customer_account_role"
        ],
        "title": "AssignToAccount"
      },
      "BloomMetadata-Output": {
        "properties": {
          "address_type": {
            "$ref": "#/components/schemas/AddressType",
            "description": "Status of the reported address.",
            "examples": [
              "CONFIRMED"
            ]
          },
          "residence_type": {
            "$ref": "#/components/schemas/ResidenceType",
            "description": "Optional, if not available or unknown, do not report.",
            "examples": [
              "OWNS"
            ]
          },
          "account_designations": {
            "items": {
              "$ref": "#/components/schemas/AccountDesignation"
            },
            "type": "array",
            "title": "Account Designations",
            "description": "A list of accounts associated with the customer."
          }
        },
        "type": "object",
        "title": "BloomMetadata"
      },
      "BusinessDetails-Output": {
        "properties": {
          "business_legal_name": {
            "type": "string",
            "title": "Business Legal Name",
            "description": "The legal name of the Business.",
            "examples": [
              "Umbrella Corporation"
            ]
          },
          "doing_business_as": {
            "type": "string",
            "title": "Doing Business As",
            "description": "The DBA name of the Business.",
            "examples": [
              "Umbrella"
            ]
          },
          "business_ein": {
            "type": "string",
            "title": "Business Ein",
            "description": "EIN of the business, expected format in NN-NNNNNNN.",
            "examples": [
              "888-888888"
            ]
          },
          "business_type": {
            "$ref": "#/components/schemas/BusinessType",
            "description": "Type of business is used in determining the appropriate validation.",
            "examples": [
              "llc"
            ]
          },
          "business_classification_id": {
            "type": "string",
            "title": "Business Classification Id",
            "description": "UUID that references the business classification. This will eventually be supported by a reference api, however, for now refer to dwolla's specific UUID.",
            "examples": [
              "794D9D5E-B547-4B3B-8289-76484C1AFC5F"
            ]
          },
          "website": {
            "type": "string",
            "title": "Website",
            "description": "URL for the business's website. This should be publicly resolvable",
            "examples": [
              "https://example.com"
            ]
          },
          "controller": {
            "$ref": "#/components/schemas/Controller"
          }
        },
        "type": "object",
        "title": "BusinessDetails"
      },
      "BusinessType": {
        "type": "string",
        "enum": [
          "sole_proprietorship",
          "llc",
          "unincorporated_association",
          "trust",
          "corporation",
          "corporation_public",
          "non_profile",
          "partnership"
        ],
        "title": "BusinessType"
      },
      "Controller": {
        "properties": {
          "passport": {
            "$ref": "#/components/schemas/PassportDetails"
          },
          "name_prefix": {
            "type": "string",
            "title": "Name Prefix",
            "description": "Prefix to the customer's name.",
            "examples": [
              "Dr."
            ]
          },
          "name_first": {
            "type": "string",
            "title": "Name First",
            "description": "Customer's first name.",
            "examples": [
              "Miriam"
            ]
          },
          "name_middle": {
            "type": "string",
            "title": "Name Middle",
            "description": "Customer's middle name.",
            "examples": [
              "Louise"
            ]
          },
          "name_last": {
            "type": "string",
            "title": "Name Last",
            "description": "Customer's last name.",
            "examples": [
              "Trevino"
            ]
          },
          "name_suffix": {
            "type": "string",
            "title": "Name Suffix",
            "description": "Suffix to the customer's name.",
            "examples": [
              "Jr"
            ]
          },
          "address_line_one": {
            "type": "string",
            "title": "Address Line One",
            "description": "Address line one.",
            "examples": [
              "12 Strawberry Road"
            ]
          },
          "address_line_two": {
            "type": "string",
            "title": "Address Line Two",
            "description": "Address line two.",
            "examples": [
              "Suite 101"
            ]
          },
          "address_city": {
            "type": "string",
            "title": "Address City",
            "description": "Address city.",
            "examples": [
              "Atlanta"
            ]
          },
          "address_state": {
            "type": "string",
            "title": "Address State",
            "description": "Address state.",
            "examples": [
              "GA"
            ]
          },
          "address_zip": {
            "type": "string",
            "title": "Address Zip",
            "description": "Five digit zipcode or nine digit 'ZIP+4'.",
            "examples": [
              "99999-1000"
            ]
          },
          "address_country_code": {
            "$ref": "#/components/schemas/AddressCountryCode",
            "description": "ISO 3166-1 alpha-2 country code for the customer.",
            "examples": [
              "US"
            ]
          },
          "date_of_birth": {
            "type": "string",
            "format": "date",
            "title": "Date Of Birth",
            "description": "Customer's date of birth in ISO 8601 format",
            "examples": [
              "1985-06-20"
            ]
          },
          "email": {
            "type": "string",
            "title": "Email",
            "description": "The email address of this Customer",
            "examples": [
              "foo@example.com"
            ]
          },
          "title": {
            "type": "string",
            "title": "Title",
            "description": "Title of the customer if a person OR title of the admin if a business",
            "examples": [
              "CFO"
            ]
          },
          "phone_number": {
            "type": "string",
            "title": "Phone Number",
            "description": "Customer's phone number in E.164 format.",
            "examples": [
              "+14105556789"
            ]
          },
          "ssn": {
            "type": "string",
            "title": "Ssn",
            "description": "Social security number of the customer.",
            "examples": [
              "888888888"
            ]
          }
        },
        "type": "object",
        "required": [
          "address_line_one",
          "address_city",
          "address_state",
          "address_zip"
        ],
        "title": "Controller"
      },
      "CreateBusinessInput": {
        "properties": {
          "address_line_one": {
            "type": "string",
            "title": "Address Line One",
            "description": "Address line one.",
            "examples": [
              "12 Strawberry Road"
            ]
          },
          "address_line_two": {
            "type": "string",
            "title": "Address Line Two",
            "description": "Address line two.",
            "examples": [
              "Suite 101"
            ]
          },
          "address_city": {
            "type": "string",
            "title": "Address City",
            "description": "Address city.",
            "examples": [
              "Atlanta"
            ]
          },
          "address_state": {
            "type": "string",
            "title": "Address State",
            "description": "Address state.",
            "examples": [
              "GA"
            ]
          },
          "address_zip": {
            "type": "string",
            "title": "Address Zip",
            "description": "Five digit zipcode or nine digit 'ZIP+4'.",
            "examples": [
              "99999-1000"
            ]
          },
          "address_country_code": {
            "$ref": "#/components/schemas/AddressCountryCode",
            "description": "ISO 3166-1 alpha-2 country code for the customer.",
            "examples": [
              "US"
            ]
          },
          "customer_id": {
            "type": "string",
            "title": "Customer Id",
            "description": "The ID associated to be with the business for future requests. If not provided on customer creation, Canopy will generate this field.",
            "examples": [
              "0x1234"
            ]
          },
          "customer_parent_id": {
            "type": "string",
            "title": "Customer Parent Id",
            "description": "The business can be a child to another parent customer (business or person).",
            "examples": [
              "cust_583"
            ]
          },
          "verification_status": {
            "$ref": "#/components/schemas/VerificationStatus-Input",
            "description": "The verification status of this customer. The default is 'unverified'. Depending on the system's configuration verification with third parties will happen and the status will be updated based on the result.",
            "examples": [
              "verified"
            ]
          },
          "title": {
            "type": "string",
            "title": "Title",
            "description": "Title of the business admin",
            "examples": [
              "CFO"
            ]
          },
          "phone_number": {
            "type": "string",
            "title": "Phone Number",
            "description": "Business phone number in E.164 format.",
            "examples": [
              "+14105556789"
            ]
          },
          "email": {
            "type": "string",
            "title": "Email",
            "description": "The business's email address.",
            "default": "",
            "examples": [
              "marissa@protonmail.com"
            ]
          },
          "business_legal_name": {
            "type": "string",
            "title": "Business Legal Name",
            "description": "The legal name of the Business.",
            "examples": [
              "Umbrella Corporation"
            ]
          },
          "doing_business_as": {
            "type": "string",
            "title": "Doing Business As",
            "description": "The DBA name of the Business.",
            "examples": [
              "Umbrella"
            ]
          },
          "business_ein": {
            "type": "string",
            "title": "Business Ein",
            "description": "EIN of the business, expected format in NN-NNNNNNN.",
            "examples": [
              "888-888888"
            ]
          },
          "business_type": {
            "$ref": "#/components/schemas/BusinessType",
            "description": "Type of business is used in determining the appropriate validation.",
            "examples": [
              "llc"
            ]
          },
          "website": {
            "type": "string",
            "title": "Website",
            "description": "URL for the business's website. This should be publicly resolvable",
            "examples": [
              "https://example.com"
            ]
          },
          "assign_to_accounts": {
            "items": {
              "$ref": "#/components/schemas/AssignToAccount"
            },
            "type": "array",
            "maxItems": 100,
            "title": "Assign To Accounts"
          },
          "attributes": {
            "additionalProperties": {},
            "type": "object",
            "title": "Attributes",
            "description": "Arbitrary customer attributes"
          }
        },
        "type": "object",
        "required": [
          "address_line_one",
          "address_city",
          "address_state",
          "address_zip",
          "business_legal_name"
        ],
        "title": "CreateBusinessInput"
      },
      "Customer": {
        "properties": {
          "passport": {
            "$ref": "#/components/schemas/PassportDetails"
          },
          "name_prefix": {
            "type": "string",
            "title": "Name Prefix",
            "description": "Prefix to the customer's name.",
            "examples": [
              "Dr."
            ]
          },
          "name_first": {
            "type": "string",
            "title": "Name First",
            "description": "Customer's first name.",
            "examples": [
              "Miriam"
            ]
          },
          "name_middle": {
            "type": "string",
            "title": "Name Middle",
            "description": "Customer's middle name.",
            "examples": [
              "Louise"
            ]
          },
          "name_last": {
            "type": "string",
            "title": "Name Last",
            "description": "Customer's last name.",
            "examples": [
              "Trevino"
            ]
          },
          "name_suffix": {
            "type": "string",
            "title": "Name Suffix",
            "description": "Suffix to the customer's name.",
            "examples": [
              "Jr"
            ]
          },
          "address_line_one": {
            "type": "string",
            "title": "Address Line One",
            "description": "Address line one.",
            "examples": [
              "12 Strawberry Road"
            ]
          },
          "address_line_two": {
            "type": "string",
            "title": "Address Line Two",
            "description": "Address line two.",
            "examples": [
              "Suite 101"
            ]
          },
          "address_city": {
            "type": "string",
            "title": "Address City",
            "description": "Address city.",
            "examples": [
              "Atlanta"
            ]
          },
          "address_state": {
            "type": "string",
            "title": "Address State",
            "description": "Address state.",
            "examples": [
              "GA"
            ]
          },
          "address_zip": {
            "type": "string",
            "title": "Address Zip",
            "description": "Five digit zipcode or nine digit 'ZIP+4'.",
            "examples": [
              "99999-1000"
            ]
          },
          "address_country_code": {
            "$ref": "#/components/schemas/AddressCountryCode",
            "description": "ISO 3166-1 alpha-2 country code for the customer.",
            "examples": [
              "US"
            ]
          },
          "customer_id": {
            "type": "string",
            "title": "Customer Id",
            "description": "An ID for the customer.",
            "examples": [
              "31mNprzLd2bKl6koVna68ARM"
            ]
          },
          "customer_parent_id": {
            "type": "string",
            "title": "Customer Parent Id",
            "description": "An ID for the customer's parent.",
            "examples": [
              "31mNprzLd2bKl6koVna68ARM"
            ]
          },
          "organization_id": {
            "type": "integer",
            "title": "Organization Id",
            "description": "The ID of the organization that this customer belongs to.",
            "examples": [
              1000
            ]
          },
          "created_at": {
            "type": "string",
            "title": "Created At",
            "description": "The `Date-Time` which the customer was created in the API.",
            "examples": [
              "2017-06-20T09:12:14+00:00"
            ]
          },
          "updated_at": {
            "type": "string",
            "title": "Updated At",
            "description": "The `Date-Time` which the customer was updated in the API.",
            "examples": [
              "2019-02-20T09:12:14+00:00"
            ]
          },
          "customer_type": {
            "$ref": "#/components/schemas/CustomerType",
            "description": "The customer can be either a person or a business. This is used to explicitly set that and adjust behavior such as validation.",
            "examples": [
              "person"
            ]
          },
          "is_active": {
            "type": "boolean",
            "title": "Is Active",
            "description": "Value manually maintained - defaults to true.\"False\" generally indicates no additional credit should be granted to this customer",
            "examples": [
              true
            ]
          },
          "verification_status": {
            "$ref": "#/components/schemas/VerificationStatus-Output",
            "description": "The verification status of this customer. The default is 'unverified'. Depending on the system's configuration verification with third parties will happen and the status will be updated based on the result.",
            "examples": [
              "verified"
            ]
          },
          "title": {
            "type": "string",
            "title": "Title",
            "description": "Title of the customer if a person OR title of the admin if a business",
            "examples": [
              "CFO"
            ]
          },
          "phone_number": {
            "type": "string",
            "title": "Phone Number",
            "description": "Customer's phone number in E.164 format",
            "examples": [
              "+14105556789"
            ]
          },
          "ssn": {
            "type": "string",
            "title": "Ssn",
            "description": "Social security number of the customer.",
            "examples": [
              "888888888"
            ]
          },
          "international_customer_id": {
            "type": "string",
            "title": "International Customer Id",
            "description": "Any country-specific unique identifier for the customer.",
            "examples": [
              "9999999999"
            ]
          },
          "email": {
            "type": "string",
            "title": "Email",
            "description": "The email address of this Customer",
            "examples": [
              "marissa@protonmail.com"
            ]
          },
          "date_of_birth": {
            "type": "string",
            "title": "Date Of Birth",
            "description": "Customer's date of birth in ISO 8601 format",
            "examples": [
              "1985-06-20"
            ]
          },
          "customer_balances": {
            "$ref": "#/components/schemas/CustomerBalances"
          },
          "customer_entity_counts": {
            "$ref": "#/components/schemas/CustomerEntityCounts"
          },
          "business_details": {
            "$ref": "#/components/schemas/BusinessDetails-Output"
          },
          "metro2_config": {
            "$ref": "#/components/schemas/CustomerMetro2Config-Output"
          },
          "attributes": {
            "additionalProperties": {},
            "type": "object",
            "title": "Attributes",
            "description": "Arbitrary customer attributes",
            "examples": [
              {
                "foo": "bar"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "address_line_one",
          "address_city",
          "address_state",
          "address_zip",
          "customer_id"
        ],
        "title": "Customer"
      },
      "CustomerAccountRole": {
        "type": "string",
        "enum": [
          "PRIMARY",
          "SECONDARY"
        ],
        "title": "CustomerAccountRole"
      },
      "CustomerBalances": {
        "properties": {
          "num_active_accounts": {
            "type": "integer",
            "title": "Num Active Accounts",
            "description": "The number of active accounts for this customer.",
            "examples": [
              2
            ]
          },
          "total_balance_cents": {
            "type": "integer",
            "title": "Total Balance Cents",
            "description": "The total outstanding balance (in cents) associated with all active accounts for this customer. This balance is comprised of the sum of the following six balance items.",
            "examples": [
              300000
            ]
          },
          "principal_cents": {
            "type": "integer",
            "title": "Principal Cents",
            "description": "The total principal balance (in cents) associated with all active accounts for this customer.",
            "examples": [
              200000
            ]
          },
          "interest_balance_cents": {
            "type": "integer",
            "title": "Interest Balance Cents",
            "description": "The total interest balance (in cents) associated with all active accounts for this customer.",
            "examples": [
              60000
            ]
          },
          "am_interest_balance_cents": {
            "type": "integer",
            "title": "Am Interest Balance Cents",
            "description": "The total AM interest balance (in cents) associated with all active accounts for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          },
          "deferred_interest_balance_cents": {
            "type": "integer",
            "title": "Deferred Interest Balance Cents",
            "description": "The total deferred interest balance (in cents) associated with all active accounts for this customer.",
            "default": 0,
            "examples": [
              40000
            ]
          },
          "am_deferred_interest_balance_cents": {
            "type": "integer",
            "title": "Am Deferred Interest Balance Cents",
            "description": "The total AM deferred interest balance (in cents) associated with all active accounts for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          },
          "fees_balance_cents": {
            "type": "integer",
            "title": "Fees Balance Cents",
            "description": "The total fees balance (in cents) associated with all active accounts for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          }
        },
        "type": "object",
        "title": "CustomerBalances"
      },
      "CustomerEntityCounts": {
        "properties": {
          "financing_requests_pending_count": {
            "type": "integer",
            "title": "Financing Requests Pending Count",
            "description": "The number of financing requests in the pending state for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          },
          "financing_requests_approved_count": {
            "type": "integer",
            "title": "Financing Requests Approved Count",
            "description": "The number of financing requests in the approved state for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          },
          "financing_requests_rejected_count": {
            "type": "integer",
            "title": "Financing Requests Rejected Count",
            "description": "The number of financing requests in the rejected state for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          },
          "financing_requests_converted_count": {
            "type": "integer",
            "title": "Financing Requests Converted Count",
            "description": "The number of financing requests in the converted state for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          },
          "financing_requests_in_review_count": {
            "type": "integer",
            "title": "Financing Requests In Review Count",
            "description": "The number of financing requests in the in_review state for this customer.",
            "default": 0,
            "examples": [
              0
            ]
          }
        },
        "type": "object",
        "title": "CustomerEntityCounts"
      },
      "CustomerMetro2Config-Output": {
        "properties": {
          "bloom_metadata": {
            "$ref": "#/components/schemas/BloomMetadata-Output",
            "description": "Bloom API fields for customers: https://docs.bloom.dev/docs/furnishment-api/b3A6MjA1NTM1MQ-create-consumer"
          }
        },
        "type": "object",
        "title": "CustomerMetro2Config"
      },
      "CustomerType": {
        "type": "string",
        "enum": [
          "person",
          "business"
        ],
        "title": "CustomerType"
      },
      "Designation": {
        "type": "string",
        "enum": [
          "INDIVIDUAL",
          "JOINT_CONTRACTUAL_LIABILITY",
          "AUTHORIZED_USER",
          "COMAKER_OR_GUARANTOR",
          "MAKER",
          "BUSINESS_COMMERCIAL",
          "DECEASED"
        ],
        "title": "Designation"
      },
      "ErrBadRequestSchema": {
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "description": "The error message",
            "examples": [
              "Your request is invalid."
            ]
          }
        },
        "type": "object",
        "required": [
          "message"
        ],
        "title": "ErrBadRequestSchema"
      },
      "ErrNotFoundSchema": {
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "description": "The error message",
            "examples": [
              "Entity not found."
            ]
          }
        },
        "type": "object",
        "required": [
          "message"
        ],
        "title": "ErrNotFoundSchema"
      },
      "ErrServerErrorSchema": {
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "description": "The error message",
            "examples": [
              "A server error has occurred."
            ]
          }
        },
        "type": "object",
        "required": [
          "message"
        ],
        "title": "ErrServerErrorSchema"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "PassportDetails": {
        "properties": {
          "number": {
            "type": "string",
            "title": "Number",
            "description": "Number on the passport",
            "examples": [
              ""
            ]
          },
          "country": {
            "type": "string",
            "title": "Country",
            "description": "ISO 3166-1 Two letter code for the issuing country",
            "examples": [
              "JP"
            ]
          }
        },
        "type": "object",
        "title": "PassportDetails"
      },
      "ResidenceType": {
        "type": "string",
        "enum": [
          "OWNS",
          "RENTS"
        ],
        "title": "ResidenceType"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "VerificationStatus-Input": {
        "type": "string",
        "enum": [
          "verified",
          "unverified"
        ],
        "title": "VerificationStatus"
      },
      "VerificationStatus-Output": {
        "type": "string",
        "enum": [
          "unverified",
          "verified",
          "retry",
          "document"
        ],
        "title": "VerificationStatus"
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "Borrowers",
      "description": "Manage borrowers and business borrowers in Canopy."
    }
  ]
}
```