Optional card payment for API credit packs. Pay-per-call with x402 (Base USDC) continues to work as before. Nothing is charged until a paid route completes successfully.
| Pack | Amount | Credits |
|---|---|---|
pack_10 | $10.00 USD | 10,000,000 micro-USD |
pack_25 | $25.00 USD | 25,000,000 micro-USD |
pack_100 | $100.00 USD | 100,000,000 micro-USD |
POST /v1/credits/checkout with JSON {"packId":"pack_10"}. The response includes a Stripe Checkout URL and, when a new key is minted, the API key once. Store the key; only a hash is kept.
curl -sS -X POST https://fmf-proof.fmf-x402.workers.dev/v1/credits/checkout \
-H 'content-type: application/json' \
-d '{"packId":"pack_10"}'
After payment confirms, send the key as Authorization: Bearer fmf_live_… or X-FMF-Key. Check the remaining balance with GET /v1/credits/balance.
Typical tool calls cost $0.001–$0.01. Failed, invalid, refused, or throttled calls are not charged.
To fund a Base USDC wallet instead, see /funds.