Pricing Tables

Get Pricing Table

Retrieve a specific pricing table with full plan details including features, prices, and credit definitions.

GET
/pricing-tables/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Use your secret API key as the bearer token

In: header

Path Parameters

id*string

Pricing table ID

Match^price_table_[A-Za-z0-9]+$

Response Body

application/json

application/json

application/json

curl -X GET "https://api.getlumen.dev/v1/pricing-tables/price_table_abc123def456"
{
  "pricingTable": {
    "id": "string",
    "merchantId": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "heading": "string",
    "subheading": "string",
    "isActive": true,
    "plans": [
      {
        "id": "string",
        "stablePlanId": "string",
        "planName": "string",
        "description": "string",
        "interval": "month",
        "versionNumber": 0,
        "isActive": true,
        "features": [
          {
            "slug": "string",
            "displayName": "string",
            "featureType": "boolean",
            "limitValue": 0,
            "creditAmount": 0
          }
        ],
        "prices": [
          {
            "id": "string",
            "planId": "string",
            "currency": "string",
            "unitAmountCents": 0,
            "billingInterval": "month",
            "pricingModel": "flat",
            "stripePriceId": "string",
            "createdAt": "2019-08-24T14:15:22Z"
          }
        ],
        "createdAt": "2019-08-24T14:15:22Z",
        "displayOrder": 0,
        "isPopular": true,
        "popularText": "string",
        "buttonText": "string",
        "buttonOutline": true
      }
    ],
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
{
  "error": "Pricing table not found or access denied"
}
{
  "error": "Failed to fetch pricing table"
}