sparkcrawlDocs

Start a balance top-up checkout; session owner/admin only

Used by /app/billing. Packs: usd-8, usd-50, usd-200, usd-1000 (balance credited 1:1 in USD after the signed Stripe webhook).

POST
/api/v1/checkout

Used by /app/billing. Packs: usd-8, usd-50, usd-200, usd-1000 (balance credited 1:1 in USD after the signed Stripe webhook).

Authorization

sessionCookie
cookiesparkcrawl_session<token>

Signed-in browser session at sparkcrawl.com. Key management and checkout accept only a session.

Request Body

application/json
  1. body
packId*string
Match^[a-z0-9_-]{1,40}$

Response Body

Checkout session and reference

application/json
  1. response
Example Request
curl -X POST 'https://sparkcrawl.com/api/v1/checkout' \  -H 'Content-Type: application/json' \  -d '{  "packId": "string"}'
Example Response
{}