> ## 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.

# List price configurations

> Retrieve existing price configurations.



## OpenAPI

````yaml get /v1/price-configurations
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/price-configurations:
    get:
      tags:
        - Catalog > Price configurations
      summary: List price configurations
      description: Retrieve existing price configurations.
      operationId: listPriceConfigurations
      parameters:
        - schema:
            type:
              - number
              - 'null'
            minimum: 0
            maximum: 100
            default: 50
          required: false
          name: take
          in: query
        - schema:
            type:
              - number
              - 'null'
            minimum: 0
            default: 0
          required: false
          name: skip
          in: query
        - schema:
            type: string
          required: false
          name: product_id
          in: query
        - schema:
            type: string
          required: false
          name: product_id__not
          in: query
        - schema:
            type: string
          required: false
          name: product_id__equals
          in: query
        - schema:
            type: string
          required: false
          name: product_id__contains
          in: query
        - schema:
            type: string
          required: false
          name: product_id__startsWith
          in: query
        - schema:
            type: string
          required: false
          name: product_id__endWith
          in: query
        - schema:
            type: string
            description: >-
              Rows whose `product_id` is one of these values. Comma-separated,
              max 100 values.
          required: false
          description: >-
            Rows whose `product_id` is one of these values. Comma-separated, max
            100 values.
          name: product_id__in
          in: query
        - schema:
            type: string
            description: >-
              Rows whose `product_id` is none of these values. Comma-separated,
              max 100 values.
          required: false
          description: >-
            Rows whose `product_id` is none of these values. Comma-separated,
            max 100 values.
          name: product_id__notIn
          in: query
        - schema:
            type: string
          required: false
          name: price_book_id
          in: query
        - schema:
            type: string
          required: false
          name: price_book_id__not
          in: query
        - schema:
            type: string
          required: false
          name: price_book_id__equals
          in: query
        - schema:
            type: string
          required: false
          name: price_book_id__contains
          in: query
        - schema:
            type: string
          required: false
          name: price_book_id__startsWith
          in: query
        - schema:
            type: string
          required: false
          name: price_book_id__endWith
          in: query
        - schema:
            anyOf:
              - anyOf:
                  - type: boolean
                  - type: string
                    enum:
                      - 'true'
                      - 'false'
              - type: string
                enum:
                  - ''
          required: false
          name: price_book_id__isNull
          in: query
        - schema:
            anyOf:
              - anyOf:
                  - type: boolean
                  - type: string
                    enum:
                      - 'true'
                      - 'false'
              - type: string
                enum:
                  - ''
          required: false
          name: price_book_id__isNotNull
          in: query
        - schema:
            type: string
            description: >-
              Rows whose `price_book_id` is one of these values.
              Comma-separated, max 100 values.
          required: false
          description: >-
            Rows whose `price_book_id` is one of these values. Comma-separated,
            max 100 values.
          name: price_book_id__in
          in: query
        - schema:
            type: string
            description: >-
              Rows whose `price_book_id` is none of these values.
              Comma-separated, max 100 values. Rows where `price_book_id` is
              empty are not returned; use `price_book_id__isNull=true` to get
              them.
          required: false
          description: >-
            Rows whose `price_book_id` is none of these values. Comma-separated,
            max 100 values. Rows where `price_book_id` is empty are not
            returned; use `price_book_id__isNull=true` to get them.
          name: price_book_id__notIn
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedPriceConfiguration'
      security:
        - bearer: []
components:
  schemas:
    PaginatedPriceConfiguration:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: number
              description: Total of existing items.
              example: 1
            taken:
              type: number
              description: Number of items returned.
              example: 1
            skipped:
              type: number
              description: Number of items skipped.
              example: 0
          required:
            - total
            - taken
            - skipped
        data:
          type: array
          items:
            allOf:
              - $ref: '#/components/schemas/PriceConfiguration'
              - 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:
                          - 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
                    title: Fee
                  - 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
                  - 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: List of PriceConfiguration.
      required:
        - meta
        - data
    PriceConfiguration:
      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:
                - 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
          title: Fee
        - 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
        - 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
        - type: 'null'
      description: >-
        Price configuration the customer pays on the portal. `null` while
        disabled, or once that price configuration is archived, deleted or not
        in the customer's currency.
    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
    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
    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
    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
    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.