Apps and fintechs
OTP SMS for Zimbabwean apps and fintechs
Send login codes and account alerts through a simple API, with flat USD prices and no contract.
Create free accountFree to create. Sending needs a top-up, and there are no free credits.
Your login code is 482913. It expires in 5 minutes. Don't share this code with anyone.
Delivered
What you can send
Login code
Your login code is 482913. It expires in 5 minutes. Don't share this code with anyone.
Delivered
Payment alert
You paid $25.00 to Kudu Stores. If this wasn't you, call +263 77 123 4567.
Delivered
Account alert
A new device signed in to your account. If this wasn't you, call +263 77 123 4567.
Delivered
How you send them
curl https://api.sms.ansa.co.zw/v1/messages/otp \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: login-8841" \ -d '{"to":"+263771234567", "from":"KUDUPAY", "text":"Your login code is 482913."}'- A dedicated endpoint for login codes
- Idempotency keys, so a retry doesn't send a second code
- Delivery results through signed webhooks
- A balance endpoint, so you can top up before you run out
What it costs
A worked example at 1.5c on Econet and Telecel, and 1.7c on NetOne.
| Login codes | Econet or Telecel | NetOne |
|---|---|---|
| 10,000 | $150 | $170 |
| 50,000 | $750 | $850 |
One one-part message for each code, in USD. Pesepay's payment fee is added when you top up.
Write codes that are hard to steal
Tell people never to share a code, keep codes short-lived, and never ask for a PIN or password by text.
Questions
- Can I send from my app's name?
- Yes, once your business verification and sender ID are approved.
- See Sender IDsSee Sender IDs
- How do I know a code arrived?
- Check its status through the API, or receive a webhook.
- Can I test this first?
- Yes. Top up and send to your own number first.
Test it on your own phone
Top up, text yourself, and see the delivery report before you message a customer.
Create free accountFree to create. Sending needs a top-up, and there are no free credits.