ship-page Billing API

The Billing API from ship-page — 3 operation(s) for billing.

GitHub OpenAPI

Operations 3

GET /billing/me Plan and subscription state #
POST /billing/checkout Create a Stripe checkout session #
POST /billing/portal Create a Stripe customer portal session #

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/ship-page:ship-page-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

ship-page-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ship.page Billing API
  version: 1.0.0
  description: 'Throw HTML at an API, get an unguessable URL back. Anonymous deploys need no auth; account routes accept an sp_ API key or a Firebase ID token as a Bearer credential. Docs: https://ship.page/docs — agents start at https://ship.page/docs/agents. MCP server: POST https://ship.page/mcp.'
  contact:
    name: Bitgate, Inc.
    url: https://ship.page
    email: abuse@bitgate.com
servers:
- url: https://ship.page
security: []
tags:
- name: Billing
paths:
  /billing/me:
    get:
      operationId: billingMe
      summary: Plan and subscription state
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Entitlements for the account.
          content:
            application/json:
              schema:
                type: object
                required:
                - accountId
                - plan
                - activeSubscription
                properties:
                  accountId:
                    type: string
                  plan:
                    type: string
                    enum:
                    - free
                    - pro
                    - team
                  activeSubscription:
                    type: boolean
                  currentPeriodEnd:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  cancelAt:
                    type:
                    - string
                    - 'null'
                    format: date-time
                  portalAvailable:
                    type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
      tags:
      - Billing
  /billing/checkout:
    post:
      operationId: billingCheckout
      summary: Create a Stripe checkout session
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                plan:
                  type: string
                  enum:
                  - pro
                  - team
                  default: pro
      responses:
        '200':
          description: Redirect the user to `url`.
          content:
            application/json:
              schema:
                type: object
                required:
                - url
                - alreadySubscribed
                properties:
                  url:
                    type: string
                    format: uri
                  alreadySubscribed:
                    type: boolean
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      tags:
      - Billing
  /billing/portal:
    post:
      operationId: billingPortal
      summary: Create a Stripe customer portal session
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Redirect the user to `url`.
          content:
            application/json:
              schema:
                type: object
                required:
                - url
                properties:
                  url:
                    type: string
                    format: uri
        '401':
          $ref: '#/components/responses/Unauthorized'
      tags:
      - Billing
components:
  schemas:
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-stable error code — parse this, not `error`.
          enum:
          - bad_request
          - invalid_ttl
          - invalid_email
          - invalid_name
          - invalid_plan
          - invalid_zip
          - invalid_claim_token
          - file_cap_exceeded
          - zip_too_large
          - body_too_large
          - decompression_cap
          - auth_required
          - subscription_required
          - not_found
          - method_not_allowed
          - already_claimed
          - claim_conflict
          - restore_conflict
          - drop_expired
          - rate_limited
          - backend_unavailable
          - internal_error
          - expired
          - too_large
          - unsupported
          - busy
          - hash_mismatch
          - storage_full
          - unknown_blob
          - draft_changed
          - content_changed
          - publish_in_progress
          - publish_incomplete
          - blocked
          - missing
          - already_live
          - invalid_request
          - invalid_link_name
          - link_name_reserved
          - link_name_taken
          - link_exists
          - link_limit_reached
          - link_frozen
          - drop_not_found
          - not_saving
        hint:
          type: string
          description: Human-directed guidance. Agents should relay this to their user verbatim.
        upgrade_url:
          type: string
          format: uri
          description: Present when a plan upgrade resolves the failure.
        docs_url:
          type: string
          format: uri
          description: Relevant docs page, when one applies.
  responses:
    Unauthorized:
      description: Missing or invalid credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Bad request — unparseable body, bad paths, invalid ttl/name, per-request file cap, invalid zip.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An sp_… API key (minted via POST /keys or the dashboard) or a Firebase ID token.