DEMO READY ON SUI TESTNET

Agent-triggered card provisioning.

Give your agent secure spending power without a card vault or fiat checkout. A user action becomes a Sui USDC x402 payment and a virtual card in one flow.

Provisioning Loop
AgentYour cloud invoice is due. Should I handle payment for you?
UserYes. Use USDC on Sui and keep it within the purchase limit.
Agent> POST /api/provision { merchant: 'Apple Inc', amount: 5.00 }
ServerHTTP 402 Payment Required: Sui USDC signature needed.
AgentSigning the challenge with the funded Sui account...
ServerHTTP 200 OK: Merchant-locked virtual card issued.
Sui x402 facilitator connected
01

Sui Account

The demo uses a funded Sui account to simulate the user-approved payment step while keeping the browser flow simple.

02

x402 Settlement

The protected route emits a Sui USDC HTTP 402 requirement and settles the signed payment through the facilitator.

03

Card Issuance

After settlement clears, Lithic creates a merchant-locked virtual card with the requested spend limit.

App Router APIs, ready for Vercel.

The interface, x402 payment flow, Sui settlement, and card APIs deploy together as one Vercel project.

  • GET /demo
  • POST /api/demo/run-agent
  • POST /api/provision
const response = await fetch("/api/provision", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    merchant: "Apple Inc",
    amount: "5.00"
  })
});