Synth.cash API

Quick Start

Create a Virtual Card

Each card is linked to a secure Solana escrow wallet. When you send USDC to the provided address, the card's spending limit is automatically updated.

curl -X POST https://synth.cash/api/cards \
  -H "Content-Type: application/json" \
  -d '{"apiKey": "your_api_key", "name": "AI Agent #1"}'

Response

{
  "cardId": "card_...",
  "status": "active",
  "depositAddress": "soLAna1...",
  "spendLimit": 0
}

How it Works

  1. Create a card with your API key
  2. Send USDC to the provided Solana address
  3. Card spend limit automatically updates to match USDC balance
  4. Use the card for purchases, backed by your USDC deposit