Skip to content

Verification ​

Contact checks, KYC, verified badges and rights-holder claims, with a staff review queue. All paths are under /v1.

Tiers ​

One ladder, so other modules ask for a level rather than reading KYC fields:

TierLevelReached by
unverified0New or inactive account
contact1Verified email
bvn2BVN verified
id3Government ID document verified

Money features gate on tiers. For example withdrawals need KYC, and a refusal carries the verify_identity next action. One BVN or NIN backs one account only.

User ​

MethodPathNotes
GET/me/verificationCurrent tier, contact state and open requests.
POST/verifications/contact/phone/startSends a code to a phone number.
POST/verifications/contact/phone/confirmConfirms it.
POST/verifications/contact/email/startSends a code to an email address.
POST/verifications/contact/email/confirmConfirms it.
POST/verifications/kyc/bvnVerifies a BVN.
POST/verifications/kyc/id-documentSubmits an ID document (file type checked by magic bytes).
POST/verifications/badgeRequests a verified badge for a creator profile.
POST/verifications/rights-holderClaims rights over catalogue.

Organization ​

Organization tokens (audience plemuz-org).

MethodPathNotes
GET/org/verificationsThe organization's requests.
POST/org/verificationsSubmits organization verification.
POST/org/verifications/rights-holderClaims rights as a label or publisher.

Staff review ​

MethodPathNotes
GET/staff/verificationsThe review queue.
GET/staff/verifications/:idOne request.
GET/staff/verifications/:id/documents/:evidenceIdA signed, short-lived link to evidence.
POST/staff/verifications/:id/claimTakes the request.
POST/staff/verifications/:id/approveApproves.
POST/staff/verifications/:id/reject{ reason }.
POST/staff/verifications/:id/request-info{ reason }; the person is asked for more.
POST/staff/verifications/:id/revoke{ reason }.

Every decision is audited.

Student status ​

MethodPathNotes
GET/verifications/student{ isVerified, schoolName, expiresAt, canRenew }.
POST/verifications/student/email{ schoolName, email, schoolCountryCode?, expectedGraduationYear? }; the email must be academic (.edu, edu.cc, ac.cc, sch.cc). Sends a 6-digit code → 201 { requestId, codeExpiresAt }. STUDENT_EMAIL_NOT_ACADEMIC, STUDENT_EMAIL_IN_USE, STUDENT_ALREADY_VERIFIED, STUDENT_REQUEST_OPEN. 5/hour.
POST/verifications/student/email/confirm{ requestId, code } → status. STUDENT_CODE_INVALID; 5 wrong codes fail the request.
POST/verifications/student/documentSame school fields → 201 draft request (kind: student). Add a student_id or enrolment_letter document, then submit; staff decide in the usual queue.

Student status lasts 365 days from verification and can be renewed in its last 30. VerificationApi.isVerifiedStudent(userId) feeds student plans.

KYC provider (Hyparrow) ​

KYC_MODE=hyparrow uses Hyparrow's KYC API with the money group's HYPARROW_ENVIRONMENT, HYPARROW_BASE_URL, HYPARROW_API_KEY and HYPARROW_API_SECRET (X-API-Key/X-API-Secret). BVN: POST /kyc/identity/bvn/basic (or advanced, KYC_HYPARROW_BVN_PRODUCT); NIN: POST /kyc/identity/nin; other ID documents go to staff. Names and date of birth from the record are compared with what the person typed; only the masked reference and sealed fields are stored. A 404 is "not found"; 401, 402, 502, timeouts (KYC_PROVIDER_TIMEOUT_MS) and malformed answers are recorded as provider_unavailable and the person can retry. Production refuses fake and refuses hyparrow without keys.

POST /verifications/kyc/bvn takes an optional phoneNumber (+234…) used only when the account has no verified phone, to compare with the BVN record (kyc_verifications.phone_match); it never becomes a login or a verified contact.

MethodPathNotes
GET/staff/verifications/kyc-costs?from&toverifications:review. Calls, spend (KYC_BVN_COST_MINOR, KYC_NIN_COST_MINOR per successful lookup; 404/502 are refunded and cost 0) and average latency per product and outcome.

Plemuz API v2