Overview

The BVN resolution endpoint allows you to verify customer identity using their Bank Verification Number (BVN) as part of KYC requirements in Nigeria.

As mandated by the Central Bank of Nigeria (CBN), you must obtain explicit customer consent before accessing BVN data. Include this requirement in your terms of service or as an explicit user action.

Endpoint

POST /payment-methods/resolve-bvn

Request Parameters

bvn
string
required

The 11-digit Bank Verification Number

  • Must be exactly 11 digits

  • Numeric characters only

  • No spaces or special characters

Example Request

curl -X POST "https://api.spendjuice.com/payment-methods/resolve-bvn" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "bvn": "22222222222"
}'

Response Format

Success Response

{
  "data": {
    "date_of_birth": "02-Feb-87",
    "first_name": "Aishatu",
    "middle_name": "",
    "mobile_number": "08034903346",
    "surname": "Sadiq"
  }
}

Error Responses

Implementation Guide

  1. Consent Collection

    • Display clear consent message

    • Document consent in your records

    • Include in terms of service

  2. Data Handling

    • Never store raw BVN numbers

    • Encrypt any stored verification results

    • Implement proper access controls

  3. Error Handling

    • Show user-friendly error messages

    • Implement exponential backoff for retries

    • Log resolution failures for debugging

Need Help?

For BVN resolution support: