Create a new identity record (for example, a customer or vendor) in your Blnk Core instance.
For in-depth information about Blnk’s ledger, balance, transaction, and identity APIs, see the Blnk Core docs.
Request structure
curl -X POST "https://api.cloud.blnkfinance.com/proxy/identities?instance_id=YOUR_INSTANCE_ID" \
-H "Authorization: Bearer blnk_at_YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"first_name": "John",
"last_name": "Doe",
"email_address": "[email protected]",
"phone_number": "+1234567890",
"nationality": "US",
"gender": "male",
"dob": "1990-01-01",
"street": "123 Main St",
"city": "New York",
"state": "NY",
"post_code": "10001",
"country": "US",
"category": "individual",
"identity_type": "customer",
"meta_data": {
"myApp": {
"segment": "premium",
"kyc_status": "verified"
}
}
}'
Bearer token for authentication. Format: Bearer <access_token>. Your OAuth key must include proxy:write scope (or *).
First name for the identity.
Last name for the identity.
Other names or aliases for the identity.
Email address for the identity.
Phone number for the identity.
Nationality code for the identity (for example, US).
Gender for the identity (for example, male).
Date of birth for the identity in YYYY-MM-DD format.
Street address for the identity.
State or province for the identity.
Postal code for the identity.
Country code for the identity (for example, US).
Organization name, if the identity represents an organization.
Category for the identity (for example, individual or organization).
Type of identity (for example, customer or vendor).
Optional metadata object for custom key-value data. Use a top-level key (e.g., your app name) to avoid conflicts.
Query parameters
The Blnk Core instance ID to target. Find this in Blnk Cloud under Instances.
Response structure
{
"identity_id": "idt_3b63c8da-af29-4cc3-ad38-df17d87456e6",
"first_name": "John",
"last_name": "Doe",
"other_names": "",
"email_address": "[email protected]",
"phone_number": "+1234567890",
"nationality": "US",
"gender": "male",
"dob": "1990-01-01",
"street": "123 Main St",
"city": "New York",
"state": "NY",
"post_code": "10001",
"country": "US",
"organization_name": "",
"category": "individual",
"identity_type": "customer",
"created_at": "2024-11-26T08:36:36.238244338Z",
"meta_data": {
"myApp": {
"segment": "premium",
"kyc_status": "verified"
}
}
}
Unique identifier for the created identity.
ISO 8601 formatted timestamp of when the identity was created.
Metadata object attached to the identity, if any.
Need help?
If you’re having trouble with Blnk Cloud, don’t hesitate to send us a message via email at [email protected] or send us a message here.