Solvimon pricingPlanSubscriptions API

The pricingPlanSubscriptions API from Solvimon — 9 operation(s) for pricingplansubscriptions.

Operations 13

GET /v{version}/pricing-plan-subscriptions Get a list of pricing plan subscriptions #
POST /v{version}/pricing-plan-subscriptions Create a pricing plan subscription #
PUT /v{version}/pricing-plan-subscriptions Update or create a pricing plan subscription (upsert) #
POST /v{version}/pricing-plan-subscriptions/init Create a pricing plan subscription and schedule. This will also result in a first invoice being created for the provided pricing plan schedule and subscription. #
POST /v{version}/pricing-plan-subscriptions/search Search a pricing plan subscription #
GET /v{version}/pricing-plan-subscriptions/{resourceId} Get a pricing plan subscription by its ID #
DELETE /v{version}/pricing-plan-subscriptions/{resourceId} Delete a pricing plan subscription by resource ID #
PATCH /v{version}/pricing-plan-subscriptions/{resourceId} Update a pricing plan subscription by resource ID #
POST /v{version}/pricing-plan-subscriptions/{resourceId}/void Void a pricing plan subscription by resource ID #
POST /v{version}/pricing-plan-subscriptions/{resourceId}/archive Archive a pricing plan subscription by resource ID #
POST /v{version}/pricing-plan-subscriptions/{resourceId}/cancel Cancel a pricing plan subscription by resource ID #
POST /v{version}/pricing-plan-subscriptions/{resourceId}/copy Copy a pricing plan subscription by resource ID #
POST /v{version}/pricing-plan-subscriptions/{resourceId}/update-payment-method Change the payment method of a pricing plan subscription #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/solvimon-pricingplansubscriptions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

