Verify a NIN (step one of the two-step KYC flow)
Access: Bearer token required. Also requires: KYC not already verified.
Looks the NIN up with the identity provider (PandaScrow) and compares the name on the record with the name on the account: every word of the account's first and last name must appear among the record's first, middle and last names (case, accents and order are ignored). On a match the NIN is stored and the KYC status moves to AWAITING_LIVENESS. This does not set isKYCVerified; the step was designed to be followed by a liveness check.
No liveness endpoint is currently exposed by this API, so an account that only completes this step stays in AWAITING_LIVENESS. The path that completes verification today is POST /auth/kyc/verify with kycType: "NIN". The names returned in data are the ones on the NIN record, not the account.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
application/json- body
nin*stringNational Identification Number: exactly 11 digits.
^[0-9]{11}$NIN found and the name matches
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X POST 'http://localhost:4000/api/v1/auth/kyc/nin' \ -H 'Content-Type: application/json' \ -d '{ "nin": "12345678901"}'{ "status": 200, "success": true, "message": "NIN verified. One step left.", "data": { "status": "AWAITING_LIVENESS", "firstName": "ADAEZE", "lastName": "OKONKWO" }}