Identities

Create identity

Create a new identity with the TypeScript SDK.

POST/identities

Use blnk.Identity.create to create an identity for an individual or organization.

Call the method

const response = await blnk.Identity.create({
  identity_type: 'individual',
  first_name: 'Alice',
  last_name: 'Smith',
  email_address: 'alice.smith@example.com',
});
FieldTypeDescription
identity_typestringindividual or organization.

Save the identity ID

Use response.data.identity_id to link balances or update profile details later.

Response

{
  "identity_id": "idt_11111111-1111-4111-8111-111111111111",
  "identity_type": "individual",
  "first_name": "Alice",
  "last_name": "Smith",
  "email_address": "alice.smith@example.com",
  "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. Use it to link balances.
identity_typestringType you passed in the request.
created_atstringDate and time the identity was created.
meta_dataRecord<string, unknown>Metadata stored with the identity.

The response echoes every field you sent.