Skip to main content

HomeAll guides

How a Credit Card Swipe Works and What Happens Behind the Scenes

What happens when you swipe a credit card

When you swipe your card at a store, the magnetic stripe on the back transmits your card number, expiration date, and a security code to the merchant's payment terminal. The terminal sends that information to the card network (Visa, Mastercard, American Express, or Discover), which routes it to your card issuer — the bank that issued your card. Your bank checks whether the card is active, whether you have available credit, and whether the transaction looks fraudulent. Within seconds, your bank sends back an approval or decline. If approved, the merchant completes the sale and you sign a receipt or enter your PIN.

The entire process takes about two to three seconds. Behind those seconds, multiple companies are communicating: the merchant's bank, the card network, your bank, and sometimes a fraud-detection service. Each one takes a small fee from the transaction. The merchant pays most of these fees, which is why some stores offer discounts for cash or set minimum purchase amounts for card use.

Key Takeaways

  • A swipe sends your card number and expiration date through the merchant's terminal to your bank, which approves or declines the charge in seconds.
  • The card network (Visa, Mastercard, etc.) acts as the middleman, routing the request from the merchant's bank to your bank and back.
  • Your bank checks your available credit and screens for fraud before approving any transaction.
  • Merchants pay interchange fees to card networks and banks for each swipe, which is why some businesses prefer cash or debit cards.
  • Chip readers and contactless payments use the same approval process but transmit data more securely than magnetic stripes.

The role of the magnetic stripe and card networks

The magnetic stripe on the back of your card holds encoded information: your card number, your name, the expiration date, and a security code. When you swipe, the terminal reads this stripe and passes the data to the payment processor — a company hired by the merchant to handle transactions. The processor doesn't make the approval decision; it acts as a messenger.

The card network (Visa, Mastercard, American Express, or Discover) receives the transaction details from the processor and routes them to your card issuer. The network also sets the rules for how transactions work, what fees merchants pay, and what protections cardholders receive. Visa and Mastercard don't issue cards themselves — they operate the network. Banks issue the cards and make the approval decision.

This separation matters because it means your bank, not Visa, decides whether to approve your purchase. Visa straightforward moves the information back and forth and takes a fee for doing so.

How your bank decides to approve or decline

When your bank receives a transaction request, it runs several checks in parallel. First, it verifies that the card is active and hasn't been reported stolen or cancelled. Second, it checks your available credit — the difference between your credit limit and your current balance. If you have $5,000 in available credit and you're trying to spend $6,000, the transaction declines. Third, your bank screens the transaction against fraud patterns: unusual location, unusually large amount, rapid-fire purchases, or a merchant category you've never used before.

If the transaction passes all three checks, your bank sends an approval code back to the merchant's terminal within seconds. If it fails any check, your bank sends a decline code. Some declines are temporary — your bank might decline a transaction because it looks suspicious, but you can call your bank to verify and try again. Other declines are permanent until you pay down your balance or resolve a fraud report.

Your bank also decides whether to charge you interest on the purchase. If you pay your full statement balance by the due date, you pay no interest. If you carry a balance, interest accrues daily at your card's annual percentage rate (APR).

Fees involved in a credit card swipe

Every time you swipe a credit card, the merchant pays fees to multiple parties. The largest fee is the interchange fee, which goes to your card issuer (your bank). This fee is typically 1.5% to 3% of the transaction amount, though it varies by card type and merchant category. A rewards card usually has a higher interchange fee than a basic card because the issuer pays for your rewards.

The merchant also pays an assessment fee to the card network (Visa, Mastercard, etc.), usually 0.1% to 0.3% of the transaction. The merchant's own bank takes a processing fee, typically a flat amount per transaction (25 to 50 cents) plus a percentage. Some merchants also pay a gateway fee to the company that connects their register to the payment processor.

