How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Stripe Subscription Items API

The Subscription Items API from Stripe — 4 operation(s) for subscription items.

Stripe Subscription Items API is one of 159 APIs that Stripe publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Subscription Items. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.

This API exposes 7 operations across 4 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version 2023-10-16.

Requests are made against a single base URL, https://api.stripe.com/.

7 operations 4 paths 13 schemas 1 DELETE3 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2023-10-16
Server
https://api.stripe.com/
Authentication
HTTP Basic, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

Stripe Subscription Items API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). It accepts HTTP bearer tokens (auth-scheme) (bearerAuth). By default, every request must be authenticated.

  • basicAuth — Basic HTTP authentication. Allowed headers-- Authorization: Basic | Authorization: Basic
  • bearerAuth — Bearer HTTP authentication. Allowed headers-- Authorization: Bearer

Paths & Operations 7

Across 4 paths, the API surfaces 7 operations — 1 DELETE, 3 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Subscription Items 7
GET
/v1/subscription_items
Returns a list of your subscription items for a given subscription.
GetSubscriptionItems 5 params body → 200default
POST
/v1/subscription_items
Adds a new item to an existing subscription. No existing items will be changed or replaced.
PostSubscriptionItems body → 200default
DELETE
/v1/subscription_items/{item}
Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.
DeleteSubscriptionItemsItem 1 param body → 200default
GET
/v1/subscription_items/{item}
Retrieves the subscription item with the given ID.
GetSubscriptionItemsItem 2 params body → 200default
POST
/v1/subscription_items/{item}
Updates the plan or quantity of an item on a current subscription.
PostSubscriptionItemsItem 1 param body → 200default
GET
/v1/subscription_items/{subscription_item}/usage_record_summaries
For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription b…
GetSubscriptionItemsSubscriptionItemUsageRecordSummaries 5 params body → 200default
POST
/v1/subscription_items/{subscription_item}/usage_records
Creates a usage record for a specified subscription item and date, and fills it with a quantity. Usage records provide quantity information that Stripe uses to track how much a customer is using your…
PostSubscriptionItemsSubscriptionItemUsageRecords 1 param body → 200default

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are PostSubscriptionItemsRequest (11 properties), PostSubscriptionItemsItemRequest (11 properties), subscription_item (9 properties), usage_record (6 properties). Each schema is shown below with its type and property counts.

subscription_item
object
Subscription items allow you to create customer subscriptions with more than one plan, making it easy to represent complex billing relationships.
9 properties 6 required
PostSubscriptionItemsRequest
object
11 properties 1 required
usage_record
object
Usage records allow you to report customer usage and metrics to Stripe for metered billing of subscription prices. Related guide: [Metered billing](https://str…
6 properties 6 required
error
object
An error response from the Stripe API
1 property 1 required
PostSubscriptionItemsSubscriptionItemUsageRecordsRequest
object
4 properties 1 required
PostSubscriptionItemsItemRequest
object
11 properties
GetSubscriptionItemsRequest
object
GetSubscriptionItemsSubscriptionItemUsageRecordSummariesRequest
object
SubscriptionsItemsSubscriptionItemList
object
4 properties 4 required
DeleteSubscriptionItemsItemRequest
object
3 properties
UsageEventsResourceUsageRecordSummaryList
object
4 properties 4 required
deleted_subscription_item
object
3 properties 3 required
GetSubscriptionItemsItemRequest
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

stripe-subscription-items-api-openapi.yml Raw ↑

Other APIs Stripe publishes across the network.

Stripe Accounts API
Stripe Balance API
Stripe Billing API
Stripe Charges API
Stripe Checkout API
Stripe Climate API
Stripe Country API
Stripe Coupons API
Stripe Credit Notes API
Stripe Customers API
Stripe Disputes API
Stripe Ephemeral Keys API
Where this information came from

This is an independent, third-party profile of Stripe Subscription Items API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.