Verify a BVN
/v1/verify/bvnSubmits a BVN to the national identity database via TagPay's verification provider. The response contains the registered biodata (first name, last name, date of birth, gender, phone) and a name_match boolean that compares the submitted first_name and last_name against the registered record. Use the secret API key — verification calls are server-side only.
Body parameters
bvnstringrequired11-digit numeric BVN.
first_namestringrequiredFirst name to match against the registered record.
last_namestringrequiredLast name to match against the registered record.
dobstringoptionalDate of birth in YYYY-MM-DD format. Improves match accuracy when supplied.
phonestringoptionalPhone number to match against the registered record.
Response
200verifiedboolean`true` if the BVN was found and biodata was returned. `false` when the BVN is invalid or the provider could not resolve it.
reasonstringPresent only when `verified` is `false`. Human-readable explanation.
first_namestringRegistered first name. May be `null` if the provider returned identity-match-only data.
last_namestringRegistered last name.
middle_namestringRegistered middle name, if any.
date_of_birthstringRegistered date of birth (`YYYY-MM-DD`).
phonestringRegistered phone number.
genderstringRegistered gender.
name_matchboolean`true` when both `first_name` and `last_name` submitted match the registered record.
Errors
VALIDATION_ERROR400`bvn` must be an 11-digit numeric string.SERVICE_UNAVAILABLE503Upstream verification provider is unreachable. Retry with backoff.