Stripe Billing Portal API

The Billing Portal API from Stripe — 3 operation(s) for billing portal.

Operations 5

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

GET /v1/billing_portal/configurations List customer portal configurations · Get billing portal configurations #
Ask an LLM
“How do I see the different setups I have for the self-service billing portal?”
“Which customer portal configuration is my default, and which are active?”
Tell an agent
List my customer portal configurations.
List portal configurations where active is {active}.
POST /v1/billing_portal/configurations Create a customer portal configuration · Post billing portal configurations #
Ask an LLM
“How do I set up a self-service portal where customers manage their own subscriptions and invoices?”
“Can I control which features, like cancelling or updating payment methods, the portal allows?”
Tell an agent
Create a portal configuration with business profile {business_profile} and features {features}.
Create a customer portal setup with features {features}, business profile {business_profile} and return URL {default_return_url}.
GET /v1/billing_portal/configurations/{configuration} Look up a customer portal configuration · Get billing portal configurations configuration #
Ask an LLM
“How do I check which features a particular portal configuration turns on?”
“What return URL and business details does one portal configuration use?”
Tell an agent
Get portal configuration {configuration}.
Show me the features enabled in portal configuration {configuration}.
POST /v1/billing_portal/configurations/{configuration} Update a customer portal configuration · Post billing portal configurations configuration #
Ask an LLM
“How do I change what customers can do in an existing billing portal setup?”
“Can I deactivate a portal configuration I no longer want used?”
Tell an agent
Update the features of portal configuration {configuration} to {features}.
Set portal configuration {configuration} active to {active}.
POST /v1/billing_portal/sessions Open the billing portal for a customer · Post billing portal sessions #
Ask an LLM
“How do I send a customer to a page where they can manage their subscription and billing?”
“Can I send the customer straight into a specific flow, like cancelling a subscription?”
Tell an agent
Create a billing portal session for customer {customer}.
Open the billing portal for customer {customer} and return them to {return_url}.

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/stripe-billing-portal-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

stripe-billing-portal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stripe Billing Billing Portal API
  description: Needs description.
  contact:
    email: dev-platform@stripe.com
    name: Stripe Dev Platform Team
    url: https://stripe.com
  termsOfService: https://stripe.com/us/terms/
  version: '2023-10-16'
  x-stripeSpecFilename: spec3
servers:
- url: https://api.stripe.com/
security:
- basicAuth: []
- bearerAuth: []
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/stripe/refs/heads/main/openapi/stripe-billing-portal-api-openapi.yml