Prepaid Creem Credit Packs & HMAC-SHA256 Webhook Settlement
Autonomous agents should never autofill credit cards or trap engineering teams in opaque recurring SaaS subscriptions. FuelRouter monetizes strictly through opt-in prepaid Creem credit packs reconciled via HMAC-SHA256 verified, idempotent webhooks at POST /webhooks/creem.
Opt-In Prepaid Credit Tiers & Settlement Controls
| Tier | Flat One-Time Price | Subscription Lock-In? | Recommended Workload | Settlement Endpoint |
|---|---|---|---|---|
| Starter | $19.00 | None ($0/mo) | Solo builders, dev/test agent pipelines | POST /webhooks/creem (HMAC-SHA256) |
| Pro | $79.00 | None ($0/mo) | Production multi-agent teams across all 5 pools | POST /webhooks/creem (HMAC-SHA256) |
| Scale | $249.00 | None ($0/mo) | High-throughput enrichment, search & RAG fleets | POST /webhooks/creem (HMAC-SHA256) |
Security Redline #2: Zero Payment Card Storage or Autofill
FuelRouter never accepts, logs, caches, or autofills credit card numbers, CVV codes, or billing credentials on any endpoint or frontend form. All payments happen strictly through user-initiated, opt-in Creem checkout links.
When checkout completes, Creem posts a signed event to POST /webhooks/creem. FuelRouter validates the creem-signature HMAC-SHA256 digest via core_kit/payment_kit.py and rejects any unsigned or tampered payload with HTTP 401 Unauthorized.
Exactly-Once Wallet Crediting via SQLite WAL event_id Deduplication
Webhook providers retry deliveries automatically on network timeouts. Without idempotency, a single $79 Pro pack replay could double-credit a tenant balance.
FuelRouter records every processed event_id inside a unique-indexed SQLite WAL ledger table inside the same atomic transaction that credits the tenant wallet. Duplicate replays return HTTP 200 OK cleanly with zero duplicate balance mutation.
Verify Creem Webhook Signature Rejection & Replay Safety
# Unsigned or invalid signature -> strictly HTTP 401 Unauthorized
curl -i -X POST "https://fuelrouter.fastmesh.dev/webhooks/creem" \
-H "Content-Type: application/json" \
-H "creem-signature: invalid_sig" \
-d '{"event_id": "evt_demo_001", "type": "checkout.completed"}'
Payment & Webhook Security Checklist
- Confirm zero card number or CVV fields exist anywhere in the FuelRouter API or web storefront.
- Verify POST /webhooks/creem returns HTTP 401 on missing or invalid creem-signature headers.
- Verify duplicate deliveries sharing the same event_id return HTTP 200 without double-crediting.
- Combine prepaid packs with $0 exhaustion billing so credits are spent exclusively on verified payloads.
Frequently Asked Technical Questions
Do prepaid FuelRouter credits expire at the end of the month?
No. Starter ($19), Pro ($79), and Scale ($249) packs carry zero recurring subscription fees.
How does FuelRouter verify webhook authenticity?
POST /webhooks/creem uses constant-time HMAC-SHA256 verification implemented in core_kit/payment_kit.py.
What happens if Creem retries the same checkout.completed event three times?
The first delivery credits the wallet atomically; the second and third deliveries hit the SQLite WAL event_id deduplication check and return HTTP 200 without re-crediting.
Live Try-Now Console & Machine Discovery
Test failover routing, dry-run quotes, and circuit breaker metrics on the live gateway or connect via JSON-RPC 2.0 MCP.
Related FuelRouter Architecture Guides
- Zero Customer Trace Resale & Enterprise Privacy Architecture — zero customer trace resale privacy API failover gateway
- Deterministic prefer & exclude Upstream Routing Overrides — prefer and exclude deterministic upstream API routing policy
- Multi-Upstream API Failover Router with Circuit Breaker — multi-upstream API failover router with circuit breaker