solvimon-pricingplansubscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Configuration alertRules Pricing Plan Subscriptions 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: pricingPlanSubscriptions
paths:
  /v{version}/pricing-plan-subscriptions:
    get:
      operationId: getPricingPlanSubscriptions
      summary: Get a list of pricing plan subscriptions
      description: Requires the PRICING_PLAN_SUBSCRIPTION.VIEW or QUOTE.PRICING_PLAN_SUBSCRIPTION.VIEW permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: expand[]
        in: query
        description: The id fields of the resources that are going to be expanded.
        required: false
        schema:
          type: array
          items:
            type: string
      - name: customer_id
        in: query
        description: The resource id of the customer.
        required: false
        schema:
          type: string
      - name: pricing_plan_subscription_group_id
        in: query
        description: The resource id of the pricing plan subscription group.
        required: false
        schema:
          type: string
      - name: reference
        in: query
        description: The reference by which the resource will be filtered. To use this filter, the customer_id must also be present.
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: The type of the pricing plan subscription.
        required: false
        schema:
          type: string
      - name: variant
        in: query
        description: The variant of the pricing plan subscription.
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the pricing plan subscription.
        required: false
        schema:
          type: string
      - name: statuses[]
        in: query
        description: The status(es) of the pricing plan subscription.
        required: false
        schema:
          type: array
          items:
            type: string
      - name: custom_field
        in: query
        description: Filter the response by a custom field value.
        required: false
        schema:
          type: string
      - name: start_at
        in: query
        description: Range filter for the start_at of the first schedule in the pricing plan subscription (ISO-8601).
        required: false
        schema:
          type: string
      - name: created_at
        in: query
        description: Range filter for the created_at in the pricing plan subscription (ISO-8601).
        required: false
        schema:
          type: string
      - name: page
        in: query
        description: The page which is going to be shown
        required: false
        schema:
          type: integer
      - name: limit
        in: query
        description: The amount of records shown in the list
        required: false
        schema:
          type: integer
      - name: order_by
        in: query
        description: The parameter by which the response is ordered.
        required: false
        schema:
          type: string
      - name: order_direction
        in: query
        description: The order direction by which the response is ordered.
        required: false
        schema:
          type: string
      - 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/PricingPlanSubscriptionResponseWrapper'
        '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'
    post:
      operationId: postPricingPlanSubscriptions
      summary: Create a pricing plan subscription
      description: Requires the PRICING_PLAN_SUBSCRIPTION.CREATE or QUOTE.PRICING_PLAN_SUBSCRIPTION.CREATE permission.
      tags:
      - pricingPlanSubscriptions
      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/PricingPlanSubscription'
        '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'
        '409':
          description: Conflict
          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/PricingPlanSubscriptionCreateRequest'
    put:
      operationId: putPricingPlanSubscriptions
      summary: Update or create a pricing plan subscription (upsert)
      description: Requires the PRICING_PLAN_SUBSCRIPTION.CREATE, QUOTE.PRICING_PLAN_SUBSCRIPTION.CREATE, PRICING_PLAN_SUBSCRIPTION.UPDATE or QUOTE.PRICING_PLAN_SUBSCRIPTION.UPDATE permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: identifier_field
        in: query
        description: Which field to use to identify whether the resource exists or not
        required: false
        schema:
          type: string
      - name: custom_field_reference
        in: query
        description: Which custom field to use to identify whether the resource exists or not
        required: false
        schema:
          type: string
      - name: field_actions
        in: query
        description: The list of actions for specific fields.
        required: false
        schema:
          type: object
          additionalProperties:
            type: string
      - 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/PricingPlanSubscription'
        '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'
        '404':
          description: Not Found
          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/PricingPlanSubscriptionCreateRequest'
  /v{version}/pricing-plan-subscriptions/init:
    post:
      operationId: postPricingPlanSubscriptionsInit
      summary: Create a pricing plan subscription and schedule. This will also result in a first invoice being created for the provided pricing plan schedule and subscription.
      description: Requires the PRICING_PLAN_SUBSCRIPTION.CREATE permission.
      tags:
      - pricingPlanSubscriptions
      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:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingPlanSubscriptionInit'
        '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/PricingPlanSubscriptionInitCreateRequest'
  /v{version}/pricing-plan-subscriptions/search:
    post:
      operationId: postPricingPlanSubscriptionsSearch
      summary: Search a pricing plan subscription
      description: Requires the PRICING_PLAN_SUBSCRIPTION.VIEW permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: expand[]
        in: query
        description: The id fields of the resources that are going to be expanded.
        required: false
        schema:
          type: array
          items:
            type: string
      - name: limit
        in: query
        description: The amount of records shown in the list
        required: false
        schema:
          type: integer
      - name: page
        in: query
        description: The page which is going to be shown
        required: false
        schema:
          type: integer
      - name: order_by
        in: query
        description: The parameter by which the response is ordered. default = name
        required: false
        schema:
          type: string
      - name: order_direction
        in: query
        description: The parameter for the response ordering direction (asc, desc) default asc
        required: false
        schema:
          type: string
      - 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/PricingPlanSubscriptionResponseWrapper'
        '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/SearchCreateRequest'
  /v{version}/pricing-plan-subscriptions/{resourceId}:
    get:
      operationId: getPricingPlanSubscriptionsByResourceId
      summary: Get a pricing plan subscription by its ID
      description: Requires the PRICING_PLAN_SUBSCRIPTION.VIEW or QUOTE.PRICING_PLAN_SUBSCRIPTION.VIEW permission.
      tags:
      - pricingPlanSubscriptions
      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: expand[]
        in: query
        description: The id fields of the resources that are going to be expanded.
        required: false
        schema:
          type: array
          items:
            type: string
      - 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/PricingPlanSubscription'
        '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: deletePricingPlanSubscriptionsByResourceId
      summary: Delete a pricing plan subscription by resource ID
      description: Requires the PRICING_PLAN_SUBSCRIPTION.DELETE permission.
      tags:
      - pricingPlanSubscriptions
      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/PricingPlanSubscription'
        '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'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    patch:
      operationId: patchPricingPlanSubscriptionsByResourceId
      summary: Update a pricing plan subscription by resource ID
      description: Requires the PRICING_PLAN_SUBSCRIPTION.UPDATE or QUOTE.PRICING_PLAN_SUBSCRIPTION.UPDATE permission.
      tags:
      - pricingPlanSubscriptions
      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/PricingPlanSubscription'
        '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/PricingPlanSubscriptionUpdateRequest'
  /v{version}/pricing-plan-subscriptions/{resourceId}/void:
    post:
      operationId: postPricingPlanSubscriptionsByResourceIdVoid
      summary: Void a pricing plan subscription by resource ID
      description: Requires the PRICING_PLAN_SUBSCRIPTION.STATUS.UPDATE permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource for which the action is posted.
        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/PricingPlanSubscription'
        '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'
  /v{version}/pricing-plan-subscriptions/{resourceId}/archive:
    post:
      operationId: postPricingPlanSubscriptionsByResourceIdArchive
      summary: Archive a pricing plan subscription by resource ID
      description: Requires the PRICING_PLAN_SUBSCRIPTION.STATUS.UPDATE permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource for which the action is posted.
        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/PricingPlanSubscription'
        '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'
  /v{version}/pricing-plan-subscriptions/{resourceId}/cancel:
    post:
      operationId: postPricingPlanSubscriptionsByResourceIdCancel
      summary: Cancel a pricing plan subscription by resource ID
      description: Requires the PRICING_PLAN_SUBSCRIPTION.CANCEL permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource for which the action is posted.
        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/PricingPlanSubscription'
        '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/PricingPlanSubscriptionCancelCreateRequest'
  /v{version}/pricing-plan-subscriptions/{resourceId}/copy:
    post:
      operationId: postPricingPlanSubscriptionsByResourceIdCopy
      summary: Copy a pricing plan subscription by resource ID
      description: Requires the PRICING_PLAN_SUBSCRIPTION.CREATE permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource for which the action is posted.
        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/PricingPlanSubscription'
        '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/PricingPlanSubscriptionCopyCreateRequest'
  /v{version}/pricing-plan-subscriptions/{resourceId}/update-payment-method:
    post:
      operationId: postPricingPlanSubscriptionsByResourceIdUpdatePaymentMethod
      summary: Change the payment method of a pricing plan subscription
      description: Requires the PRICING_PLAN_SUBSCRIPTION.UPDATE permission.
      tags:
      - pricingPlanSubscriptions
      parameters:
      - name: version
        in: path
        description: version
        required: true
        schema:
          type: string
          default: '1'
      - name: resourceId
        in: path
        description: The ID of the resource for which the action is posted.
        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/PricingPlanSubscription'
        '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/PricingPlanSubscriptionPaymentMethodUpdateCreateRequest'
