Agent Payment Rails

Give Your AI Agents
Spending Power

The API that bridges AI agents and the real economy. Create virtual cards programmatically — let your agents buy anything, anywhere.

RESTful API
Webhooks
SDKs
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 card

Built for AI Agents

Your AI agents can autonomously purchase anything that accepts card payments

SaaS Subscriptions

AI agents autonomously purchase and manage software subscriptions — OpenAI, AWS, Vercel, and more.

Domain Registration

Programmatically buy domains from any registrar. Your AI agent handles the entire purchase flow.

Cloud Resources

Spin up servers, buy compute credits, or provision infrastructure without human intervention.

API Services

Pay for third-party APIs, data feeds, and developer tools automatically via card payments.

API Reference

Simple REST endpoints. Create cards, check balances, and manage transactions.

Create a new gift card

Parameters
amountcurrencynetworktype
Response
{
  "id": "card_8xK2mN...",
  "number": "4532 8721 9043 2847",
  "cvv": "***",
  "exp": "12/27",
  "balance": 500.00,
  "status": "active"
}

How It Works

From API call to real-world purchase in seconds

STEP 01

API Call

Your AI agent sends a POST request to create a card

STEP 02

Card Created

A real Visa/MC card is provisioned instantly

STEP 03

Agent Pays

Use card details for any online purchase

STEP 04

Webhook

Receive real-time transaction notifications

Enterprise Security

API keys with scoped permissions, IP whitelisting, and rate limiting. SOC 2 compliant.

Real-Time Webhooks

Get notified instantly when cards are used, declined, or expire. Full event history.

Test Mode

Full sandbox environment with test API keys. No real money involved during development.

Start Building Today

Get your API key in seconds. 1,000 free test transactions included.

Free tier available • No credit card required