Using the API
Customer keys
Mint a key per customer with its own budget, and resell under your brand.
Resell spillway under your own brand: mint one key per customer, each with its own budget and minimum discount, all billed to your account.
Manager keys
Create a manager key
In the dashboard, tick Manager key before you click Create key. Keep it on your server.
Mint customer keys from your backend
Each customer key bills to your account and stops at its own budget.
Provisioning API
curl https://api.spillway.now/v1/keys -H "Authorization: Bearer $MANAGER_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"customer-42","budget_usd":25,"min_discount_pct":50}'
# GET /v1/keys · PATCH /v1/keys/:id {budget_usd, reset_spend} · DELETE /v1/keys/:id