Recipient verification
Confirm a wallet, Till or Paybill exists and show the account name before you pay.
POST
/business/verify-transferPOST
/business/verify-paymentMobile money, verify-transfer
countryCodestringrequiredKE, TZ, UG or ZA.
phoneNumberstringrequiredNumber with its international prefix, matching the country.
Till / Paybill, verify-payment
countryCodestringrequiredKE, TZ, UG or ZA.
typestringrequiredtill or paybill. Uganda supports till only.
lipaNumberstringrequiredThe Till or Paybill number.
accountReferencestringoptionalRequired for Paybill; omit for Till.
Tanzania
cURL: Tanzania mobile money
curl -X POST "https://api.test.wakapay.io/business/verify-transfer" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"countryCode": "TZ",
"phoneNumber": "+255700000001"
}'200OK
{
"displayName": "Amina Mjema",
"receiverPhone": "+255700000001",
"verified": true
}200Response: unknown number
{
"displayName": "",
"receiverPhone": "+254712345678",
"verified": false
}Result
| verified | Meaning | Action |
|---|---|---|
true | Recipient exists and can receive | Show displayName, then pay |
false | Not found, or not active in sandbox | Check the details; don’t pay |
Sandbox numbers
| Country | Type | Number | Display name |
|---|---|---|---|
| KE, TZ, UG | Mobile money | +254700000001, +255700000001, +256700000001 | Amina Mjema |
| KE | Till / Paybill | 888880, 123456 (ref ABC123) | Ugali Point |
| TZ | Till / Paybill | 600000, 700000 (ref ABC123) | Ugali Point |
| UG | Till | 800001 | Kampala Spices |
Any other number returns verified: false with an empty displayName.
Errors
| Status | Message |
|---|---|
| 400 | countryCode is required, countryCode must be one of: KE, TZ, UG, ZA |
| 400 | empty mobile number, or phone prefix doesn’t match the country |
| 400 | type must be "paybill" or "till", lipaNumber is required |
| 401 | missing value in request header |