SyncMetrics LLC Billing API

The Billing API from SyncMetrics LLC — 5 operation(s) for billing.

GitHub OpenAPI

Operations 5

POST /api/billing/checkout Billing Checkout #
POST /api/billing/webhook Billing Webhook #
POST /api/billing/portal Billing Portal #
GET /api/billing/summary Billing Summary #
GET /api/billing/invoices Billing Invoices #

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/syncmetrics-io:syncmetrics-io-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

syncmetrics-io-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Billing API
  version: 0.1.0
tags:
- name: Billing
paths:
  /api/billing/checkout:
    post:
      summary: Billing Checkout
      description: 'Start a Stripe Checkout session for a plan upgrade.


        Body: {"plan": "starter" | "pro"}. Returns {"url": ...} — the dashboard

        redirects the browser there. Nothing changes on our side until the

        webhook confirms payment.'
      operationId: billing_checkout_api_billing_checkout_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /api/billing/webhook:
    post:
      summary: Billing Webhook
      description: 'Stripe webhook — the ONLY writer that activates paid plans.


        No Authorization header: authenticity comes from the Stripe-Signature

        HMAC, verified manually against the raw body. Handles

        checkout.session.completed, customer.subscription.updated,

        customer.subscription.deleted and invoice.paid (plan switches only); every

        other event type is acknowledged and

        ignored. Always answers 200 fast once the signature checks out —

        processing errors are logged (source=''billing''), never re-raised, and

        never include payloads or keys.'
      operationId: billing_webhook_api_billing_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /api/billing/portal:
    post:
      summary: Billing Portal
      description: 'Open the Stripe customer portal (update card, invoices, switch plan, cancel).

        Returns {"url": ...}; 404 with a friendly message when the user has never

        paid (no Stripe customer yet); 409 for an account billed through Shopify.'
      operationId: billing_portal_api_billing_portal_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /api/billing/summary:
    get:
      summary: Billing Summary
      description: 'Billing overview for the dashboard. Never 500s — degrades to the

        plan/subscription_end we already store when Stripe is unavailable or the

        user has no Stripe customer yet.'
      operationId: billing_summary_api_billing_summary_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing
  /api/billing/invoices:
    get:
      summary: Billing Invoices
      description: 'Recent invoices for the dashboard. Empty list when there''s no Stripe

        customer yet; never 500s.'
      operationId: billing_invoices_api_billing_invoices_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Billing