These fees add up quickly for high-volume merchants, which is why some businesses set minimum purchase amounts for cards, offer cash discounts, or prefer debit cards (which have lower interchange fees). The fees are built into the prices you pay — merchants raise prices to cover the cost of accepting cards.

Chip readers and contactless payments use the same approval process

When you insert a chip card into a reader or tap a contactless card, the approval process is identical to a swipe: your card information travels to the merchant's bank, then to the card network, then to your bank, which approves or declines. The difference is in how the data is transmitted and encrypted.

A magnetic stripe sends data in plain text, which is why it's easier to counterfeit. A chip card encrypts the data and creates a unique code for each transaction, making it much harder to clone. Contactless payments (Apple Pay, Google Pay, or a tap-enabled card) use the same encryption as chip cards but transmit the data wirelessly instead of through physical contact.

All three methods — swipe, chip, and contactless — route through the same card networks and banks. The approval time is the same. The fees are the same. The only real difference is security: contactless and chip are harder to counterfeit than a magnetic stripe.

What happens after approval

Once your bank approves the transaction, the merchant's terminal prints a receipt and the sale is complete from the customer's perspective. Behind the scenes, the transaction still has to settle. Settlement is the process of actually moving money from your bank account to the merchant's account.

Settlement typically takes one to three business days. During this time, your transaction appears as "pending" on your statement. Once settlement is complete, the charge becomes final and your available credit decreases. If you dispute the charge later, your bank will look back at the settlement records to verify whether the transaction actually occurred.

The merchant receives the funds minus all the fees mentioned above. If you return the item, the merchant initiates a reversal, and the money flows back to your bank within a few days. Your available credit increases again once the reversal settles.

Why some transactions decline even when you have credit available

A decline doesn't always mean you're out of money. Your bank might decline a transaction because it looks suspicious — a purchase in a different country, a very large amount, or a merchant category you've never used. This is fraud prevention, and it's designed to protect you.

Other common reasons for decline: your card has expired, your card issuer has placed a temporary hold on your account due to suspicious activity, the merchant's terminal is malfunctioning, or the card network is experiencing an outage. If a transaction declines, check your available credit first. If you have credit available, call your bank to ask why the transaction was declined. Your bank can tell you whether it was a fraud screen, a technical issue, or something else.

Some merchants also decline cards based on their own rules — for example, a gas station might decline a card if the ZIP code doesn't match the card's billing address. This is a merchant-side security measure, not a bank decision.

Frequently Asked Questions

Why does my transaction show as pending for several days?

Pending means your bank approved the charge but the merchant hasn't yet settled it with their bank. Settlement typically takes one to three business days. During this time, the amount is held against your available credit but hasn't actually left your account. Once settlement completes, the charge becomes final and your statement updates.

Can a merchant charge my card without swiping it?

Yes. A merchant can process a card payment using just your card number, expiration date, and CVV (the three-digit code on the back). This is called a card-not-present transaction and is common for online, phone, and mail orders. These transactions have higher fraud rates, so some banks screen them more carefully and may decline them more often.

What's the difference between a credit card swipe and a debit card swipe?

The swipe itself works the same way — your card information travels through the same networks and gets approved by your bank. The difference is what happens after approval. A credit card charge is borrowed money you pay back later. A debit card charge is withdrawn directly from your bank account. Debit transactions also have lower interchange fees, which is why merchants prefer them.

Does my bank see every transaction I make?

Your bank sees every transaction that goes through the card network, which is nearly all of them. Your bank uses this information to detect fraud, calculate your available credit, and generate your statement. Your bank also shares transaction data with credit bureaus, which use it to calculate your credit score.

What happens if I dispute a charge after it settles?

You can dispute a charge within 60 days of the statement date it appears on. Your bank will investigate by reviewing the settlement records and contacting the merchant. If the merchant can't prove they delivered the goods or services, your bank will refund the charge. During the investigation, the amount is typically credited back to your account temporarily.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.