Zuora Usage API

Consumption of a billable service or resource (such as database storage space or bundles of emails sent) provides the basis for some charge models - simple usage, tiered pricing, or volume pricing. To make this work, usage must be tracked in the system and usage charges must be calculated and invoiced. Usage is always billed in arrears - for example, you might bill customers in February for their January usage. Usage can be billed on a recurring monthly, quarterly, semi-annual, or annual basis. For more information about working with usage data, see Usage.

GitHub OpenAPI
Business capability
Usage Metering BC-4250.10

Operations 7

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 /v1/usage Upload usage data for accounts · Upload a usage file #
Ask an LLM
“How do I record usage data for my accounts?”
“What file formats does the usage upload accept?”
Tell an agent
Upload usage file {file} for accounts.
Import the usage data in {file}.
GET /v1/usage/accounts/{account-key} Get usage for an account · Retrieve a usage record #
Ask an LLM
“How much usage has a customer used?”
“Is usage data returned in chronological order?”
Tell an agent
Show usage for account {account-key}.
List usage for customer {account-key} in reverse chronological order.
GET /v1/invoices/invoice-item/{invoice-item-id}/usage-rate-detail Break down an invoice item's usage charge · Retrieve usage rate detail for an invoice item #
Ask an LLM
“How is the usage charge on an invoice item calculated?”
“Can I see the rate detail for a usage-based invoice item?”
Tell an agent
Show usage rate detail for invoice item {invoice-item-id}.
Break down how usage was charged on invoice item {invoice-item-id}.
POST /v1/object/usage Create a usage record · CRUD: Create a usage record #
Ask an LLM
“How do I record a usage event for a subscription?”
“What fields are required to create a usage record?”
Tell an agent
Create a usage record for account {AccountNumber} with {Quantity} {UOM} from {StartDateTime} to {EndDateTime}.
Record {Quantity} {UOM} of usage for subscription {SubscriptionId}.
GET /v1/object/usage/{id} Retrieve a usage record · CRUD: Retrieve a usage record #
Ask an LLM
“How do I look up one usage record?”
“Can I fetch a usage record by its ID?”
Tell an agent
Get usage record {id}.
Show the usage event with ID {id}.
PUT /v1/object/usage/{id} Update a usage record · CRUD: Update a usage record #
Ask an LLM
“How do I correct a usage record?”
“Can I change the quantity on an existing usage record?”
Tell an agent
Update usage record {id} to {Quantity} {UOM}.
Change the quantity on usage record {id} to {Quantity}.
DELETE /v1/object/usage/{id} Delete a usage record · CRUD: Delete a usage record #
Ask an LLM
“How do I remove a usage record?”
“Can I delete a usage event I recorded by mistake?”
Tell an agent destructive · confirm first
Delete usage record {id}.
Remove the usage event with ID {id}.

Specifications

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/zuora:zuora-usage-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

zuora-usage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2023-12-15'
  title: Reference Usage API
  description: '# Introduction


    Welcome to the REST API reference for the Zuora Billing, Payments, and Central Platform!'
  contact:
    email: docs@zuora.com
servers:
- url: https://rest.zuora.com/
tags:


# --- truncated at 32 KB (72 KB total) ---
# Full source: https://artifacts.apis.io/zuora/openapi/zuora-usage-api-openapi.yml