Skip to content
Nnanna Ajah
Lab

Lab · Fintech explainer

The two seconds after Pay

Follow ₦12,500 from the moment you tap Pay: through the gateway, the card network and your bank, back again in about two seconds, and on to the shop the next day.

Type
Scroll-driven explainer
Year
2026
Role
Concept, design and code
Built with
Motion, SVG, TypeScript

Scroll to begin

01 / 07

₦12,500 for a pair of sneakers

Your cart is full and your card number is in. You tap Pay. Here’s what happens in roughly the next two seconds, and why the shop doesn’t have your money yet.

02 / 07

Your card details leave, locked

The checkout doesn’t hand your card number to the shop. It encrypts it and sends it to a payment gateway, which is certified to handle card data. The shop never sees the full number.

Card
5061 •••• •••• 4081
Amount
₦12,500.00
On the wire
8f2c 91e4 7b30 … a07d

03 / 07

The gateway finds your bank

The gateway passes the request, through the bank or processor it works with, to your card’s network: Verve, Mastercard or Visa. The network reads the first digits of your card to see which bank issued it, and forwards the request there.

Request
Authorise ₦12,500.00
Merchant
Sneaker shop, Lagos
Card starts
5061 → your bank

04 / 07

Your bank checks it’s you

Nigerian banks confirm online card payments with a second step, usually a one-time code sent to your phone. It’s the only slow part: the clock stops until you type it.

SMS to
080•••••123
Message
Your code is 482190. Don’t share it.

05 / 07

Your bank says yes

With the right code in, your bank checks your balance and its fraud rules, takes ₦12,500 from your account and sends back an approval.

Response
00
Meaning
Approved
Your balance
−₦12,500.00

06 / 07

Back the way it came

The approval retraces the route and the checkout shows a tick. At the same moment the gateway sends the shop a message, called a webhook, so it can confirm your order. That’s about two seconds of machine time.

POST /webhooks/payments
{
  "event": "payment.success",
  "reference": "ord_8K2X41",
  "amount": 1250000,
  "currency": "NGN"
}

Amounts usually travel in kobo, so ₦12,500 is 1,250,000.

07 / 07

The money moves later

Your account is ₦12,500 lighter already, but the shop hasn’t been paid. Banks settle card payments with each other in batches, and the gateway then pays the shop, minus its fee, usually the next working day.

Today
₦12,500 leaves your account
Next working day
Banks settle
Then
The shop gets ₦12,500, minus fees

Same ₦12,500, three ways

Cards aren’t the only way to pay online in Nigeria. Bank transfers and USSD take different routes, and each suits different people.

  1. Step 1: Checkout shows a one-time account number for this payment
  2. Step 2: You send ₦12,500 from your bank app
  3. Step 3: NIP, the instant interbank network run by NIBSS, moves it in seconds
  4. Step 4: The receiving bank tells the gateway
  5. Step 5: The gateway matches it to your order and tells the shop
You need
Your bank app or internet banking
Confirmed in
Seconds after your transfer lands
The shop is paid
On the gateway’s schedule, often the next working day
Why people choose it
No card needed, in an app they already trust

How it’s built

One motion value

Scroll becomes a single number. The request’s position, every route being drawn and the clock all derive from it through Motion, so scrolling never re-renders React; only the badges do.

Routes as data

Places and routes live in one small file, with a wide layout and a tall one for phones. The same timeline drives both, so the story can’t say one thing on desktop and another on mobile.

Real messages, made up

Each step shows the kind of message that actually moves: the encrypted card, the authorisation request, the response code, the webhook. The values are invented; the shapes are true to life.

No 3D this time

SVG for the routes, HTML for the places and Motion for the movement. It adds almost nothing to the download, because Motion already runs elsewhere on this site.

Tabs done properly

The comparison uses real tabs: arrow keys move between them, the selected one is announced, and each route plays once when you pick it, or not at all with reduced motion.

Honest about time

Timings are illustrative. A real card approval usually takes one to three seconds, depending on the banks involved, and the clock pauses while you type your code.

A note on accuracy: this is a simplified, general picture of how online payments work in Nigeria, not any one company’s system. Real routes have more parties, retries and checks than a page can show.