POST /account/billing/checkout

Buy prepaid credit through Stripe's hosted checkout.

MethodPath
POST/v1/account/billing/checkout

Requires a human account administrator. Open the returned URL to complete payment. Credit is granted only after payment succeeds; the platform fee is charged in addition to amount_cents. Returning to Billing carries the checkout session ID for receipt lookup.

curl -X POST "https://api.ellipsis.dev/v1/account/billing/checkout" \
  -H "Authorization: Bearer $ELLIPSIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount_cents":0}'

Request

Example request body
{
"amount_cents": 0
}

Body parameters

amount_centsintegerrequired

Credit to buy. The platform fee is added at checkout.

Response

Example response · 201
{
"url": "string"
}

On this page

No Headings
Schedule a demo