Skip to content
Tutorials Center
My learning

Topics

Lesson 16 of 36 ยท Banking and Credit

Cards and Digital Payments

Compare debit, credit and prepaid cards, mobile wallets and bank transfers, understand fees and safety, and see how a card payment works step by step.

Cash is now only one way to pay. Cards, phones and bank transfers dominate in many countries. Each has costs, benefits and risks. This lesson explains the main payment methods and how to use them safely.

Debit, credit and prepaid cards

Debit card Credit card Prepaid card
Whose money Your own, taken from your account The bank's, which you must repay Money you loaded in advance
Interest None Yes, if you do not repay in full by the due date None
Overspending risk Limited to your balance (unless overdraft) You can build debt Limited to loaded amount
Builds credit history Usually no Yes, if used and repaid well Usually no
Fraud protection Varies Often stronger by law or scheme rules Varies

A debit card pays directly from your account. A credit card is a short-term loan: you spend now and repay the bank later. If you repay the full balance by the due date, many cards charge no interest at all. If you do not, interest can be high (see the credit card lesson at the end of this chapter). A prepaid card works only with the money you load onto it, which makes it a useful tool for teenagers and for travel budgets.

How a card payment works

When you tap or insert your card, several parties work together within seconds.

sequenceDiagram
  participant You
  participant Shop
  participant Network as "Card network"
  participant Bank as "Your bank"
  You->>Shop: Tap card
  Shop->>Network: Payment request
  Network->>Bank: Is the money available?
  Bank-->>Network: Approved
  Network-->>Shop: Approved
  Shop-->>You: Receipt

The request travels to your bank, which approves or declines it.

The shop pays a small fee to its payment provider (often 1-3% of the sale, though rates and regulation vary), which is one reason some small shops set minimum amounts or surcharges.

Digital payments

  • Mobile wallets (phone-based payments) store card details securely and pay by tap or online. They usually use a one-time code (a token) in place of your real card number, which adds safety.
  • Bank transfers and instant payment systems move money between accounts, often free for domestic payments.
  • Peer-to-peer apps let you send money to friends. Treat them like cash: payments are often hard to reverse, so check the recipient's name.
  • Buy now, pay later (BNPL) splits a purchase into installments. Easy to use, easy to overspend; late fees can apply. Treat each installment as a debt.

Costs to watch

  • Foreign transaction and currency-conversion fees when paying abroad. When asked, pay in the local currency, not your home currency, because the shop's conversion rate is usually worse.
  • ATM fees for cash withdrawals, especially at other banks' machines or abroad.
  • Cash advance fees and immediate interest on credit cards.
  • Overdraft charges when a debit payment exceeds your balance.
Python What does abroad cost?

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Using cards safely

  1. Protect your PIN; never write it on the card.
  2. Use two-step verification for banking and payment apps.
  3. Check online shops: look for the correct address, reviews and a secure payment page. Be careful with deals that seem too good to be true.
  4. Turn on transaction alerts.
  5. Freeze or cancel a lost card immediately, and report unknown transactions.
  6. Never click payment links in unexpected messages.

If you cannot repay a credit card balance in full each month, do not treat the card as "free money". The interest can quickly cost more than the things you bought.

Tracking card spending

Because card payments feel less real than handing over cash, people tend to spend more with them. A weekly look at your card statement or app helps.

Python Card statement summary

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. A debit card takes money from...

    Debit payments are drawn from the money in your account.
  2. 2. What usually happens if you repay a credit card in full by the due date?

    The grace period often means no interest if the full balance is repaid; check your card's terms.
  3. 3. When a shop abroad offers to charge you in your home currency, it is usually best to...

    The shop's conversion rate is usually worse than your bank's.
  4. 4. Which is a safe habit?

    Alerts let you spot unknown payments quickly.

Summary

  • Debit uses your money, credit is a loan, prepaid uses what you loaded.
  • A card payment passes from shop to network to your bank in seconds.
  • Mobile wallets, transfers, peer-to-peer apps and BNPL each have costs and risks.
  • Watch fees: foreign, ATM, cash advance and overdraft.
  • Protect PINs and check statements; report problems quickly.

Next: Credit Scores and Credit Reports