OTP SMS gateway

How do banks make sure every OTP reaches the customer?

An OTP SMS gateway sends one-time passwords from your apps to your customers' phones. Sprout MGW gives OTPs their own priority queue, so a bulk campaign does not hold them up. If an operator fails, it retries on another route, and for international numbers it can send the code on WhatsApp instead.

Example Bank

Enter the 6-digit code we sent to your phone ending 4821

482913
Verified
Example Bank · Messages482913 is your one-time code for Example Bank. Do not share it with anyone.
Example: a one-time code from a made-up bank arrives by SMS and the app verifies it.

Why do OTP messages arrive late?

Usually because they wait in the same queue as everything else. When a bank sends a campaign, thousands of promotional messages can sit in front of the code a customer needs now. Sprout MGW puts OTPs and transaction alerts in their own priority queue, apart from campaigns, and handles sudden traffic spikes, so the code goes first.

  1. App asks for an OTPThrough the API
  2. Priority queueAhead of campaigns
  3. Best routeThe customer's operator
  4. Code delivered482913 is your one-time code for Example Bank.
Example: the bank’s app asks for an OTP, Sprout MGW puts it in the priority queue ahead of campaigns, sends it on the best operator route, and the code is delivered.

What happens when an OTP fails on one operator?

Sprout MGW sends it again on another operator, by itself. It finds each customer’s mobile operator and sends on the best route. When a send fails, it retries on another operator, and you can set stricter retry rules for OTPs than for other messages. If a whole operator goes down, traffic moves to another one. The SMPP gateway page explains the operator links.

  • OTP request
Sprout MGWRetries on another operator
  • Operator ASend failedDown
  • Operator BRetriedSent
Example: an OTP that fails on one operator is sent again on another operator by itself.

When should an OTP go on WhatsApp instead of SMS?

When SMS cannot reach the customer well. For international mobile numbers, Sprout MGW can send the OTP as a WhatsApp authentication message. If an SMS OTP fails, it can send the code on WhatsApp instead, and the other way round. See WhatsApp OTP with SMS fallback.

Example Bank

Enter the 6-digit code we sent to your phone ending 4821

730561
Verified
Example Bank · WhatsApp730561 is your one-time code for Example Bank. Do not share it with anyone.
Example: a one-time code from a made-up bank sent as a WhatsApp authentication message.

Do our banking apps have to change?

Very little. Your apps already send OTP requests through an API. To add WhatsApp, Sprout MGW turns those existing requests into WhatsApp messages, so your apps need minimal change.

How do we see that an OTP was delivered?

Every message is tracked from the moment your app submits it to the operator’s delivery report. SMS status comes from the operators’ delivery reports, and WhatsApp messages show Sent, Delivered and Read. For the full picture, see Sprout Messaging Gateway and transactional SMS.

Delivery reports
TimeTypeToRouteStatus
10:41:02OTP+94 77 ••• 4821Operator B · link 2Delivered
10:41:03Alert+94 71 ••• 1180Operator A → BRerouted
10:41:03OTP+94 76 ••• 9035Operator C · link 1Delivered
10:41:05Campaign+94 70 ••• 2264Operator B · link 1Sent
Example Sprout MGW delivery report: one alert moved to another route when an operator link failed, and was delivered.

What do owners ask about OTP SMS gateway?

What is an OTP SMS gateway?

It is the system that takes a one-time password from your app and delivers it to the customer's phone through the mobile operators. A bank-grade gateway also decides the route, retries when a send fails and reports what was delivered.

Which banks send their OTPs through Sprout MGW?

HNB, Seylan Bank, NDB and Cargills Bank run their OTPs and transaction messages on Sprout MGW.

Can an OTP go on WhatsApp if the SMS fails?

Yes. If an SMS OTP fails, Sprout MGW can send the code on WhatsApp instead, and the other way round.

How do I see Sprout on my own leads?

Book a 30-minute demo and we show you your own funnel on our screen. Prefer a page of its own? Book a demo here.