Skip to main content

Identity and business verification

Use the institution's verification API to check BVN, NIN, CAC registrations and tax numbers, or compare a customer's selfie with a BVN/NIN portrait. The bank enables verification and supplies its own QoreID credentials in Operations → Configurations → Configuration. Integrators use their normal CoreWave bank API token; do not collect or send the bank's QoreID secret.

In Configuration, save QoreID Client ID and QoreID Client Secret first, then set QoreID Verification Enabled to Yes. Set it to No to disable new checks. The secret is encrypted and shown only as configured; leaving its editor blank retains the saved secret. To remove it, first disable QoreID verification, then select Remove the saved secret in the secret’s Configuration editor. The client ID is limited to 300 characters and the secret to 1000. A saved secret that cannot be decrypted must be replaced before verification can be enabled.

Obtain the subject's permission before each check. Confirm the required products are active on the bank's provider subscription. Provider charges may apply. A returned record or face comparison is evidence for the bank's review; it does not automatically approve KYC.

Choose a check​

Call GET /api/verification/v1/services. Check data.enabled before starting a new verification.

ServicePurposeAdditional required fields
bvn-consentObtain the customer's NIBSS consent linkNone
bvnRetrieve BVN information after NIBSS consentNone
bvn-basicBVN core information and supplied-name checksfirstName, lastName
ninNIN identity information and supplied-name checksfirstName, lastName
nin-premiumExpanded NIN information, if subscribedfirstName, lastName
cacCAC registration detailsNone; use an RC, BN or IT registration number
tinBusiness tax registration detailsNone
bvn-photoCompare a selfie with a BVN portraitphotoBase64
nin-photoCompare a selfie with a NIN portraitphotoBase64

BVN/NIN idNumber values must be strings containing exactly 11 digits, including leading zeros. CAC values include their prefix, for example RC123456. TIN values retain their hyphens, for example 10482739-0001.

For nin, nin-premium and bvn-basic, dateOfBirth (YYYY-MM-DD), phone, email and gender are optional. nin and nin-premium also accept optional middleName (up to 100 characters); bvn-basic does not. Gender is a string of up to 20 characters, for example female. Omit unknown values; use a valid email address when supplied. These fields are not used for CAC, TIN, consent-link or photo-match checks. All check types require service, idNumber, a unique reference and consentConfirmed: true. The institution form generates its reference automatically; API clients supply and retain their own reference.

A normal BVN/NIN lookup may return data.profile.photoDataUrl when the provider supplies a portrait. Photo-match services additionally need a recent customer selfie as JPEG/PNG base64, optionally a data URL, no larger than 2 MB decoded. A selfie match is not a liveness check.

Returned information​

The available fields depend on the source record and the bank’s subscription. Missing source values are not invented.

CheckInformation to review when returned
BVN with consent / basicNames, birth date, gender, phone, portrait, supplied-field matches and recent verification activity
BVN consent linkConsent status, secure customer action link when needed, and recent verification activity; this is not an identity result
NINNames, birth date, gender, contact details, address, portrait, supplied-field matches and recent verification activity
NIN premiumNIN information plus occupation, employment, origin, residence, next of kin, languages and other returned biodata
CACCompany name, registration number/date, company type/status, head-office and branch addresses, contact details and affiliates
TINCompany name, registration and tax numbers, address, registration date, status, stage and publication entries
BVN / NIN photo matchIdentity information returned with the comparison, match decision, score, threshold and maximum score; NIN may also include a signature

Common fields appear in profile; additional information appears in details, and additional images appear in images. The same readable information is available when reopening a check from history. A source field that contains an image is displayed as an image or an availability notice rather than as base64 text.

Run a verification​

Replace the example identity and names with the customer's consented details. Use the base URL and access token supplied by the bank.

export COREWAVE_BASE_URL='https://api.staging.ibanks.corewavecba.com'
export COREWAVE_TOKEN='REPLACE_WITH_BANK_API_ACCESS_TOKEN'
cat > verification-request.json <<'JSON'
{
"service": "nin",
"idNumber": "12345678901",
"firstName": "Ada",
"lastName": "Okafor",
"reference": "example-identity-001",
"consentConfirmed": true
}
JSON
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/verification/v1/checks" \
--header "Authorization: Bearer $COREWAVE_TOKEN" \
--header 'Content-Type: application/json' \
--header "request-reference: verification-$(uuidgen)" \
--data-binary @verification-request.json \
--output verification-result.json

The response follows the standard status, message, data envelope. HTTP 200 and status: true confirm that the request was processed; inspect data.verified, data.outcome, data.matches and the returned profile before deciding whether the subject passed your checks.

Save data.verificationId and your original reference. The result has readable, named profile fields rather than an unfiltered provider response. Common values appear in data.profile; other returned customer/business fields appear in data.details as readable label and value pairs. Nested objects and list entries have descriptive paths and numbered entries, for example a director’s address or a publication’s date. Both head-office and branch addresses are retained when returned, as are zero and false values. Additional JPEG/PNG images appear in data.images with a label and safe data URL; image links or unsupported-image notices are shown as readable details. Authentication fields and technical response metadata are excluded. Empty fields are omitted rather than invented. Earlier saved checks retain the information stored when they were performed. Previously omitted fields cannot be reconstructed from those records, and opening history does not automatically run another paid verification.

Portraits and personal details should only be shown to authorized users and retained under the bank's data-handling rules.

Photo comparison​

Create a separate request with a new reference and the actual customer's portrait. This example uses jq and a local JPEG; never use a provider secret or a portrait URL as photoBase64.

