Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Helicone Stripe API

The Stripe API from Helicone — 22 operation(s) for stripe.

Helicone Stripe API is one of 33 APIs that Helicone publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Stripe. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, pricing, an API reference, and an engineering blog.

This API exposes 25 operations across 22 paths, and defines 12 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.helicone.ai/, http://localhost:8585/.

25 operations 22 paths 12 schemas 3 DELETE10 GET12 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://ai-gateway.helicone.ai
Authentication
API Key
License
MIT
Resource Areas
1

Authentication & Security 1

Helicone Stripe API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (api_key).

  • api_key — Bearer token authentication. Format: 'Bearer YOURAPIKEY'

Paths & Operations 25

Across 22 paths, the API surfaces 25 operations — 3 DELETE, 10 GET, 12 POST. Each is listed below with its method, path, parameters, and response codes.

Stripe 25
GET
/v1/stripe/subscription/cost-for-prompts
GetCostForPrompts → 200
GET
/v1/stripe/subscription/cost-for-evals
GetCostForEvals → 200
GET
/v1/stripe/subscription/cost-for-experiments
GetCostForExperiments → 200
GET
/v1/stripe/subscription/free/usage
GetFreeUsage → 200
POST
/v1/stripe/cloud/checkout-session
CreateCloudGatewayCheckoutSession body → 200
POST
/v1/stripe/subscription/new-customer/upgrade-to-pro
UpgradeToPro body → 200
POST
/v1/stripe/subscription/existing-customer/upgrade-to-pro
UpgradeExistingCustomer body → 200
POST
/v1/stripe/subscription/new-customer/upgrade-to-team-bundle
UpgradeToTeamBundle body → 200
POST
/v1/stripe/subscription/existing-customer/upgrade-to-team-bundle
UpgradeExistingCustomerToTeamBundle body → 200
POST
/v1/stripe/subscription/manage-subscription
ManageSubscription → 200
POST
/v1/stripe/subscription/undo-cancel-subscription
UndoCancelSubscription → 200
POST
/v1/stripe/subscription/add-ons/{productType}
AddOns 1 param → 200
DELETE
/v1/stripe/subscription/add-ons/{productType}
DeleteAddOns 1 param → 200
GET
/v1/stripe/subscription/preview-invoice
PreviewInvoice → 200
POST
/v1/stripe/subscription/cancel-subscription
CancelSubscription → 200
POST
/v1/stripe/subscription/migrate-to-pro
MigrateToPro → 200
GET
/v1/stripe/payment-intents/search
SearchPaymentIntents 3 params → 200
GET
/v1/stripe/subscription
GetSubscription → 200
GET
/v1/stripe/auto-topoff/settings
GetAutoTopoffSettings → 200
POST
/v1/stripe/auto-topoff/settings
UpdateAutoTopoffSettings body → 200
DELETE
/v1/stripe/auto-topoff/settings
DisableAutoTopoff → 200
GET
/v1/stripe/payment-methods
GetPaymentMethods → 200
POST
/v1/stripe/payment-methods/setup-session
CreateSetupSession body → 200
DELETE
/v1/stripe/payment-methods/{paymentMethodId}
RemovePaymentMethod 1 param → 200
GET
/v1/stripe/subscription/usage-stats
GetUsageStats → 200

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are LLMUsage (8 properties), PaymentIntentRecord (7 properties), AutoTopoffSettings (6 properties), PaymentMethod (5 properties). Each schema is shown below with its type and property counts.

CreateSetupSessionRequest
object
1 property
UpdateAutoTopoffSettingsRequest
object
4 properties 4 required
AutoTopoffSettings
object
6 properties 6 required
UpgradeToTeamBundleRequest
object
1 property
PaymentIntentRecord
object
7 properties 4 required
UsageStatsResponse
object
4 properties 4 required
LLMUsage
object
8 properties 8 required
PaymentMethod
object
5 properties 5 required
CreateCloudGatewayCheckoutSessionRequest
object
2 properties 1 required
UpgradeToProRequest
object
3 properties
DailyUsageDataPoint
object
3 properties 3 required
StripePaymentIntentsResponse
object
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

helicone-stripe-api-openapi.yml Raw ↑

Other APIs Helicone publishes across the network.

Helicone Agent API
Helicone API Key API
Helicone Comparison API
Helicone Credits API
Helicone Customer API
Helicone Dashboard API
Helicone Dataset API
Helicone Evals API
Helicone Evaluator API
Helicone Experiment API
Helicone HeliconeSql API
Helicone Integration API