cURL
curl --request POST \ --url https://api.fossapay.com/v1/customers/kyc/bvn \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "customerId": "<string>", "bvn": "<string>" } '
{ "success": true, "message": "BVN verification completed successfully" }
Verify BVN (Bank Verification Number) for customer
curl -X POST https://api.fossapay.com/v1/customers/kyc/bvn \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "customerId": "cust_123456789", "bvn": "12345678901" }'
const response = await fetch('https://api.fossapay.com/v1/customers/kyc/bvn', { method: 'POST', headers: { 'x-api-key': 'YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ customerId: 'cust_123456789', bvn: '12345678901' }) });