# PayDirect

> Instant crypto settlement for the agent economy. An eCorp Venture.

**What it does:** Programmable crypto settlement for AI agents and developers on Base.

## What you can do here

- **createPayment** — `POST /api/v1/payments` · Create a new crypto payment request (USDC, ETH, or ADAO on Base)
- **getPayment** — `GET /api/v1/payments/:id` · Retrieve payment details and status by ID
- **listPayments** — `GET /api/v1/payments` · List all payments for the authenticated workspace
- **verifyPayment** — `POST /api/v1/verify` · Verify on-chain confirmation status of a payment
- **sendPayout** — `POST /api/v1/payouts` · Send a gasless crypto payout to any Base address
- **listPayouts** — `GET /api/v1/payouts` · List payout history for the workspace
- **getBalance** — `GET /api/v1/wallet/balance` · Get USDC, ETH, and ADAO balances for the workspace wallet
- **getWalletStats** — `GET /api/v1/wallet/stats` · Aggregated workspace stats and balances across EOA + smart wallet (history persists when switching default wallet)
- **getSwapQuote** — `GET /api/v1/swap/quote` · Get a real-time Uniswap V3 swap quote on Base
- **executeSwap** — `POST /api/v1/swap` · Execute a gasless on-chain token swap via Uniswap V3
- **createOnrampSession** — `POST /api/v1/onramp/session` · Generate a Coinbase Onramp session for fiat-to-crypto purchases (credit card / bank)
- **registerWebhook** — `POST /api/v1/webhooks` · Register a webhook URL to receive real-time payment and swap events
- **createWorkspace** — `POST /api/v1/workspaces` · Programmatically create a new workspace with wallets and API keys
- **apiDiscovery** — `GET /api/v1` · Get full API surface, supported tokens, fee tiers, and webhook events

## x402

- **discovery** — `GET /api/x402`
- **/api/x402/weather** — `GET /api/x402/weather` · $0.001 · Mock weather data — x402 pay-per-request demo
- **/api/x402/content** — `GET /api/x402/content` · $0.01 · Premium AI content — x402 pay-per-request demo

## Machine-readable

- Agent card: https://paydirect.com/.well-known/agent.json
- Soul: https://paydirect.com/entity/soul
- Status: https://paydirect.com/entity/status
- Health: https://paydirect.com/api/status
- x402: https://paydirect.com/api/x402
- A2A: https://paydirect.com/api/a2a
- MCP: https://paydirect.com/api/mcp
