The API that bridges AI agents and the real economy. Create virtual cards programmatically — let your agents buy anything, anywhere.
import requests
api_key = "hayo_sk_live_..."
base_url = "https://api.hayopay.com/v1"
# Create a $500 gift card
response = requests.post(
f"{base_url}/cards",
headers={"Authorization": f"Bearer {api_key}"},
json={
"amount": 500,
"currency": "USD",
"network": "visa",
"type": "single_use"
}
)
card = response.json()
print(f"Card: {card['number']}")
print(f"CVV: {card['cvv']}")
print(f"Exp: {card['exp']}")
# Use card for a purchase (with Stripe, etc.)
# card['number'] works like any real cardYour AI agents can autonomously purchase anything that accepts card payments
AI agents autonomously purchase and manage software subscriptions — OpenAI, AWS, Vercel, and more.
Programmatically buy domains from any registrar. Your AI agent handles the entire purchase flow.
Spin up servers, buy compute credits, or provision infrastructure without human intervention.
Pay for third-party APIs, data feeds, and developer tools automatically via card payments.
Simple REST endpoints. Create cards, check balances, and manage transactions.
Create a new gift card
{
"id": "card_8xK2mN...",
"number": "4532 8721 9043 2847",
"cvv": "***",
"exp": "12/27",
"balance": 500.00,
"status": "active"
}From API call to real-world purchase in seconds
Your AI agent sends a POST request to create a card
A real Visa/MC card is provisioned instantly
Use card details for any online purchase
Receive real-time transaction notifications
API keys with scoped permissions, IP whitelisting, and rate limiting. SOC 2 compliant.
Get notified instantly when cards are used, declined, or expire. Full event history.
Full sandbox environment with test API keys. No real money involved during development.
Get your API key in seconds. 1,000 free test transactions included.
Free tier available • No credit card required