Identities

Get identity

Retrieve an identity by its ID with the Java SDK.

GET/identities/{identity_id}

Use blnk.identity().get for this operation.

Call the method

ApiResponse<JsonNode> response = blnk.identity().get(
    "idt_073f7ffe-9dfd-42ce-aa50-d1dca1788adc"
);
FieldTypeDescription
idStringIdentity ID to retrieve.

Use the identity details

Read response.data() for profile fields, metadata, and creation time. Use the identity ID when linking balances or updating profile data.

Response

{
  "identity_id": "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
  "identity_type": "individual",
  "first_name": "Alice",
  "last_name": "Smith",
  "email_address": "[email protected]",
  "phone_number": "+1234567890",
  "nationality": "Canadian",
  "category": "customer",
  "created_at": "2024-11-26T08:36:36.238244338Z",
  "meta_data": {
    "customer_id": "CUST123456"
  }
}
FieldTypeDescription
identity_idStringUnique ID for the identity.
identity_typeStringindividual or organization.
created_atStringDate and time the identity was created.
meta_dataJsonNodeMetadata stored with the identity.

The response includes every profile field set on the identity.