licensy-ai Stripe API

The stripe API from licensy-ai — 9 operation(s) for stripe.

Operations 9

POST /api/v1/stripe/webhook Stripe Webhook #
POST /api/v1/stripe/create-checkout-session Create Checkout Session #
GET /api/v1/stripe/current-plan Get Current Plan #
POST /api/v1/stripe/setup-free-plan Setup Free Plan #
POST /api/v2/stripe/current-plan Get Current Plan #
POST /api/v2/stripe/update-trial-plan Update Trial Plan #
GET /api/v2/stripe/payment-method Get user's payment method on file #
POST /api/v2/stripe/setup-intent Create a Stripe SetupIntent for adding a card #
POST /api/v2/stripe/set-default-payment-method Set a payment method as default for the customer #

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/licensy-ai:licensy-ai-stripe-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

licensy-ai-stripe-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Stripe API
  version: 0.1.0
tags:
- name: Stripe
paths:
  /api/v1/stripe/webhook:
    post:
      tags:
      - Stripe
      summary: Stripe Webhook
      operationId: stripe_webhook_api_v1_stripe_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/v1/stripe/create-checkout-session:
    post:
      tags:
      - Stripe
      summary: Create Checkout Session
      operationId: create_checkout_session_api_v1_stripe_create_checkout_session_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/stripe/current-plan:
    get:
      tags:
      - Stripe
      summary: Get Current Plan
      operationId: get_current_plan_api_v1_stripe_current_plan_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentPlanResponse'
      security:
      - HTTPBearer: []
  /api/v1/stripe/setup-free-plan:
    post:
      tags:
      - Stripe
      summary: Setup Free Plan
      operationId: setup_free_plan_api_v1_stripe_setup_free_plan_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v2/stripe/current-plan:
    post:
      tags:
      - Stripe
      summary: Get Current Plan
      operationId: get_current_plan_api_v2_stripe_current_plan_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentPlanResponse'
      security:
      - HTTPBearer: []
  /api/v2/stripe/update-trial-plan:
    post:
      tags:
      - Stripe
      summary: Update Trial Plan
      operationId: update_trial_plan_api_v2_stripe_update_trial_plan_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v2/stripe/payment-method:
    get:
      tags:
      - Stripe
      summary: Get user's payment method on file
      description: Return the default payment method (card) for the current user, if any.
      operationId: get_payment_method_api_v2_stripe_payment_method_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v2/stripe/setup-intent:
    post:
      tags:
      - Stripe
      summary: Create a Stripe SetupIntent for adding a card
      description: Create a SetupIntent so the frontend can collect card details via Stripe Elements.
      operationId: create_setup_intent_api_v2_stripe_setup_intent_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v2/stripe/set-default-payment-method:
    post:
      tags:
      - Stripe
      summary: Set a payment method as default for the customer
      description: After a SetupIntent succeeds, set the payment method as the customer default.
      operationId: set_default_payment_method_api_v2_stripe_set_default_payment_method_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    CurrentPlanResponse:
      properties:
        plan_type:
          type: string
          title: Plan Type
        plan_name:
          type: string
          title: Plan Name
        next_billing_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Next Billing Date
        amount:
          type: number
          title: Amount
        status:
          type: string
          title: Status
        plan_details:
          anyOf:
          - $ref: '#/components/schemas/PlanDetails'
          - type: 'null'
        is_trial:
          type: boolean
          title: Is Trial
      type: object
      required:
      - plan_type
      - plan_name
      - next_billing_date
      - amount
      - status
      - plan_details
      - is_trial
      title: CurrentPlanResponse
      examples:
      - amount: 200.0
        is_trial: true
        next_billing_date: '2025-03-21T00:00:00'
        plan_name: Basic
        plan_type: individual
        status: active
    PlanDetails:
      properties:
        id:
          type: string
          title: Id
        plan_type:
          type: string
          title: Plan Type
        plan_name:
          type: string
          title: Plan Name
        price:
          type: number
          title: Price
        report_credit:
          type: integer
          title: Report Credit
        api_credit:
          type: integer
          title: Api Credit
      type: object
      required:
      - id
      - plan_type
      - plan_name
      - price
      - report_credit
      - api_credit
      title: PlanDetails
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer