Solvimon pricingGroups API

The pricingGroups API from Solvimon — 2 operation(s) for pricinggroups.

OpenAPI Specification

solvimon-pricinggroups-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Configuration alertRules pricingGroups API
  version: 1.0.0
servers:
- url: https://test.api.solvimon.com
  description: The TEST environment for our API
- url: https://api.solvimon.com
  description: The live environment for our API
tags:
- name: pricingGroups
paths:
  /v{version}/pricing-groups:
    post:
      operationId: postPricingGroups
      summary: Create a pricingGroup
      tags:
      - pricingGroups
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingGroup'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PricingGroupCreateRequest'
  /v{version}/pricing-groups/{resourceId}:
    get:
      operationId: getPricingGroupsByResourceId
      summary: Get a pricing group by resource ID
      tags:
      - pricingGroups
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource to be requested.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingGroup'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    delete:
      operationId: deletePricingGroupsByResourceId
      summary: Delete a pricing group by resource ID
      tags:
      - pricingGroups
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource to be requested.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingGroup'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    patch:
      operationId: patchPricingGroupsByResourceId
      summary: Update a pricing
      tags:
      - pricingGroups
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource to be requested.
        required: true
        schema:
          type: string
          default: ''
      - name: X-API-KEY
        in: header
        required: true
        schema:
          type: string
      - name: x-platform-id
        in: header
        description: Platform ID.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingGroup'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PricingGroupUpdateRequest'
