> ## Documentation Index
> Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a product bundle

> Creates a new product bundle. Product bundles group multiple priced products together so they can be referenced by a single ID in subscriptions, plans, and quotes.



## OpenAPI

````yaml /api-reference/specs/2026-04-01.json post /bundles
openapi: 3.1.0
info:
  description: >-
    Alguna is the AI-native quote-to-revenue platform for B2B companies: CPQ,
    subscription and usage-based billing, invoicing, payment collection, and
    revenue recognition in one system of record. The API operates on one
    versioned agreement per customer: quotes, subscriptions and their versions,
    usage, invoices, payments, and revenue schedules read from it. Official
    SDKs: TypeScript (@alguna/sdk), Python (alguna), Go
    (github.com/alguna-io/alguna-go), Rust (alguna), and the alguna CLI
    (@alguna/cli).
  title: Alguna Public API
  version: '2026-04-01'
servers:
  - url: https://api.alguna.io
    x-fern-server-name: Production
security:
  - bearerAuth: []
tags:
  - name: Billing Events and Metrics
  - name: Checkout Sessions
  - name: Credit Notes
  - name: Credits
  - name: Customer Portal Sessions
  - name: Customers
  - name: Feedback
  - name: Insights
  - name: Integrations
  - name: Invoices
  - name: Merchants
  - name: Payments
  - name: Plans
  - name: Product Bundles
  - name: Products
  - name: Quotes
  - name: Refunds
  - name: Revenue Schedules
  - name: Subscription Changes
  - name: Subscription Versions
  - name: Subscriptions
  - name: Tags
  - name: Tax
  - name: Users
  - name: Wallet Grants
  - name: Wallets
paths:
  /bundles:
    post:
      tags:
        - Product Bundles
      summary: Create a product bundle
      description: >-
        Creates a new product bundle. Product bundles group multiple priced
        products together so they can be referenced by a single ID in
        subscriptions, plans, and quotes.
      operationId: create-bundle
      parameters:
        - in: header
          name: Alguna-Version
          required: true
          schema:
            enum:
              - '2026-04-01'
            type: string
        - in: header
          name: Idempotency-Key
          schema:
            description: >-
              A unique string that makes a retried write safe. If you send the
              same request with the same key within 24 hours, the API returns
              the stored response and does not run the request again. A 5xx or
              429 response is not stored, so a retry with that key runs the
              request again.
            example: ik_a1b2c3d4e5f6
            maxLength: 255
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBundleRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BundleResponse'
          description: Success
          headers:
            Idempotency-Key:
              description: Echo of the idempotency key provided in the request
              schema:
                type: string
            Idempotent-Replayed:
              description: >-
                Whether this response was replayed from a previous request
                (true) or freshly executed (false)
              schema:
                type: boolean
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ErrorResponse'
                  - $ref: '#/components/schemas/GatewayErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden — the organization does not have access to this feature
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: >-
            Conflict — a request with this idempotency key is currently being
            processed
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying with the same idempotency key.
                Sent only when a request with this key is still being processed;
                a 409 without it is a conflict that a retry will not resolve.
              schema:
                type: integer
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
        '502':
          description: >-
            Bad Gateway — sent by the infrastructure in front of the API; the
            body is not JSON. Safe to retry.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: >-
            Service Unavailable — a dependency is temporarily unavailable. Retry
            with backoff.
        '504':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: >-
            Gateway Timeout — the request did not finish in time. Retry with
            backoff; use an idempotency key for writes.
