PayGate Examples
E-commerce API
# Create PayGate for product catalog API
POST /api/v1/paygates
{
"targetUrl": "https://store.example.com/api/products",
"price": "0.005",
"credits": 10,
"method": "GET",
"title": "Product Catalog API",
"description": "Access to full product database with pricing"
}
# Generated PayGate: https://402ify.com/prod1234
# Users pay $0.005 for 10 API calls
AI Model API
# Create PayGate for AI inference endpoint
POST /api/v1/paygates
{
"targetUrl": "https://ai.example.com/api/v1/generate",
"price": "0.02",
"credits": 1,
"method": "POST",
"title": "AI Text Generation",
"description": "High-quality text generation per request"
}
# Generated PayGate: https://402ify.com/ai567890
# AI agents pay $0.02 per inference call
Premium Content
# Create PayGate for premium article
POST /api/v1/paygates
{
"targetUrl": "https://blog.example.com/premium-article-123",
"price": "0.10",
"credits": 1,
"method": "GET",
"title": "Premium Market Analysis",
"description": "In-depth cryptocurrency market analysis"
}
# Generated PayGate: https://402ify.com/blog4567
# Readers pay $0.10 for article access
Last updated