base64 < customer-selfie.jpg | tr -d '\r\n' > selfie-base64.txt
jq -n --rawfile photo selfie-base64.txt \
'{service:"nin-photo", idNumber:"12345678901", photoBase64:$photo, reference:"example-face-001", consentConfirmed:true}' \
> face-request.json
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/verification/v1/checks" \
--header "Authorization: Bearer $COREWAVE_TOKEN" \
--header 'Content-Type: application/json' \
--header "request-reference: verification-face-$(uuidgen)" \
--data-binary @face-request.json

Review data.faceMatched and data.faceMatchScore. A missing comparison is unconfirmed, not a successful match. Returned scores are provider scores out of 100. When supplied, the provider’s matching threshold and maximum score appear in data.details under Checks. Use faceMatched for the provider’s decision rather than assuming a threshold. Photo inputs use base64 only; file uploads and remote photo URLs are not accepted by this API.

First run bvn-consent. If a secure data.consentUrl is returned, open it for the customer to complete NIBSS consent. An already-recorded consent may return outcome: "consent-recorded". Once the customer completes consent, start the distinct bvn lookup with a new business reference. Checking a consent link is not a completed identity lookup. Consent status and returned verification activity appear in data.details. An already-recorded consent has no action link. If no usable consent link is returned, keep the original reference and contact the bank.

Business and BVN requests​

Use the same POST URL and authorization headers as the NIN example. Each object below is a separate complete request body. Replace the example identifiers, confirm consent and use a new business reference for each distinct check.

CAC registration:

{ "service": "cac", "idNumber": "RC123456", "reference": "example-cac-001", "consentConfirmed": true }

Business tax number:

{ "service": "tin", "idNumber": "10482739-0001", "reference": "example-tin-001", "consentConfirmed": true }

BVN consent link:

{
"service": "bvn-consent",
"idNumber": "01234567890",
"reference": "example-bvn-consent-001",
"consentConfirmed": true
}

BVN lookup after the customer completes consent:

{ "service": "bvn", "idNumber": "01234567890", "reference": "example-bvn-001", "consentConfirmed": true }

For bvn-basic or nin-premium, use the NIN request example with that service value and the corresponding identifier. Both still require firstName and lastName. For bvn-photo, use the photo comparison example with service: "bvn-photo" and the customer's BVN.

Reconcile and retry​

OutcomeWhat to do
verifiedReview the returned profile and match details.
completedA record was returned without an overall provider decision; review it manually.
not-verified / not-foundReview the supplied information and any mismatches. Do not treat the subject as verified.
processing / pendingThe result is not complete; keep the original reference and contact the bank if it remains pending.
pending-consentComplete the customer consent flow.
consent-recordedStart a separate bvn lookup with a new reference to retrieve the identity record.
unconfirmedProvider completion is uncertain. Ask the bank to reconcile it before initiating another paid check.
failedCheck the bank's configuration, provider subscription or request details with the bank.

HTTP 202 indicates pending consent, processing or an unconfirmed result. HTTP 403 can mean the institution has disabled verification. HTTP 409 means the reference is already associated with different inputs. HTTP 502 indicates a provider failure and includes the saved verification reference when available.

An unchanged retry with the same reference returns the stored check rather than calling the provider again. Keep the request unchanged. A new reference starts a different check and may incur another charge. request-reference traces HTTP requests; it is not the verification business reference.

curl --fail-with-body --get \
"$COREWAVE_BASE_URL/api/verification/v1/checks" \
--data-urlencode 'reference=example-identity-001' \
--data-urlencode 'service=nin' \
--header "Authorization: Bearer $COREWAVE_TOKEN" \
--header "request-reference: verification-status-$(uuidgen)"

This returns up to 50 recent results for the bank. The optional service filter uses a code from the services lookup (for example nin, bvn or cac). It is combined with reference when both are supplied. Filtering happens before the 50-result limit, so newer checks of other types do not hide the selected type. An unsupported service returns HTTP 400. In the institution frontend, history uses the normal datatable, loads only the selected check type and supports paging through older records. Staff history follows branch scope; checks started through the bank-wide API are visible only to staff with bank-wide scope. API clients remain restricted to their own bank. Portraits and additional image bytes are omitted from this list; the complete non-image returned details remain available. Use GET /api/verification/v1/checks/{verificationId} to open an individual saved result, including its portrait and additional images. These lookups do not start another provider check or refresh a pending provider result. A missing result does not prove that an interrupted check was never submitted; contact the bank before replacing it.

Save to customer or account extra data​

Only attach a completed result to the intended subject. Use customer, corporate-customer or account, together with the bank's customer number or account number. Existing extra data must use named fields (an object), rather than a root list, and the combined data must fit within 64 KB. The endpoint preserves other extra data and stores a readable verification snapshot, including its outcome and record link. It keeps existing sections with colliding names and preserves custom review notes when the same result is saved again. Section display names may vary to avoid collisions; identify the saved result by its verification record identifier and reference, rather than parsing a section name. Portraits and additional images stay in verification history to avoid exceeding the extra-data size limit. All non-image returned information is included in the saved snapshot’s named Returned details section, alongside the common profile fields. This action does not overwrite BVN/NIN fields or change KYC approval.

VERIFICATION_ID="$(jq -er '.data.verificationId | select(type == "string" and length > 0)' verification-result.json)" &&
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/verification/v1/checks/$VERIFICATION_ID/save" \
--header "Authorization: Bearer $COREWAVE_TOKEN" \
--header 'Content-Type: application/json' \
--header "request-reference: verification-save-$(uuidgen)" \
--data '{"entityType":"customer","entityReference":"CUSTOMER-001"}'

A failed, processing, unconfirmed or empty provider result cannot be attached. A completed record with mismatches can be saved as review evidence; its original outcome is retained. The customer/account must belong to the same bank as the API token.