Skip to main content
GET
/
v1
/
stripe
/
catalog
Get catalog
curl --request GET \
  --url https://api.example.com/v1/stripe/catalog
The server is the source of truth for which Stripe prices map to which plans / pack sizes. The client doesn’t know, it asks here, then uses the returned price_id values in POST /v1/stripe/checkout.

Response

{
  "plans": [
    { "price_id": "price_1Abc...", "plan": "starter" },
    { "price_id": "price_1Def...", "plan": "creator" },
    { "price_id": "price_1Ghi...", "plan": "studio"  }
  ],
  "packs": [
    { "price_id": "price_2Aaa...", "credits": 100  },
    { "price_id": "price_2Bbb...", "credits": 500  },
    { "price_id": "price_2Ccc...", "credits": 1500 },
    { "price_id": "price_2Ddd...", "credits": 5000 }
  ]
}
Packs are sorted by credit count ascending.

Errors

StatusCodeMeaning
503billing_not_configuredStripe is not configured on this deploy.