Type Definition
Fields
Billing Configuration
| Field | Type | Description |
|---|---|---|
billingModel | BillingModel! | How usage is calculated (FLAT_FEE, PER_UNIT, USAGE_BASED, etc.) |
billingPeriod | BillingPeriod! | Billing frequency (MONTHLY, ANNUALLY) |
billingCadence | BillingCadence! | When to bill (IN_ADVANCE, IN_ARREARS) |
billingCountryCode | String | Country code for regional pricing |
billingId | String | ID in the billing provider |
Price Amount
| Field | Type | Description |
|---|---|---|
price | Money | The price amount with currency |
blockSize | Float | Number of units per block (for block pricing) |
minUnitQuantity | Float | Minimum billable units |
maxUnitQuantity | Float | Maximum billable units |
Tiered Pricing
| Field | Type | Description |
|---|---|---|
tiers | [PriceTier!] | Pricing tiers for tiered billing |
tiersMode | TiersMode | How tiers are applied (VOLUME, GRADUATED) |
Feature Association
| Field | Type | Description |
|---|---|---|
feature | Feature | The feature this price applies to (for usage-based) |
featureId | String | Feature identifier |
Reset Period
| Field | Type | Description |
|---|---|---|
resetPeriod | EntitlementResetPeriod | When usage resets |
resetPeriodConfiguration | ResetPeriodConfiguration | Detailed reset settings |
Credit Rate
| Field | Type | Description |
|---|---|---|
creditRate | CreditRate | Credit rate for credit-based pricing |
creditGrantCadence | CreditGrantCadence | When credits are granted |
BillingModel Enum
| Value | Description |
|---|---|
FLAT_FEE | Fixed price regardless of usage |
PER_UNIT | Price per unit (e.g., per seat) |
USAGE_BASED | Price based on metered usage |
CREDIT_BASED | Price based on credit consumption |
MINIMUM_SPEND | Minimum spend commitment |
BillingPeriod Enum
| Value | Description |
|---|---|
MONTHLY | Billed monthly |
ANNUALLY | Billed annually |
BillingCadence Enum
| Value | Description |
|---|---|
IN_ADVANCE | Billed at the start of the period |
IN_ARREARS | Billed at the end of the period |
TiersMode Enum
| Value | Description |
|---|---|
VOLUME | All units are charged at the tier rate |
GRADUATED | Each tier has its own rate |
PriceTier Type
| Field | Type | Description |
|---|---|---|
upTo | Float | Upper limit of this tier (null = unlimited) |
unitPrice | Money | Price per unit in this tier |
flatPrice | Money | Flat price for this tier |
Money Type
Example Response
Flat Fee Price
Per Unit Price
Usage-Based Price (Tiered)
Credit-Based Price
Related Types
Related Operations
- Set Package Pricing - Configure pricing
- Preview Subscription - Preview pricing
