Issue a Lithic virtual card, configure authorization rules, and simulate a transaction via the sandbox

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

Steps

  1. Authenticate requests by including your API key in the Authorization header as a bare key value (not Bearer-prefixed) per docs.lithic.com/docs/api-basics.
  2. POST to https://api.lithic.com/v1/cards with a body specifying type: VIRTUAL and optionally spend_limit, spend_limit_duration, and state: OPEN to create an active virtual card.
  3. Optionally attach Authorization Rules via the Authorization Rules endpoints (docs.lithic.com/docs/authorization-rules-v2) to restrict the card to specific MCCs, merchants, or apply velocity limits.
  4. In sandbox, simulate a card authorization by calling the simulations endpoint with the card token and a transaction amount; inspect the returned authorization decision.
  5. Retrieve card PAN and CVV in sandbox (or in production only for PCI-compliant clients) via the card details endpoint.
  6. Subscribe to card-related events using the Events API (docs.lithic.com/docs/events-api) to receive webhook notifications for authorizations, clearings, and disputes.

Known gotchas

Related routes

Create a Lithic virtual card with spend controls and retrieve authorization events
lithic.com · 6 steps · unrated
Create a Lithic virtual card and handle transaction webhooks
docs.lithic.com · 5 steps · unrated
issue a virtual card with Lithic and respond to auth-stream (ASA) decisions
lithic.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ 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