Create a virtual card via the Marqeta Core API with Just-in-Time (JIT) Gateway Funding and configure spend controls

domain: www.marqeta.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 product with the appropriate funding model set to Gateway JIT Funding by referencing the Card Products endpoint in the Marqeta Core API; this links authorizations to your funding gateway.
  2. Create a user account holder (individual cardholder) and associate it with an account holder group that has the desired authorization controls and velocity controls pre-configured.
  3. Issue a virtual card by POSTing to the cards endpoint with the card_product_token and user_token; virtual cards are immediately available for card-not-present transactions.
  4. Configure authorization controls to restrict permitted merchant categories and velocity controls to cap spending frequency or amounts via the Authorization Controls and Velocity Controls endpoints.
  5. When a cardholder transacts, Marqeta sends a Gateway JIT Funding request to your registered funding gateway URL; respond with a funding decision (approve with amount or decline) within the required response window.
  6. Subscribe to webhook events for transaction authorizations and clearings at your webhook endpoint to maintain a real-time ledger of card activity.

Known gotchas

Related routes

Implement a Marqeta JIT (Just-In-Time) funding gateway to approve or decline card authorizations in real time
docs.marqeta.com · 5 steps · unrated
Configure Marqeta JIT (Just-in-Time) funding for a debit card program with real-time authorization decisions
banking-general · 6 steps · unrated
issue a card with Marqeta and handle JIT funding gateway requests
marqeta.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