Maxio Events-Based Billing: Segments API

The Segment object defines a distinct pricing variation within an event-based billing metric, based on one or more property values, such as a specific country or usage category. Each segment carries its own set of prices, letting a single metric charge different rates depending on which segment an event falls into.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /components/{component_id}/price_points/{price_point_id}/segments.json Create a segment on a price point · createSegment #
Ask an LLM
“How do I add a new segment to a segmented price point?”
“Can I set a price for each segment when I create it?”
Tell an agent
Create segment {segment} on price point {price_point_id} of component {component_id}.
Add a new segment to price point {price_point_id} on {component_id}.
GET /components/{component_id}/price_points/{price_point_id}/segments.json List segments of a price point · listSegmentsForPricePoint #
Ask an LLM
“Which segments are defined for a segmented price point?”
“Can I filter the segments on a price point?”
Tell an agent
List segments for price point {price_point_id} on component {component_id}.
Show price point {price_point_id} segments on {component_id} matching {filter}.
PUT /components/{component_id}/price_points/{price_point_id}/segments/{id}.json Update a segment on a price point · updateSegment #
Ask an LLM
“Can I change the price of an existing segment?”
“Is it possible to edit one segment on a price point?”
Tell an agent
Update segment {id} on price point {price_point_id} of component {component_id} with {segment}.
Change the price of segment {id} on {component_id} price point {price_point_id}.
DELETE /components/{component_id}/price_points/{price_point_id}/segments/{id}.json Delete a segment from a price point · deleteSegment #
Ask an LLM
“How do I remove a segment from a price point?”
“Can I delete one segment without touching the others?”
Tell an agent destructive · confirm first
Delete segment {id} from price point {price_point_id} on component {component_id}.
Remove segment {id} on {component_id} price point {price_point_id}.
POST /components/{component_id}/price_points/{price_point_id}/segments/bulk.json Create many segments at once · bulkCreateSegments #
Ask an LLM
“Can I create multiple segments in a single request?”
“How many segments can I add in one bulk create?”
Tell an agent
Bulk create segments {segments} on price point {price_point_id} of {component_id}.
Add these new segments to price point {price_point_id} on {component_id}: {segments}.
PUT /components/{component_id}/price_points/{price_point_id}/segments/bulk.json Update many segments at once · bulkUpdateSegments #
Ask an LLM
“Can I update several segments in one request?”
“What happens if one segment fails when I bulk update price point segments?”
Tell an agent
Bulk update segments {segments} on price point {price_point_id} of {component_id}.
Apply these segment updates to price point {price_point_id} on {component_id}: {segments}.

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/maxio:maxio-events-based-billing-segments-api"
All apis
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.

Get an API 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 Specification

maxio-events-based-billing-segments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Maxio Events-Based Billing: Segments API'
  version: '1.0'
  contact:
    email: support@maxio.com
  description: 'Operations tagged Events-Based Billing: Segments across 2 of this provider''s published API definitions: maxio-advanced-billing-openapi31json.json, maxio-advanced-billing-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{site}.chargify.com
  description: Default Advanced Billing environment hosted in US. Valid for the majority of our customers.
  variables:
    site:
      default: subdomain
      description: The subdomain for your Advanced Billing site.
- url: https://events.chargify.com/{site}
  description: Default Advanced Billing environment hosted in US. Valid for the majority of our customers.
  variables:
    site:
      default: subdomain
      description: The subdomain for your Advanced Billing site.
- url: https://{site}.ebilling.maxio.com
  description: Advanced Billing environment hosted in EU. Use only when you requested EU hosting for your AB account.
  variables:
    site:
      default: subdomain
      description: The subdomain for your Advanced Billing site.
security:
- BasicAuth: []
tags:


# --- truncated at 32 KB (37 KB total) ---
# Full source: https://artifacts.apis.io/maxio/openapi/maxio-events-based-billing-segments-api-openapi.yml