Verifications
Verify a Lipa Na M-Pesa number
Verify a Kenyan M-Pesa paybill or till number.
Authorization
API key in the X-API-Key header.
Headers
Idempotency-KeystringrequiredRequired for verification mutations. Use a unique printable ASCII key per logical request; retries with the same key return the original response.
Body required
identifierstringrequiredPaybill or till number to verify
identifierTypestringrequiredWhether the `identifier` is a paybill or till number
Options: paybilltill
countrystringISO 3166-1 alpha-2 country code. Defaults to KE.
modestring`sync` returns the verification result in the response. `async` returns `pending` and delivers the final result via your registered webhooks (configure under `/webhooks`).
Options: syncasync
Response
idstringrequiredstatusstringrequiredOptions: pendingsuccessfailederrorinconclusive
verificationTypestringrequiredOptions: LIPA_NA_MPESA
identifierstringrequiredPaybill or till number
countrystringrequiredverifiedAtstring | nullrequiredverifiedboolean | nullrequiredoriginstringrequiredWhere this verification was initiated. `api` = Lira API key (machine-to-machine). `dashboard` = logged-in dashboard user.
Options: apidashboard
organizationShortCodestring | nullrequiredorganizationNamestring | nullrequiredRegistered organization name
identifierTypestring | nullrequirederrorobject | nullrequiredPopulated only when status is `failed` or `error`
Show child attributes
codestringrequiredmessagestringrequired