components:
  schemas:
    PricingUpdateRequestProductType:
      type: string
      enum:
      - DEFAULT
      - ADDON
      title: PricingUpdateRequestProductType
    PricingItemConfigPricingType:
      type: string
      enum:
      - FLAT
      - FLAT_TOP_UP
      - TIERED
      - TIERED_TOP_UP
      - TOP_TIERED
      - STAIR_STEP
      - STAIR_STEP_TOP_UP
      - FIXED
      - PASS_THROUGH
      - NONE
      title: PricingItemConfigPricingType
    WalletTypeCreditCreditsGrant:
      type: object
      properties:
        credit_type_id:
          type: string
          description: The credit type for wallets of wallet type.
      title: WalletTypeCreditCreditsGrant
    MeterPropertyConditionComparator:
      type: string
      enum:
      - EQUALS
      - NOT_EQUALS
      - IN
      - NOT_IN
      - GREATER_THAN
      - GREATER_THAN_OR_EQUALS
      - LESS_THAN
      - LESS_THAN_OR_EQUALS
      - EMPTY
      - NOT_EMPTY
      - CONTAINS
      - NOT_CONTAINS
      title: MeterPropertyConditionComparator
    LinkedIntegration:
      type: object
      properties:
        id:
          type: string
        link_details:
          type: array
          items:
            $ref: '#/components/schemas/LinkDetail'
      title: LinkedIntegration
    IntegrationDetails:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        reference:
          type:
          - string
          - 'null'
        payment_gateway_variant:
          $ref: '#/components/schemas/IntegrationDetailsPaymentGatewayVariant'
        adyen:
          $ref: '#/components/schemas/AdyenIntegrationDetails'
        stripe:
          $ref: '#/components/schemas/StripeIntegrationDetails'
      title: IntegrationDetails
    WalletTypeCreditAmountGrantTaxCategory:
      type: string
      enum:
      - STANDARD
      - NO_TAX
      - EXEMPT
      description: The tax category to for what the wallet can be applied to.
      title: WalletTypeCreditAmountGrantTaxCategory
    PricingUpdateRequestOriginalPricing:
      type: object
      properties: {}
      description: This property creates a circular reference in the `Pricing` schema. If you experience any issues with OpenAPI tools related to these circular references, you can try removing this property from the specification.
      title: PricingUpdateRequestOriginalPricing
    MeterStatus:
      type: string
      enum:
      - DRAFT
      - ACTIVE
      - ARCHIVED
      - DEPRECATED
      description: The status of the meter indicating the activity of the meter and the ability to update properties.
      title: MeterStatus
    PricingItemConfigWalletGrant:
      type: object
      properties:
        wallet_type_id:
          type: string
          description: Resource ID of type WALLET_TYPE
        wallet_type:
          oneOf:
          - $ref: '#/components/schemas/WalletType'
          - type: 'null'
        amount_grant:
          $ref: '#/components/schemas/PricingItemConfigWalletGrantAmountGrant'
        credits_grant:
          $ref: '#/components/schemas/PricingItemConfigWalletGrantCreditsGrant'
        expiry_policy:
          $ref: '#/components/schemas/PricingItemConfigWalletGrantExpiryPolicy'
      title: PricingItemConfigWalletGrant
    PricingItemBillingPeriodConfig:
      type: object
      properties:
        billing_period:
          $ref: '#/components/schemas/Period'
        configs:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PricingItemConfig'
      title: PricingItemBillingPeriodConfig
    PricingItemCreateRequestOverride:
      type: string
      enum:
      - ALL
      - SPECIFIC
      title: PricingItemCreateRequestOverride
    ProductStatus:
      type: string
      enum:
      - DRAFT
      - ACTIVE
      - ARCHIVED
      - DEPRECATED
      description: The status of the product.
      title: ProductStatus
    WalletTypeStatus:
      type: string
      enum:
      - DRAFT
      - ACTIVE
      - INACTIVE
      - DEPRECATED
      - ARCHIVED
      title: WalletTypeStatus
    PricingItemConfigConditionsConfigsItems:
      type: object
      properties: {}
      title: PricingItemConfigConditionsConfigsItems
    ProductItemModelType:
      type: string
      enum:
      - USAGE_BASED
      - USAGE_BASED_CONVERSION
      - RECURRING
      - ONE_OFF
      - PER_SEAT
      - CREDITS
      title: ProductItemModelType
    PricingCreateRequestProductType:
      type: string
      enum:
      - DEFAULT
      - ADDON
      title: PricingCreateRequestProductType
    PricingGroupUpdateRequest:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        pricing_plan_version_id:
          type:
          - string
          - 'null'
          description: Resource ID of type PRICING_PLAN_VERSION
        pricing_plan_schedule_id:
          type:
          - string
          - 'null'
          description: Resource ID of type PRICING_PLAN_SCHEDULE
        name:
          type:
          - string
          - 'null'
        product_type:
          oneOf:
          - $ref: '#/components/schemas/PricingGroupUpdateRequestProductType'
          - type: 'null'
        selection_constraint:
          oneOf:
          - $ref: '#/components/schemas/PricingGroupUpdateRequestSelectionConstraint'
          - type: 'null'
        display_order:
          type:
          - integer
          - 'null'
        pricings:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PricingUpdateRequest'
      title: PricingGroupUpdateRequest
    PricingItemConfigWalletGrantCreditsGrant:
      type: object
      properties:
        credits:
          $ref: '#/components/schemas/Credits'
        conversion:
          type:
          - string
          - 'null'
      title: PricingItemConfigWalletGrantCreditsGrant
    EntitlementUpdateRequest:
      type: object
      properties:
        feature_id:
          type:
          - string
          - 'null'
          description: Resource ID of type FEATURE
        feature:
          oneOf:
          - $ref: '#/components/schemas/Feature'
          - type: 'null'
        feature_reference:
          type:
          - string
          - 'null'
        override:
          type:
          - boolean
          - 'null'
        overwrite:
          type:
          - boolean
          - 'null'
        number:
          type:
          - string
          - 'null'
        switch:
          type:
          - boolean
          - 'null'
        amount:
          $ref: '#/components/schemas/Amount'
        enum:
          type:
          - string
          - 'null'
        string:
          type:
          - string
          - 'null'
      title: EntitlementUpdateRequest
    ProductItemCredits:
      type: object
      properties:
        credit_type_id:
          type:
          - string
          - 'null'
          description: The linked meter value calculation
        credit_type:
          oneOf:
          - $ref: '#/components/schemas/CreditType'
          - type: 'null'
      title: ProductItemCredits
    ApiErrorType:
      type: string
      enum:
      - API_ERROR
      - INVALID_REQUEST
      title: ApiErrorType
    ApiError:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/ApiErrorType'
        code:
          $ref: '#/components/schemas/ApiErrorCode'
        field:
          type:
          - string
          - 'null'
        message:
          type: string
        resource_id:
          type:
          - string
          - 'null'
        resource_type:
          oneOf:
          - $ref: '#/components/schemas/ApiErrorResourceType'
          - type: 'null'
      required:
      - type
      - code
      - message
      title: ApiError
    CreditType:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        reference:
          type: string
        status:
          oneOf:
          - $ref: '#/components/schemas/CreditTypeStatus'
          - type: 'null'
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        unit_name:
          $ref: '#/components/schemas/UnitName'
        created_at:
          type:
          - string
          - 'null'
        updated_at:
          type:
          - string
          - 'null'
      title: CreditType
    PricingItemConfigType:
      type: string
      enum:
      - FLAT
      - FLAT_TOP_UP
      - TIERED
      - TIERED_TOP_UP
      - TOP_TIERED
      - STAIR_STEP
      - STAIR_STEP_TOP_UP
      - FIXED
      - PASS_THROUGH
      - NONE
      title: PricingItemConfigType
    PricingGroup:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        pricing_plan_version_id:
          type:
          - string
          - 'null'
          description: Resource ID of type PRICING_PLAN_VERSION
        pricing_plan_schedule_id:
          type:
          - string
          - 'null'
          description: Resource ID of type PRICING_PLAN_SCHEDULE
        name:
          type:
          - string
          - 'null'
        product_type:
          oneOf:
          - $ref: '#/components/schemas/PricingGroupProductType'
          - type: 'null'
        selection_constraint:
          oneOf:
          - $ref: '#/components/schemas/PricingGroupSelectionConstraint'
          - type: 'null'
        display_order:
          type:
          - integer
          - 'null'
        pricings:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Pricing'
      title: PricingGroup
    PricingItemConfigDetailsPricingType:
      type: string
      enum:
      - FLAT
      - FLAT_TOP_UP
      - TIERED
      - TIERED_TOP_UP
      - TOP_TIERED
      - STAIR_STEP
      - STAIR_STEP_TOP_UP
      - FIXED
      - PASS_THROUGH
      - NONE
      title: PricingItemConfigDetailsPricingType
    PricingItemPricingCurrencyConfigCurrency:
      type: string
      enum:
      - AED
      - AFN
      - ALL
      - AMD
      - ANG
      - AOA
      - ARS
      - AUD
      - AWG
      - AZN
      - BAM
      - BBD
      - BDT
      - BGN
      - BHD
      - BIF
      - BMD
      - BND
      - BOB
      - BRL
      - BSD
      - BTN
      - BWP
      - BYN
      - BZD
      - CAD
      - CDF
      - CHF
      - CLF
      - CLP
      - CNY
      - COP
      - CRC
      - CUC
      - CUP
      - CVE
      - CZK
      - DJF
      - DKK
      - DOP
      - DZD
      - EGP
      - ERN
      - ETB
      - EUR
      - 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
      - MAD
      - MDL
      - MGA
      - MKD
      - MMK
      - MNT
      - MOP
      - MRO
      - MRU
      - MUR
      - MVR
      - MWK
      - MXN
      - MXV
      - MYR
      - MZN
      - NAD
      - NGN
      - NIO
      - NOK
      - NPR
      - NZD
      - OMR
      - PAB
      - PEN
      - PGK
      - PHP
      - PKR
      - PLN
      - PYG
      - QAR
      - RON
      - RSD
      - RUB
      - RWF
      - SAR
      - SBD
      - SCR
      - SDG
      - SEK
      - SGD
      - SHP
      - SLE
      - SOS
      - SRD
      - SSP
      - STN
      - SVC
      - SYP
      - SZL
      - THB
      - TJS
      - TMT
      - TND
      - TOP
      - TRY
      - TTD
      - TWD
      - TZS
      - UAH
      - UGX
      - USD
      - USN
      - UYI
      - UYU
      - UZS
      - VEF
      - VES
      - VND
      - VUV
      - WST
      - XAF
      - XAG
      - XAU
      - XBA
      - XBB
      - XBC
      - XBD
      - XCD
      - XDR
      - XOF
      - XPD
      - XPF
      - XPT
      - XSU
      - XTS
      - XUA
      - XXX
      - YER
      - ZAR
      - ZMW
      - ZWL
      title: PricingItemPricingCurrencyConfigCurrency
    ProductCreateRequestStatus:
      type: string
      enum:
      - DRAFT
      - ACTIVE
      - ARCHIVED
      - DEPRECATED
      description: The status of the product.
      title: ProductCreateRequestStatus
    ProductTaxCategory:
      type: string
      enum:
      - STANDARD
      - NO_TAX
      - EXEMPT
      description: The default tax category applied to the product.
      title: ProductTaxCategory
    Product:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        category_id:
          type: string
          description: The resource ID of the product category, that belongs to the product.
        category:
          oneOf:
          - $ref: '#/components/schemas/ProductCategory'
          - type: 'null'
        parent_product_id:
          type:
          - string
          - 'null'
          description: The resource ID of the original product, to which the product will belong to.
        name:
          type: string
        reference:
          type: string
        description:
          type:
          - string
          - 'null'
        status:
          oneOf:
          - $ref: '#/components/schemas/ProductStatus'
          - type: 'null'
          description: The status of the product.
        product_type:
          $ref: '#/components/schemas/ProductProductType'
        tax_category:
          oneOf:
          - $ref: '#/components/schemas/ProductTaxCategory'
          - type: 'null'
          description: The default tax category applied to the product.
        features:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/FeatureResourceReference'
          description: The features associated with the product.
        custom_fields:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CustomFieldValue'
        display_order:
          type:
          - integer
          - 'null'
          description: Determines the order in which products are displayed on overview pages and invoices. The lowest number gets the highest priority.
        linked_integrations:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/LinkedIntegration'
        billing_entity_id:
          type:
          - string
          - 'null'
          description: The resource ID of the billing entity linked to this product.
        customer_id:
          type:
          - string
          - 'null'
      title: Product
    PricingItemConfigBand:
      type: object
      properties:
        amount:
          $ref: '#/components/schemas/Amount'
        percentage:
          type:
          - string
          - 'null'
        credits:
          $ref: '#/components/schemas/Credits'
        fixed_amount:
          $ref: '#/components/schemas/Amount'
        maximum_amount:
          $ref: '#/components/schemas/Amount'
        minimum_amount:
          $ref: '#/components/schemas/Amount'
        maximum_number:
          type:
          - string
          - 'null'
        minimum_number:
          type:
          - string
          - 'null'
        block_size:
          $ref: '#/components/schemas/PricingItemConfigMeterValue'
        tier_top_bound:
          $ref: '#/components/schemas/PricingItemConfigMeterValue'
      title: PricingItemConfigBand
    PricingItemConfigOriginalPricingItemConfig:
      type: object
      properties: {}
      description: This property creates a circular reference in the `PricingItemConfig` schema. If you experience any issues with OpenAPI tools related to these circular references, you can try removing this property from the specification.
      title: PricingItemConfigOriginalPricingItemConfig
    PricingItemConfigSplitPricing:
      type: object
      properties:
        meter_properties:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MeterPropertySplitPricing'
      title: PricingItemConfigSplitPricing
    ProductUpdateRequestStatus:
      type: string
      enum:
      - DRAFT
      - ACTIVE
      - ARCHIVED
      - DEPRECATED
      description: The status of the product.
      title: ProductUpdateRequestStatus
    PricingUpdateRequestOverride:
      type: string
      enum:
      - ALL
      - SPECIFIC
      title: PricingUpdateRequestOverride
    ProductCategoryTaxCategory:
      type: string
      enum:
      - STANDARD
      - NO_TAX
      - EXEMPT
      description: The default tax category applied to the products in the product category.
      title: ProductCategoryTaxCategory
    ProductCreateRequestProductType:
      type: string
      enum:
      - DEFAULT
      - ADDON
      title: ProductCreateRequestProductType
    CustomFieldValue:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          description: Resource ID of type CUSTOM_FIELD
        reference:
          type:
          - string
          - 'null'
        value:
          type:
          - string
          - 'null'
        values:
          type:
          - array
          - 'null'
          items:
            type: string
        integration_details:
          oneOf:
          - $ref: '#/components/schemas/IntegrationDetails'
          - type: 'null'
        integration_id:
          type: string
          description: The resource ID of the integration linked to the custom field
      title: CustomFieldValue
    PricingGroupCreateRequestProductType:
      type: string
      enum:
      - DEFAULT
      - ADDON
      title: PricingGroupCreateRequestProductType
    PricingGroupUpdateRequestSelectionConstraint:
      type: string
      enum:
      - ANY
      - AT_LEAST_ONE
      - AT_MOST_ONE
      - EXACTLY_ONE
      title: PricingGroupUpdateRequestSelectionConstraint
    ProductUpdateRequestTaxCategory:
      type: string
      enum:
      - STANDARD
      - NO_TAX
      - EXEMPT
      description: The default tax category applied to the product.
      title: ProductUpdateRequestTaxCategory
    PricingGroupCreateRequest:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        pricing_plan_version_id:
          type:
          - string
          - 'null'
          description: Resource ID of type PRICING_PLAN_VERSION
        pricing_plan_schedule_id:
          type:
          - string
          - 'null'
          description: Resource ID of type PRICING_PLAN_SCHEDULE
        name:
          type:
          - string
          - 'null'
        product_type:
          oneOf:
          - $ref: '#/components/schemas/PricingGroupCreateRequestProductType'
          - type: 'null'
        selection_constraint:
          oneOf:
          - $ref: '#/components/schemas/PricingGroupCreateRequestSelectionConstraint'
          - type: 'null'
        display_order:
          type:
          - integer
          - 'null'
        pricings:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PricingCreateRequest'
      title: PricingGroupCreateRequest
    PricingItemCreateRequest:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        original_pricing_item_id:
          type:
          - string
          - 'null'
        original_pricing_item:
          oneOf:
          - $ref: '#/components/schemas/PricingItemCreateRequestOriginalPricingItem'
          - type: 'null'
          description: This property creates a circular reference in the `PricingItem` schema. If you experience any issues with OpenAPI tools related to these circular references, you can try removing this property from the specification.
        override:
          oneOf:
          - $ref: '#/components/schemas/PricingItemCreateRequestOverride'
          - type: 'null'
        product_item_ids:
          type: array
          items:
            type: string
        product_items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ProductItem'
        configs:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PricingItemConfig'
        pricing_currency_configs:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PricingItemPricingCurrencyConfig'
        billing_period_configs:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PricingItemBillingPeriodConfig'
        display_order:
          type:
          - integer
          - 'null'
      title: PricingItemCreateRequest
    WalletType:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        name:
          type: string
        reference:
          type: string
        status:
          oneOf:
          - $ref: '#/components/schemas/WalletTypeStatus'
          - type: 'null'
        type:
          oneOf:
          - $ref: '#/components/schemas/WalletTypeType'
          - type: 'null'
        credit:
          $ref: '#/components/schemas/WalletTypeCredit'
        balance:
          $ref: '#/components/schemas/WalletTypeBalance'
        created_at:
          type:
          - string
          - 'null'
        updated_at:
          type:
          - string
          - 'null'
      title: WalletType
    MeterPropertySplitPricing:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          description: Resource ID of type METER_PROPERTY
        reference:
          type:
          - string
          - 'null'
        value:
          type:
          - string
          - 'null'
        meter_property:
          oneOf:
          - $ref: '#/components/schemas/MeterProperty'
          - type: 'null'
      title: MeterPropertySplitPricing
    PricingProductType:
      type: string
      enum:
      - DEFAULT
      - ADDON
      title: PricingProductType
    ProductCreateRequestTaxCategory:
      type: string
      enum:
      - STANDARD
      - NO_TAX
      - EXEMPT
      description: The default tax category applied to the product.
      title: ProductCreateRequestTaxCategory
    PeriodType:
      type: string
      enum:
      - DAY
      - WEEK
      - MONTH
      - YEAR
      title: PeriodType
    PricingOverride:
      type: string
      enum:
      - ALL
      - SPECIFIC
      title: PricingOverride
    IntegrationDetailsPaymentGatewayVariant:
      type: string
      enum:
      - ADYEN
      - STRIPE
      title: IntegrationDetailsPaymentGatewayVariant
    MeterProperty:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        reference:
          type: string
        name:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/MeterPropertyStatus'
          description: The status of the meter property indicating the activity and the ability to update properties.
        type:
          oneOf:
          - $ref: '#/components/schemas/MeterPropertyType'
          - type: 'null'
          description: The type of the meter property.
        enum_values:
          type:
          - array
          - 'null'
          items:
            type: string
          description: The list of available ENUM values.
      title: MeterProperty
    Meter:
      type: object
      properties:
        object_type:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        reference:
          type: string
        name:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        status:
          oneOf:
          - $ref: '#/components/schemas/MeterStatus'
          - type: 'null'
          description: The status of the meter indicating the activity of the meter and the ability to update properties.
        meter_values:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MeterMeterValue'
          description: The values used as input to calculate billable units, used in the meter.
        meter_properties:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MeterMeterProperty'
          description: The properties that provide information to give context to an event, used in the meter.
 

# --- truncated at 32 KB (81 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/solvimon/refs/heads/main/openapi/solvimon-pricinggroups-api-openapi.yml