QUICKSTARTTEST MODE

Give your AI agent a credit card in 3 API calls

AI Payment Proxy issues single-use virtual Visa cards for autonomous AI agents. Your agent creates a card with a hard spending limit, reveals the card number, makes a purchase, and the card auto-cancels.

01

Create a card

Your AI calls our API with a spending limit. A real Visa card is issued instantly.

02

Reveal credentials

Get the card number, CVV, and expiry. Use these at any online checkout.

03

Card auto-cancels

After the purchase, cancel the card via API. Limit reached = auto-canceled.

# Step 1: Create a card for your AI agent
curl -X POST https://aipaymentproxy.com/api/v1/cards   -H "Authorization: Bearer YOUR_API_KEY"   -d '{"label":"Shopping Agent","limit_usd":50}'

# Step 2: Reveal card number + CVV
curl https://aipaymentproxy.com/api/v1/cards/CARD_ID   -H "Authorization: Bearer YOUR_API_KEY"

# Step 3: Cancel after use
curl -X DELETE https://aipaymentproxy.com/api/v1/cards/CARD_ID   -H "Authorization: Bearer YOUR_API_KEY"

Endpoints

Authentication

All requests require an API key in the Authorization header:

Authorization: Bearer aipp_live_...
POST/api/v1/cards

Create a virtual card

Issues a single-use virtual Visa card scoped to your AI agent. The card is immediately active with a hard spending limit — your agent cannot overspend. Ideal for autonomous purchasing workflows where a human is not in the loop.

Parameters

labeloptional

string

Human-readable label for the card (e.g. agent name or purpose)

limit_usdrequired

integer

Spending limit in USD. Must be between 1 and 50000.

merchant_categoryoptional

string

Restrict card to a specific Stripe merchant category code

Request

curl -X POST https://aipaymentproxy.com/api/v1/cards \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label": "Amazon purchase","limit_usd": 50,"merchant_category": "general_merchandise"}'

Response

{
  "success": true,
  "data": {
    "id": "6d910c90-4639-43e8-9411-22acf35f6644",
    "stripe_card_id": "ic_1TDm4AACuqYQOhbF",
    "label": "Amazon purchase",
    "limit_usd": 50,
    "status": "active",
    "created_at": "2026-03-22T13:29:18Z"
  }
}