Skip to main content

Nano WizPay Agent API

Agent Connect has been replaced by Nano WizPay Agent API. The old Agent Connect model is retired and deprecated. Email OTP onboarding, scoped session tokens, wallet profiles, the old faucet flow, payment intents, approve-intent, and execute-transfer flows are no longer the production agent API. The production Nano WizPay Agent API is:
Local development for the separate nano-wizpay repo remains:
Do not use the local URL for production agents, integrations, or public documentation examples.

Execution Model

Nano WizPay Agent API is non-custodial. It never stores private keys, never signs user transactions, never executes user funds, and never custodies user funds. The API prepares routes and execution instructions. The agent, user wallet, frontend, SDK, raw calldata executor, or Circle CLI executes the returned calldata or commands. Free read-only endpoints:
  • GET /services
  • GET /contracts/status
  • POST /swap/quote
  • POST /payroll/plan
Paid prepare endpoints:
  • POST /swap/prepare
  • POST /payroll/prepare
Prepare endpoints use a 402-style service fee flow:
  1. Call the prepare endpoint without payment.
  2. The API returns PAYMENT_REQUIRED with the required fee details.
  3. Pay the 0.003 USDC service fee to the service fee collector.
  4. Retry the same prepare request with:
After payment verification, the API returns calldata and Circle CLI command options for the caller to execute.

Production Endpoints

Contracts

Service fee:

Curl Examples

List Services

Check Contract Status

Request Swap Quote

/swap/quote is read-only. It does not create a transaction, collect a fee, sign anything, or move funds.

Plan Payroll

/payroll/plan is read-only. It returns a payroll plan for review before any paid prepare call.

Prepare Swap Without Payment

Expected result before the service fee is paid:
After paying the service fee, retry with the payment transaction hash:
The paid response returns calldata and Circle CLI commands for the caller to execute. WizPay does not sign or submit the user’s swap transaction.

Prepare Payroll Without Payment

Expected result before the service fee is paid:
After paying the service fee, retry with the payment transaction hash:
The paid response returns batch calldata and Circle CLI command options for the caller to execute. WizPay does not sign or submit payroll transactions.

Payroll Execution Note

Payroll prepare responses include batch calldata for SDK, frontend, and raw calldata executors. For Circle CLI demos, prefer the routeAndPay fallback commands from circleCliFallback.commands. Circle CLI may fail with overloaded array-based batchRouteAndPay functions, so demos should use the fallback command set when available.

Safety Requirements for Agents

Agents integrating with Nano WizPay Agent API should:
  • Treat read-only responses as planning data, not completed execution.
  • Show the user the payment, route, token, recipient, and fee details before asking them to execute anything.
  • Require the user’s wallet or Circle CLI environment to sign and submit transactions.
  • Never ask WizPay API to store, receive, or sign with private keys.
  • Never treat an unpaid prepare response as executable.
  • Never replace a missing official route with synthetic pricing or a legacy fallback.

Production Proof

Latest verified Arc testnet transactions:

Deprecated Agent Connect References

Agent Connect formerly used https://agent.wizpay.xyz and an onboarding/session model built around email OTP, scoped tokens, wallet profiles, faucet calls, payment intents, approvals, and execute-transfer calls. That model is retired. New integrations should use https://api.wizpay.xyz and the Nano WizPay Agent API endpoints documented above.