Lumen Crawler
Reference

For the complete Lumen Crawler documentation index, see llms.txt. A markdown version of any docs page is available by appending .md to its URL. Docs MCP: /docs/mcp.

Billing API

Stripe Checkout and Customer Portal

POST
/billing/checkout

Create a Stripe Checkout session for Starter or Pro.

Authorization

BearerAuth
AuthorizationBearer <token>

Crawl key (lc_live_…) for /crawls, or Cognito JWT for /account and /billing.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/billing/checkout" \  -H "Content-Type: application/json" \  -d '{    "plan": "starter"  }'
{  "url": "http://example.com"}
POST
/billing/portal

Create a Stripe Customer Portal session. 404 if the account has no customer.

Authorization

BearerAuth
AuthorizationBearer <token>

Crawl key (lc_live_…) for /crawls, or Cognito JWT for /account and /billing.

In: header

Response Body

application/json

application/problem+json

application/problem+json

curl -X POST "https://example.com/billing/portal"
{  "url": "http://example.com"}
Edit on GitHub

Last updated on