Clarity Stripe API

The stripe API from Clarity — 6 operation(s) for stripe.

Operations 6

GET /api/v1/stripe/success Confirm Stipe Payment #
GET /api/v1/stripe/customer-portal Get Stripe Url #
POST /api/v1/stripe/create-setup-intent Setup Intent Endpoint #
POST /api/v1/stripe/create-checkout-session Create Checkout Session Endpoint #
GET /api/v1/stripe/payment-method-status Get Payment Method Status #
POST /api/v1/stripe/webhook Webhook Endpoint #

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/onclarity-com:onclarity-com-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

onclarity-com-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/success:
    get:
      tags:
      - Stripe
      summary: Confirm Stipe Payment
      operationId: confirm_stipe_payment_api_v1_stripe_success_get
      parameters:
      - name: session_id
        in: query
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/stripe/customer-portal:
    get:
      tags:
      - Stripe
      summary: Get Stripe Url
      operationId: get_stripe_url_api_v1_stripe_customer_portal_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/stripe/create-setup-intent:
    post:
      tags:
      - Stripe
      summary: Setup Intent Endpoint
      operationId: setup_intent_endpoint_api_v1_stripe_create_setup_intent_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/stripe/create-checkout-session:
    post:
      tags:
      - Stripe
      summary: Create Checkout Session Endpoint
      operationId: create_checkout_session_endpoint_api_v1_stripe_create_checkout_session_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckoutSession'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/stripe/payment-method-status:
    get:
      tags:
      - Stripe
      summary: Get Payment Method Status
      description: 'Check if a payment method is added to the account

        Returns a boolean flag indicating whether a payment method exists'
      operationId: get_payment_method_status_api_v1_stripe_payment_method_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/stripe/webhook:
    post:
      tags:
      - Stripe
      summary: Webhook Endpoint
      operationId: webhook_endpoint_api_v1_stripe_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    CheckoutSession:
      properties:
        product_type:
          type: string
          title: Product Type
          default: growth
      type: object
      title: CheckoutSession
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    HTTPBasic:
      type: http
      scheme: basic