SSLOP provides a RESTful JSON API for creating and managing virtual credit cards for AI agent purchases. All endpoints return JSON responses.
The API is designed for programmatic use by AI agents. Each call creates a scoped virtual card with enforced spending limits and optional merchant category restrictions.
https://sandbox.lithic.com for testing. Production uses https://api.lithic.com.
All API endpoints require Bearer token authentication. Include your API key in the Authorization header:
Creates a new virtual card with spending limits. Returns PAN, CVV, and expiry for immediate use.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
purpose | string | No | "agent_purchase" | Memo describing the card's purpose |
limit_cents | integer | No | 5000 | Maximum spend amount in cents |
duration | string | No | "TRANSACTION" | TRANSACTION (single-use) or FOREVER |
allowed_mccs | array | No | [] | Merchant category codes to allow |
Returns a list of all cards for the account (limited to 50 most recent).
Closes a card immediately. No further transactions can be made on it.
Configure this URL as your Lithic webhook endpoint. Receives all card and transaction events.
| Event | Description |
|---|---|
authorization.created | Card was authorized for a charge |
transaction.created | Transaction settled |
card.transaction | Card was used |
card.updated | Card state changed |
Returns aggregated statistics for the dashboard UI.