NodeRings Inc. Provider Plan Service API
The ProviderPlanService API from NodeRings Inc. — 4 operation(s) for providerplanservice.
The ProviderPlanService API from NodeRings Inc. — 4 operation(s) for providerplanservice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/noderings-com:noderings-com-providerplanservice-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: NodeRings Provider Plan Service API
version: '1.0'
contact:
name: NodeRings
url: https://noderings.com
servers:
- url: https://api.noderings.com
security:
- BearerAuth: []
OrgIDHeader: []
tags:
- name: ProviderPlanService
paths:
/v1/plans:
post:
operationId: ProviderPlanService_CreatePlan
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1SuccessResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/v1CreatePlanRequest'
required: true
tags:
- ProviderPlanService
summary: Provider plan service create plan
x-summary-source: derived
/v1/plans/{id}:
delete:
operationId: ProviderPlanService_DeletePlan
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1SuccessResponse'
parameters:
- name: id
in: path
required: true
schema:
type: string
tags:
- ProviderPlanService
summary: Provider plan service delete plan
x-summary-source: derived
patch:
operationId: ProviderPlanService_UpdatePlan
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1SuccessResponse'
parameters:
- name: id
description: Plan ID to update (required)
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ProviderPlanServiceUpdatePlanBody'
required: true
tags:
- ProviderPlanService
summary: Provider plan service update plan
x-summary-source: derived
/v1/plans:calculate:
post:
operationId: ProviderPlanService_CalculatePlanPricing
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1CalculatePlanPricingResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/v1CalculatePlanPricingRequest'
required: true
tags:
- ProviderPlanService
summary: Provider plan service calculate plan pricing
x-summary-source: derived
/v1/provider/plans/assignable-nodes:
get:
summary: Nodes the provider may assign to a plan (catalog-eligible for tier/category)
operationId: ProviderPlanService_ListAssignableNodesForPlan
responses:
'200':
description: A successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/v1ListAssignableNodesForPlanResponse'
parameters:
- name: templatePlanId
description: 'Optional: set for create-from-template. Empty when plan_id is used.'
in: query
required: false
schema:
type: string
- name: planId
description: 'Optional: set for edit existing plan. Empty when template_plan_id is used.'
in: query
required: false
schema:
type: string
- name: regionId
in: query
required: false
schema:
type: string
tags:
- ProviderPlanService
components:
schemas:
v1NodeComputeType:
type: string
enum:
- NODE_COMPUTE_TYPE_UNSPECIFIED
- NODE_COMPUTE_TYPE_SHARED
- NODE_COMPUTE_TYPE_DEDICATED
default: NODE_COMPUTE_TYPE_UNSPECIFIED
description: "Compute product hosted by a node. Exclusive: a node is shared XOR dedicated\n(docs/README-DEDICATED-CPU-CORES.md, design decision D1).\n\n - NODE_COMPUTE_TYPE_SHARED: Shared vCPU hosting (CPU oversubscription allowed). Default.\n - NODE_COMPUTE_TYPE_DEDICATED: Dedicated pinned CPU cores (no CPU overallocation)."
v1AssignableNodeView:
type: object
properties:
id:
type: string
name:
type: string
regionId:
type: string
computeType:
$ref: '#/components/schemas/v1NodeComputeType'
cpuModel:
type: string
catalogBrand:
type: string
catalogModel:
type: string
v1PlanPriceOverride:
type: object
properties:
metricId:
type: string
planPriceId:
type: string
unitAmount:
type: string
title: Decimal string with 6 decimal places precision
freeUnits:
type: integer
format: int32
minimumCharge:
type: string
title: Decimal string with 6 decimal places precision
maximumCharge:
type: string
title: Decimal string with 6 decimal places precision
description: 'PlanPriceOverride allows overriding specific fields for plan prices when
cloning. Either metric_id (for usage-based pricing) or plan_price_id (for
fixed pricing) must be provided to identify which plan price to override.'
v1MetricAggregation:
type: string
enum:
- METRIC_AGGREGATION_UNSPECIFIED
- METRIC_AGGREGATION_SUM
- METRIC_AGGREGATION_MAX
- METRIC_AGGREGATION_LAST_DURING_PERIOD
- METRIC_AGGREGATION_COUNT
default: METRIC_AGGREGATION_UNSPECIFIED
v1ChargeTiming:
type: string
enum:
- CHARGE_TIMING_UNSPECIFIED
- CHARGE_TIMING_IN_ADVANCE
- CHARGE_TIMING_IN_ARREARS
default: CHARGE_TIMING_UNSPECIFIED
v1CalculatePlanPricingResponse:
type: object
properties:
lineItems:
type: array
items:
$ref: '#/components/schemas/v1PricingLineItem'
title: Line items per instance
pooledAllowances:
type: object
additionalProperties:
type: number
format: double
title: Pooled allowances & usage
pooledUsage:
type: object
additionalProperties:
type: number
format: double
subtotal:
type: string
description: Decimal string with 6 decimal places precision
title: Costs breakdown
overageCost:
type: string
title: Decimal string with 6 decimal places precision
discounted:
type: string
title: Decimal string with 6 decimal places precision
tax:
type: string
title: Decimal string with 6 decimal places precision
total:
type: string
title: Decimal string with 6 decimal places precision
currency:
type: string
discountPercent:
type: number
format: double
title: Applied discounts
couponValue:
type: string
title: Decimal string with 6 decimal places precision
debug:
type: object
title: 'Debug information showing all inputs received by the price calculator
This is useful for troubleshooting pricing calculations'
v1CreatePlanRequest:
type: object
properties:
planId:
type: string
title: Template plan ID to clone from (required)
currency:
type: string
title: 'Plan fields to override from template (name, description, and trial_days
come from template)'
planPrices:
type: array
items:
$ref: '#/components/schemas/v1PlanPriceOverride'
title: 'Plan prices with overrides (unit_amount_minor, currency, free_units per
metric)'
regionId:
type: string
description: Region where this plan is offered (exactly one per plan).
cpuLimit:
type: integer
format: int32
description: 'Plan CPU/network scheduling overrides written into metadata.specifications.
Proxmox cpulimit= (max CPU time); 0 = unlimited. Omitted = template value / 0.'
cpuUnits:
type: integer
format: int32
description: Proxmox cpuunits= fair-share weight. Omitted = template value / 1024.
networkRateLimitMbs:
type: number
format: double
description: Primary NIC rate limit in MB/s (Proxmox rate=); 0 = unlimited.
nodeIds:
type: array
items:
type: string
description: 'Nodes this plan may sell on (must be catalog-eligible for the template).
Required: at least one node_id (validated in Go).'
onCreditExhaustion:
type: string
description: 'Provider choice when client prepaid credits are exhausted.
Values: "suspend" (default), "continue_with_dunning".'
metadata:
type: object
description: Plan metadata. VirtFusion package_id lives under metadata.virtfusion.package_id.
v1SuccessResponse:
type: object
properties:
success:
type: boolean
v1PlanPriceInput:
type: object
properties:
pricingModel:
$ref: '#/components/schemas/v1PricingModel'
chargeTiming:
$ref: '#/components/schemas/v1ChargeTiming'
billingPeriod:
$ref: '#/components/schemas/v1BillingPeriod'
billingInterval:
type: integer
format: int32
unitAmount:
type: string
description: Decimal string with 6 decimal places precision
title: Fixed & usage-based pricing
unitName:
type: string
unitQuantity:
type: integer
format: int32
metricName:
type: string
title: Usage-based specific
metricAggregation:
$ref: '#/components/schemas/v1MetricAggregation'
freeUnits:
type: integer
format: int32
minimumCharge:
type: string
title: Decimal string with 6 decimal places precision
maximumCharge:
type: string
title: Decimal string with 6 decimal places precision
packageSize:
type: integer
format: int32
title: Package pricing
packagePrice:
type: string
title: Decimal string with 6 decimal places precision
overagePrice:
type: string
title: Decimal string with 6 decimal places precision
tiers:
type: array
items:
$ref: '#/components/schemas/v1PricingTierInput'
title: Tiered pricing
prorate:
type: boolean
title: Proration
productType:
$ref: '#/components/schemas/v1ProductType'
addonCode:
type: string
title: Addon code (required if product_type is PRODUCT_TYPE_ADDON)
pricingFormula:
type: object
title: 'Pricing formula for percentage-based or complex pricing
Example: {"type": "percentage", "value": 30.0, "base":
"parent_plan.total_price"}'
v1PricingCalculationConfig:
type: object
properties:
capHours:
type: number
format: double
title: Maximum billable hours (default 730 for monthly cap)
taxRate:
type: number
format: double
title: Tax rate (e.g., 0.10 for 10%)
discountPercent:
type: number
format: double
title: Discounts
couponValue:
type: string
title: Decimal string with 6 decimal places precision (e.g., "5.00" for $5.00)
overageRates:
type: object
additionalProperties:
type: number
format: double
title: Overage rates (metric_name -> rate in minor currency units)
ProviderPlanServiceUpdatePlanBody:
type: object
properties:
currency:
type: string
title: 'Plan fields to update (name, description, and trial_days come from
template, not updatable)'
planPrices:
type: array
items:
$ref: '#/components/schemas/v1PlanPriceOverride'
title: 'Plan prices with overrides (unit_amount_minor, currency, free_units per
metric)'
addonPriceOverrides:
type: array
items:
$ref: '#/components/schemas/v1AddonPriceOverride'
title: 'Optional: Override prices for addons when updating plan'
regionId:
type: string
description: Region for this plan offer (optional on update).
cpuLimit:
type: integer
format: int32
description: 'Plan CPU/network scheduling overrides written into metadata.specifications.
Only affects VMs created after the update (VMs snapshot plan values at create).'
cpuUnits:
type: integer
format: int32
networkRateLimitMbs:
type: number
format: double
nodeIds:
type: array
items:
type: string
description: 'When non-empty, replaces the plan''s assigned nodes (same rules as create).
Omitted / empty leaves existing assignments unchanged.'
onCreditExhaustion:
type: string
description: 'Provider choice when client prepaid credits are exhausted.
Values: "suspend" (default), "continue_with_dunning".'
metadata:
type: object
description: Plan metadata. VirtFusion package_id lives under metadata.virtfusion.package_id.
v1ListAssignableNodesForPlanResponse:
type: object
properties:
nodes:
type: array
items:
$ref: '#/components/schemas/v1AssignableNodeView'
v1ProductType:
type: string
enum:
- PRODUCT_TYPE_UNSPECIFIED
- PRODUCT_TYPE_PLAN
- PRODUCT_TYPE_ADDON
default: PRODUCT_TYPE_UNSPECIFIED
title: "- PRODUCT_TYPE_PLAN: Standalone subscription plan\n - PRODUCT_TYPE_ADDON: Addon attached to a subscription"
v1PricingLineItem:
type: object
properties:
instanceLabel:
type: string
title: Human-readable label
quantity:
type: integer
format: int32
base:
type: string
title: Decimal string with 6 decimal places precision
addons:
type: string
title: Decimal string with 6 decimal places precision
subtotal:
type: string
title: Decimal string with 6 decimal places precision
currency:
type: string
v1PlanPricingConfig:
type: object
properties:
planName:
type: string
title: Plan metadata
assetCategory:
type: string
assetType:
type: string
currency:
type: string
prices:
type: array
items:
$ref: '#/components/schemas/v1PlanPriceInput'
title: Pricing models (at least one required)
v1CalculatePlanPricingRequest:
type: object
properties:
planConfig:
$ref: '#/components/schemas/v1PlanPricingConfig'
instances:
type: array
items:
$ref: '#/components/schemas/v1ResourceInstanceInput'
title: Resource instances to calculate pricing for
calcConfig:
$ref: '#/components/schemas/v1PricingCalculationConfig'
v1PricingTierInput:
type: object
properties:
tierOrder:
type: integer
format: int32
tierName:
type: string
startInclusive:
type: number
format: double
endExclusive:
type: number
format: double
title: null = unlimited
unitAmount:
type: string
title: Decimal string with 6 decimal places precision
tierType:
$ref: '#/components/schemas/v1TierMode'
flatFee:
type: boolean
flatFeeAmount:
type: string
title: Decimal string with 6 decimal places precision
v1TierMode:
type: string
enum:
- TIER_MODE_UNSPECIFIED
- TIER_MODE_NONE
- TIER_MODE_VOLUME
- TIER_MODE_TIERED
- TIER_MODE_GRADUATED
default: TIER_MODE_UNSPECIFIED
v1AddonInput:
type: object
properties:
code:
type: string
usage:
type: object
additionalProperties:
type: number
format: double
title: 'Usage for this addon (e.g., {"GB": 100}, {"count": 2})'
v1AddonPriceOverride:
type: object
properties:
addonCode:
type: string
unitAmount:
type: string
title: Decimal string with 6 decimal places precision
description: 'AddonPriceOverride allows providers to set custom prices for addons when
creating plans. If an addon_code is specified here, the override price will
be used instead of copying from template. Only accepts unit_amount_minor
(price). Currency comes from plan level.'
v1ResourceInstanceInput:
type: object
properties:
quantity:
type: integer
format: int32
hoursUsed:
type: number
format: double
region:
type: string
usage:
type: object
additionalProperties:
type: number
format: double
title: 'Usage metrics (e.g., {"vCPU": 2, "RAM_GB": 4, "Egress_GB": 1200})'
addons:
type: array
items:
$ref: '#/components/schemas/v1AddonInput'
title: Add-ons
v1BillingPeriod:
type: string
enum:
- BILLING_PERIOD_UNSPECIFIED
- BILLING_PERIOD_HOUR
- BILLING_PERIOD_DAY
- BILLING_PERIOD_WEEK
- BILLING_PERIOD_MONTH
- BILLING_PERIOD_QUARTER
- BILLING_PERIOD_YEAR
default: BILLING_PERIOD_UNSPECIFIED
v1PricingModel:
type: string
enum:
- PRICING_MODEL_UNSPECIFIED
- PRICING_MODEL_FIXED
- PRICING_MODEL_USAGE_BASED
- PRICING_MODEL_TIERED
- PRICING_MODEL_VOLUME
- PRICING_MODEL_GRADUATED
- PRICING_MODEL_PACKAGE
- PRICING_MODEL_HYBRID
default: PRICING_MODEL_UNSPECIFIED
securitySchemes:
BearerAuth:
type: apiKey
description: Bearer token
name: Authorization
in: header
OrgIDHeader:
type: apiKey
description: Tenant or organization identifier
name: X-Organization-ID
in: header