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

# Update product

> Update the details of an existing product; a product imported from a billing provider only accepts changes to `description`, `accounting` and `custom_properties`.



## OpenAPI

````yaml put /v1/products/{id}
openapi: 3.1.0
info:
  title: Hyperline API
  version: 0.0.0
servers:
  - url: https://api.hyperline.co
  - url: https://sandbox.api.hyperline.co
security: []
paths:
  /v1/products/{id}:
    put:
      tags:
        - Catalog > Products
      summary: Update product
      description: >-
        Update the details of an existing product; a product imported from a
        billing provider only accepts changes to `description`, `accounting` and
        `custom_properties`.
      operationId: updateProduct
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      requestBody:
        description: Update product payload
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Product name.
                  example: Product name
                description:
                  type:
                    - string
                    - 'null'
                  description: Product description.
                  example: Product internal description
                public_description:
                  type:
                    - string
                    - 'null'
                  maxLength: 5000
                  description: Public description of the product.
                  example: Product public description
                translations:
                  type:
                    - object
                    - 'null'
                  additionalProperties:
                    type: object
                    properties:
                      name:
                        type:
                          - string
                          - 'null'
                      public_description:
                        type:
                          - string
                          - 'null'
                        maxLength: 5000
                  description: Product name and description translations.
                is_available_on_demand:
                  type: boolean
                is_available_on_subscription:
                  type: boolean
                properties:
                  type:
                    - object
                    - 'null'
                  additionalProperties:
                    anyOf:
                      - type: string
                      - type: number
                      - type: boolean
                      - type: 'null'
                      - type: array
                        items:
                          anyOf:
                            - type: string
                            - type: number
                            - type: boolean
                            - type: 'null'
                            - type: 'null'
                      - type: 'null'
                custom_properties:
                  type: object
                  additionalProperties:
                    anyOf:
                      - type: string
                      - type: number
                      - type: boolean
                      - type: string
                        format: date-time
                        description: >-
                          UTC date time string in the [ISO
                          8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                        example: '2024-12-20T16:04:11Z'
                      - type: array
                        items:
                          type: string
                      - type: 'null'
                  description: >-
                    A list of key value with the slug of the custom property as
                    the key and the custom property value as value.
                accounting:
                  $ref: '#/components/schemas/ProductAccounting'
              required:
                - name
      responses:
        '200':
          description: The newly created product
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '404':
          description: Product not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - bearer: []
components:
  schemas:
    ProductAccounting:
      type: object
      additionalProperties:
        type: object
        properties:
          tax_rate_id:
            type:
              - string
              - 'null'
            description: >-
              ID of the custom tax rate applied to the product. Hyperline
              applies it when it calculates taxes; it is not synced with a
              billing provider such as Stripe.
            example: taxr_YfiSnLIYORD9VN
          product_code:
            type:
              - string
              - 'null'
            description: >-
              Code used to reconcile the product with the external accounting
              tool. Usually, it corresponds to the product ID in the accounting
              software.
            example: PROD-23
          account_code:
            type:
              - string
              - 'null'
            description: >-
              Code used to assign related invoices line items to a General
              Ledger account in your external accounting tool.
            example: GL-001
          integrations:
            type: object
            properties:
              xero:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              pennylane:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              zoho-books:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              exact-online:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              quickbooks:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              netsuite:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              rillet:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              campfire:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              dualentry:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              datev:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              anrok:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
              sphere:
                type: object
                properties:
                  product_id:
                    type:
                      - string
                      - 'null'
                    description: ID of the product in the accounting provider.
                    example: '123'
                  revrec_rule_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the revenue recognition rule in the accounting
                      provider.
                    example: '456'
            default: {}
            description: Provider-specific accounting settings keyed by integration slug.
      description: Mapping invoicing entity ID/accounting settings.
    Product:
      oneOf:
        - $ref: '#/components/schemas/ProductFee'
        - $ref: '#/components/schemas/ProductSeat'
        - $ref: '#/components/schemas/ProductDynamic'
        - $ref: '#/components/schemas/ProductCredit'
        - $ref: '#/components/schemas/ProductBundle'
      discriminator:
        propertyName: type
        mapping:
          flat_fee: '#/components/schemas/ProductFee'
          seat: '#/components/schemas/ProductSeat'
          dynamic: '#/components/schemas/ProductDynamic'
          credit: '#/components/schemas/ProductCredit'
          bundle: '#/components/schemas/ProductBundle'
    ProductFee:
      type: object
      properties:
        id:
          type: string
          description: Product ID.
          example: itm_3kXODDF42QXtnL
        name:
          type: string
          description: Product name.
          example: Product name
        status:
          type: string
          enum:
            - active
            - archived
          description: >

            Product status.


            - `active`: The product is active and can be used in new
            quotes/subscriptions/invoices.

            - `archived`: The product is archived and can't be used anymore.
          example: active
        description:
          type:
            - string
            - 'null'
          description: Product description.
          example: Product internal description
        description_display_interval_dates:
          type: boolean
          description: >-
            Indicates if the dates of the interval should be automatically added
            in the product description on the invoices.
        public_description:
          type:
            - string
            - 'null'
          description: Public description of the product.
          example: Product public description
        translations:
          type:
            - object
            - 'null'
          additionalProperties:
            type: object
            properties:
              name:
                type:
                  - string
                  - 'null'
              public_description:
                type:
                  - string
                  - 'null'
          description: Product name and description translations.
        properties:
          type:
            - object
            - 'null'
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
                    - type: boolean
                    - type: 'null'
                    - type: 'null'
              - type: 'null'
          description: Key/value pairs to store any metadata useful in your context.
          example: null
        custom_properties:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: string
                format: date-time
                description: >-
                  UTC date time string in the [ISO
                  8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                example: '2024-12-20T16:04:11Z'
              - type: array
                items:
                  type: string
              - type: 'null'
          description: >-
            A list of key value with the slug of the custom property as the key
            and the custom property value as value.
        accounting:
          $ref: '#/components/schemas/ProductAccounting'
        integrations:
          type: array
          items:
            type: object
            properties:
              entity_id:
                type: string
                description: ID of the entity in the provider.
              provider_name:
                type: string
                enum:
                  - adyen
                  - stripe
                  - mollie
                  - gocardless
                  - airwallex
                  - paypal
                  - salesforce
                  - hubspot
                  - attio
                  - xero
                  - pennylane
                  - zoho-books
                  - exact-online
                  - quickbooks
                  - netsuite
                  - rillet
                  - campfire
                  - dualentry
                  - datev
                  - anrok
                  - sphere
                  - chargebee
                  - slack
                  - plain
                  - zendesk
                  - pylon
                  - intercom
                  - front
                  - helpscout
                  - claap
                  - grain
                  - gong
                  - jiminny
                  - modjo
                  - posthog
                description: Provider name.
              provider_account_id:
                type: string
                description: ID of the connected provider account.
              created_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Creation date of the entity in the provider, when it was
                  imported from there. Exposed on products, coupons and
                  subscriptions; `null` when the provider does not report one.
                example: '2024-12-20T16:04:11Z'
              activated_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Activation date of the entity in the provider, when it was
                  imported from there. Exposed on subscriptions; `null` when the
                  provider does not report one.
                example: '2024-12-20T16:04:11Z'
            required:
              - entity_id
              - provider_name
              - provider_account_id
            description: Reference to the entity in an external provider.
            example:
              entity_id: '123456789'
              provider_name: stripe
              provider_account_id: acc_1234567890
          description: >-
            References to this product in external providers (billing,
            accounting, etc).
        type:
          type: string
          enum:
            - flat_fee
          description: Product type.
        is_available_on_demand:
          type: boolean
          description: Enable the product to be billed at any time as a one-time payment.
          example: true
          deprecated: true
        is_available_on_subscription:
          type: boolean
          description: Enable the product to be added as part of a subscription.
          example: true
          deprecated: true
        price_configurations:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Price configuration ID.
              product_id:
                type: string
                description: ID of the product this price configuration belongs to.
              price_book_id:
                type:
                  - string
                  - 'null'
                description: >-
                  ID of the price book the price configuration belongs to. If
                  null, the price configuration belongs to the default price
                  book.
              status:
                type: string
                enum:
                  - active
                  - archived
                description: Price configuration status.
                example: active
              currency:
                type:
                  - string
                  - 'null'
                enum:
                  - EUR
                  - AED
                  - AFN
                  - XCD
                  - ALL
                  - AMD
                  - AOA
                  - ARS
                  - USD
                  - AUD
                  - AWG
                  - AZN
                  - BAM
                  - BBD
                  - BDT
                  - BGN
                  - BHD
                  - BIF
                  - XOF
                  - BMD
                  - BND
                  - BOB
                  - BRL
                  - BSD
                  - BTN
                  - NOK
                  - BWP
                  - BYR
                  - BZD
                  - CAD
                  - CDF
                  - XAF
                  - CHF
                  - NZD
                  - CLP
                  - CNY
                  - COP
                  - CRC
                  - CUP
                  - CVE
                  - ANG
                  - CZK
                  - DJF
                  - DKK
                  - DOP
                  - DZD
                  - EGP
                  - MAD
                  - ERN
                  - ETB
                  - FJD
                  - FKP
                  - GBP
                  - GEL
                  - GHS
                  - GIP
                  - GMD
                  - GNF
                  - GTQ
                  - GYD
                  - HKD
                  - HNL
                  - HRK
                  - HTG
                  - HUF
                  - IDR
                  - ILS
                  - INR
                  - IQD
                  - IRR
                  - ISK
                  - JMD
                  - JOD
                  - JPY
                  - KES
                  - KGS
                  - KHR
                  - KMF
                  - KPW
                  - KRW
                  - KWD
                  - KYD
                  - KZT
                  - LAK
                  - LBP
                  - LKR
                  - LRD
                  - LSL
                  - LYD
                  - MDL
                  - MGA
                  - MKD
                  - MMK
                  - MNT
                  - MOP
                  - MRO
                  - MUR
                  - MVR
                  - MWK
                  - MXN
                  - MYR
                  - MZN
                  - NAD
                  - XPF
                  - NGN
                  - NIO
                  - NPR
                  - OMR
                  - PAB
                  - PEN
                  - PGK
                  - PHP
                  - PKR
                  - PLN
                  - PYG
                  - QAR
                  - RON
                  - RSD
                  - RUB
                  - RWF
                  - SAR
                  - SBD
                  - SCR
                  - SDG
                  - SEK
                  - SGD
                  - SHP
                  - SLL
                  - SOS
                  - SRD
                  - SSP
                  - STD
                  - SYP
                  - SZL
                  - THB
                  - TJS
                  - TMT
                  - TND
                  - TOP
                  - TRY
                  - TTD
                  - TWD
                  - TZS
                  - UAH
                  - UGX
                  - UYU
                  - UZS
                  - VEF
                  - VND
                  - VUV
                  - WST
                  - YER
                  - ZAR
                  - ZMW
                  - ZWL
                description: >-
                  Currency code. See [ISO
                  4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                example: EUR
              country:
                type:
                  - string
                  - 'null'
                enum:
                  - AD
                  - AE
                  - AF
                  - AG
                  - AI
                  - AL
                  - AM
                  - AO
                  - AQ
                  - AR
                  - AS
                  - AT
                  - AU
                  - AW
                  - AX
                  - AZ
                  - BA
                  - BB
                  - BD
                  - BE
                  - BG
                  - BH
                  - BI
                  - BJ
                  - BL
                  - BM
                  - BN
                  - BO
                  - BQ
                  - BR
                  - BS
                  - BT
                  - BF
                  - BV
                  - BW
                  - BY
                  - BZ
                  - CA
                  - CC
                  - CD
                  - CF
                  - CG
                  - CH
                  - CI
                  - CK
                  - CL
                  - CM
                  - CN
                  - CO
                  - CR
                  - CU
                  - CV
                  - CW
                  - CX
                  - CY
                  - CZ
                  - DE
                  - DJ
                  - DK
                  - DM
                  - DO
                  - DZ
                  - EC
                  - EE
                  - EG
                  - EH
                  - ER
                  - ES
                  - ES-CE
                  - ES-ML
                  - ET
                  - FI
                  - FJ
                  - FK
                  - FM
                  - FO
                  - FR
                  - GA
                  - GB
                  - GD
                  - GE
                  - GF
                  - GG
                  - GH
                  - GI
                  - GL
                  - GM
                  - GN
                  - GP
                  - GQ
                  - GR
                  - GS
                  - GT
                  - GU
                  - GW
                  - GY
                  - HK
                  - HM
                  - HN
                  - HR
                  - HT
                  - HU
                  - IC
                  - ID
                  - IE
                  - IL
                  - IM
                  - IN
                  - IO
                  - IQ
                  - IR
                  - IS
                  - IT
                  - JE
                  - JM
                  - JO
                  - JP
                  - KE
                  - KG
                  - KH
                  - KI
                  - KM
                  - KN
                  - KP
                  - KR
                  - KW
                  - KY
                  - KZ
                  - LA
                  - LB
                  - LC
                  - LI
                  - LK
                  - LR
                  - LS
                  - LT
                  - LU
                  - LV
                  - LY
                  - MA
                  - MC
                  - MD
                  - ME
                  - MF
                  - MG
                  - MH
                  - MK
                  - ML
                  - MM
                  - MN
                  - MO
                  - MP
                  - MQ
                  - MR
                  - MS
                  - MT
                  - MU
                  - MV
                  - MW
                  - MX
                  - MY
                  - MZ
                  - NA
                  - NC
                  - NE
                  - NF
                  - NG
                  - NI
                  - NL
                  - 'NO'
                  - NP
                  - NR
                  - NU
                  - NZ
                  - OM
                  - PA
                  - PE
                  - PF
                  - PG
                  - PH
                  - PK
                  - PL
                  - PM
                  - PN
                  - PR
                  - PS
                  - PT
                  - PT-20
                  - PT-30
                  - PW
                  - PY
                  - QA
                  - RE
                  - RO
                  - RS
                  - RU
                  - RW
                  - SA
                  - SB
                  - SC
                  - SD
                  - SE
                  - SG
                  - SH
                  - SI
                  - SJ
                  - SK
                  - SL
                  - SM
                  - SN
                  - SO
                  - SR
                  - SS
                  - ST
                  - SV
                  - SX
                  - SY
                  - SZ
                  - TC
                  - TD
                  - TF
                  - TG
                  - TH
                  - TJ
                  - TK
                  - TL
                  - TM
                  - TN
                  - TO
                  - TR
                  - TT
                  - TV
                  - TW
                  - TZ
                  - UA
                  - UG
                  - UM
                  - US
                  - UY
                  - UZ
                  - VA
                  - VC
                  - VE
                  - VG
                  - VI
                  - VN
                  - VU
                  - WF
                  - WS
                  - XK
                  - YE
                  - YT
                  - ZA
                  - ZM
                  - ZW
                description: >-
                  Deprecated, use `countries`. The single country this price
                  configuration is eligible in, or `null` when it applies to
                  every country — or to several, which this field cannot
                  express.
                example: FR
                deprecated: true
              countries:
                type:
                  - array
                  - 'null'
                items:
                  type: string
                  enum:
                    - AD
                    - AE
                    - AF
                    - AG
                    - AI
                    - AL
                    - AM
                    - AO
                    - AQ
                    - AR
                    - AS
                    - AT
                    - AU
                    - AW
                    - AX
                    - AZ
                    - BA
                    - BB
                    - BD
                    - BE
                    - BG
                    - BH
                    - BI
                    - BJ
                    - BL
                    - BM
                    - BN
                    - BO
                    - BQ
                    - BR
                    - BS
                    - BT
                    - BF
                    - BV
                    - BW
                    - BY
                    - BZ
                    - CA
                    - CC
                    - CD
                    - CF
                    - CG
                    - CH
                    - CI
                    - CK
                    - CL
                    - CM
                    - CN
                    - CO
                    - CR
                    - CU
                    - CV
                    - CW
                    - CX
                    - CY
                    - CZ
                    - DE
                    - DJ
                    - DK
                    - DM
                    - DO
                    - DZ
                    - EC
                    - EE
                    - EG
                    - EH
                    - ER
                    - ES
                    - ES-CE
                    - ES-ML
                    - ET
                    - FI
                    - FJ
                    - FK
                    - FM
                    - FO
                    - FR
                    - GA
                    - GB
                    - GD
                    - GE
                    - GF
                    - GG
                    - GH
                    - GI
                    - GL
                    - GM
                    - GN
                    - GP
                    - GQ
                    - GR
                    - GS
                    - GT
                    - GU
                    - GW
                    - GY
                    - HK
                    - HM
                    - HN
                    - HR
                    - HT
                    - HU
                    - IC
                    - ID
                    - IE
                    - IL
                    - IM
                    - IN
                    - IO
                    - IQ
                    - IR
                    - IS
                    - IT
                    - JE
                    - JM
                    - JO
                    - JP
                    - KE
                    - KG
                    - KH
                    - KI
                    - KM
                    - KN
                    - KP
                    - KR
                    - KW
                    - KY
                    - KZ
                    - LA
                    - LB
                    - LC
                    - LI
                    - LK
                    - LR
                    - LS
                    - LT
                    - LU
                    - LV
                    - LY
                    - MA
                    - MC
                    - MD
                    - ME
                    - MF
                    - MG
                    - MH
                    - MK
                    - ML
                    - MM
                    - MN
                    - MO
                    - MP
                    - MQ
                    - MR
                    - MS
                    - MT
                    - MU
                    - MV
                    - MW
                    - MX
                    - MY
                    - MZ
                    - NA
                    - NC
                    - NE
                    - NF
                    - NG
                    - NI
                    - NL
                    - 'NO'
                    - NP
                    - NR
                    - NU
                    - NZ
                    - OM
                    - PA
                    - PE
                    - PF
                    - PG
                    - PH
                    - PK
                    - PL
                    - PM
                    - PN
                    - PR
                    - PS
                    - PT
                    - PT-20
                    - PT-30
                    - PW
                    - PY
                    - QA
                    - RE
                    - RO
                    - RS
                    - RU
                    - RW
                    - SA
                    - SB
                    - SC
                    - SD
                    - SE
                    - SG
                    - SH
                    - SI
                    - SJ
                    - SK
                    - SL
                    - SM
                    - SN
                    - SO
                    - SR
                    - SS
                    - ST
                    - SV
                    - SX
                    - SY
                    - SZ
                    - TC
                    - TD
                    - TF
                    - TG
                    - TH
                    - TJ
                    - TK
                    - TL
                    - TM
                    - TN
                    - TO
                    - TR
                    - TT
                    - TV
                    - TW
                    - TZ
                    - UA
                    - UG
                    - UM
                    - US
                    - UY
                    - UZ
                    - VA
                    - VC
                    - VE
                    - VG
                    - VI
                    - VN
                    - VU
                    - WF
                    - WS
                    - XK
                    - YE
                    - YT
                    - ZA
                    - ZM
                    - ZW
                  description: >-
                    Two-letter country code in ISO format. See [ISO 3166-1
                    alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                  example: FR
                description: >-
                  Countries this price configuration is eligible in. `null`
                  means it applies to every country; an empty array means it
                  applies only to customers that have no country set.
              plan_id:
                type:
                  - string
                  - 'null'
                description: ID of the plan on which this price configuration is eligible.
                deprecated: true
              billing_interval:
                anyOf:
                  - type: object
                    properties:
                      period:
                        type: string
                        enum:
                          - once
                    required:
                      - period
                  - type: object
                    properties:
                      period:
                        type: string
                        enum:
                          - days
                          - weeks
                          - months
                          - years
                      count:
                        type: number
                    required:
                      - period
                      - count
                  - type: 'null'
                description: Billing interval on which the price configuration is eligible.
              commitment_interval:
                anyOf:
                  - type: object
                    properties:
                      period:
                        type: string
                        enum:
                          - all
                    required:
                      - period
                  - type: object
                    properties:
                      period:
                        type: string
                        enum:
                          - weeks
                          - months
                          - years
                      count:
                        type: number
                    required:
                      - period
                      - count
                  - type: 'null'
                description: >-
                  Commitment interval on which the price configuration is
                  eligible.
              updated_at:
                type: string
                format: date
                description: Last edition date of the price configuration.
              archived_at:
                type:
                  - string
                  - 'null'
                format: date
                description: Date of the price configuration archival.
              integrations:
                type: array
                items:
                  type: object
                  properties:
                    entity_id:
                      type: string
                      description: ID of the entity in the provider.
                    provider_name:
                      type: string
                      enum:
                        - adyen
                        - stripe
                        - mollie
                        - gocardless
                        - airwallex
                        - paypal
                        - salesforce
                        - hubspot
                        - attio
                        - xero
                        - pennylane
                        - zoho-books
                        - exact-online
                        - quickbooks
                        - netsuite
                        - rillet
                        - campfire
                        - dualentry
                        - datev
                        - anrok
                        - sphere
                        - chargebee
                        - slack
                        - plain
                        - zendesk
                        - pylon
                        - intercom
                        - front
                        - helpscout
                        - claap
                        - grain
                        - gong
                        - jiminny
                        - modjo
                        - posthog
                      description: Provider name.
                    provider_account_id:
                      type: string
                      description: ID of the connected provider account.
                    created_at:
                      type:
                        - string
                        - 'null'
                      format: date-time
                      description: >-
                        Creation date of the entity in the provider, when it was
                        imported from there. Exposed on products, coupons and
                        subscriptions; `null` when the provider does not report
                        one.
                      example: '2024-12-20T16:04:11Z'
                    activated_at:
                      type:
                        - string
                        - 'null'
                      format: date-time
                      description: >-
                        Activation date of the entity in the provider, when it
                        was imported from there. Exposed on subscriptions;
                        `null` when the provider does not report one.
                      example: '2024-12-20T16:04:11Z'
                  required:
                    - entity_id
                    - provider_name
                    - provider_account_id
                  description: Reference to the entity in an external provider.
                  example:
                    entity_id: '123456789'
                    provider_name: stripe
                    provider_account_id: acc_1234567890
                description: References to this price configuration in external providers.
              type:
                type: string
                enum:
                  - fee
              prices:
                type: array
                items:
                  $ref: '#/components/schemas/PriceFee'
                maxItems: 1
                description: >-
                  Price tiers of the price configuration. If fixed amount, only
                  one price is available.
            required:
              - id
              - product_id
              - price_book_id
              - status
              - currency
              - country
              - countries
              - plan_id
              - billing_interval
              - commitment_interval
              - updated_at
              - archived_at
              - integrations
              - type
              - prices
          description: >-
            Only the first 50 price configurations are returned. To retrieve all
            configurations, paginate through `GET /v1/price-configurations`
            filtered by `product_id`.
      required:
        - id
        - name
        - status
        - description
        - description_display_interval_dates
        - public_description
        - translations
        - properties
        - custom_properties
        - accounting
        - integrations
        - type
        - is_available_on_demand
        - is_available_on_subscription
        - price_configurations
      title: Fee product
    ProductSeat:
      type: object
      properties:
        id:
          type: string
          description: Product ID.
          example: itm_3kXODDF42QXtnL
        name:
          type: string
          description: Product name.
          example: Product name
        status:
          type: string
          enum:
            - active
            - archived
          description: >

            Product status.


            - `active`: The product is active and can be used in new
            quotes/subscriptions/invoices.

            - `archived`: The product is archived and can't be used anymore.
          example: active
        description:
          type:
            - string
            - 'null'
          description: Product description.
          example: Product internal description
        description_display_interval_dates:
          type: boolean
          description: >-
            Indicates if the dates of the interval should be automatically added
            in the product description on the invoices.
        public_description:
          type:
            - string
            - 'null'
          description: Public description of the product.
          example: Product public description
        translations:
          type:
            - object
            - 'null'
          additionalProperties:
            type: object
            properties:
              name:
                type:
                  - string
                  - 'null'
              public_description:
                type:
                  - string
                  - 'null'
          description: Product name and description translations.
        properties:
          type:
            - object
            - 'null'
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
                    - type: boolean
                    - type: 'null'
                    - type: 'null'
              - type: 'null'
          description: Key/value pairs to store any metadata useful in your context.
          example: null
        custom_properties:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: string
                format: date-time
                description: >-
                  UTC date time string in the [ISO
                  8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                example: '2024-12-20T16:04:11Z'
              - type: array
                items:
                  type: string
              - type: 'null'
          description: >-
            A list of key value with the slug of the custom property as the key
            and the custom property value as value.
        accounting:
          $ref: '#/components/schemas/ProductAccounting'
        integrations:
          type: array
          items:
            type: object
            properties:
              entity_id:
                type: string
                description: ID of the entity in the provider.
              provider_name:
                type: string
                enum:
                  - adyen
                  - stripe
                  - mollie
                  - gocardless
                  - airwallex
                  - paypal
                  - salesforce
                  - hubspot
                  - attio
                  - xero
                  - pennylane
                  - zoho-books
                  - exact-online
                  - quickbooks
                  - netsuite
                  - rillet
                  - campfire
                  - dualentry
                  - datev
                  - anrok
                  - sphere
                  - chargebee
                  - slack
                  - plain
                  - zendesk
                  - pylon
                  - intercom
                  - front
                  - helpscout
                  - claap
                  - grain
                  - gong
                  - jiminny
                  - modjo
                  - posthog
                description: Provider name.
              provider_account_id:
                type: string
                description: ID of the connected provider account.
              created_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Creation date of the entity in the provider, when it was
                  imported from there. Exposed on products, coupons and
                  subscriptions; `null` when the provider does not report one.
                example: '2024-12-20T16:04:11Z'
              activated_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Activation date of the entity in the provider, when it was
                  imported from there. Exposed on subscriptions; `null` when the
                  provider does not report one.
                example: '2024-12-20T16:04:11Z'
            required:
              - entity_id
              - provider_name
              - provider_account_id
            description: Reference to the entity in an external provider.
            example:
              entity_id: '123456789'
              provider_name: stripe
              provider_account_id: acc_1234567890
          description: >-
            References to this product in external providers (billing,
            accounting, etc).
        type:
          type: string
          enum:
            - seat
          description: Product type.
        aggregator:
          allOf:
            - $ref: '#/components/schemas/Aggregator'
            - type:
                - object
                - 'null'
        price_configurations:
          type: array
          items:
            anyOf:
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - volume
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceVolume'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Volume
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - packaged
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PricePackaged'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Packaged
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bulk
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBulk'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Bulk
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bundle
                  allow_on_portal:
                    type: boolean
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBundle'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - allow_on_portal
                  - prices
                title: Bundle
          description: >-
            Only the first 50 price configurations are returned. To retrieve all
            configurations, paginate through `GET /v1/price-configurations`
            filtered by `product_id`.
      required:
        - id
        - name
        - status
        - description
        - description_display_interval_dates
        - public_description
        - translations
        - properties
        - custom_properties
        - accounting
        - integrations
        - type
        - aggregator
        - price_configurations
      title: Seat product
    ProductDynamic:
      type: object
      properties:
        id:
          type: string
          description: Product ID.
          example: itm_3kXODDF42QXtnL
        name:
          type: string
          description: Product name.
          example: Product name
        status:
          type: string
          enum:
            - active
            - archived
          description: >

            Product status.


            - `active`: The product is active and can be used in new
            quotes/subscriptions/invoices.

            - `archived`: The product is archived and can't be used anymore.
          example: active
        description:
          type:
            - string
            - 'null'
          description: Product description.
          example: Product internal description
        description_display_interval_dates:
          type: boolean
          description: >-
            Indicates if the dates of the interval should be automatically added
            in the product description on the invoices.
        public_description:
          type:
            - string
            - 'null'
          description: Public description of the product.
          example: Product public description
        translations:
          type:
            - object
            - 'null'
          additionalProperties:
            type: object
            properties:
              name:
                type:
                  - string
                  - 'null'
              public_description:
                type:
                  - string
                  - 'null'
          description: Product name and description translations.
        properties:
          type:
            - object
            - 'null'
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
                    - type: boolean
                    - type: 'null'
                    - type: 'null'
              - type: 'null'
          description: Key/value pairs to store any metadata useful in your context.
          example: null
        custom_properties:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: string
                format: date-time
                description: >-
                  UTC date time string in the [ISO
                  8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                example: '2024-12-20T16:04:11Z'
              - type: array
                items:
                  type: string
              - type: 'null'
          description: >-
            A list of key value with the slug of the custom property as the key
            and the custom property value as value.
        accounting:
          $ref: '#/components/schemas/ProductAccounting'
        integrations:
          type: array
          items:
            type: object
            properties:
              entity_id:
                type: string
                description: ID of the entity in the provider.
              provider_name:
                type: string
                enum:
                  - adyen
                  - stripe
                  - mollie
                  - gocardless
                  - airwallex
                  - paypal
                  - salesforce
                  - hubspot
                  - attio
                  - xero
                  - pennylane
                  - zoho-books
                  - exact-online
                  - quickbooks
                  - netsuite
                  - rillet
                  - campfire
                  - dualentry
                  - datev
                  - anrok
                  - sphere
                  - chargebee
                  - slack
                  - plain
                  - zendesk
                  - pylon
                  - intercom
                  - front
                  - helpscout
                  - claap
                  - grain
                  - gong
                  - jiminny
                  - modjo
                  - posthog
                description: Provider name.
              provider_account_id:
                type: string
                description: ID of the connected provider account.
              created_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Creation date of the entity in the provider, when it was
                  imported from there. Exposed on products, coupons and
                  subscriptions; `null` when the provider does not report one.
                example: '2024-12-20T16:04:11Z'
              activated_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Activation date of the entity in the provider, when it was
                  imported from there. Exposed on subscriptions; `null` when the
                  provider does not report one.
                example: '2024-12-20T16:04:11Z'
            required:
              - entity_id
              - provider_name
              - provider_account_id
            description: Reference to the entity in an external provider.
            example:
              entity_id: '123456789'
              provider_name: stripe
              provider_account_id: acc_1234567890
          description: >-
            References to this product in external providers (billing,
            accounting, etc).
        type:
          type: string
          enum:
            - dynamic
          description: Product type.
        aggregator:
          allOf:
            - $ref: '#/components/schemas/Aggregator'
            - type:
                - object
                - 'null'
        price_configurations:
          type: array
          items:
            anyOf:
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - volume
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceVolume'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Volume
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - packaged
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PricePackaged'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Packaged
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bulk
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBulk'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Bulk
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bps
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBps'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: BPS
          description: >-
            Only the first 50 price configurations are returned. To retrieve all
            configurations, paginate through `GET /v1/price-configurations`
            filtered by `product_id`.
      required:
        - id
        - name
        - status
        - description
        - description_display_interval_dates
        - public_description
        - translations
        - properties
        - custom_properties
        - accounting
        - integrations
        - type
        - aggregator
        - price_configurations
      title: Dynamic product
    ProductCredit:
      type: object
      properties:
        id:
          type: string
          description: Product ID.
          example: itm_3kXODDF42QXtnL
        name:
          type: string
          description: Product name.
          example: Product name
        status:
          type: string
          enum:
            - active
            - archived
          description: >

            Product status.


            - `active`: The product is active and can be used in new
            quotes/subscriptions/invoices.

            - `archived`: The product is archived and can't be used anymore.
          example: active
        description:
          type:
            - string
            - 'null'
          description: Product description.
          example: Product internal description
        description_display_interval_dates:
          type: boolean
          description: >-
            Indicates if the dates of the interval should be automatically added
            in the product description on the invoices.
        public_description:
          type:
            - string
            - 'null'
          description: Public description of the product.
          example: Product public description
        translations:
          type:
            - object
            - 'null'
          additionalProperties:
            type: object
            properties:
              name:
                type:
                  - string
                  - 'null'
              public_description:
                type:
                  - string
                  - 'null'
          description: Product name and description translations.
        properties:
          type:
            - object
            - 'null'
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
                    - type: boolean
                    - type: 'null'
                    - type: 'null'
              - type: 'null'
          description: Key/value pairs to store any metadata useful in your context.
          example: null
        custom_properties:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: string
                format: date-time
                description: >-
                  UTC date time string in the [ISO
                  8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                example: '2024-12-20T16:04:11Z'
              - type: array
                items:
                  type: string
              - type: 'null'
          description: >-
            A list of key value with the slug of the custom property as the key
            and the custom property value as value.
        accounting:
          $ref: '#/components/schemas/ProductAccounting'
        integrations:
          type: array
          items:
            type: object
            properties:
              entity_id:
                type: string
                description: ID of the entity in the provider.
              provider_name:
                type: string
                enum:
                  - adyen
                  - stripe
                  - mollie
                  - gocardless
                  - airwallex
                  - paypal
                  - salesforce
                  - hubspot
                  - attio
                  - xero
                  - pennylane
                  - zoho-books
                  - exact-online
                  - quickbooks
                  - netsuite
                  - rillet
                  - campfire
                  - dualentry
                  - datev
                  - anrok
                  - sphere
                  - chargebee
                  - slack
                  - plain
                  - zendesk
                  - pylon
                  - intercom
                  - front
                  - helpscout
                  - claap
                  - grain
                  - gong
                  - jiminny
                  - modjo
                  - posthog
                description: Provider name.
              provider_account_id:
                type: string
                description: ID of the connected provider account.
              created_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Creation date of the entity in the provider, when it was
                  imported from there. Exposed on products, coupons and
                  subscriptions; `null` when the provider does not report one.
                example: '2024-12-20T16:04:11Z'
              activated_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Activation date of the entity in the provider, when it was
                  imported from there. Exposed on subscriptions; `null` when the
                  provider does not report one.
                example: '2024-12-20T16:04:11Z'
            required:
              - entity_id
              - provider_name
              - provider_account_id
            description: Reference to the entity in an external provider.
            example:
              entity_id: '123456789'
              provider_name: stripe
              provider_account_id: acc_1234567890
          description: >-
            References to this product in external providers (billing,
            accounting, etc).
        type:
          type: string
          enum:
            - credit
          description: Product type.
        aggregator:
          allOf:
            - $ref: '#/components/schemas/Aggregator'
            - type:
                - object
                - 'null'
        credit_aggregators:
          type: array
          items:
            $ref: '#/components/schemas/CreditAggregatorResponse'
          description: >-
            Multiple aggregators with weights for multi-aggregator credit
            consumption.
        low_credits_threshold:
          type:
            - number
            - 'null'
          description: Threshold indicating a low level of credits.
          example: null
        credits_grant_mode:
          type: string
          enum:
            - prorated
            - full_allowance
          description: >

            How the periodic credit allowance is granted for partial billing
            periods.


            - `prorated` (default): the granted credits are prorated to the
            elapsed period.

            - `full_allowance`: the full allowance is always granted (the
            invoice remains prorated).
          example: prorated
        credits_balance_auto_creation_enabled:
          type: boolean
          description: >-
            Default for the `credits_balance_auto_creation_enabled` setting of
            subscription products using this credit product: whether the
            customer credit balance is created as soon as the product is added
            to a subscription. `true` when unset. A subscription product can
            override it.
          example: true
        price_configurations:
          type: array
          items:
            anyOf:
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - volume
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceVolume'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Volume
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bulk
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBulk'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Bulk
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bundle
                  allow_on_portal:
                    type: boolean
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBundle'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - allow_on_portal
                  - prices
                title: Bundle
          description: >-
            Only the first 50 price configurations are returned. To retrieve all
            configurations, paginate through `GET /v1/price-configurations`
            filtered by `product_id`.
      required:
        - id
        - name
        - status
        - description
        - description_display_interval_dates
        - public_description
        - translations
        - properties
        - custom_properties
        - accounting
        - integrations
        - type
        - aggregator
        - low_credits_threshold
        - credits_grant_mode
        - credits_balance_auto_creation_enabled
        - price_configurations
      title: Credit product
    ProductBundle:
      type: object
      properties:
        id:
          type: string
          description: Product ID.
          example: itm_3kXODDF42QXtnL
        name:
          type: string
          description: Product name.
          example: Product name
        status:
          type: string
          enum:
            - active
            - archived
          description: >

            Product status.


            - `active`: The product is active and can be used in new
            quotes/subscriptions/invoices.

            - `archived`: The product is archived and can't be used anymore.
          example: active
        description:
          type:
            - string
            - 'null'
          description: Product description.
          example: Product internal description
        description_display_interval_dates:
          type: boolean
          description: >-
            Indicates if the dates of the interval should be automatically added
            in the product description on the invoices.
        public_description:
          type:
            - string
            - 'null'
          description: Public description of the product.
          example: Product public description
        translations:
          type:
            - object
            - 'null'
          additionalProperties:
            type: object
            properties:
              name:
                type:
                  - string
                  - 'null'
              public_description:
                type:
                  - string
                  - 'null'
          description: Product name and description translations.
        properties:
          type:
            - object
            - 'null'
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
                    - type: boolean
                    - type: 'null'
                    - type: 'null'
              - type: 'null'
          description: Key/value pairs to store any metadata useful in your context.
          example: null
        custom_properties:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: string
                format: date-time
                description: >-
                  UTC date time string in the [ISO
                  8601](https://en.wikipedia.org/wiki/ISO_8601) format.
                example: '2024-12-20T16:04:11Z'
              - type: array
                items:
                  type: string
              - type: 'null'
          description: >-
            A list of key value with the slug of the custom property as the key
            and the custom property value as value.
        accounting:
          $ref: '#/components/schemas/ProductAccounting'
        integrations:
          type: array
          items:
            type: object
            properties:
              entity_id:
                type: string
                description: ID of the entity in the provider.
              provider_name:
                type: string
                enum:
                  - adyen
                  - stripe
                  - mollie
                  - gocardless
                  - airwallex
                  - paypal
                  - salesforce
                  - hubspot
                  - attio
                  - xero
                  - pennylane
                  - zoho-books
                  - exact-online
                  - quickbooks
                  - netsuite
                  - rillet
                  - campfire
                  - dualentry
                  - datev
                  - anrok
                  - sphere
                  - chargebee
                  - slack
                  - plain
                  - zendesk
                  - pylon
                  - intercom
                  - front
                  - helpscout
                  - claap
                  - grain
                  - gong
                  - jiminny
                  - modjo
                  - posthog
                description: Provider name.
              provider_account_id:
                type: string
                description: ID of the connected provider account.
              created_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Creation date of the entity in the provider, when it was
                  imported from there. Exposed on products, coupons and
                  subscriptions; `null` when the provider does not report one.
                example: '2024-12-20T16:04:11Z'
              activated_at:
                type:
                  - string
                  - 'null'
                format: date-time
                description: >-
                  Activation date of the entity in the provider, when it was
                  imported from there. Exposed on subscriptions; `null` when the
                  provider does not report one.
                example: '2024-12-20T16:04:11Z'
            required:
              - entity_id
              - provider_name
              - provider_account_id
            description: Reference to the entity in an external provider.
            example:
              entity_id: '123456789'
              provider_name: stripe
              provider_account_id: acc_1234567890
          description: >-
            References to this product in external providers (billing,
            accounting, etc).
        type:
          type: string
          enum:
            - bundle
          description: Product type.
        display_mode:
          type: string
          enum:
            - single_line
            - ventilated
          description: How bundle items are displayed on invoices
        exclusive_items_enabled:
          type:
            - boolean
            - 'null'
          description: When true, only one item in the bundle can be active at a time
        bundle_items:
          type: array
          items:
            $ref: '#/components/schemas/BundleProductItem'
          description: Products included in this bundle with their percentages
        price_configurations:
          type: array
          items:
            anyOf:
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - volume
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceVolume'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Volume
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - packaged
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PricePackaged'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Packaged
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bulk
                  aggregator_filter_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the metering filter attached to this price
                      configuration.
                  metering_filter:
                    $ref: '#/components/schemas/MeteringFilter'
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBulk'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - aggregator_filter_id
                  - metering_filter
                  - prices
                title: Bulk
              - type: object
                properties:
                  id:
                    type: string
                    description: Price configuration ID.
                  product_id:
                    type: string
                    description: ID of the product this price configuration belongs to.
                  price_book_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the price book the price configuration belongs to.
                      If null, the price configuration belongs to the default
                      price book.
                  status:
                    type: string
                    enum:
                      - active
                      - archived
                    description: Price configuration status.
                    example: active
                  currency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - EUR
                      - AED
                      - AFN
                      - XCD
                      - ALL
                      - AMD
                      - AOA
                      - ARS
                      - USD
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - XOF
                      - BMD
                      - BND
                      - BOB
                      - BRL
                      - BSD
                      - BTN
                      - NOK
                      - BWP
                      - BYR
                      - BZD
                      - CAD
                      - CDF
                      - XAF
                      - CHF
                      - NZD
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUP
                      - CVE
                      - ANG
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - MAD
                      - ERN
                      - ETB
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LYD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MRO
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - XPF
                      - NGN
                      - NIO
                      - NPR
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SDG
                      - SEK
                      - SGD
                      - SHP
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STD
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - UYU
                      - UZS
                      - VEF
                      - VND
                      - VUV
                      - WST
                      - YER
                      - ZAR
                      - ZMW
                      - ZWL
                    description: >-
                      Currency code. See [ISO
                      4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).
                    example: EUR
                  country:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AD
                      - AE
                      - AF
                      - AG
                      - AI
                      - AL
                      - AM
                      - AO
                      - AQ
                      - AR
                      - AS
                      - AT
                      - AU
                      - AW
                      - AX
                      - AZ
                      - BA
                      - BB
                      - BD
                      - BE
                      - BG
                      - BH
                      - BI
                      - BJ
                      - BL
                      - BM
                      - BN
                      - BO
                      - BQ
                      - BR
                      - BS
                      - BT
                      - BF
                      - BV
                      - BW
                      - BY
                      - BZ
                      - CA
                      - CC
                      - CD
                      - CF
                      - CG
                      - CH
                      - CI
                      - CK
                      - CL
                      - CM
                      - CN
                      - CO
                      - CR
                      - CU
                      - CV
                      - CW
                      - CX
                      - CY
                      - CZ
                      - DE
                      - DJ
                      - DK
                      - DM
                      - DO
                      - DZ
                      - EC
                      - EE
                      - EG
                      - EH
                      - ER
                      - ES
                      - ES-CE
                      - ES-ML
                      - ET
                      - FI
                      - FJ
                      - FK
                      - FM
                      - FO
                      - FR
                      - GA
                      - GB
                      - GD
                      - GE
                      - GF
                      - GG
                      - GH
                      - GI
                      - GL
                      - GM
                      - GN
                      - GP
                      - GQ
                      - GR
                      - GS
                      - GT
                      - GU
                      - GW
                      - GY
                      - HK
                      - HM
                      - HN
                      - HR
                      - HT
                      - HU
                      - IC
                      - ID
                      - IE
                      - IL
                      - IM
                      - IN
                      - IO
                      - IQ
                      - IR
                      - IS
                      - IT
                      - JE
                      - JM
                      - JO
                      - JP
                      - KE
                      - KG
                      - KH
                      - KI
                      - KM
                      - KN
                      - KP
                      - KR
                      - KW
                      - KY
                      - KZ
                      - LA
                      - LB
                      - LC
                      - LI
                      - LK
                      - LR
                      - LS
                      - LT
                      - LU
                      - LV
                      - LY
                      - MA
                      - MC
                      - MD
                      - ME
                      - MF
                      - MG
                      - MH
                      - MK
                      - ML
                      - MM
                      - MN
                      - MO
                      - MP
                      - MQ
                      - MR
                      - MS
                      - MT
                      - MU
                      - MV
                      - MW
                      - MX
                      - MY
                      - MZ
                      - NA
                      - NC
                      - NE
                      - NF
                      - NG
                      - NI
                      - NL
                      - 'NO'
                      - NP
                      - NR
                      - NU
                      - NZ
                      - OM
                      - PA
                      - PE
                      - PF
                      - PG
                      - PH
                      - PK
                      - PL
                      - PM
                      - PN
                      - PR
                      - PS
                      - PT
                      - PT-20
                      - PT-30
                      - PW
                      - PY
                      - QA
                      - RE
                      - RO
                      - RS
                      - RU
                      - RW
                      - SA
                      - SB
                      - SC
                      - SD
                      - SE
                      - SG
                      - SH
                      - SI
                      - SJ
                      - SK
                      - SL
                      - SM
                      - SN
                      - SO
                      - SR
                      - SS
                      - ST
                      - SV
                      - SX
                      - SY
                      - SZ
                      - TC
                      - TD
                      - TF
                      - TG
                      - TH
                      - TJ
                      - TK
                      - TL
                      - TM
                      - TN
                      - TO
                      - TR
                      - TT
                      - TV
                      - TW
                      - TZ
                      - UA
                      - UG
                      - UM
                      - US
                      - UY
                      - UZ
                      - VA
                      - VC
                      - VE
                      - VG
                      - VI
                      - VN
                      - VU
                      - WF
                      - WS
                      - XK
                      - YE
                      - YT
                      - ZA
                      - ZM
                      - ZW
                    description: >-
                      Deprecated, use `countries`. The single country this price
                      configuration is eligible in, or `null` when it applies to
                      every country — or to several, which this field cannot
                      express.
                    example: FR
                    deprecated: true
                  countries:
                    type:
                      - array
                      - 'null'
                    items:
                      type: string
                      enum:
                        - AD
                        - AE
                        - AF
                        - AG
                        - AI
                        - AL
                        - AM
                        - AO
                        - AQ
                        - AR
                        - AS
                        - AT
                        - AU
                        - AW
                        - AX
                        - AZ
                        - BA
                        - BB
                        - BD
                        - BE
                        - BG
                        - BH
                        - BI
                        - BJ
                        - BL
                        - BM
                        - BN
                        - BO
                        - BQ
                        - BR
                        - BS
                        - BT
                        - BF
                        - BV
                        - BW
                        - BY
                        - BZ
                        - CA
                        - CC
                        - CD
                        - CF
                        - CG
                        - CH
                        - CI
                        - CK
                        - CL
                        - CM
                        - CN
                        - CO
                        - CR
                        - CU
                        - CV
                        - CW
                        - CX
                        - CY
                        - CZ
                        - DE
                        - DJ
                        - DK
                        - DM
                        - DO
                        - DZ
                        - EC
                        - EE
                        - EG
                        - EH
                        - ER
                        - ES
                        - ES-CE
                        - ES-ML
                        - ET
                        - FI
                        - FJ
                        - FK
                        - FM
                        - FO
                        - FR
                        - GA
                        - GB
                        - GD
                        - GE
                        - GF
                        - GG
                        - GH
                        - GI
                        - GL
                        - GM
                        - GN
                        - GP
                        - GQ
                        - GR
                        - GS
                        - GT
                        - GU
                        - GW
                        - GY
                        - HK
                        - HM
                        - HN
                        - HR
                        - HT
                        - HU
                        - IC
                        - ID
                        - IE
                        - IL
                        - IM
                        - IN
                        - IO
                        - IQ
                        - IR
                        - IS
                        - IT
                        - JE
                        - JM
                        - JO
                        - JP
                        - KE
                        - KG
                        - KH
                        - KI
                        - KM
                        - KN
                        - KP
                        - KR
                        - KW
                        - KY
                        - KZ
                        - LA
                        - LB
                        - LC
                        - LI
                        - LK
                        - LR
                        - LS
                        - LT
                        - LU
                        - LV
                        - LY
                        - MA
                        - MC
                        - MD
                        - ME
                        - MF
                        - MG
                        - MH
                        - MK
                        - ML
                        - MM
                        - MN
                        - MO
                        - MP
                        - MQ
                        - MR
                        - MS
                        - MT
                        - MU
                        - MV
                        - MW
                        - MX
                        - MY
                        - MZ
                        - NA
                        - NC
                        - NE
                        - NF
                        - NG
                        - NI
                        - NL
                        - 'NO'
                        - NP
                        - NR
                        - NU
                        - NZ
                        - OM
                        - PA
                        - PE
                        - PF
                        - PG
                        - PH
                        - PK
                        - PL
                        - PM
                        - PN
                        - PR
                        - PS
                        - PT
                        - PT-20
                        - PT-30
                        - PW
                        - PY
                        - QA
                        - RE
                        - RO
                        - RS
                        - RU
                        - RW
                        - SA
                        - SB
                        - SC
                        - SD
                        - SE
                        - SG
                        - SH
                        - SI
                        - SJ
                        - SK
                        - SL
                        - SM
                        - SN
                        - SO
                        - SR
                        - SS
                        - ST
                        - SV
                        - SX
                        - SY
                        - SZ
                        - TC
                        - TD
                        - TF
                        - TG
                        - TH
                        - TJ
                        - TK
                        - TL
                        - TM
                        - TN
                        - TO
                        - TR
                        - TT
                        - TV
                        - TW
                        - TZ
                        - UA
                        - UG
                        - UM
                        - US
                        - UY
                        - UZ
                        - VA
                        - VC
                        - VE
                        - VG
                        - VI
                        - VN
                        - VU
                        - WF
                        - WS
                        - XK
                        - YE
                        - YT
                        - ZA
                        - ZM
                        - ZW
                      description: >-
                        Two-letter country code in ISO format. See [ISO 3166-1
                        alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
                      example: FR
                    description: >-
                      Countries this price configuration is eligible in. `null`
                      means it applies to every country; an empty array means it
                      applies only to customers that have no country set.
                  plan_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      ID of the plan on which this price configuration is
                      eligible.
                    deprecated: true
                  billing_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - once
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - days
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Billing interval on which the price configuration is
                      eligible.
                  commitment_interval:
                    anyOf:
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - all
                        required:
                          - period
                      - type: object
                        properties:
                          period:
                            type: string
                            enum:
                              - weeks
                              - months
                              - years
                          count:
                            type: number
                        required:
                          - period
                          - count
                      - type: 'null'
                    description: >-
                      Commitment interval on which the price configuration is
                      eligible.
                  updated_at:
                    type: string
                    format: date
                    description: Last edition date of the price configuration.
                  archived_at:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: Date of the price configuration archival.
                  integrations:
                    type: array
                    items:
                      type: object
                      properties:
                        entity_id:
                          type: string
                          description: ID of the entity in the provider.
                        provider_name:
                          type: string
                          enum:
                            - adyen
                            - stripe
                            - mollie
                            - gocardless
                            - airwallex
                            - paypal
                            - salesforce
                            - hubspot
                            - attio
                            - xero
                            - pennylane
                            - zoho-books
                            - exact-online
                            - quickbooks
                            - netsuite
                            - rillet
                            - campfire
                            - dualentry
                            - datev
                            - anrok
                            - sphere
                            - chargebee
                            - slack
                            - plain
                            - zendesk
                            - pylon
                            - intercom
                            - front
                            - helpscout
                            - claap
                            - grain
                            - gong
                            - jiminny
                            - modjo
                            - posthog
                          description: Provider name.
                        provider_account_id:
                          type: string
                          description: ID of the connected provider account.
                        created_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Creation date of the entity in the provider, when it
                            was imported from there. Exposed on products,
                            coupons and subscriptions; `null` when the provider
                            does not report one.
                          example: '2024-12-20T16:04:11Z'
                        activated_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: >-
                            Activation date of the entity in the provider, when
                            it was imported from there. Exposed on
                            subscriptions; `null` when the provider does not
                            report one.
                          example: '2024-12-20T16:04:11Z'
                      required:
                        - entity_id
                        - provider_name
                        - provider_account_id
                      description: Reference to the entity in an external provider.
                      example:
                        entity_id: '123456789'
                        provider_name: stripe
                        provider_account_id: acc_1234567890
                    description: >-
                      References to this price configuration in external
                      providers.
                  type:
                    type: string
                    enum:
                      - bundle
                  allow_on_portal:
                    type: boolean
                  prices:
                    type: array
                    items:
                      $ref: '#/components/schemas/PriceBundle'
                    description: >-
                      Price tiers of the price configuration. If fixed amount,
                      only one price is available.
                required:
                  - id
                  - product_id
                  - price_book_id
                  - status
                  - currency
                  - country
                  - countries
                  - plan_id
                  - billing_interval
                  - commitment_interval
                  - updated_at
                  - archived_at
                  - integrations
                  - type
                  - allow_on_portal
                  - prices
                title: Bundle
          description: >-
            Only the first 50 price configurations are returned. To retrieve all
            configurations, paginate through `GET /v1/price-configurations`
            filtered by `product_id`.
      required:
        - id
        - name
        - status
        - description
        - description_display_interval_dates
        - public_description
        - translations
        - properties
        - custom_properties
        - accounting
        - integrations
        - type
        - display_mode
        - exclusive_items_enabled
        - bundle_items
        - price_configurations
      title: Bundle product
    PriceFee:
      type: object
      properties:
        type:
          type: string
          enum:
            - fee
        id:
          type: string
          description: Price ID.
        amount:
          type: number
          description: Monetary amount. Expressed in currency's smallest unit.
      required:
        - type
        - amount
    Aggregator:
      type: object
      properties:
        id:
          type: string
        entity:
          type: string
        operation:
          type: string
          enum:
            - count
            - sum
            - sql_formula
        property:
          type:
            - string
            - 'null'
        formula_sql:
          type:
            - string
            - 'null'
        where:
          type:
            - object
            - 'null'
          properties:
            conditional:
              type: string
              enum:
                - and
                - or
            fields:
              type: array
              items:
                allOf:
                  - type: object
                    properties:
                      property:
                        type: string
                    required:
                      - property
                  - oneOf:
                      - type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - isNull
                              - isNotNull
                        required:
                          - operator
                      - type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - in
                              - notIn
                          value:
                            type: string
                        required:
                          - operator
                          - value
                      - type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - gte
                              - gt
                              - lt
                              - lte
                          value:
                            type: number
                        required:
                          - operator
                          - value
                      - type: object
                        properties:
                          operator:
                            type: string
                            enum:
                              - equals
                              - notEqual
                          value:
                            anyOf:
                              - type: string
                              - type: number
                              - type: boolean
                        required:
                          - operator
                          - value
          required:
            - conditional
            - fields
        type:
          type: string
          enum:
            - metered
            - licensed
        name:
          type:
            - string
            - 'null'
        description:
          type:
            - string
            - 'null'
        allow_negative_values:
          type: boolean
        aggregate_on_customers_enabled:
          type: boolean
        default_interval_count:
          type:
            - integer
            - 'null'
        default_interval_period:
          type:
            - string
            - 'null'
          enum:
            - days
            - weeks
            - months
            - years
        custom_event_name:
          type:
            - string
            - 'null'
        exposed_event_keys:
          type: array
          items:
            type: string
        unit_name:
          type:
            - string
            - 'null'
        thresholds:
          type: array
          items:
            $ref: '#/components/schemas/AggregatorThreshold'
        created_at:
          type: string
          format: date
        updated_at:
          type: string
          format: date
      required:
        - id
        - entity
        - operation
        - property
        - where
        - type
        - name
        - description
        - allow_negative_values
        - aggregate_on_customers_enabled
        - default_interval_count
        - default_interval_period
        - custom_event_name
        - exposed_event_keys
        - unit_name
        - thresholds
        - created_at
        - updated_at
    MeteringFilter:
      type:
        - object
        - 'null'
      properties:
        name:
          type: string
          description: Name of the metering filter.
          example: VISA credit cards
        configuration:
          $ref: '#/components/schemas/MeteringFilterConfiguration'
      required:
        - name
        - configuration
      description: Metering filter to scope eligible billable events.
    PriceVolume:
      type: object
      properties:
        type:
          type: string
          enum:
            - volume
        id:
          type: string
          description: Price ID.
        amount:
          type: number
          description: >-
            Monetary amount of the price for the number of units defined by
            `unit_count`. Expressed in currency's smallest unit.
        unit_count:
          type: number
          description: Number of units considered for the amount.
        from:
          type: number
          description: From limit.
        to:
          type:
            - number
            - 'null'
          description: To limit.
        on_tier_incomplete:
          type:
            - string
            - 'null'
          enum:
            - pro_rata
            - pay_in_full
            - do_not_charge
            - flat_per_tier
          default: pro_rata
          description: >-

            Logic used to compute the amount when usage on the tier is
            incomplete.


            - `pro_rata`: The amount is computed using the pro rata of the
            tier's consumption.

            - `pay_in_full`: The amount corresponds to the full payment of the
            tier.

            - `do_not_charge`: The tier is not charged and ignored.

            - `flat_per_tier`: The tier's `amount` is a flat fee, billed once as
            soon as usage reaches the tier, whatever the number of units in it.
            `unitCount` is ignored. No usage bills nothing.
              
      required:
        - type
        - amount
        - unit_count
        - from
        - to
    PricePackaged:
      type: object
      properties:
        type:
          type: string
          enum:
            - packaged
        id:
          type: string
          description: Price ID.
        amount:
          type: number
          description: >-
            Monetary amount of the price for the number of units defined by
            `unit_count`. Expressed in currency's smallest unit.
        unit_count:
          type: number
          description: Number of units considered for the amount.
        from:
          type: number
          description: From limit.
        to:
          type:
            - number
            - 'null'
          description: To limit.
        on_bucket_incomplete:
          type:
            - string
            - 'null'
          enum:
            - pro_rata
            - pay_in_full
            - do_not_charge
            - flat_per_tier
          default: pro_rata
          description: >-

            Logic used to compute the amount when usage reaches an incomplete
            bucket (the bucket size corresponds to the `unitCount`).

              - `pro_rata`: The amount is computed using the pro rata of the bucket's consumption.
              - `pay_in_full`: The amount corresponds to the full payment of the bucket.
              - `do_not_charge`: The bucket is not charged and ignored.
              - `flat_per_tier`: The tier's `amount` is a flat fee, billed once as soon as usage reaches the tier, whatever the number of units in it. `unitCount` is ignored. No usage bills nothing.
                
      required:
        - type
        - amount
        - unit_count
        - from
        - to
    PriceBulk:
      type: object
      properties:
        type:
          type: string
          enum:
            - bulk
        id:
          type: string
          description: Price ID.
        amount:
          type: number
          description: >-
            Monetary amount of the price for the number of units defined by
            `unit_count`. Expressed in currency's smallest unit.
        unit_count:
          type: number
          description: Number of units considered for the amount.
        to:
          type:
            - number
            - 'null'
          description: To limit.
        on_tier_incomplete:
          type:
            - string
            - 'null'
          enum:
            - pro_rata
            - pay_in_full
            - do_not_charge
            - flat_per_tier
          default: pro_rata
          description: >-

            Logic used to compute the amount when usage on the tier is
            incomplete.


            - `pro_rata`: The amount is computed using the pro rata of the
            tier's consumption.

            - `pay_in_full`: The amount corresponds to the full payment of the
            tier.

            - `do_not_charge`: The tier is not charged and ignored.

            - `flat_per_tier`: The tier's `amount` is a flat fee, billed once as
            soon as usage reaches the tier, whatever the number of units in it.
            `unitCount` is ignored. No usage bills nothing.
              
      required:
        - type
        - amount
        - unit_count
        - to
    PriceBundle:
      type: object
      properties:
        type:
          type: string
          enum:
            - bundle
        id:
          type: string
          description: Price ID.
        amount:
          type: number
          description: >-
            Monetary amount of the price for the number of units defined by
            `unit_count`. Expressed in currency's smallest unit.
        unit_count:
          type: number
          description: Number of units considered for the amount.
      required:
        - type
        - amount
        - unit_count
    PriceBps:
      type: object
      properties:
        type:
          type: string
          enum:
            - bps
        id:
          type: string
          description: Price ID.
        from:
          type: number
          description: From limit.
        to:
          type:
            - number
            - 'null'
          description: To limit.
        percentage:
          type: number
          description: Percentage applied on each unit to compute the usage.
        per_unit_cap:
          type:
            - number
            - 'null'
          description: Maximum amount for one unit. Expressed in currency's smallest unit.
        per_unit_floor:
          type:
            - number
            - 'null'
          description: Minimum amount for one unit. Expressed in currency's smallest unit.
        per_unit_fee:
          type:
            - number
            - 'null'
          description: Fee amount applied per unit. Expressed in currency's smallest unit.
      required:
        - type
        - from
        - to
        - percentage
        - per_unit_cap
        - per_unit_floor
        - per_unit_fee
    CreditAggregatorResponse:
      type: object
      properties:
        aggregator_id:
          type: string
        aggregator:
          $ref: '#/components/schemas/Aggregator'
        weight:
          type: number
      required:
        - aggregator_id
        - aggregator
        - weight
    BundleProductItem:
      type: object
      properties:
        id:
          type: string
        product_id:
          type: string
        percentage:
          type: number
        product:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            type:
              type: string
          required:
            - id
            - name
            - type
      required:
        - id
        - product_id
        - percentage
    AggregatorThreshold:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
          enum:
            - fixed
            - committed_count
            - top_tier
            - current_tier
          description: >-
            Threshold type. `fixed`: the threshold value is an absolute usage
            value. `committed_count`, `top_tier` and `current_tier`: the
            threshold value is a percentage of the subscription's committed
            count, top tier or current tier.
        threshold_value:
          type: number
        comparison_operator:
          type: string
          enum:
            - gte
            - lte
      required:
        - id
        - name
        - type
        - threshold_value
        - comparison_operator
    MeteringFilterConfiguration:
      type: object
      properties:
        conditional:
          type: string
          enum:
            - and
            - or
          description: >-
            Logical operator used to combine multiple filter fields. `and`
            requires all fields to match, `or` requires at least one.
        fields:
          type: array
          items:
            allOf:
              - type: object
                properties:
                  property:
                    type: string
                    description: Name of the event property to filter on.
                required:
                  - property
              - oneOf:
                  - type: object
                    properties:
                      operator:
                        type: string
                        enum:
                          - is_null
                          - is_not_null
                        description: Comparison operator to apply on the property value.
                    required:
                      - operator
                    title: Null check
                  - type: object
                    properties:
                      operator:
                        type: string
                        enum:
                          - in
                          - not_in
                        description: Comparison operator to apply on the property value.
                      value:
                        type: string
                    required:
                      - operator
                      - value
                    title: List match
                  - type: object
                    properties:
                      operator:
                        type: string
                        enum:
                          - gte
                          - gt
                          - lt
                          - lte
                        description: Comparison operator to apply on the property value.
                      value:
                        type: number
                    required:
                      - operator
                      - value
                    title: Numeric comparison
                  - type: object
                    properties:
                      operator:
                        type: string
                        enum:
                          - equals
                          - not_equal
                        description: Comparison operator to apply on the property value.
                      value:
                        anyOf:
                          - type: string
                          - type: number
                          - type: boolean
                    required:
                      - operator
                      - value
                    title: Equality check
      required:
        - conditional
        - fields
      description: Configuration of the rules used to filter eligible events.
      example:
        conditional: and
        fields:
          - property: card_type
            operator: equals
            value: visa
          - property: kind
            operator: equals
            value: credit_card
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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