Saga Labs Billing API

The billing API from Saga Labs — 3 operation(s) for billing.

Operations 3

GET /api/v1/billing/status Billing Status #
POST /api/v1/billing/portal-url Billing Portal Url #
POST /api/v1/billing/checkout-complete Checkout Complete #

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

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

OpenAPI Specification

docoapi-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DocoAPI Billing API
  description: FastAPI-first API documentation SaaS
  version: 0.1.0
tags:
- name: Billing
paths:
  /api/v1/billing/status:
    get:
      tags:
      - Billing
      summary: Billing Status
      description: 'Returns effective subscription status for the current workspace.

        Called by SubscriptionContext on mount.'
      operationId: billing_status_api_v1_billing_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/billing/portal-url:
    post:
      tags:
      - Billing
      summary: Billing Portal Url
      description: 'Generates a fresh Paddle customer portal session URL.


        NEVER cached — portal session tokens expire (~1h). Generate fresh on each click.'
      operationId: billing_portal_url_api_v1_billing_portal_url_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/billing/checkout-complete:
    post:
      tags:
      - Billing
      summary: Checkout Complete
      description: 'Client calls this after Paddle''s checkout.completed client-side event.

        The webhook is the source of truth — this endpoint just returns current status

        so the frontend can begin polling for activation.'
      operationId: checkout_complete_api_v1_billing_checkout_complete_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer