Sentinel Aleph Billing API

Stripe payment integration

GitHub OpenAPI

Operations 4

POST /api/v1/billing/checkout Create checkout session #
POST /api/v1/billing/portal Create billing portal session #
GET /api/v1/billing/status Get subscription status #
POST /api/v1/webhooks/stripe Stripe webhook #

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

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

ribqa-com-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sentinel Aleph V2 Billing API
  description: Smart Market Intelligence Platform API
  version: 2.0.0
  contact:
    name: Sentinel Aleph Team
servers:
- url: https://ribqa.com
  description: Production
tags:
- name: Billing
  description: Stripe payment integration
paths:
  /api/v1/billing/checkout:
    post:
      tags:
      - Billing
      summary: Create checkout session
      description: Creates a Stripe Checkout session for tier upgrade.
      security:
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - tier
              properties:
                tier:
                  type: string
                  enum:
                  - gold
                  - platinum
                  - aleph
      responses:
        '200':
          description: Checkout URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  checkout_url:
                    type: string
                    format: uri
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: postApiV1BillingCheckout
      x-operation-id-source: derived
  /api/v1/billing/portal:
    post:
      tags:
      - Billing
      summary: Create billing portal session
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Portal URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  portal_url:
                    type: string
                    format: uri
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: postApiV1BillingPortal
      x-operation-id-source: derived
  /api/v1/billing/status:
    get:
      tags:
      - Billing
      summary: Get subscription status
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Current subscription info
          content:
            application/json:
              schema:
                type: object
                properties:
                  tier:
                    type: string
                    enum:
                    - free
                    - gold
                    - platinum
                    - aleph
                  status:
                    type: string
                    enum:
                    - none
                    - active
                    - past_due
                    - cancelled
                  current_period_end:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  cancel_at_period_end:
                    type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: getApiV1BillingStatus
      x-operation-id-source: derived
  /api/v1/webhooks/stripe:
    post:
      tags:
      - Billing
      summary: Stripe webhook
      description: Receives Stripe events (checkout.session.completed, invoice.paid, etc).
      parameters:
      - name: Stripe-Signature
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Event acknowledged
      operationId: postApiV1WebhooksStripe
      x-operation-id-source: derived
components:
  responses:
    Unauthorized:
      description: Missing or invalid token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT