Management
Get Customer
Retrieve a single customer by ID or wallet address
GET
/
customers
/
api
/
manage
/
{identifier}
curl "https://api.trusset.org/customers/api/manage/0xAbC123dEf456789012345678901234567890AbCd" \
-H "X-API-Key: trusset_abc123xy_secret..."
const response = await fetch(
'https://api.trusset.org/customers/api/manage/0xAbC123dEf456789012345678901234567890AbCd',
{ headers: { 'X-API-Key': 'trusset_abc123xy_secret...' } }
);
const { data: customer } = await response.json();
{
"success": true,
"data": {
"id": "cust_abc123",
"instanceId": "inst_xyz789",
"walletAddress": "0xAbC123dEf456789012345678901234567890AbCd",
"country": "DE",
"investorType": "PROFESSIONAL",
"status": "verified",
"verifiedAt": "2025-03-01T10:00:00.000Z",
"onChainTxHash": "0x1234...abcd",
"kycHash": "0xdeadbeef...",
"archived": false,
"createdAt": "2025-02-15T08:00:00.000Z"
},
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-06-15T12:00:00.000Z"
}
}
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Customer not found"
},
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-06-15T12:00:00.000Z"
}
}
Returns a customer record by its internal ID or wallet address. The lookup is scoped to the authenticated instance.
Path Parameters
Customer ID (e.g.,
cust_abc123) or Ethereum wallet address.Response Fields
Request status
Full customer object
curl "https://api.trusset.org/customers/api/manage/0xAbC123dEf456789012345678901234567890AbCd" \
-H "X-API-Key: trusset_abc123xy_secret..."
const response = await fetch(
'https://api.trusset.org/customers/api/manage/0xAbC123dEf456789012345678901234567890AbCd',
{ headers: { 'X-API-Key': 'trusset_abc123xy_secret...' } }
);
const { data: customer } = await response.json();
{
"success": true,
"data": {
"id": "cust_abc123",
"instanceId": "inst_xyz789",
"walletAddress": "0xAbC123dEf456789012345678901234567890AbCd",
"country": "DE",
"investorType": "PROFESSIONAL",
"status": "verified",
"verifiedAt": "2025-03-01T10:00:00.000Z",
"onChainTxHash": "0x1234...abcd",
"kycHash": "0xdeadbeef...",
"archived": false,
"createdAt": "2025-02-15T08:00:00.000Z"
},
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-06-15T12:00:00.000Z"
}
}
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Customer not found"
},
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-06-15T12:00:00.000Z"
}
}
⌘I
curl "https://api.trusset.org/customers/api/manage/0xAbC123dEf456789012345678901234567890AbCd" \
-H "X-API-Key: trusset_abc123xy_secret..."
const response = await fetch(
'https://api.trusset.org/customers/api/manage/0xAbC123dEf456789012345678901234567890AbCd',
{ headers: { 'X-API-Key': 'trusset_abc123xy_secret...' } }
);
const { data: customer } = await response.json();
{
"success": true,
"data": {
"id": "cust_abc123",
"instanceId": "inst_xyz789",
"walletAddress": "0xAbC123dEf456789012345678901234567890AbCd",
"country": "DE",
"investorType": "PROFESSIONAL",
"status": "verified",
"verifiedAt": "2025-03-01T10:00:00.000Z",
"onChainTxHash": "0x1234...abcd",
"kycHash": "0xdeadbeef...",
"archived": false,
"createdAt": "2025-02-15T08:00:00.000Z"
},
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-06-15T12:00:00.000Z"
}
}
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Customer not found"
},
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-06-15T12:00:00.000Z"
}
}
