Identity
Validate and resolve identity information — IBANs, phone numbers and account ownership.
POST
https://api.wajub.com/identity/validateThe Identity API lets you validate bank identifiers (IBAN) and resolve phone numbers to their operator before processing a payment or transfer.
private key required
Identity endpoints require a private key (sk.…). Public keys do not have access.
Key endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /identity/validate | Validate an IBAN (ISO 13616 mod-97 check) |
POST | /identity/resolve | Resolve a mobile number to its operator (sandbox) |
Validate an IBAN
POST
https://api.wajub.com/identity/validatecurl https://api.wajub.com/identity/validate \
-H "Authorization: sk.xxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"iban": "FR1420041010050500013M02606"
}'Response
{
"status": "OK",
"code": 200,
"valid": true,
"details": {
"country": "FR",
"bank_code": "20041",
"account_number": "0500013M026"
}
}Resolve a phone number (sandbox)
POST
https://api.wajub.com/identity/resolvecurl https://api.wajub.com/identity/resolve \
-H "Authorization: sk.xxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"phone": "+237670000000"
}'Response
{
"status": "OK",
"code": 200,
"country": "CM",
"operator": "mtn"
}