Appearance
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:
| Tier | Level | Reached by |
|---|---|---|
unverified | 0 | New or inactive account |
contact | 1 | Verified email |
bvn | 2 | BVN verified |
id | 3 | Government 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
| Method | Path | Notes |
|---|---|---|
| GET | /me/verification | Current tier, contact state and open requests. |
| POST | /verifications/contact/phone/start | Sends a code to a phone number. |
| POST | /verifications/contact/phone/confirm | Confirms it. |
| POST | /verifications/contact/email/start | Sends a code to an email address. |
| POST | /verifications/contact/email/confirm | Confirms it. |
| POST | /verifications/kyc/bvn | Verifies a BVN. |
| POST | /verifications/kyc/id-document | Submits an ID document (file type checked by magic bytes). |
| POST | /verifications/badge | Requests a verified badge for a creator profile. |
| POST | /verifications/rights-holder | Claims rights over catalogue. |
Organization
Organization tokens (audience plemuz-org).
| Method | Path | Notes |
|---|---|---|
| GET | /org/verifications | The organization's requests. |
| POST | /org/verifications | Submits organization verification. |
| POST | /org/verifications/rights-holder | Claims rights as a label or publisher. |
Staff review
| Method | Path | Notes |
|---|---|---|
| GET | /staff/verifications | The review queue. |
| GET | /staff/verifications/:id | One request. |
| GET | /staff/verifications/:id/documents/:evidenceId | A signed, short-lived link to evidence. |
| POST | /staff/verifications/:id/claim | Takes the request. |
| POST | /staff/verifications/:id/approve | Approves. |
| 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
| Method | Path | Notes |
|---|---|---|
| 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/document | Same 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.
| Method | Path | Notes |
|---|---|---|
| GET | /staff/verifications/kyc-costs?from&to | verifications: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. |