Skip to main content

CreateQuoteUserDetailCommand

Overview​

Creates a user profile for an anonymous (walk-in) loan applicant who does not have a self-service account. Validates the applicant's biometric identity against core banking, then creates a pre-registration record and initiates OTP email verification.

Command Structure​

{
"cmd": "CreateQuoteUserDetailCommand",
"data": "{\"firstName\":\"Adaeze\",\"lastName\":\"Okafor\",\"mobileNumber\":\"08012345678\",\"emailAddress\":\"adaeze@example.com\",\"dateOfBirth\":\"1990-05-15\",\"gender\":\"Female\",\"mobileCountryCode\":\"+234\",\"biometricsId\":\"BIO123456\"}"
}

Parameters​

ParameterTypeRequiredDescription
firstNamestringYesApplicant's first name
lastNamestringYesApplicant's last name
mobileNumberstringYesPhone number
emailAddressstringYesEmail address
dateOfBirthstring (date)YesDate of birth (ISO 8601)
genderstringYesGender
mobileCountryCodestringYesCountry dial code (e.g. +234)
middleNamestringNoMiddle name
biometricsIdstringYesBiometric reference ID from core banking

Validations​

  • Email address must not already belong to an existing self-service user (blocks duplicate registrations)
  • biometricsId is validated against core banking — returns an error if not found

Process​

  1. Checks that no existing user has the same email
  2. Validates biometric ID in core banking
  3. Creates a QuoteUserDetail record
  4. Creates a SelfServiceUserPreRegistration record
  5. Sends OTP verification email

Response​

{
"ok": true,
"statusCode": "00",
"message": "Quote user profile created successfully.",
"outData": {
"QuoteUserDetailId": 45,
"DisplayName": "Adaeze Okafor",
"RequestId": "2026062891234",
"UserId": 301,
"EmailAddress": "adaeze@example.com",
"VerificationType": "REGISTRATION"
}
}