Files
system-design-101/data/guides/how-does-visa-work-when-we-swipe-a-credit-card-at-a-merchant's-shop.md
Kamran Ahmed ee4b7305a2 Adds ByteByteGo guides and links (#106)
This PR adds all the guides from [Visual
Guides](https://bytebytego.com/guides/) section on bytebytego to the
repository with proper links.

- [x] Markdown files for guides and categories are placed inside
`data/guides` and `data/categories`
- [x] Guide links in readme are auto-generated using
`scripts/readme.ts`. Everytime you run the script `npm run
update-readme`, it reads the categories and guides from the above
mentioned folders, generate production links for guides and categories
and populate the table of content in the readme. This ensures that any
future guides and categories will automatically get added to the readme.
- [x] Sorting inside the readme matches the actual category and guides
sorting on production
2025-03-31 22:16:44 -07:00

2.6 KiB
Raw Blame History

title, description, image, createdAt, draft, categories, tags
title description image createdAt draft categories tags
How VISA Works When Swiping a Credit Card Explore the VISA payment process from authorization to settlement. https://assets.bytebytego.com/diagrams/0403-visa-payment.jpg 2024-03-13 false
payment-and-fintech
VISA
Payment Processing

VISA, Mastercard, and American Express act as card networks for clearing and settling funds. The card acquiring bank and the card issuing bank can be and often are different. If banks were to settle transactions one by one without an intermediary, each bank would have to settle the transactions with all the other banks. This is quite inefficient.

The diagram shows VISAs role in the credit card payment process. There are two flows involved. Authorization flow happens when the customer swipes the credit card. Capture and settlement flow occurs when the merchant wants to get the money at the end of the day.

Authorization Flow

  • Step 0: The card issuing bank issues credit cards to its customers.

  • Step 1: The cardholder wants to buy a product and swipes the credit card at the Point of Sale (POS) terminal in the merchants shop.

  • Step 2: The POS terminal sends the transaction to the acquiring bank, which has provided the POS terminal.

  • Steps 3 and 4: The acquiring bank sends the transaction to the card network, also called the card scheme. The card network sends the transaction to the issuing bank for approval.

  • Steps 4.1, 4.2, and 4.3: The issuing bank freezes the money if the transaction is approved. The approval or rejection is sent back to the acquirer, as well as the POS terminal.

Capture and Settlement Flow

  • Steps 1 and 2: The merchant wants to collect the money at the end of the day, so they hit ”capture” on the POS terminal. The transactions are sent to the acquirer in batches. The acquirer sends the batch file with transactions to the card network.

  • Step 3: The card network performs clearing for the transactions collected from different acquirers, and sends the clearing files to different issuing banks.

  • Step 4: The issuing banks confirm the correctness of the clearing files, and transfer money to the relevant acquiring banks.

  • Step 5: The acquiring bank then transfers money to the merchants bank.

  • Step 4: The card network clears the transactions from different acquiring banks. Clearing is a process in which mutual offset transactions are netted, so the number of total transactions is reduced.

In the process, the card network takes on the burden of talking to each bank and receives service fees in return.