How Online Payments Actually Work: OTPs, Card Approvals, Gateways and UAE–India Transfers
You tap "Pay", a code arrives, a green tick appears and the order is placed. It feels like one step. Behind it are at least four separate systems, built by different companies, that have to agree in about two seconds.
Over the past year I wrote short posts on several of these pieces. This article puts them together into one walk-through of how an online payment works, from the login code to the money arriving in the merchant's account, with notes for businesses in the UAE.
1. The code that proves it is you: OTPs
A one-time password proves you hold something only you should have, usually your phone. There are two common types.
- SMS OTPs. The bank's server creates a random code, stores it with a short expiry, and sends it through an SMS gateway to your mobile operator. Delays usually happen in that chain of operators, not at the bank, which is why a code sometimes arrives after it has already expired.
- App-based codes (TOTP). Your authenticator app and the server share a secret key. Both combine that key with the current time, in 30-second steps, to produce the same six digits. Nothing is sent over the network, so there is nothing to delay or intercept.
SMS is convenient but weak. SIM-swap fraud and phishing pages that ask for "the code we just sent" are common. That is why the UAE Central Bank told banks to move away from SMS and email OTPs, starting in July 2025 and finishing by March 2026. Banks now ask you to approve logins and online card payments inside their app, often with Face ID or a fingerprint.
The short version is in my original post, The Engineering Behind Every OTP.
2. The two-second approval: how a card payment works
When you pay by card online, the approval passes through four parties:
- The merchant's payment gateway collects your card details securely and sends them to the merchant's bank (the acquirer).
- The acquirer passes the request to the card network, such as Visa or Mastercard.
- The card network routes it to the bank that issued your card.
- Your bank (the issuer) checks the balance or credit limit, runs fraud checks and, if needed, asks you to confirm with 3-D Secure. It then sends back "approved" or "declined" along the same path.
That round trip usually takes a second or two. But approval is not payment. The money moves later, in a separate process called clearing and settlement, which normally takes one or more working days. This is why a refund can take days to show up, even though the original charge appeared instantly.
More in Ever Wonder How Visa Payments Happen in 2 Seconds?
3. Choosing a payment gateway
For an online store, the gateway is the part you actually choose. Stripe, Adyen and Checkout.com are three of the best-known options, and each fits a different kind of business:
- Stripe is the quickest to set up and has excellent developer tools. It suits startups and small to mid-size stores.
- Adyen is built for large merchants that sell in many countries and want one contract for online and in-store payments.
- Checkout.com is popular with high-volume merchants and has a strong presence in the Middle East.
In the UAE you will also see local options such as Network International (N-Genius), Telr and PayTabs, plus buy-now-pay-later providers like Tabby and Tamara. On Shopify, Shopify Payments is often the simplest starting point.
Do not choose on the headline fee alone. Compare approval rates, payout times, support for AED and the payment methods your customers actually use. A gateway that approves 2% more payments is often worth more than one that charges 0.2% less. I compared the three in Stripe, Adyen or Checkout.com?
4. Sending money between the UAE and India
The UAE is home to one of the largest Indian communities outside India, so money moving between the two countries is a big deal. In 2023 the two central banks agreed to link India's UPI with the UAE's instant payment platform, Aani, and to connect the RuPay card network with the UAE's new domestic card scheme, Jaywan. Jaywan cards, built with technology from India's NPCI, were launched in Abu Dhabi in February 2024.
For shoppers, this means more ways to pay. Indian visitors can already pay with UPI at many UAE merchants. For businesses, it is a reminder that payment options are becoming local and instant, not just card-based. My first take on the announcement is in India and UAE Just Revolutionized Cross-Border Payments.
What this means if you run an online store
- Customers approve payments in their banking app now. Make sure your checkout handles the extra step without timing out or losing the cart.
- Track approval rates, not just sales. Declined payments are lost orders you never see in your sales report.
- Offer the payment methods your buyers expect. In the UAE that usually means cards, Apple Pay and buy-now-pay-later.
- Remember that settlement takes time. Plan your cash flow around payout dates, not order dates.
I build e-commerce stores and integrations for brands in the UAE and abroad. If your checkout needs work, see my e-commerce development service or get in touch.
Sources: Central Bank of the UAE guidance on phasing out SMS and email OTPs, as reported by Gulf News and Khaleej Times (2025). RFC 6238 (TOTP). India–UAE MoUs on UPI–Aani and RuPay–Jaywan (July 2023) and the Jaywan launch (February 2024), as reported by Khaleej Times.