components:
  schemas:
    CreateBundleRequest:
      properties:
        description:
          description: A brief description of the bundle
          example: Our standard plan bundle
          nullable: true
          type: string
        name:
          description: The name of the bundle
          example: Standard Plan
          type: string
        prices:
          description: Prices to include in this bundle
          items:
            $ref: '#/components/schemas/PriceCreateRequest'
          type: array
      required:
        - name
        - prices
      type: object
    BundleResponse:
      properties:
        description:
          description: A brief description of the bundle
          example: Our standard plan bundle
          nullable: true
          type: string
        id:
          description: Unique identifier for the bundle
          example: bnd_01H1VECT
          type: string
        name:
          description: The name of the bundle
          example: Standard Plan
          type: string
        prices:
          description: Prices included in this bundle
          items:
            $ref: '#/components/schemas/PriceResponse'
          type: array
      required:
        - id
        - name
        - prices
      type: object
    ErrorResponse:
      description: The body of every error the API returns.
      properties:
        code:
          description: >-
            Machine-readable error code, such as `not_found` or
            `invoice_already_issued`. New codes may be added at any time, so
            handle a code you do not know by its HTTP status.
          type: string
        detail:
          description: Explanation of what went wrong
          type: string
        request_id:
          description: >-
            Identifies the request, as the `X-Request-Id` response header does.
            Quote it when contacting support.
          type: string
        status:
          description: HTTP status code of the response
          format: int64
          type: integer
        title:
          description: >-
            HTTP status text. Sent only by version, idempotency and
            credit-refusal errors.
          type: string
        type:
          description: Always `about:blank`. Sent only by version and idempotency errors.
          type: string
      required:
        - status
        - detail
      type: object
    GatewayErrorResponse:
      description: >-
        Returned by the API gateway when a request carries no valid API key,
        before the API handles it.
      properties:
        code:
          description: Machine-readable error code, e.g. `unauthenticated`
          type: string
        details:
          nullable: true
          type: object
        message:
          description: Explanation of what went wrong
          type: string
      required:
        - code
        - message
      type: object
    PriceCreateRequest:
      properties:
        billing_direction:
          allOf:
            - $ref: '#/components/schemas/BillingDirection'
          description: When the price is billed
          example: arrears
        billing_frequency:
          allOf:
            - $ref: '#/components/schemas/BillingFrequency'
          description: How often the price is billed
          nullable: true
        billing_interval:
          description: Legacy named billing interval
          example: monthly
          type: string
        billing_interval_count:
          description: Positive count of BillingIntervalUnits per period
          example: 3
          format: int64
          nullable: true
          type: integer
        billing_interval_unit:
          allOf:
            - $ref: '#/components/schemas/BillingIntervalUnit'
          description: Unit of the billing cadence
          example: month
          nullable: true
        charge_on_contract_start:
          description: Whether to charge on contract start date
          type: boolean
        discount:
          allOf:
            - $ref: '#/components/schemas/Discount'
          description: Discount applied to this price
          nullable: true
        display_order:
          description: Display order
          format: int64
          nullable: true
          type: integer
        expression_pricing_model:
          allOf:
            - $ref: '#/components/schemas/ExpressionPricingModel'
          description: Expression-based pricing details
          nullable: true
        fee_type:
          allOf:
            - $ref: '#/components/schemas/PricingClass'
          description: Whether the price is fixed or metered
          example: fixed
        fixed_pricing_model:
          allOf:
            - $ref: '#/components/schemas/FixedPricingModel'
          description: Fixed pricing details
          nullable: true
        graduated_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/GraduatedPercentagePricingModel'
          description: Graduated percentage pricing details
          nullable: true
        graduated_tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/GraduatedTieredPricingModel'
          description: Graduated tiered pricing details
          nullable: true
        matrix_pricing_model:
          allOf:
            - $ref: '#/components/schemas/MatrixPricingModel'
          description: Matrix pricing details (required when type=matrix)
          nullable: true
        maximum_spend:
          allOf:
            - $ref: '#/components/schemas/SpendingThreshold'
          description: Maximum spend cap
          nullable: true
        metric_ids:
          description: Associated metric identifiers
          items:
            type: string
          type: array
        milestone_key:
          description: >-
            Key of the subscription milestone a one-off price bills on; the
            price stays off the billing schedule until the milestone is reached
          example: go_live
          nullable: true
          type: string
        minimum_spend:
          allOf:
            - $ref: '#/components/schemas/SpendingThreshold'
          description: Minimum spend threshold
          nullable: true
        prepaid_fixed_tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/PrepaidFixedTieredPricingModel'
          description: Prepaid fixed tiered pricing details
          nullable: true
        prepaid_tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/PrepaidTieredPricingModel'
          description: Prepaid tiered pricing details
          nullable: true
        product_id:
          description: Identifier of the associated product
          type: string
        recurring_instalment_interval_count:
          description: >-
            Positive count of RecurringInstalmentIntervalUnits per instalment;
            must divide cleanly into the billing interval
          example: 1
          format: int64
          nullable: true
          type: integer
        recurring_instalment_interval_unit:
          allOf:
            - $ref: '#/components/schemas/BillingIntervalUnit'
          description: >-
            Optional sub-cadence unit splitting the advance charge into
            instalments within each billing cycle
          example: month
          nullable: true
        tiered_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/TieredPercentagePricingModel'
          description: Tiered percentage pricing details
          nullable: true
        tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/TieredPricingModel'
          description: Tiered pricing details
          nullable: true
        trial_period_days:
          description: Trial period in days
          format: int64
          nullable: true
          type: integer
        type:
          allOf:
            - $ref: '#/components/schemas/PricingType'
          description: The pricing model type
          example: unit
        unit_pricing_model:
          allOf:
            - $ref: '#/components/schemas/UnitPricingModel'
          description: Unit pricing details
          nullable: true
        volume_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/VolumePercentagePricingModel'
          description: Volume percentage pricing details
          nullable: true
      required:
        - billing_direction
        - charge_on_contract_start
        - fee_type
        - product_id
        - type
      type: object
    PriceResponse:
      properties:
        billing_direction:
          allOf:
            - $ref: '#/components/schemas/BillingDirection'
          description: When the price is billed
          example: arrears
        billing_frequency:
          allOf:
            - $ref: '#/components/schemas/BillingFrequency'
          description: How often the price is billed
          example: recurring
          nullable: true
        billing_interval:
          allOf:
            - $ref: '#/components/schemas/BillingInterval'
          description: Billing interval
          example: monthly
        billing_interval_count:
          description: Positive count of BillingIntervalUnits per period
          example: 3
          format: int64
          nullable: true
          type: integer
        billing_interval_unit:
          allOf:
            - $ref: '#/components/schemas/BillingIntervalUnit'
          description: Unit of the billing cadence
          example: month
          nullable: true
        charge_on_contract_start:
          description: Whether to charge on contract start date
          type: boolean
        created_at:
          description: Timestamp when the price was created
          format: date-time
          type: string
        currency:
          description: Currency code
          example: USD
          type: string
        discount:
          allOf:
            - $ref: '#/components/schemas/Discount'
          description: Discount applied to this price
          nullable: true
        display_order:
          description: Display order
          format: int64
          nullable: true
          type: integer
        expression_pricing_model:
          allOf:
            - $ref: '#/components/schemas/ExpressionPricingModel'
          description: Expression-based pricing details
          nullable: true
        fee_type:
          allOf:
            - $ref: '#/components/schemas/PricingClass'
          description: Whether the price is fixed or metered
          example: fixed
        fixed_pricing_model:
          allOf:
            - $ref: '#/components/schemas/FixedPricingModel'
          description: Fixed pricing details
          nullable: true
        graduated_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/GraduatedPercentagePricingModel'
          description: Graduated percentage pricing details
          nullable: true
        graduated_tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/GraduatedTieredPricingModel'
          description: Graduated tiered pricing details
          nullable: true
        id:
          description: Unique identifier for the price
          type: string
        matrix_pricing_model:
          allOf:
            - $ref: '#/components/schemas/MatrixPricingModel'
          description: Matrix pricing details (when type=matrix)
          nullable: true
        maximum_spend:
          allOf:
            - $ref: '#/components/schemas/SpendingThreshold'
          description: Maximum spend cap
          nullable: true
        metric_ids:
          description: Associated metric identifiers
          items:
            type: string
          type: array
        milestone_key:
          description: Key of the subscription milestone a one-off price bills on
          example: go_live
          nullable: true
          type: string
        minimum_spend:
          allOf:
            - $ref: '#/components/schemas/SpendingThreshold'
          description: Minimum spend threshold
          nullable: true
        prepaid_fixed_tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/PrepaidFixedTieredPricingModel'
          description: Prepaid fixed tiered pricing details
          nullable: true
        prepaid_tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/PrepaidTieredPricingModel'
          description: Prepaid tiered pricing details
          nullable: true
        product:
          allOf:
            - $ref: '#/components/schemas/PriceProductResponse'
          description: The product this price is for
        product_id:
          description: Identifier of the associated product
          type: string
        tiered_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/TieredPercentagePricingModel'
          description: Tiered percentage pricing details
          nullable: true
        tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/TieredPricingModel'
          description: Tiered pricing details
          nullable: true
        trial_period_days:
          description: Trial period in days
          format: int64
          nullable: true
          type: integer
        type:
          allOf:
            - $ref: '#/components/schemas/PricingType'
          description: The pricing model type
          example: unit
        unit_pricing_model:
          allOf:
            - $ref: '#/components/schemas/UnitPricingModel'
          description: Unit pricing details
          nullable: true
        updated_at:
          description: Timestamp when the price was last updated
          format: date-time
          type: string
        volume_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/VolumePercentagePricingModel'
          description: Volume percentage pricing details
          nullable: true
      required:
        - billing_direction
        - charge_on_contract_start
        - created_at
        - currency
        - fee_type
        - id
        - product
        - product_id
        - type
        - updated_at
      type: object
    BillingDirection:
      enum:
        - advance
        - arrears
      type: string
    BillingFrequency:
      enum:
        - recurring
        - one-off
      type: string
    BillingIntervalUnit:
      enum:
        - day
        - week
        - month
        - year
      type: string
    Discount:
      properties:
        amount:
          description: Discount amount
          type: string
        discount_type:
          allOf:
            - $ref: '#/components/schemas/DiscountType'
          description: Type of discount
        duration_type:
          allOf:
            - $ref: '#/components/schemas/DurationType'
          description: Duration type
        duration_unit:
          description: Duration unit (required if duration_type is fixed)
          nullable: true
          type: string
        duration_value:
          description: Duration value (required if duration_type is fixed)
          format: int64
          nullable: true
          type: integer
      required:
        - amount
        - discount_type
        - duration_type
      type: object
    ExpressionPricingModel:
      properties:
        charges:
          description: Expression-based charges
          items:
            $ref: '#/components/schemas/ExpressionCharge'
          type: array
        metric_bindings:
          description: Alias-to-metric bindings referenced in expressions
          items:
            $ref: '#/components/schemas/MetricBinding'
          type: array
      required:
        - charges
      type: object
    PricingClass:
      enum:
        - fixed
        - metered
      type: string
    FixedPricingModel:
      properties:
        price_per_unit:
          description: Price per unit
          type: string
        total:
          description: Total price
          type: string
        units:
          description: Number of units
          format: int64
          type: integer
      required:
        - price_per_unit
        - total
        - units
      type: object
    GraduatedPercentagePricingModel:
      properties:
        tiers:
          description: Pricing tiers
          items:
            $ref: '#/components/schemas/GraduatedTier'
          type: array
      required:
        - tiers
      type: object
    GraduatedTieredPricingModel:
      properties:
        tiers:
          description: Pricing tiers
          items:
            $ref: '#/components/schemas/PricingTier'
          type: array
        units:
          description: Upfront units for fixed products
          format: int64
          nullable: true
          type: integer
      required:
        - tiers
      type: object
    MatrixPricingModel:
      properties:
        dimensions:
          description: Event property dimensions used by the matrix
          items:
            $ref: '#/components/schemas/MatrixDimensionDefinition'
          type: array
        line_item_template:
          description: Default invoice line description template for matrix cells
          type: string
        root:
          allOf:
            - $ref: '#/components/schemas/MatrixNode'
          description: Root of the matrix routing tree
      required:
        - dimensions
        - root
      type: object
    SpendingThreshold:
      properties:
        amount:
          description: Threshold amount
          type: string
        billing_direction:
          allOf:
            - $ref: '#/components/schemas/BillingDirection'
          description: >-
            Bill a minimum spend in advance of each period, drawn down by spend,
            instead of trueing it up in arrears
        period:
          description: Period for the threshold
          type: string
      required:
        - amount
        - period
      type: object
    PrepaidFixedTieredPricingModel:
      properties:
        overages_charge_interval:
          description: Interval for charging overages
          type: string
        prepaid_units:
          description: Number of prepaid units
          format: int64
          type: integer
        tiers:
          description: Pricing tiers
          items:
            $ref: '#/components/schemas/PricingTier'
          type: array
      required:
        - overages_charge_interval
        - prepaid_units
        - tiers
      type: object
    PrepaidTieredPricingModel:
      properties:
        prepaid_units:
          description: Number of prepaid units
          format: int64
          type: integer
        tiers:
          description: Pricing tiers
          items:
            $ref: '#/components/schemas/PricingTier'
          type: array
      required:
        - prepaid_units
        - tiers
      type: object
    TieredPercentagePricingModel:
      properties:
        tiers:
          description: Pricing tiers
          items:
            $ref: '#/components/schemas/GraduatedTier'
          type: array
      required:
        - tiers
      type: object
    TieredPricingModel:
      properties:
        tiers:
          description: Pricing tiers
          items:
            $ref: '#/components/schemas/PricingTier'
          type: array
        units:
          description: Upfront units for fixed products
          format: int64
          nullable: true
          type: integer
      required:
        - tiers
      type: object
    PricingType:
      enum:
        - unit
        - fixed
        - tiered
        - graduated_tiered
        - tiered_percentage
        - graduated_percentage
        - volume_percentage
        - prepaid_tiered
        - prepaid_fixed_tiered
        - expression
        - matrix
      type: string
    UnitPricingModel:
      properties:
        price_per_unit:
          description: Price per unit
          type: string
      required:
        - price_per_unit
      type: object
    VolumePercentagePricingModel:
      properties:
        fixed_fee:
          description: Optional fixed fee
          nullable: true
          type: string
        percentage:
          description: Percentage rate
          type: string
        price_per_unit:
          description: Price per unit
          type: string
      required:
        - percentage
        - price_per_unit
      type: object
    BillingInterval:
      enum:
        - monthly
        - quarterly
        - semi_annual
        - yearly
      type: string
    PriceProductResponse:
      properties:
        billing_frequency:
          allOf:
            - $ref: '#/components/schemas/BillingFrequency'
          description: Billing frequency
          nullable: true
        description:
          description: Product description
          type: string
        fee_type:
          allOf:
            - $ref: '#/components/schemas/PricingClass'
          description: Product fee type
          example: fixed
        id:
          description: Product identifier
          type: string
        metric_ids:
          description: Associated metric identifiers
          items:
            type: string
          type: array
        name:
          description: Product name
          example: Platform Fee
          type: string
        payment_terms:
          allOf:
            - $ref: '#/components/schemas/BillingDirection'
          description: Payment terms
          example: arrears
      required:
        - description
        - fee_type
        - id
        - name
        - payment_terms
      type: object
    DiscountType:
      enum:
        - percentage
        - fixed
      type: string
    DurationType:
      enum:
        - fixed
        - monthly_rolling
      type: string
    ExpressionCharge:
      properties:
        billing_direction:
          allOf:
            - $ref: '#/components/schemas/BillingDirection'
          description: Billing direction
        description:
          description: Charge description
          type: string
        quantity_expression:
          description: Expression for calculating quantity
          type: string
        unit_price_expression:
          description: Expression for calculating unit price
          type: string
      required:
        - billing_direction
        - description
        - quantity_expression
        - unit_price_expression
      type: object
    MetricBinding:
      properties:
        alias:
          description: Alias referenced in charge expressions
          example: api_calls
          type: string
        metric_id:
          description: Metric ID bound to the alias
          type: string
      required:
        - alias
        - metric_id
      type: object
    GraduatedTier:
      properties:
        fixed_fee:
          description: Fixed fee for this tier
          nullable: true
          type: string
        max_units:
          description: Maximum units for this tier
          format: int64
          nullable: true
          type: integer
        min_units:
          description: Minimum units for this tier
          format: int64
          type: integer
        percentage:
          description: Percentage for this tier
          nullable: true
          type: string
      required:
        - min_units
      type: object
    PricingTier:
      properties:
        fixed_fee:
          description: Fixed fee for this tier
          nullable: true
          type: string
        max_units:
          description: Maximum units for this tier
          format: int64
          nullable: true
          type: integer
        min_units:
          description: Minimum units for this tier
          format: int64
          type: integer
        price_per_unit:
          description: Price per unit in this tier
          nullable: true
          type: string
        unit_price:
          description: Committed per-unit rate for prepaid-with-overages commitment tiers
          nullable: true
          type: string
      required:
        - min_units
      type: object
    MatrixDimensionDefinition:
      properties:
        key:
          description: Event property key used by this dimension
          type: string
        label:
          description: Display label for this dimension
          type: string
        values:
          description: Authored values offered for this dimension
          items:
            type: string
          type: array
      required:
        - key
        - label
      type: object
    MatrixNode:
      properties:
        fallback:
          allOf:
            - $ref: '#/components/schemas/MatrixNode'
          description: Route used when no split claims an event
          nullable: true
        leaf:
          allOf:
            - $ref: '#/components/schemas/MatrixPriceCell'
          description: Price applied when this node is a cell
          nullable: true
        splits:
          description: Ordered routing choices at this node
          items:
            $ref: '#/components/schemas/MatrixDimensionRule'
          type: array
      type: object
    MatrixPriceCell:
      properties:
        cell_key:
          description: Stable identity of an existing matrix cell; omitted for a new cell
          type: string
        fixed_pricing_model:
          allOf:
            - $ref: '#/components/schemas/FixedPricingModel'
          description: Fixed pricing details
          nullable: true
        graduated_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/GraduatedPercentagePricingModel'
          description: Graduated percentage pricing details
          nullable: true
        graduated_tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/GraduatedTieredPricingModel'
          description: Graduated tiered pricing details
          nullable: true
        label:
          description: >-
            Invoice line label for this cell, including an explicitly empty
            label
          nullable: true
          type: string
        tiered_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/TieredPercentagePricingModel'
          description: Tiered percentage pricing details
          nullable: true
        tiered_pricing_model:
          allOf:
            - $ref: '#/components/schemas/TieredPricingModel'
          description: Tiered pricing details
          nullable: true
        type:
          description: Pricing model used by this cell
          enum:
            - unit
            - fixed
            - tiered
            - graduated_tiered
            - tiered_percentage
            - graduated_percentage
            - volume_percentage
          type: string
        unit_pricing_model:
          allOf:
            - $ref: '#/components/schemas/UnitPricingModel'
          description: Unit pricing details
          nullable: true
        volume_percentage_pricing_model:
          allOf:
            - $ref: '#/components/schemas/VolumePercentagePricingModel'
          description: Volume percentage pricing details
          nullable: true
      required:
        - type
      type: object
    MatrixDimensionRule:
      properties:
        branches:
          description: Exact property-value branches
          items:
            $ref: '#/components/schemas/MatrixExactMatch'
          type: array
        dimension_key:
          description: Dimension evaluated by this split
          type: string
        wildcard:
          allOf:
            - $ref: '#/components/schemas/MatrixNode'
          description: Route for a present property value without an exact branch
          nullable: true
      required:
        - branches
        - dimension_key
      type: object
    MatrixExactMatch:
      properties:
        child:
          allOf:
            - $ref: '#/components/schemas/MatrixNode'
          description: Route taken for this value
        value:
          description: Exact event property value matched by this branch
          type: string
      required:
        - child
        - value
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http
      x-fern-bearer:
        env: ALGUNA_API_KEY
        name: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.