What happens when you tap your phone to pay?
How your phone uses a short-range radio and a stand-in card number, and who gets paid on a $10 tap.
-
Why now
A truck stop in North Dakota went to court over 21 cents
Ruling filed
A truck stop and convenience store sued over a fee no customer ever sees on a receipt. The case reached a federal appeals court, which is a long way to carry 21 cents.
There is a US legal limit, called a cap, on the fee big banks can collect from the shop's side of a sale when you pay by debit card. The 21 cents is part of that cap. A court struck down the cap on October 26, 2026, but the cap still applies for now. The court set no new number. It told the Federal Reserve (the Fed), the US central bank, to write a new rule. Source
You never see this fee, and people still argue about who really ends up paying for it. To see why anyone would fight over it, follow the money.
Guess first. You tap to pay $10 at a small shop. How much does the shop keep?
- $10.00 The receipt says $10, so this is a fair guess. But someone takes a cut before the money reaches the shop. On one common price list for card payments, the shop keeps $9.59.
- About $9.60 That's close. Square and Stripe are companies that handle card payments for shops. At Square's list price the shop keeps $9.59. At Stripe's list price for sales on its card reader, the shop keeps $9.68.
- About $8.00 That's too low. On a small sale like this one, the cut is about 3 to 4 cents on the dollar.
The receipt says $10 no matter how much the shop keeps. At the list price of Square, a company that handles card payments for shops, the shop keeps $9.59.
-
Step by step
It starts with a very short-range radio
Your phone talks to the shop's terminal, the card machine at the counter. They use NFC, short for near field communication, a radio that works only at very short range. The NFC Forum, the standards group for this radio, gives a typical range of up to 2 cm. For years it certified devices at a range of 5 mm, and since October 2025 its certification tests can reach 2 cm. That short range is why you have to hold your phone so close. Source Source Payment terminals have their own tests, which check that a tap works from up to 4 cm away. Source
The phone acts like a contactless card, the kind you tap. That's why one terminal can take a card, an iPhone and an Android phone without caring which is which. Source
Not every tap comes from a phone. About 4 in 10 US in-person card payments were contactless in 2024, and that count includes tapped plastic cards. Data In a separate survey of US adults, phones made up 11% of in-person payments. Source
-
Step by step
Your phone doesn't send your card number
Instead, your phone sends a stand-in number called a device token. The token works like a card number, but only for one wallet, the app that holds your cards, on one device. Source When you pay with a plastic card, the shop gets the number printed on it. When you pay with a phone wallet, the shop never gets the real number. Source
This helps when something goes wrong. If you lose the phone, the bank can suspend that one token without replacing your plastic card. Source
On an iPhone, the token and its secret keys stay in a certified security chip. They are never stored on Apple's servers. Source Android allows two designs, one using a chip and one using an ordinary app, so the setup varies by phone. Source
You pay with your phone. What does the shop get?
- The real number printed on your card That's what a plastic card hands over. A phone wallet sends a stand-in number instead.
- A stand-in number made for one device The token works like a card number for this one wallet, so the real number stays out of the shop's hands.
- Your name and your bank balance The phone doesn't hand the terminal either one. Your balance stays at your bank, which simply answers yes or no to the payment.
-
Step by step
Your phone also adds a code that works only once
Each payment comes with a one-time code. The code is computed from a secret key and a counter, a number that goes up with every payment. The key is loaded when you add the card to your phone. Your bank or the card network, a company like Visa or Mastercard, holds the key too. Source The code is valid only for that one payment, so it can't be reused for another. Source
Here is a comparison, and it is only a comparison. Swiping a card's magnetic stripe is like showing the same ID card every time. The code is like a new note for each purchase, signed with a pen only you and your bank hold.
No system is perfect. Security researchers have published design flaws in how the parts of contactless payment fit together. Source
Why does a new code for each payment matter?
- It makes the payment faster Speed isn't the point of the code. Think about what someone could do with a copy of an old payment's data.
- It tells the shop who you are It doesn't. The shop sees the same stand-in number each time, and the code means something only to your bank or the card network.
- Copied payment data can't be used again With a magnetic stripe, copied data looks the same as the real thing. A code that is valid only once means a copy can't be used for another payment.
-
Step by step
Your tap makes a round trip
- Your phone
- The shop's terminal
- The shop's processor, the company that handles its card payments
- The card network, which turns the token back into your real number
- Your bank or card company, which says yes or no
The answer comes back the same way. Your bank first checks that the card is genuine. Then it checks that the account is open and can cover the payment, with fraud checks along the way. Source
Visa and Mastercard are card networks, not your bank. Neither one issues cards or lends money. American Express is different: it does both. Source Visa's rules give a US bank 10 seconds to answer. If the bank runs out of time, Visa answers for it. Source We could not find a measured time for the whole trip. In Israel, a national switch called SHVA, a central hub for card messages, sits between terminals and card companies. Source
Who decides whether your payment goes through?
- Your bank or card company The bank that issued the card checks it and answers. The other companies on the trip mostly carry the message.
- Visa or Mastercard They run the network that carries the message. They don't issue the card or lend the money, though Visa answers if a bank runs out of time.
- Apple or Google The wallet hands over the token and code. The yes or no comes from your bank.
-
Step by step
And no money has moved yet
Card payments happen in three stages.
- Authorization: your bank says yes and places a hold, which sets the amount of the sale aside.
- Clearing: the banks exchange information about the sale.
- Settlement: the banks exchange money.
A 2007 Mastercard diagram shows clearing usually happening within one day and settlement usually within two days. Those are old numbers, and we could not find a current official number of days. Source
Banks also don't pay each other one coffee at a time. All of a bank's card sales get added up into one lump sum, a single big payment. Source By the time you reach the door, your coffee has been approved, not paid for.
What has happened when the terminal says approved?
- Your money has already reached the shop's bank Not yet. The money moves later, as part of a lump sum between banks.
- Your bank has said yes and placed a hold The approval shows on the terminal, and your phone's buzz only means the tap finished. The banks pay each other later.
- The banks have already settled up Settlement is the last stage, and on Mastercard's 2007 numbers it takes a day or two.
-
Try it
Follow the money yourself
This example uses a US shop, a Visa card and an in-person sale. Square is this shop's processor, and its list price is a flat rate for any card. The shop, bank and network numbers are worked out from published price lists. For the bank's cut, we use Visa's rate sheet, a table of what a card's bank gets on each kind of sale. We use its ordinary in-person rates, so the $10 and $100 sales are worked out the same way. Restaurants, supermarkets and very small shops have other rates on that sheet. So do small sales, and a $10 sale may count as one. Source
This experiment needs JavaScript. On a $10 sale with a rewards credit card, the shop keeps $9.59 and the card's bank gets 26.5 cents. The network's two main fees take 3.35 cents, and the processor gets what is left, 11.15 cents. On a big-bank debit card, the bank gets 22.5 cents at $10 and 27 cents at $100. On a small-bank debit card, the bank gets 23 cents at $10 and 95 cents at $100.
On a $10 debit sale, the big bank and the small bank get almost the same amount. What happens at $100?
- The two banks still get about the same Go back, try the $100 button with each debit card and look at the row for the card's bank.
- The small bank gets 95 cents, the big bank 27 The small bank's rate includes a much bigger percent of the sale, so the cents it gets grow with the price. The big bank's cap is mostly a fixed amount, so the cents it gets barely move.
- The big bank gets far more than the small bank It's the other way around. The cap holds the big bank down, and smaller banks are exempt from it.
-
Step by step
What the court actually said
The debit card cap is 21 cents, plus 0.05% of the sale, Source plus 1 cent for banks that meet the rule's standards for preventing fraud. Source It covers banks with at least $10 billion in assets. Source
The law behind the cap tells the Fed to consider the extra cost of a particular transaction. Picture a lemonade stand: the lemons in your cup are an extra cost of that one sale, and the stand itself is a fixed cost. The court said fixed costs can't count. It said the Fed must at least sort the costs into those two kinds, and "not just pick a number and hope it is close enough for government work." Source That saying means good enough, even if not right.
Groups that speak for banks and credit unions say banks, credit unions and consumers will end up paying the cost of this ruling. Source A group that speaks for retailers applauded the ruling. One analyst guesses a new cap could be under 5 cents. Source The court's order hasn't taken effect yet, so check back.
Where does the 21-cent cap stand today?
- It's gone, and big banks can't charge this fee at all now The ruling hasn't taken effect, and the court didn't say the fee goes to zero.
- The court replaced it with a new cap of 5 cents per sale One analyst guessed a new cap could be under 5 cents, and that is only a guess. The court set no new number and sent the rule back to the Fed.
- It was struck down but applies for now, with no new number yet All three parts are true at the same time. This may change, so check the date at the bottom of this lesson.
-
Step by step
Who pays for card rewards?
Credit card rewards are the points, miles or cash back people earn by spending on a credit card. In the US, people earned $47.5 billion of them in 2024. Source The fee shops pay on card sales is one source of that money. Source
Shops usually charge one price whatever you pay with. Researchers at the Federal Reserve and the Bank of Canada built a math model of what that does, using US data from about 2018. In their model, people paying with debit and cash help cover credit card rewards. Rewards came to 0.70% of purchases for the highest-income group and about 0.25% for the two lowest-income groups. Source The amounts change with the model's assumptions, and people still argue about them.
We explain how the system works. We don't tell anyone which card to get or what to buy.
What's one big source of the money for card rewards?
- It's a free gift from the bank The money has to come from somewhere.
- The fees shops pay on each card sale Who really ends up paying that cost is the part researchers study with models and argue about.
- Visa and Mastercard's own profits The fee goes to the bank that issued the card, and the bank funds the rewards.
-
The honest part
What does a tap actually prove?
On a phone, a tap usually proves that someone passed the phone's check, like a face scan or a passcode. Some setups, like special modes for public transit, can skip that check. A tap doesn't prove who you legally are. Anyone whose face or passcode works looks the same to the bank. Source Below a certain amount, a tapped plastic card asks for no PIN or other proof that it's yours, so the tap proves only that someone is holding the card. Israel's limit is 300 shekels. Source We could not find a published US figure.
Is paying by tap safer? We can't tell you. In the UK in the first half of 2025, fraud on contactless cards came to 1.2 pence for every £100 spent. For all card fraud, the figure was 6.9 pence. That figure includes online, phone and mail fraud, where a tap can't be used. Those made up about 72% of UK card fraud losses in that half-year. Source We found no fraud rate for phones alone, and none at all for the US or Israel.
Your brother knows your passcode and pays with your phone. What does your bank see?
- The same thing it sees when you pay The bank sees that the phone's check passed. It doesn't see who passed it.
- A warning that someone else is paying Nothing in the tap identifies the person. It shows only that the check passed.
- Your brother's name Nothing in the tap tells the bank who is holding the phone. The token stands for the card on that phone.
-
Your project
Build the calculator
- You will have Your own table that takes any price and shows what the shop, the bank, the network and the processor each get, plus a graph of the bank's cut as a share of the price.
- Time About 45 minutes.
- You need Paper and a calculator, or LibreOffice Calc, a free spreadsheet program that needs no account. You don't need a card, a purchase or a bank account.
- Make one row for each card. Use these rates for what the card's bank gets, from Visa's sheet: rewards credit 1.65% + 10¢, premium credit 2.30% + 10¢, big-bank debit 0.05% + 22¢, small-bank debit 0.80% + 15¢.
- Add a column for the shop's total fee, using Square's list price: 2.6% + 15¢.
- Add a column for the network's two main fees: about 3¢ at $10 and about 15¢ at $100. The rates are in this bank's fee schedule. Subtract the shop's total fee from the price to get what the shop keeps. Then take the bank's and the network's amounts out of that fee. The processor gets what is left of the fee.
- Find the price where the small bank's share of a debit sale passes the big bank's share. You should land near $9.33.
- Graph the bank's share of the price from $1 to $100 for each card. Which line falls fastest? Why?
- Type in your own guess for a new cap on big-bank debit, and see who gains when the shop pays Square's flat rate. Be careful: the shop's bill doesn't change.
Want more?
Tell a parent or teacher first, then ask a neighborhood shop owner roughly what card companies take in total. Ask only for a rough percent, never for bank records or customer details, and it's fine if they say no. Guess how much the shop sells in a day. Then work out what that percent comes to in a day, a month and a year. Then turn it into what the shop sells: how many falafels is that? If you live outside the US, use only what the owner tells you, because the rates in this lesson are for the US only.
-
Done
Back at the counter
Tomorrow you will buy something small. The phone will buzz, and you'll already be turning toward the door. The receipt will say $10.
It won't mention the truck stop.
Another lesson How does an AI pick its next word?Sources
- Eighth Circuit opinion, No. 25-3000, filed Oct. 26, 2026.
- US federal regulation 12 CFR 235.3, 235.4 and 235.5: the debit cap.
- Visa's US rate sheet for interchange, the fee that goes to the card's bank, effective Oct. 24, 2026, and Visa Core Rules, Oct. 2026.
- Wells Fargo pass-through schedule, a bank's list of network fees, effective July 1, 2026. We use the two main fees on the shop's side.
- CardFellow, a payment guide, on the small-sale limit, which Visa's own sheet doesn't state.
- Square and Stripe list prices.
- US Justice Department complaint, March 21, 2024, paragraph 113: the alleged Apple fee. An allegation, not a court's finding. MacRumors, Sept. 25, 2026: the debit figure, from a class action lawsuit.
- Apple and Google: no added fee for shops.
- NFC Forum and its Oct. 2025 certification notice, EMVCo's guide to tokens (EMVCo is a standards group owned by six big card companies, including Visa and Mastercard), Apple Platform Security, Android developer docs, Google Pay docs.
- Philadelphia Fed, 2013, and Mastercard, 2007: clearing and settlement. Older sources, so timing may have changed.
- The US Consumer Financial Protection Bureau (CFPB), Oct. 2023 and Dec. 2025, and Felt and colleagues, a Kansas City Fed research paper: rewards.
- Bank for International Settlements payments data (43,041 million contactless payments out of 110,944 million in-person card payments in the US in 2024) and the Fed's Diary of Consumer Payment Choice, 2025.
- Bank of Israel overview, Aug. 2024: SHVA and the 300-shekel limit.
- UK Finance, a UK banking trade group, half-year report, 2025: UK fraud rates.
- American Banker, a banking news site, Oct. 26, 2026: the 5-cent guess. Joint statement from bank and credit union trade groups: who they say will pay.
The $10 and $100 shares are our arithmetic from those lists. They mix three price lists with different dates, and the processor's share is only what is left. The Israeli numbers are limited to what we could confirm.
Last checked . The debit cap case is still moving, so these numbers may change. Torah Tech researched and wrote this lesson with the help of Claude, an AI made by Anthropic. Any mistakes are ours.