Get Entity Details (Banking Connectivity)

Retrieve the details of an existing entity. Sensitive fields are masked in the response.

GET/banking/entities/{entity_id}

Path Parameters

entity_idstringrequired

The id of the entity obtained from Create Entity

Response

account_idstring
merchant_entity_idstring
national_entitystring
phoneobject
Show phone properties
country_codestring
numberstring
addressobject
Show address properties
address_line_1string
address_line_2string
building_number_1string
building_number_2any
citystring
statestring
zip_codestring
countrystring
entity_detailobject
Show entity_detail properties
individualobject
Show individual properties
first_namestring
last_namestring
emailstring
date_of_birthstring
genderstring
country_of_residencestring
tax_informationobject[]
Show tax_information properties
countrystring
tax_idstring
tax_id_typestring
is_primaryboolean
documentobject
Show document properties
document_typestring
document_numberstring
issuing_countrystring
issued_atstring
expires_atstring
entityany

Unauthorized

Not Found

Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/banking/entities/<entity_id>" \
  -H "public-api-key: <public-api-key>" \
  -H "private-secret-key: <private-secret-key>"
Response
{
  "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": null
  }
}