Bring Your AI Checkout API

The Checkout API from Bring Your AI — 1 operation(s) for checkout.

Operations 2

GET /api/v1/checkout Start a human checkout handoff from query parameters #
POST /api/v1/checkout Start checkout or settle a Stripe SPT payment #

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/bringyour-ai:bringyour-ai-checkout-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

bringyour-ai-checkout-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bring Your AI Checkout API
  description: 'Public surface for Bring Your AI — the local-first AI agent harness migration,

    central Claude/Codex/Cursor sync, sanitized distill snapshot, and no-data

    remote MCP server.


    The primary programmable surface is the Model Context Protocol endpoint at

    `/mcp` (streamable-http JSON-RPC 2.0). REST endpoints below are for discovery

    and billing. The MCP discovery manifest is available at

    `/.well-known/mcp.json`.


    Remote MCP is no-data. It exposes discovery, preview, target listing, and

    local install handoff only. It does not accept harness files, generated

    memories, user rules, API keys, GitHub handles, or file contents. Actual

    moves, central sync, distill snapshots, and first-setup builds run through

    the local CLI or local MCP server on the user''s machine. Central sync uses

    a local hub by default, can use a user-selected Git repo path, keeps auto

    sync disabled by default, never performs Git remote actions, and leaves

    platform-native config target-local by default during cross-tool sync.


    Commerce endpoints expose a machine-readable catalog, quote, and checkout.

    The $499 Team Migration Pack includes one guided migration and onboarding

    for up to 10 people, plus 10 lifetime licenses. It uses a dynamic Stripe

    Checkout Session. Existing individual licenses keep their Payment Links.

    Stripe shared payment token

    settlement is live for agents: submit a Link-issued token and buyer email to

    create a server-confirmed PaymentIntent and receive the signed license in JSON.

    x402/MPP is reserved for future per-call API endpoints.'
  version: 1.2.0
  contact:
    email: hello@bringyour.ai
  license:
    name: Proprietary — from $19 lifetime license
    url: https://bringyour.ai/buy
servers:
- url: https://bringyour.ai
  description: Production
tags:
- name: Checkout
paths:
  /api/v1/checkout:
    get:
      summary: Start a human checkout handoff from query parameters
      description: 'Browserless conversion route for agents and probers that follow the

        advertised checkout URL directly. Existing individual products return

        their Stripe Payment Link. Dynamic Team Migration Pack checkout requires POST.'
      operationId: getCheckoutHandoff
      parameters:
      - in: query
        name: product_id
        required: true
        schema:
          type: string
          enum:
          - bringyour_founder_lifetime
          - bringyour_early_lifetime
          - bringyour_lifetime
          - bringyour_team_migration_pack
      - in: query
        name: payment_mode
        schema:
          type: string
          enum:
          - stripe_payment_link
          - stripe_link
          - link
          - stripe_checkout
          - human_checkout
      - in: query
        name: quantity
        schema:
          type: integer
          enum:
          - 1
      responses:
        '200':
          description: Stripe Payment Link handoff
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Missing product_id
      tags:
      - Checkout
    post:
      summary: Start checkout or settle a Stripe SPT payment
      description: 'For the Team Migration Pack, payment_mode=stripe_checkout creates a

        dynamic Stripe Checkout Session and returns its URL. Existing individual

        products keep their Stripe Payment Link checkout URLs.

        For payment_mode=stripe_spt or spt, accepts a Link-issued

        shared_payment_granted_token and buyer_email, confirms a Stripe

        PaymentIntent server-side, stores optional client_reference_id metadata

        for attribution, then returns the signed Bring Your AI license directly

        in JSON. For x402/MPP, returns an explicit not-enabled response and the

        Payment Link fallback.'
      operationId: startCheckout
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - product_id
              properties:
                product_id:
                  type: string
                  enum:
                  - bringyour_founder_lifetime
                  - bringyour_early_lifetime
                  - bringyour_lifetime
                  - bringyour_team_migration_pack
                quantity:
                  type: integer
                  enum:
                  - 1
                payment_mode:
                  type: string
                  enum:
                  - stripe_payment_link
                  - stripe_link
                  - link
                  - stripe_checkout
                  - human_checkout
                  - stripe_acp
                  - acp
                  - spt
                  - stripe_spt
                  - agentic_checkout
                  - mpp
                  - x402
                  - mpp_x402
                  - machine_payments_x402
                shared_payment_granted_token:
                  type: string
                  description: Link-issued Stripe shared payment token. Required for stripe_spt settlement.
                buyer_email:
                  type: string
                  description: Email bound to the issued license. Required for stripe_spt settlement.
                email:
                  type: string
                  description: Alias for buyer_email.
                client_reference_id:
                  type: string
                  description: Optional Google gclid or first-party bya_ attribution id to attach to SPT PaymentIntent metadata.
                buyer_country:
                  type: string
                locale:
                  type: string
                currency:
                  type: string
      responses:
        '200':
          description: Stripe Payment Link handoff
          content:
            application/json:
              schema:
                type: object
        '201':
          description: Dynamic Stripe Checkout Session created, or Stripe SPT payment settled and signed license issued
          content:
            application/json:
              schema:
                type: object
        '501':
          description: Requested private-preview payment rail is not enabled
      tags:
      - Checkout