Merchant APIs
Charge users for your services and resources through AgnicPay
Merchant APIs
AgnicPay provides merchant APIs that let you charge users directly for your services, resources, and APIs. Payments settle instantly to your wallet.
Merchant Revenue Streams
AgnicPay supports two ways for merchants to earn revenue:
Comparison
| Feature | AI Gateway Monetization | Resource Charges |
|---|---|---|
| Use Case | AI API calls (chat, completions) | Any resource (Plaid, data APIs, file processing) |
| Pricing Model | Percentage fee on AI costs | Fixed amount per charge |
| Payment Flow | Automatic with AI request | Explicit charge API call |
| Settlement | Accumulated, then paid out | Instant to your wallet |
| User Experience | Transparent | You control the UX |
Getting Started
1. Get Your Merchant Credentials
Log in to pay.agnic.ai and navigate to Earnings to find:
- Merchant ID: Your Privy DID (
did:privy:...) - Merchant Wallet: Your payout wallet address (
0x...)
2. Choose Your Integration
For AI-powered products (chatbots, AI tools, AI SaaS):
- Use AI Gateway Monetization
- Add merchant headers to your AI Gateway requests
- Earn a percentage on every AI call
For non-AI resources (data APIs, file processing, third-party services):
- Use Resource Charges
- Call the charge endpoint when users consume resources
- Full payment goes directly to your wallet
Dashboard
View your earnings at pay.agnic.ai/earnings:
- Fee Earnings: From AI Gateway monetization (percentage-based)
- Resource Charges: From direct charges (fixed amount)
- Settlement History: Transaction details and status