Skip to main content

Platform Architecture Self-Assessment Questions

Last Updated: 2026-12-01 Status: Complete

Answer these questions without notes, then check yourself against the linked page. The category quizzes contain worked answers for many of the scenarios. Design questions have more than one good answer: what matters is that you can name the trade-offs.

Entity Modeling​

See Payment Platform Data Model.

  1. What is the relationship between a platform, a sub-merchant and a transaction? Draw the entity relationships.
  2. Why might a sub-merchant have several bank accounts? How should this be modeled?
  3. A merchant has three physical locations. How should the hierarchy be modeled, and why does it matter for reporting and settlement?
  4. Which states should a sub-merchant pass through from application to termination? (See Payment State Machines.)
  5. How should pricing and fee schedules be modeled to support different rates for different platforms or merchant tiers? (See Fee Engine Design.)

Transaction Modeling​

See Payment Platform Data Model and Payment State Machines.

  1. A transaction is authorized, partially captured twice, then partially refunded. Design a data model that tracks all of this accurately.
  2. Why should transaction records be immutable? How are status changes recorded?
  3. What is an idempotency key, and how should it be stored and used? (See Idempotency Key Implementation.)
  4. How should multi-currency transactions be modeled? Which fields are needed?
  5. A settlement file arrives with 10,000 transactions. How are they linked to existing authorization records?

Audit and Compliance​

See Audit Trail Design and Handling PII and Card Data.

  1. What must an audit log entry contain to be useful for compliance?
  2. How should PII be handled in application logs? In audit logs?
  3. A regulator asks for every action taken on one merchant account over the past two years. Which design makes this query possible?
  4. How long should KYC documents be retained after a merchant is terminated, and who decides?
  5. A customer exercises their right to erasure under GDPR. What can and cannot be deleted in a payment system?

Event Systems​

See Event-Driven Payment Architecture and Webhooks.

  1. What is the difference between at-least-once and exactly-once delivery? Which do webhook systems use, and why?
  2. Design a webhook retry strategy. Which backoff schedule makes sense, and when should retries stop?
  3. A platform receives duplicate webhook events. How should its system handle them?
  4. What should a payment.captured webhook payload contain, and what must it never contain?
  5. How should webhook signatures be implemented and verified?

Money Movement​

See Payout Architecture, Reserves and Negative Balances and Fee Engine Design.

  1. Explain the difference between gross and net funding from the merchant's perspective.
  2. A merchant has $10,000 in sales, $500 in refunds, a 10% rolling reserve and $200 in fees. Calculate the payout, and say what you need to know about the reserve base first.
  3. How should negative balances be handled? What are the options, and in what order?
  4. Design the payout calculation for daily payouts. What are the inputs and the outputs?
  5. How should fee disputes be modeled and resolved?

Ledger Design​

See Double-Entry Ledger Design and Pending vs Available Balance.

  1. Using double-entry bookkeeping, record a $100 card sale with a $3 fee. Which accounts are debited and credited, and when?
  2. What is the difference between pending and available balance? Give examples of events that affect each.
  3. How is a chargeback recorded in a ledger? What changes if the merchant wins representment?
  4. Why is double-entry bookkeeping worth its complexity for a payment platform?

Scenario Questions​

  1. Scenario: Design the database schema for a payment facilitator platform: platforms, sub-merchants, transactions, disputes, settlements and payouts. Show primary keys, foreign keys and key fields. (See Payment Platform Data Model.)
  2. Scenario: A platform says it receives duplicate webhook events. Investigate the possible causes and design a fix on both the sender and the receiver. (See Webhooks.)
  3. Scenario: A sub-merchant asks for its data to be deleted. Walk through what can be deleted, what must be retained, and how to minimize exposure of what you keep. (See Handling PII and Card Data.)
  4. Scenario: Design an audit system that can answer "who viewed this merchant's bank account details in the past 30 days?" What must be logged, and how? (See Audit Trail Design.)
  5. Scenario: A bug caused 100 transactions to settle with wrong amounts. Design a process to identify, correct and reconcile them while keeping the audit trail intact. (See Ledger Reconciliation.)
  6. Scenario: The platform must support USD and EUR transactions with settlement in the merchant's local currency. Design the data model and the fee calculation. (See Pending vs Available Balance.)

Security Beyond PCI​

See Access Control for Payment APIs.

  1. How should API keys be issued, stored and rotated?
  2. What is role-based access control, and how should it be implemented for a payment platform's dashboard and API?
  3. A developer needs production data to debug an incident. Which controls should be in place?
  4. Scenario: Design authentication and authorization for a payment platform API. Consider API keys, OAuth, roles, permissions and tenant isolation.

Observability​

See Payment Platform Observability.

  1. Which metrics matter most for a payment platform, and how should you set their alert thresholds?
  2. A platform processes 1,000 transactions per second. How would you monitor performance and detect a processor degrading?
  3. What is distributed tracing, and why does it matter for payment flows that span your API, a processor and webhooks?
  4. Scenario: Design the dashboards for a payment platform. Which views, metrics and alerts would you include, and for whom?

Testing​

See Testing Payment Systems.

  1. Where do test card numbers come from, and how do you test approval, decline and fraud outcomes?
  2. How would you test a chargeback workflow without creating real chargebacks?
  3. What is the difference between testing against a processor sandbox and testing against mocks? When do you use each?
  4. Scenario: Design a testing strategy for a payment platform, including unit, integration, end-to-end and load tests.

Scaling and Performance​

See Scaling Payment Platforms.

  1. A payment platform needs to handle 10,000 transactions per second. Which scaling strategies would you recommend, and which parts must stay strongly consistent?
  2. How would you design a schema that scales to billions of transactions?
  3. What is the difference between horizontal and vertical scaling? Which parts of a payment system can scale out easily?
  4. Scenario: Queries on the transactions table are slow. What optimization strategies would you consider, in what order?
Share: