#Cards

Articles about Cards — exploring patterns, best practices, and real-world implementations in production systems.

13 posts tagged with cards. ← All posts

#A2A (5)#ADK (8)#AG-UI (7)#AI Agents (244)#AI Governance (7)#AML (3)#Accounting (9)#Agent Skills (3)#Agentic AI (23)#Agentic Commerce (12)#Agents (4)#Architecture (22)#Audit (3)#Azure (11)#Azure AI Foundry (10)#BigQuery (6)#Capital Markets (8)#Cards (13)#Checkpointing (5)#Cloud Architecture (3)#Compliance (30)#Concurrency (4)#Context Providers (3)#Conversation State (3)#Cost Optimisation (5)#Credit (14)#Crypto (12)#Custody (9)#Distributed Systems (3)#Engineering (7)#Evaluation (5)#FREE-AI (8)#FX (5)#FinOps (5)#FinTech (6)#Financial AI (14)#Fintech (116)#Fraud (10)#Function Tools (6)#GCP (5)#Go (168)#Google ADK (26)#Governance (5)#Guardrails (7)#HIPAA (3)#Harness Engineering (8)#Human-in-the-Loop (7)#KYC (11)#Kubernetes (6)#LLM (4)#LangGraph (11)#Ledger (12)#Lending (14)#MCP (5)#Machine Learning (12)#Markets (4)#Memory (5)#Microsoft Agent Framework (211)#Middleware (9)#Multi-Agent (8)#Multi-Agent AI (14)#Multimodal (4)#Observability (14)#Open Source (6)#OpenTelemetry (5)#Opinion (6)#Orchestration (15)#Payments (49)#Privacy Engineering (3)#Providers (3)#Python (127)#RAG (6)#RBI (3)#Rails (16)#Reconciliation (3)#Regulation (8)#Reliability (15)#Retrieval (3)#Risk (13)#SRE (3)#Security (24)#Sessions (4)#Settlement (9)#Spanner (4)#Streaming (4)#Structured Output (4)#Testing (6)#Trading (8)#Treasury (5)#Workflows (15)
Pratik Dhanave · ·6 min read

Building a Deterministic Interchange Fee Engine

Turn card transaction attributes into interchange, scheme, and markup lines that reconcile to the cent.

Teaches how to build a deterministic fee engine that classifies each transaction into an interchange category (regulated debit, rewards, CPS qualification) and computes interchange + scheme + acquirer markup for merchant statements.

Pratik Dhanave · ·6 min read

Modeling Card Chargebacks as a State Machine

Modeling the full card dispute lifecycle with reason codes, evidence deadlines, representment, arbitration, and provisional-credit ledger entries at every transition.

Teaches how to model the full card dispute lifecycle as a state machine with reason codes, evidence deadlines, representment, pre-arbitration and arbitration, and provisional-credit ledger entries at each transition.

Pratik Dhanave · ·6 min read

Card Authorization, Capture, and Clearing: One Transaction, Three Money States

How to model the card payment as a two-phase auth-then-capture flow plus a clearing tail — handling incremental auths, partial captures, reversals, expiry, and the auth-vs-settled reconciliation that trips up every ledger.

Teaches how to model the card transaction as a two-phase (auth then capture) plus clearing/settlement state machine, handling partial captures, incremental auths, auth expiry/reversal, and the auth-vs-settled amount reconciliation.

Pratik Dhanave · ·6 min read

Integrating 3-D Secure 2 Without Breaking Your Checkout

Wiring the 3DS Server, Directory Server, and issuer ACS into a handshake that produces a cryptogram your authorization message can carry.

Teaches how to integrate 3-D Secure 2: the 3DS Server, Directory Server and issuer ACS handshake, frictionless vs challenge decisioning, device data collection, and liability-shift outcomes feeding the authorization.

Pratik Dhanave · ·6 min read

Network Tokenization and How a Token Vault Shrinks Your PCI-DSS Scope

How a token vault and scheme-issued network tokens push the raw PAN out of your application systems, so most of your services fall out of PCI-DSS scope entirely.

Teaches how a token vault and network tokens (TR-31/EMV payment tokens) remove PAN from application systems, cutting PCI-DSS scope, and how token provisioning, cryptograms, and detokenization boundaries are architected.

All posts on this site are written by Pratik Dhanave, an Agentic AI Architect with 7+ years building production distributed systems, multi-agent AI platforms, and cloud-native infrastructure. About the author → Each article includes working code, architecture diagrams, and references to the specific frameworks and standards discussed. Browse all posts or explore related topics using the tag cloud above.