Pricing Tables
List Pricing Tables
Retrieve all pricing tables for the merchant. Includes plan associations with display configuration.
Authorization
bearerAuth AuthorizationBearer <token>
Use your secret API key as the bearer token
In: header
Response Body
application/json
application/json
curl -X GET "https://api.getlumen.dev/v1/pricing-tables"{
"pricingTables": [
{
"id": "string",
"name": "string",
"slug": "string",
"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"
}
],
"createdAt": "2019-08-24T14:15:22Z"
}
]
}{
"error": "Failed to fetch pricing tables"
}