issue a virtual card with Lithic and respond to auth-stream (ASA) decisions

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

Steps

  1. Create a card via POST /cards with type=VIRTUAL and an optional spend_limit and spend_limit_duration; the response immediately returns the card number, CVV, and expiry for a virtual card.
  2. Configure your Auth Stream Enrollment (ASA) webhook URL in the Lithic dashboard; this endpoint will receive real-time authorization requests for all cards in your account.
  3. Implement the ASA endpoint — Lithic sends a POST request with a JSON payload describing the transaction (amount, merchant, card token, etc.); your server must respond within 2 seconds.
  4. In your ASA handler, apply your business logic (balance check, fraud rules, merchant category controls) and return a JSON response with decision=APPROVE or decision=DECLINE.
  5. Handle the case where your ASA endpoint is unreachable or times out — Lithic falls back to the card's configured default_authorization_code (typically DECLINE); set this appropriately for your risk tolerance.
  6. Reconcile settled transactions by consuming Lithic's transaction webhooks or by polling GET /transactions, noting that settled amounts may differ from authorized amounts.

Known gotchas

Related routes

Implement Lithic ASA (Authorization Stream Access) decisioning endpoint
lithic.com · 6 steps · unrated
Enroll an Auth Stream Access (ASA) endpoint on Lithic to implement real-time custom authorization logic
docs.lithic.com · 6 steps · unrated
Implement Lithic Agent Settlement Account (ASA) for real-time spend control and balance management on a virtual card program
banking-general · 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