components:
  schemas:
    TotalDiscount:
      type: object
      properties:
        start_at:
          type:
          - string
          - 'null'
        end_at:
          type:
          - string
          - 'null'
        amount:
          $ref: '#/components/schemas/Amount'
        percentage:
          type:
          - string
          - 'null'
        coupon_id:
          type:
          - string
          - 'null'
          description: Resource ID of type COUPON
        promotion_code_details:
          oneOf:
          - $ref: '#/components/schemas/PromotionCodeDetails'
          - type: 'null'
        condition:
          $ref: '#/components/schemas/DiscountCondition'
      title: TotalDiscount
    PaymentGatewayPaymentAcceptor:
      type: object
      properties:
        integration_id:
          type: string
          description: Resource ID of type INTEGRATION
        integration:
          oneOf:
          - $ref: '#/components/schemas/Integration'
          - type: 'null'
        store_payment_method:
          type:
          - boolean
          - 'null'
        auto_charge_payment_method:
          type:
          - boolean
          - 'null'
        collection_type:
          $ref: '#/components/schemas/PaymentGatewayPaymentAcceptorCollectionType'
        link:
          $ref: '#/components/schemas/PaymentGatewayPaymentAcceptorLink'
        adyen:
          $ref: '#/components/schemas/PaymentGatewayPaymentAcceptorAdyen'
      title: PaymentGatewayPaymentAcceptor
    Individual:
      type: object
      properties:
        name:
          $ref: '#/components/schemas/Name'
        residential_address:
          $ref: '#/components/schemas/Address'
      title: Individual
    PortalUrlLink:
      type: object
      properties:
        expiry_period:
          $ref: '#/components/schemas/Period'
        portal_url_id:
          type:
          - string
          - 'null'
        url:
          type:
          - string
          - 'null'
      title: PortalUrlLink
    PricingPlanSubscriptionCancelCreateRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/PricingPlanSubscriptionCancelCreateRequestType'
        cancel_at:
          type: string
          format: date-time
        cancel_dunning_actions:
          type:
          - boolean
          - 'null'
          description: Whether to cancel dunning actions, requires type NOW
      required:
      - type
      title: PricingPlanSubscriptionCancelCreateRequest
    DiscountConditionComparator:
      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: DiscountConditionComparator
    IntegrationType:
      typ

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