Skip to main content

Add User

The Add User API allows you to register an individual customer for transaction monitoring. This creates a new user profile that can then be tracked for transaction activity and compliance purposes.

API Endpoint​

POST {base_url}/transactions/customers/AddUser

Request Format​

This endpoint accepts a POST request with a JSON body.

Request Headers​

Authorization: Bearer {token}
Content-Type: application/json

Request Body​

{
"entityType": "Individual",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"mobileNumber": "+966501234567",
"tenantId": "your_tenant_id",
"transactionMonitoring": {
"userType": "TMIndividual",
"country": "SA"
}
}

Request Fields​

FieldTypeRequiredDescription
entityTypestringYesEntity type — accepted value: Individual
firstNamestringYesCustomer's first name
lastNamestringYesCustomer's last name
emailstringNoCustomer's email address
mobileNumberstringNoCustomer's mobile number
tenantIdstringYesYour tenant identifier
transactionMonitoringobjectYesTransaction monitoring configuration
transactionMonitoring.userTypestringYesUser type — accepted value: TMIndividual
transactionMonitoring.countrystringYes2-letter ISO country code (e.g., SA, AE)

Response Format​

{
"version": null,
"statusCode": 200,
"messages": [
"Processed successfully"
],
"result": "70815d4e-0c3e-446c-a823-08e8db61a514"
}

Response Fields​

FieldTypeDescription
versionstringAPI version (nullable)
statusCodenumberHTTP status code
messagesstring[]Response messages
resultstringThe unique identifier (UUID) of the newly created user

Example Usage​

cURL Example​

curl -X POST \
'{base_url}/transactions/customers/AddUser' \
-H 'Authorization: Bearer your_token_here' \
-H 'Content-Type: application/json' \
-d '{
"entityType": "Individual",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"mobileNumber": "+966501234567",
"tenantId": "your_tenant_id",
"transactionMonitoring": {
"userType": "TMIndividual",
"country": "SA"
}
}'

Error Handling​

Status CodeDescriptionSolution
400Invalid request — first name or last name is empty/whitespaceEnsure required fields are provided
401UnauthorizedVerify your authentication token
403ForbiddenCheck that your account has the FillKyc permission
409Tenant user limit exceededContact support to increase your user limit
500Internal server errorContact support with the error details