Summary of "Thiết kế hệ thống Payment Gateway | Trần Quốc Huy - Wecommit"

Overview

A technical walkthrough and practical guide to designing a payment gateway (Fintech) system, with focus on QR-based domestic payments and expansion to credit-card processing. Covers architecture, merchant integration, security, data design, operations, and implementation recommendations.


Key components and architecture


QR-code payment flow (domestic / bank transfers)

Types of QR codes:

Typical end-to-end flow:

  1. Customer scans QR with bank app.
  2. Bank validates QR via payment provider (e.g., VNPay).
  3. Transaction routed through national switch (NAPAS 24/7 in Vietnam).
  4. Funds settle to merchant (often into virtual/sub-accounts).
  5. Payment gateway receives bank webhook.
  6. Gateway maps bank webhook to internal transaction ID, updates status.
  7. Gateway notifies merchant via webhook.

Design recommendations:


Merchant onboarding & integration

Onboarding flow:

APIs to expose:

UX and secrets:


Webhooks, idempotency, and workers


Refund handling


Credit-card integration (PCI concerns)

Card flow basics:

Authentication and flows:

Strategy recommendations:


Security, PCI-DSS, tokenization & key management


Data design, scaling, and performance


Settlement and reconciliation


Operational considerations


Implementation guidance / recommended approach

Three essential pillars to start:

  1. Payment method(s) — QR is the simplest to start with.
  2. Merchant integration — APIs, webhooks, onboarding flows.
  3. Security — authentication, TLS, encryption, reduce PCI scope.

Practical roadmap:


Practical tutorials / guides (covered or implied)


Common pitfalls and cautions


Main speakers / sources

Note: references in the talk include VNPay, NAPAS 24/7, banks like Vietcombank/BIDV, and international processors like Stripe/PayPal as examples.

Category ?

Technology


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video