AgnicPay Features
Core payment APIs for X402 payments, balance management, and transactions
AgnicPay Features
AgnicPay provides a suite of APIs for handling X402 payments, managing balances, and tracking transactions. These are the core building blocks for integrating AgnicPay into your applications.
Overview
| Feature | Endpoint | Description |
|---|---|---|
| X402 Fetch | POST /api/x402/fetch | Transparent payment proxy (recommended) |
| Sign Payment | POST /api/sign-payment | Manual X402 payment signing |
| Balance | GET /api/balance | Check wallet USDC balance |
| Transactions | GET /api/transactions | View payment history |
| Trading | POST /api/trade | Swap tokens on Base via DEX aggregation |
Base URL
Authentication
All endpoints require authentication via API token or OAuth2: