The Real Problem
Automated reporting systems (SEO audit generators, PDF export tools, company research reports) deliver discrete valuable outputs. Forcing customers into monthly subscriptions deters one-off report buyers.
Real-World Example: For example, an automated SEO auditing tool could charge $2.00 per generated audit report PDF instead of requiring a recurring monthly fee.
How aipp Solves It
Protect your report generator endpoint with an aipp Smart Tag link or L402 challenge. The customer submits target parameters, pays the report fee via Lightning or USDC, and receives the generated report PDF.
Step-by-Step Payment Flow
STEP 01
Submit Parameters
Customer enters target domain for audit report.
STEP 02
Payment Required
aipp presents checkout card or 402 challenge.
STEP 03
Payment Settlement
Customer pays via WebLN, mobile wallet, or USDC.
STEP 04
PDF Delivered
Server verifies payment proof, compiles PDF, and triggers download.
Scope & Boundaries
What aipp Does
- ✓ Verifies payment settlement before report compilation or file delivery
- ✓ Supports human web checkout and AI agent manifest discovery
- ✓ Auto-forwards net earnings to merchant wallet
What aipp Does Not Do
- ✗ Does not generate PDF files or run SEO/financial audits
- ✗ Does not host PDF rendering software
Implementation Pattern
Below is the minimal implementation pattern using standard aipp endpoints / SDK:
app.post('/api/reports/seo', l402Paywall({
client: aipp,
amountUsd: 2.00
}), async (req, res) => {
const pdfBuffer = await generateSeoReportPdf(req.body.domain);
res.setHeader('Content-Type', 'application/pdf');
res.send(pdfBuffer);
});
Settlement Architecture Note:
• Lightning Rail: In hosted Lightning flows, payments route through aipp's Lightning gateway before net proceeds are automatically forwarded to your configured wallet address.
• Base USDC Rail: USDC transfers settle directly on-chain to your designated EVM wallet address.
• No Merchant Spending Balance: aipp does not maintain a spendable merchant balance or require manual withdrawal steps.
Requirements & Limitations
- Merchant operates the report generator and PDF rendering script
- Funds auto-forward to merchant wallet according to threshold settings
Frequently Asked Questions
Can I deliver the report via email after payment?
Yes. Upon payment confirmation from aipp, your server can trigger an email dispatch node or direct download.
Related Use Cases
Start Monetizing Paid Report & Document Generation
Create a Smart Tag payment link to accept supported Lightning and Base USDC payments for your digital content.
Create Payment Link →