Create Entity (Banking Connectivity)

Create a WHITELABEL entity representing an individual or organization. Set national_entity to INDIVIDUAL or ENTITY and provide the corresponding entity_detail sub-object. See Entity types for details.

Sensitive fields like tax_id and document_number are masked in responses (only last 4 digits returned).

POST/banking/entities

Header Parameters

x-idempotency-keystringrequired

Unique identifier used in HTTP headers to ensure that a request is processed only once, even if it is retried due to network issues or timeouts. See authentication for details (UUID).

Body application/json

account_idstringrequired

The unique identifier of the merchant’s WHITELABEL account. Found on the WHITELABEL dashboard (UUID, 36 characters).

merchant_entity_idstringrequired

The merchant’s own identifier for this entity, used for reconciliation.

national_entity"INDIVIDUAL" | "ENTITY"required

The type of entity being created.

phoneobjectrequired

The entity’s phone number.

Show phone properties
country_codestringrequired

The phone country code (e.g., +1).

numberstringrequired

The phone number without the country code.

addressobjectrequired

The entity’s primary address.

Show address properties
address_line_1stringrequired

The primary street address.

address_line_2string

The secondary address line (apartment, suite, etc.).

building_number_1string

The primary building number.

building_number_2string

The secondary building number.

citystringrequired

The city name.

statestringrequired

The state or province.

zip_codestringrequired

The postal or ZIP code.

countrystringrequired

The country code (ISO 3166-1 alpha-2).

entity_detailobjectrequired

The detailed information for the entity. Provide either individual or entity based on the national_entity value.

Show entity_detail properties
individualobject

Individual person details. Required when national_entity is INDIVIDUAL.

Show individual properties
first_namestring

The individual’s first name.

last_namestring

The individual’s last name.

emailstring

The individual’s email address.

date_of_birthstring

The date of birth (YYYY-MM-DD).

gender"M" | "F"

The individual’s gender.

country_of_residencestring

The country of residence (ISO 3166-1 alpha-2).

tax_informationobject[]

Tax identification records for the individual.

Show tax_information properties
countrystringrequired

The tax jurisdiction country code.

tax_idstringrequired

The tax identification number.

tax_id_type"SSN" | "EIN" | "ITIN" | "VAT" | "ABN" | "NIF" | "TIN" | "OTHER"required

The type of tax identification.

is_primarybooleanrequired

Whether this is the primary tax residency.

documentobject

The primary identification document.

Show document properties
document_typestringrequired

The type of identity document.

document_numberstringrequired

The document number.

issuing_countrystringrequired

The country that issued the document (ISO 3166-1 alpha-2).

issued_atstring

The date the document was issued (YYYY-MM-DD).

expires_atstring

The document expiration date (YYYY-MM-DD).

entityobject

Business or organization details. Required when national_entity is ENTITY.

Show entity properties
namestring

The business or organization name.

countrystring

The country of incorporation (ISO 3166-1 alpha-2).

tax_informationobject[]

Business tax identification records.

Show tax_information properties
countrystringrequired

The tax jurisdiction country code.

tax_idstringrequired

The tax identification number.

tax_id_type"SSN" | "EIN" | "ITIN" | "VAT" | "ABN" | "NIF" | "TIN" | "OTHER"required

The type of tax identification.

is_primarybooleanrequired

Whether this is the primary tax residency.

entity_type"CORPORATION"

The type of business entity.

beneficial_ownersobject[]

The beneficial owners of the business entity.

Show beneficial_owners properties
first_namestringrequired

The owner’s first name.

last_namestringrequired

The owner’s last name.

emailstringrequired

The owner’s email address.

date_of_birthstringrequired

The owner’s date of birth (YYYY-MM-DD).

gender"M" | "F"

The owner’s gender.

country_of_residencestringrequired

The owner’s country of residence (ISO 3166-1 alpha-2).

tax_informationobject[]

Tax identification records for the owner.

Show tax_information properties
countrystring

The tax jurisdiction country code.

tax_idstring

The tax identification number.

tax_id_type"SSN" | "EIN" | "ITIN" | "VAT" | "ABN" | "NIF" | "TIN" | "OTHER"

The type of tax identification.

is_primaryboolean

Whether this is the primary tax residency.

documentobject

The owner’s primary identification document.

Show document properties
document_typestring

The type of identity document.

document_numberstring

The document number.

issuing_countrystring

The country that issued the document.

issued_atstring

The date the document was issued (YYYY-MM-DD).

expires_atstring

The document expiration date (YYYY-MM-DD).

ownership_percentagenumberrequired

The percentage of ownership in the business (0-100).

titlestring

The owner’s title or role in the organization.

addressobject

The owner’s residential address.

Show address properties
address_line_1string

The primary street address.

address_line_2string

The secondary address line.

building_number_1string

The primary building number.

building_number_2string

The secondary building number.

citystring

The city name.

statestring

The state or province.

zip_codestring

The postal or ZIP code.

countrystring

The country code (ISO 3166-1 alpha-2).

Response

Created (Individual)

