AdvisorPPC Billing API

The billing API from AdvisorPPC — 10 operation(s) for billing.

Operations 10

GET /api/billing/summary Billing Summary #
GET /api/billing/usage Billing Usage #
GET /api/billing/invoices Billing Invoices #
POST /api/billing/portal Billing Portal #
GET /api/billing/pause/preview Preview Pause Billing #
POST /api/billing/pause Pause Billing #
POST /api/billing/resume Resume Billing #
POST /api/billing/cancel Cancel Plan #
POST /api/billing/cancel/confirm Retired Cancel Steps #
POST /api/billing/cancel/request Retired Cancel Steps #

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

Discovery needs no key. Ratings and market analysis are Pro.

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

advisorppc-com-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AdvisorPPC Billing API
  version: 0.1.0
tags:
- name: Billing
paths:
  /api/billing/summary:
    get:
      tags:
      - Billing
      summary: Billing Summary
      operationId: billing_summary_api_billing_summary_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Billing Summary Api Billing Summary Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/usage:
    get:
      tags:
      - Billing
      summary: Billing Usage
      operationId: billing_usage_api_billing_usage_get
      security:
      - HTTPBearer: []
      parameters:
      - name: cycle
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cycle
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Billing Usage Api Billing Usage Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/invoices:
    get:
      tags:
      - Billing
      summary: Billing Invoices
      description: Invoice history with Stripe PDF links — admin or owner only.
      operationId: billing_invoices_api_billing_invoices_get
      security:
      - HTTPBearer: []
      parameters:
      - name: month
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Month
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Billing Invoices Api Billing Invoices Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/portal:
    post:
      tags:
      - Billing
      summary: Billing Portal
      operationId: billing_portal_api_billing_portal_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Billing Portal Api Billing Portal Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/pause/preview:
    get:
      tags:
      - Billing
      summary: Preview Pause Billing
      operationId: preview_pause_billing_api_billing_pause_preview_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Preview Pause Billing Api Billing Pause Preview Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/pause:
    post:
      tags:
      - Billing
      summary: Pause Billing
      operationId: pause_billing_api_billing_pause_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PauseIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Pause Billing Api Billing Pause Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/resume:
    post:
      tags:
      - Billing
      summary: Resume Billing
      operationId: resume_billing_api_billing_resume_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResumeIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Resume Billing Api Billing Resume Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/cancel:
    post:
      tags:
      - Billing
      summary: Cancel Plan
      description: 'Schedule the workspace''s plan to end; repeating it changes nothing.


        Trialing: ends at the trial end, never charged. Active or paused: ends at

        the end of the current period and does not renew. A receipt goes to the

        owner who clicked (co-owners CC''d) the first time only.'
      operationId: cancel_plan_api_billing_cancel_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CancelIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Cancel Plan Api Billing Cancel Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/billing/cancel/confirm:
    post:
      tags:
      - Billing
      summary: Retired Cancel Steps
      operationId: retired_cancel_steps_api_billing_cancel_confirm_post
      responses:
        '410':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Retired Cancel Steps Api Billing Cancel Confirm Post
  /api/billing/cancel/request:
    post:
      tags:
      - Billing
      summary: Retired Cancel Steps
      operationId: retired_cancel_steps_api_billing_cancel_request_post
      responses:
        '410':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Retired Cancel Steps Api Billing Cancel Request Post
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PauseIn:
      properties:
        confirm:
          type: boolean
          const: true
          title: Confirm
        months:
          type: integer
          enum:
          - 1
          - 2
          title: Months
      type: object
      required:
      - confirm
      - months
      title: PauseIn
    ResumeIn:
      properties:
        confirm:
          type: boolean
          const: true
          title: Confirm
      type: object
      required:
      - confirm
      title: ResumeIn
    CancelIn:
      properties:
        confirm:
          type: boolean
          const: true
          title: Confirm
      type: object
      required:
      - confirm
      title: CancelIn
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer