Pay-Per-Access Test Console

Test instant payment flow for AI agents (Stripe settlement)

Back to Home
1
2
3
4
5
RequestPaymentVerifyAccessComplete

Step 1: Request Content

The AI agent attempts to access premium content. Without payment, it will receive a 402 Payment Required response.

API Request:

POST /api/content/articles
{ "agent_id": "test_agent_001" }

API Flow Summary

1.
POST /api/content/articles

Returns 402 with payment options

2.
Stripe Checkout

Process payment via Stripe

3.
POST /api/payments/verify

Verify payment and receive JWT

4.
GET /api/content/articles

Access content with JWT token