Implement network tokenization for a card-on-file payment flow (Visa Token Service or Mastercard Digital Enablement Service)

domain: banking-general · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enroll as a Token Requestor with Visa (VTS) or Mastercard (MDES) through your payment processor or directly; receive a Token Requestor ID (TRID)
  2. When storing a card, call the tokenization API with the PAN, expiry, and consumer device/wallet context; receive a network token (same format as a PAN) and a corresponding DPAN/token expiry
  3. Store the network token and token cryptogram generator (or use your processor's vault which handles this); never store the raw PAN after tokenization
  4. At transaction time, generate a fresh transaction-specific cryptogram (TAVV for Visa, DSRP cryptogram for Mastercard) using the token and transaction data; submit the token + cryptogram to your acquirer instead of the PAN
  5. Handle token lifecycle events: token status updates (suspended, deleted), PAN-to-token notification when the issuer re-issues the card — network tokens auto-update, so the stored token remains valid even after physical card replacement
  6. For card-not-present web payments, use the token with 3DS2 authentication using the token rather than the PAN to maintain tokenized authentication continuity

Known gotchas

Related routes

Provision a network token for a Visa card via Visa Token Service API
visa.com · 5 steps · unrated
Choose between card-on-file and network tokens for repeat agent purchases
agentic-payments · 6 steps · unrated
Understand Mastercard Digital Enablement Service (MDES) tokenization concepts including provisioning flow and token cryptogram usage
Network-token provisioning · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans