Billing
List plans and credit packs
Everything on sale, with prices as Stripe reports them and the credits each purchase
grants. Pass an id to POST /v1/checkout.
A plan grants tokens every billing period and carries at most rollover_cap into the
next one, so a balance never exceeds the sum of the two. A pack grants tokens once, and
they last expires_in_days.
No credentials required.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/products"{ "products": [ { "id": "string", "kind": "plan", "name": "string", "tokens": 0, "price_cents": 0, "currency": "str", "interval": "month", "expires_in_days": 1, "rollover_cap": 0 } ]}