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

# Create price configuration

> Create a new price configuration on an existing product.



## OpenAPI

````yaml post /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:
    post:
      tags:
        - Catalog > Price configurations
      summary: Create price configuration
      description: Create a new price configuration on an existing product.
      operationId: createPriceConfiguration
      requestBody:
        description: Create price configuration payload
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePriceConfiguration'
      responses:
        '201':
          description: The newly created price configuration
          content:
            application/json:
              schema:
                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
        '404':
          description: Product not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - bearer: []
components:
  schemas:
    CreatePriceConfiguration:
      oneOf:
        - type: object
          properties:
            currency:
              type: string
              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. Omit or send
                `null` to make it eligible in every country. An empty array
                restricts it 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
            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.
            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
              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.
            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.
            product_id:
              type: string
              description: ID of the product to add the price configuration to.
          required:
            - currency
            - billing_interval
            - type
            - prices
            - product_id
          title: Fee
        - type: object
          properties:
            currency:
              type: string
              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. Omit or send
                `null` to make it eligible in every country. An empty array
                restricts it 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
            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.
            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
              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.
            type:
              type: string
              enum:
                - volume
            prices:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - volume
                  amount:
                    type: number
                    description: Monetary amount. Expressed in currency's smallest unit.
                  from:
                    type: number
                  to:
                    type:
                      - number
                      - 'null'
                  on_bucket_incomplete:
                    type: string
                    enum:
                      - pro_rata
                      - pay_in_full
                      - do_not_charge
                      - flat_per_tier
                    default: pro_rata
                  unit_count:
                    type: number
                    default: 1
                required:
                  - type
                  - amount
                  - from
                  - to
              description: >-
                Price tiers of the price configuration. If fixed amount, only
                one price is available.
            metering_filter:
              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: >-
                Filter to scope which billable events are eligible for this
                price configuration.
            aggregator_filter_id:
              type:
                - string
                - 'null'
              description: >-
                ID of an existing metering filter of the product's aggregator to
                attach to this price configuration, instead of creating a new
                one with `metering_filter`.
            product_id:
              type: string
              description: ID of the product to add the price configuration to.
          required:
            - currency
            - billing_interval
            - type
            - prices
            - product_id
          title: Volume
        - type: object
          properties:
            currency:
              type: string
              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. Omit or send
                `null` to make it eligible in every country. An empty array
                restricts it 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
            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.
            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
              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.
            type:
              type: string
              enum:
                - bulk
            prices:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - bulk
                  amount:
                    type: number
                    description: Monetary amount. Expressed in currency's smallest unit.
                  to:
                    type:
                      - number
                      - 'null'
                  on_bucket_incomplete:
                    type:
                      - string
                      - 'null'
                    enum:
                      - pro_rata
                      - pay_in_full
                      - do_not_charge
                      - flat_per_tier
                    default: pro_rata
                  unit_count:
                    type: number
                    default: 1
                required:
                  - type
                  - amount
                  - to
              description: >-
                Price tiers of the price configuration. If fixed amount, only
                one price is available.
            metering_filter:
              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: >-
                Filter to scope which billable events are eligible for this
                price configuration.
            aggregator_filter_id:
              type:
                - string
                - 'null'
              description: >-
                ID of an existing metering filter of the product's aggregator to
                attach to this price configuration, instead of creating a new
                one with `metering_filter`.
            product_id:
              type: string
              description: ID of the product to add the price configuration to.
          required:
            - currency
            - billing_interval
            - type
            - prices
            - product_id
          title: Bulk
        - type: object
          properties:
            currency:
              type: string
              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. Omit or send
                `null` to make it eligible in every country. An empty array
                restricts it 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
            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.
            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
              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.
            type:
              type: string
              enum:
                - packaged
            prices:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - packaged
                  amount:
                    type: number
                    description: Monetary amount. Expressed in currency's smallest unit.
                  from:
                    type: number
                  to:
                    type:
                      - number
                      - 'null'
                  on_bucket_incomplete:
                    type: string
                    enum:
                      - pro_rata
                      - pay_in_full
                      - do_not_charge
                      - flat_per_tier
                    default: pro_rata
                  unit_count:
                    type: number
                    default: 1
                required:
                  - type
                  - amount
                  - from
                  - to
              description: >-
                Price tiers of the price configuration. If fixed amount, only
                one price is available.
            metering_filter:
              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: >-
                Filter to scope which billable events are eligible for this
                price configuration.
            aggregator_filter_id:
              type:
                - string
                - 'null'
              description: >-
                ID of an existing metering filter of the product's aggregator to
                attach to this price configuration, instead of creating a new
                one with `metering_filter`.
            product_id:
              type: string
              description: ID of the product to add the price configuration to.
          required:
            - currency
            - billing_interval
            - type
            - prices
            - product_id
          title: Packaged
        - type: object
          properties:
            currency:
              type: string
              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. Omit or send
                `null` to make it eligible in every country. An empty array
                restricts it 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
            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.
            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
              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.
            type:
              type: string
              enum:
                - bps
            prices:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - bps
                  from:
                    type: number
                  to:
                    type:
                      - number
                      - 'null'
                  percentage:
                    type: number
                  per_unit_cap:
                    type:
                      - number
                      - 'null'
                    description: Monetary amount. Expressed in currency's smallest unit.
                  per_unit_floor:
                    type:
                      - number
                      - 'null'
                    description: Monetary amount. Expressed in currency's smallest unit.
                  per_unit_fee:
                    type:
                      - number
                      - 'null'
                    description: Monetary amount. Expressed in currency's smallest unit.
                required:
                  - type
                  - from
                  - to
                  - percentage
                  - per_unit_cap
                  - per_unit_floor
                  - per_unit_fee
              description: >-
                Price tiers of the price configuration. If fixed amount, only
                one price is available.
            metering_filter:
              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: >-
                Filter to scope which billable events are eligible for this
                price configuration.
            aggregator_filter_id:
              type:
                - string
                - 'null'
              description: >-
                ID of an existing metering filter of the product's aggregator to
                attach to this price configuration, instead of creating a new
                one with `metering_filter`.
            product_id:
              type: string
              description: ID of the product to add the price configuration to.
          required:
            - currency
            - billing_interval
            - type
            - prices
            - product_id
          title: BPS
        - type: object
          properties:
            currency:
              type: string
              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. Omit or send
                `null` to make it eligible in every country. An empty array
                restricts it 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
            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.
            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
              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.
            type:
              type: string
              enum:
                - bundle
            allow_on_portal:
              type: boolean
              default: true
            prices:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - bundle
                  amount:
                    type: number
                    description: Monetary amount. Expressed in currency's smallest unit.
                  unit_count:
                    type: number
                required:
                  - type
                  - amount
                  - unit_count
              description: >-
                Price tiers of the price configuration. If fixed amount, only
                one price is available.
            product_id:
              type: string
              description: ID of the product to add the price configuration to.
          required:
            - currency
            - billing_interval
            - type
            - prices
            - product_id
          title: Bundle
    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.