Skip to main content

GET /credits/packages

This endpoint returns a list of all available credit packages that can be purchased. This is a public endpoint and does not require authentication.

Response

packages
array
An array of credit package objects.
curl -X GET https://api.llmgenerator.com/api/v1/credits/packages
{
  "packages": [
    {
      "id": "pkg_starter",
      "name": "Starter Pack",
      "credits": 100,
      "priceCents": 499,
      "packageId": "starter"
    },
    {
      "id": "pkg_pro",
      "name": "Pro Pack",
      "credits": 500,
      "priceCents": 1999,
      "packageId": "pro"
    },
    {
      "id": "pkg_enterprise",
      "name": "Enterprise Pack",
      "credits": 2000,
      "priceCents": 4999,
      "packageId": "enterprise"
    }
  ]
}