FnlOwl Billing API

The billing API from FnlOwl — 5 operation(s) for billing.

GitHub OpenAPI

Operations 5

GET /billing/usage Get billing usage #
POST /billing/plan Create billing plan #
POST /billing/portal Create billing portal #
POST /hooks/creem Create hooks creem #
GET /billing/plan-usage Get billing plan usage #

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/fnlowl-com:fnlowl-com-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

fnlowl-com-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 0.1.0
  title: fnlowl Billing API
tags:
- name: Billing
paths:
  /billing/usage:
    get:
      tags:
      - Billing
      responses:
        '200':
          description: Usage against the plan
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingUsage'
        '400':
          description: The request was not valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: No such thing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflicts with what is already there
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Understood, but cannot be done
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Get billing usage
      x-summary-source: derived
      operationId: getBillingUsage
      x-operation-id-source: derived
  /billing/plan:
    post:
      tags:
      - Billing
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChoosePlanBody'
      responses:
        '200':
          description: Checkout, or switched
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    nullable: true
                required:
                - url
        '400':
          description: The request was not valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: No such thing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflicts with what is already there
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Understood, but cannot be done
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Create billing plan
      x-summary-source: derived
      operationId: postBillingPlan
      x-operation-id-source: derived
  /billing/portal:
    post:
      tags:
      - Billing
      responses:
        '200':
          description: Manage the subscription
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                required:
                - url
        '400':
          description: The request was not valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: No such thing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflicts with what is already there
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Understood, but cannot be done
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Create billing portal
      x-summary-source: derived
      operationId: postBillingPortal
      x-operation-id-source: derived
  /hooks/creem:
    post:
      tags:
      - Billing
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: string
      responses:
        '204':
          description: Accepted
        '400':
          description: The request was not valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: No such thing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflicts with what is already there
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Understood, but cannot be done
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Create hooks creem
      x-summary-source: derived
      operationId: postHooksCreem
      x-operation-id-source: derived
  /billing/plan-usage:
    get:
      tags:
      - Billing
      responses:
        '200':
          description: Every monthly quota against what the plan allows
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanUsage'
        '400':
          description: The request was not valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '403':
          description: Not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: No such thing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: Conflicts with what is already there
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: Understood, but cannot be done
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Problem'
      summary: Get billing plan usage
      x-summary-source: derived
      operationId: getBillingPlanUsage
      x-operation-id-source: derived
components:
  schemas:
    BillingUsage:
      type: object
      properties:
        used:
          type: integer
        limit:
          type: integer
        plan:
          type: string
          nullable: true
        nextPlan:
          type: string
          nullable: true
        status:
          type: string
          enum:
          - none
          - trialing
          - active
          - past_due
          - canceled
        trialEndsAt:
          type: integer
          nullable: true
        interval:
          type: string
          nullable: true
          enum:
          - monthly
          - annual
        renewsAt:
          type: integer
          nullable: true
        cancelAtPeriodEnd:
          type: boolean
        paid:
          type: boolean
        overLimit:
          type: boolean
        refusing:
          type: boolean
        graceLimit:
          type: integer
        complimentary:
          type: boolean
        billedBy:
          type: string
          nullable: true
          enum:
          - shopify
      required:
      - used
      - limit
      - plan
      - nextPlan
      - status
      - trialEndsAt
      - interval
      - renewsAt
      - cancelAtPeriodEnd
      - paid
      - overLimit
      - refusing
      - graceLimit
      - complimentary
      - billedBy
    ChoosePlanBody:
      type: object
      properties:
        plan:
          type: string
          enum:
          - stream
          - river
          - ocean
        interval:
          type: string
          enum:
          - monthly
          - annual
          default: monthly
      required:
      - plan
    PlanUsage:
      type: object
      properties:
        plan:
          type: string
          nullable: true
        status:
          type: string
        trialEndsAt:
          type: integer
          nullable: true
        leads:
          type: object
          properties:
            used:
              type: integer
            limit:
              type: integer
          required:
          - used
          - limit
        aiMessages:
          type: object
          properties:
            used:
              type: integer
            limit:
              type: integer
          required:
          - used
          - limit
        emails:
          type: object
          properties:
            used:
              type: integer
            limit:
              type: integer
          required:
          - used
          - limit
        websites:
          type: object
          properties:
            used:
              type: integer
            limit:
              type: integer
          required:
          - used
          - limit
        widgets:
          type: object
          properties:
            used:
              type: integer
            limit:
              type: integer
          required:
          - used
          - limit
      required:
      - plan
      - status
      - trialEndsAt
      - leads
      - aiMessages
      - emails
      - websites
      - widgets
    Problem:
      type: object
      properties:
        code:
          type: string
          example: not_found
        detail:
          type: string
          example: no such widget
        status:
          type: integer
          example: 404
        meta:
          type: object
          additionalProperties:
            anyOf:
            - type: string
            - type: number
            - nullable: true
            - nullable: true
      required:
      - code
      - detail
      - status