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

CoreStory billing API

The billing API from CoreStory — 4 operation(s) for billing.

CoreStory billing API is one of 47 APIs that CoreStory publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Billing. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 4 operations across 4 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 1.26.2.

Requests are made against a single base URL, /.

4 operations 4 paths 8 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.26.2
Base URL
https://c2s.corestory.ai
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

CoreStory billing API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — Enter the Bearer token from Clerk authentication

Paths & Operations 4

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

billing 4
POST
/api/billing/checkout-session
Create Stripe Checkout session
create_checkout_session → 200default
POST
/api/billing/portal-session
Create Stripe Customer Portal session
create_portal_session → 200default
GET
/api/billing/invoices
List past invoices
list_invoices → 200default
GET
/api/billing/upcoming-invoice
Preview upcoming invoice
get_upcoming_invoice → 200default

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are InvoiceResponse (9 properties), UpcomingInvoiceDetail (5 properties), ErrorBody (3 properties), UpcomingInvoiceLineItem (2 properties). Each schema is shown below with its type and property counts.

ErrorBody
object
3 properties 2 required
UpcomingInvoiceResponse
object
Response for the upcoming invoice endpoint. Null when no active Stripe subscription.
1 property
InvoiceResponse
object
A single Stripe invoice.
9 properties 5 required
InvoiceListResponse
object
List of invoices for an organization.
1 property 1 required
BillingSessionResponse
object
Response containing a Stripe session URL (checkout or portal).
1 property 1 required
UpcomingInvoiceLineItem
object
A single line item on an upcoming invoice.
2 properties 1 required
ErrorSchema
object
1 property 1 required
UpcomingInvoiceDetail
object
Preview of the next Stripe invoice.
5 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

corestory-billing-api-openapi.yml Raw ↑

Other APIs CoreStory publishes across the network.

CoreStory admin API
CoreStory api_debugging API
CoreStory api_key_management API
CoreStory artifacts API
CoreStory cache API
CoreStory ciu API
CoreStory clerk_authentication API
CoreStory context API
CoreStory conversations API
CoreStory discovery API
CoreStory document_formatters API
CoreStory document_generation API
Where this information came from

This is an independent, third-party profile of CoreStory billing 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.