idstring
account_idstring
merchant_entity_idstring
national_entitystring
phoneobject
Show phone properties
country_codestring
numberstring
addressobject
Show address properties
address_line_1string
address_line_2any
building_number_1string
building_number_2any
citystring
statestring
zip_codestring
countrystring
entity_detailobject
Show entity_detail properties
individualany
entityobject
Show entity properties
namestring
countrystring
tax_informationobject[]
Show tax_information properties
countrystring
tax_id_last_4string
tax_id_typestring
is_primaryboolean
entity_typestring
beneficial_ownersobject[]
Show beneficial_owners properties
first_namestring
last_namestring
emailstring
date_of_birthstring
genderstring
country_of_residencestring
tax_informationobject[]
Show tax_information properties
countrystring
tax_id_last_4string
tax_id_typestring
is_primaryboolean
documentobject
Show document properties
document_typestring
document_number_last_4string
issuing_countrystring
issued_atstring
expires_atany
ownership_percentageinteger
titlestring
addressobject
Show address properties
address_line_1string
address_line_2any
building_number_1string
building_number_2any
citystring
statestring
zip_codestring
countrystring
created_atstring
updated_atstring

Bad Request

codestring
messagesstring[]
http_codeinteger

Conflict

Request
curl -X POST "https://api-sandbox.whitelabel.com/v1/banking/entities" \
  -H "Content-Type: application/json" \
  -H "x-idempotency-key: <x-idempotency-key>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>" \
  -d '{
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "merchant_entity_id": "merchant_user_12345",
  "national_entity": "INDIVIDUAL",
  "phone": {
    "country_code": "+1",
    "number": "2025551234"
  },
  "address": {
    "address_line_1": "123 Main St",
    "address_line_2": "Apt 4B",
    "building_number_1": "123",
    "building_number_2": null,
    "city": "San Francisco",
    "state": "CA",
    "zip_code": "94102",
    "country": "US"
  },
  "entity_detail": {
    "individual": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john@example.com",
      "date_of_birth": "1990-01-15",
      "gender": "M",
      "country_of_residence": "US",
      "tax_information": [
        {
          "country": "US",
          "tax_id": "123-45-6789",
          "tax_id_type": "SSN",
          "is_primary": true
        }
      ],
      "document": {
        "document_type": "SSN",
        "document_number": "123-45-6789",
        "issuing_country": "US",
        "issued_at": "2010-01-15",
        "expires_at": "2030-01-15"
      }
    },
    "entity": {
      "name": "Acme Corporation Inc",
      "country": "US",
      "tax_information": [
        {
          "country": "US",
          "tax_id": "12-3456789",
          "tax_id_type": "EIN",
          "is_primary": true
        }
      ],
      "entity_type": "CORPORATION",
      "beneficial_owners": [
        {
          "first_name": "Jane",
          "last_name": "Smith",
          "email": "jane@acme.com",
          "date_of_birth": "1985-03-20",
          "gender": "F",
          "country_of_residence": "US",
          "tax_information": [
            {
              "country": "US",
              "tax_id": "987-65-4321",
              "tax_id_type": "SSN",
              "is_primary": true
            }
          ],
          "document": {
            "document_type": "SSN",
            "document_number": "987-65-4321",
            "issuing_country": "US",
            "issued_at": "2005-03-20",
            "expires_at": null
          },
          "ownership_percentage": 100,
          "title": "CEO",
          "address": {
            "address_line_1": "789 Oak St",
            "address_line_2": null,
            "building_number_1": "789",
            "building_number_2": null,
            "city": "San Francisco",
            "state": "CA",
            "zip_code": "94103",
            "country": "US"
          }
        }
      ]
    }
  }
}'
Response
{
  "id": "ent_770e8400-e29b-41d4-a716-446655440000",
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "merchant_entity_id": "merchant_company_789",
  "national_entity": "ENTITY",
  "phone": {
    "country_code": "+1",
    "number": "4155551234"
  },
  "address": {
    "address_line_1": "456 Market St",
    "address_line_2": null,
    "building_number_1": "456",
    "building_number_2": null,
    "city": "San Francisco",
    "state": "CA",
    "zip_code": "94102",
    "country": "US"
  },
  "entity_detail": {
    "individual": null,
    "entity": {
      "name": "Acme Corporation Inc",
      "country": "US",
      "tax_information": [
        {
          "country": "US",
          "tax_id_last_4": "6789",
          "tax_id_type": "EIN",
          "is_primary": true
        }
      ],
      "entity_type": "CORPORATION",
      "beneficial_owners": [
        {
          "first_name": "Jane",
          "last_name": "Smith",
          "email": "jane@acme.com",
          "date_of_birth": "1985-03-20",
          "gender": "F",
          "country_of_residence": "US",
          "tax_information": [
            {
              "country": "US",
              "tax_id_last_4": "4321",
              "tax_id_type": "SSN",
              "is_primary": true
            }
          ],
          "document": {
            "document_type": "SSN",
            "document_number_last_4": "4321",
            "issuing_country": "US",
            "issued_at": "2005-03-20",
            "expires_at": null
          },
          "ownership_percentage": 100,
          "title": "CEO",
          "address": {
            "address_line_1": "789 Oak St",
            "address_line_2": null,
            "building_number_1": "789",
            "building_number_2": null,
            "city": "San Francisco",
            "state": "CA",
            "zip_code": "94103",
            "country": "US"
          }
        }
      ]
    }
  },
  "created_at": "2026-02-01T10:00:00Z",
  "updated_at": "2026-02-01T10:00:00Z"
}