Agent Connect
Agent Connect is the WizPay interface for AI agents. It lets ChatGPT Actions, Claude, MCP clients, Telegram or WhatsApp bots, and custom automation tools connect to a user wallet, read balances, create approval-gated payment intents, and execute Arc testnet stablecoin transfers. The public agent endpoint is:What Agent Connect Supports
Agent Connect currently supports:- Health checks for the public API
- Email OTP onboarding for a user wallet session
- Scoped token issuance for agent calls
- Wallet profile lookup
- ARC-TESTNET balance checks
- EURC faucet requests on ARC-TESTNET
- Payment intent creation
- User approval for payment intents
- Payment execution through Circle Agent Wallet CLI
ChatGPT Actions Setup
In a custom GPT, add WizPay as an Action by importing the OpenAPI schema URL:- Authentication: None
- Schema source: Import from URL
- Privacy policy / terms: use the public WizPay links configured for the GPT listing
scopedToken field or the secure Agent Connect cookie. The OpenAPI schema intentionally avoids global bearer auth so ChatGPT Actions can call public onboarding tools and then pass the scoped token inside request bodies or query parameters.
User Flow
A typical AI-agent flow is:- Run
getHealthto verify the API is online. - Start an Agent Connect session.
- Ask the user for their email.
- Request an email OTP.
- Ask the user for the OTP.
- Complete OTP verification.
- Issue or receive a scoped token.
- Check wallet profile and balances.
- Create a payment intent.
- Ask the user to approve the intent.
- Execute the approved intent.
- Return the transaction status or transaction hash when available.
Core Operations
Health Check
Use health checks before running payment tools.Start Session
pending or onboarding state.
Request Email OTP
Complete OTP
Issue Scoped Token
Check Connected Account
Check Balances
Claim Faucet
Create Payment Intent
pending_approval. The agent must ask the user for explicit approval before executing it.
Approve Payment Intent
Execute Payment Intent
estimate to true:
Approval and Safety Model
Agent Connect uses an approval-gated payment flow:- Creating an intent does not send funds.
- Approval records the user’s authorization.
- Execution is separate from approval.
- Execution requires the intent to be approved.
- Scoped tokens are tied to a connected Agent Connect session.
- Amount
- Token
- Chain
- Recipient
- Memo or purpose
- Whether the call is estimate-only or real execution
Security Notes
- Never expose
scopedTokenin public docs, screenshots, or shared chat logs. - Treat session IDs as internal implementation details for end users.
- Always ask for explicit user approval before executing a payment.
- Use
estimate: truewhen testing execution flow without broadcasting. - Keep production and testnet flows clearly separated.
Current Limitations
- ARC-TESTNET is the supported agent chain.
- USDC and EURC are the supported agent tokens.
- Swap is not supported through Agent Connect yet.
- Batch payroll and advanced frontend-only flows are not fully exposed as AI-agent tools yet.
- Agent Connect is optimized for single-user wallet onboarding and approval-gated payments.
Troubleshooting
ChatGPT says the API schema is invalid
Re-import the schema from:agent.wizpay.xyz before importing the new one.
Health check fails in ChatGPT but works in a browser
Click Update in the GPT editor and make sure there are no pending schema changes. ChatGPT may keep using an older Action schema until the GPT is updated.Payment execution returns a Circle error
Confirm that:- The intent status is
approved. - The scoped token belongs to the same session that created the intent.
- The token is
USDCorEURC. - The chain is
ARC-TESTNET. - The recipient is a valid EVM address.
- Use
estimate: truefirst to verify Circle accepts the transfer request without broadcasting.