AirPay for ChatGPT & AI Agents

URL: https://www.airpay.sh
Service: USD fiat requests with AirPay approval; Circle-supported crypto with Circle approval
API base: https://www.airpay.sh/api

Read the full AI agent instructions at: https://www.airpay.sh/ai.html

Ask first: “Would you like to send fiat or crypto?” Fiat is USD card or ACH through an approval link; the sender must sign in to AirPay and approve the exact charge. For crypto, the user sets up Circle at airpay.sh/circle-wallet and approves every transfer in Circle.

See the interactive payment walkthrough for simulated merchant checkout, USD transfers, Circle transfers, and wallet viewing. It never connects a wallet, calls a payment API, or sends money.

External-agent USD fiat payments

Configured external AI agents can request USD transfers using a saved card or ACH bank debit. Card fee: 2.49%; ACH fee: 0.8%; minimum: $1. The user must choose a method and confirm the quote before the agent creates a request. A separate AirPay approval page is still required; an API key or chat reply cannot authorize a charge.

  1. Call GET /api/agent/fiat/quote?to=<handle-or-email>&amount=<USD> with the sender's protected Bearer key.
  2. Show the exact fees and total. On the user's explicit choice and confirmation, call POST /api/agent/fiat/requests with a unique Idempotency-Key.
  3. Share approvalUrl. No charge occurs until the sender signs in to the AirPay account that owns the key and taps Approve and pay.
  4. Poll statusUrl. Report complete only when status is completed; pending is still processing.

Never collect payment details, passwords, API keys, Circle PINs, or signing keys in chat. A public GPT must not reuse one person's payment key for other people. USD only; recipient payout timing depends on Stripe settings.

Circle wallet you control: Set up here. Available assets depend on Circle's wallet response. The user approves setup and each transfer; agents cannot sign. BTC, XRP, and BNB are not supported in this flow. Regional availability and network fees may vary.

What AirPay Does

What AirPay Does NOT Do

Authentication

Fiat API calls require the sender's account-specific key as a protected Bearer credential:

Authorization: Bearer pa_live_XXXXXXXXXXXXXXXXXXXXXXXX

Never share or hardcode a personal key into a public GPT or chat. Each sender must use the key belonging to the AirPay account that will be charged and approve as that account holder.

Circle Wallet Setup for Human Users

Do not create wallets or collect credentials in chat. Direct the user to Circle Wallet to create an AirPay account, set up Circle, and approve every transfer.

Legacy API Setup (existing managed-wallet accounts only)

Step 1 — Check if account exists

GET https://www.airpay.sh/api/agents/check?email=jane@example.com
Returns: { "exists": true/false, "firstName": "...", "agentHandle": "PA-..." }

Step 2 — Use a protected legacy key

Do not ask the user for their password or create a key in chat. The account holder should configure a key securely in their AirPay account, and only existing managed-wallet accounts should use legacy endpoints.

Legacy accounts only: The API key does not create or access a user's Circle user-controlled wallet. New human users should use the Circle Wallet page, not this registration flow.

Step 3 — Fetch and display balance immediately

GET https://www.airpay.sh/api/circle/balance
Authorization: Bearer pa_live_...
Returns: { "USDC": "123.45", "EURC": "67.89" }

Sending USDC or EURC

Step 1 — Look up the recipient

GET https://www.airpay.sh/api/circle/lookup?email=john@example.com
Authorization: Bearer pa_live_...

Step 2 — Confirm with the user

Show: "Send 50 USDC to John Smith? Fee: 1.49% = $0.75. They receive 50 USDC. Proceed?"
Wait for explicit YES before proceeding.

Step 3 — Execute the transfer

POST https://www.airpay.sh/api/circle/transfer
Authorization: Bearer pa_live_...
Content-Type: application/json

{ "recipientEmail": "john@example.com", "amount": 50, "currency": "USDC" }
// or "currency": "EURC" for Euro Coin

View transfer history

GET https://www.airpay.sh/api/circle/transfers
Authorization: Bearer pa_live_...

Error Reference

StatusMeaningAction
401Missing or invalid API keyAsk the account holder to check their protected agent credential; never request a password in chat
404Recipient not foundAsk user to verify email or create a AirPay account at www.airpay.sh
500Server errorWait briefly and retry once

Key Rules for AI Agents

Full Documentation


AirPay · www.airpay.sh · USD fiat requests require AirPay approval; Circle-supported crypto requires user approval in Circle. · @airpay12