Balladic Billing API

The billing API from Balladic — 7 operation(s) for billing.

Operations 7

GET /billing/status Billing Status #
POST /billing/redeem Redeem Code #
POST /billing/downgrade Downgrade #
GET /billing/prices Billing Prices #
POST /billing/checkout Create Checkout #
POST /billing/portal Create Portal #
POST /billing/webhook Stripe Webhook #

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

balladic-com-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Balladic Billing API
  description: Balladestreger
  version: 0.11.10
tags:
- name: Billing
paths:
  /billing/status:
    get:
      tags:
      - Billing
      summary: Billing Status
      operationId: billing_status_billing_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingStatusResponse'
      security:
      - HTTPBearer: []
  /billing/redeem:
    post:
      tags:
      - Billing
      summary: Redeem Code
      operationId: redeem_code_billing_redeem_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedeemCodeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /billing/downgrade:
    post:
      tags:
      - Billing
      summary: Downgrade
      operationId: downgrade_billing_downgrade_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingStatusResponse'
      security:
      - HTTPBearer: []
  /billing/prices:
    get:
      tags:
      - Billing
      summary: Billing Prices
      operationId: billing_prices_billing_prices_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingPricesResponse'
  /billing/checkout:
    post:
      tags:
      - Billing
      summary: Create Checkout
      operationId: create_checkout_billing_checkout_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCheckoutRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /billing/portal:
    post:
      tags:
      - Billing
      summary: Create Portal
      operationId: create_portal_billing_portal_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortalResponse'
      security:
      - HTTPBearer: []
  /billing/webhook:
    post:
      tags:
      - Billing
      summary: Stripe Webhook
      operationId: stripe_webhook_billing_webhook_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  schemas:
    BillingStatusResponse:
      properties:
        project_count:
          type: integer
          title: Project Count
        project_limit:
          anyOf:
          - type: integer
          - type: 'null'
          title: Project Limit
        has_subscription:
          type: boolean
          title: Has Subscription
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        interval:
          anyOf:
          - type: string
          - type: 'null'
          title: Interval
        current_period_end:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Current Period End
        cancel_at_period_end:
          type: boolean
          title: Cancel At Period End
        currency:
          anyOf:
          - type: string
          - type: 'null'
          title: Currency
        pro_until:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Pro Until
      type: object
      required:
      - project_count
      - project_limit
      - has_subscription
      - status
      - interval
      - current_period_end
      - cancel_at_period_end
      title: BillingStatusResponse
    BillingPricesResponse:
      properties:
        monthly:
          $ref: '#/components/schemas/PriceInfo'
        annual:
          $ref: '#/components/schemas/PriceInfo'
        suggested_currency:
          type: string
          title: Suggested Currency
      type: object
      required:
      - monthly
      - annual
      - suggested_currency
      title: BillingPricesResponse
    CheckoutResponse:
      properties:
        url:
          type: string
          title: Url
      type: object
      required:
      - url
      title: CheckoutResponse
    CreateCheckoutRequest:
      properties:
        interval:
          type: string
          enum:
          - month
          - year
          title: Interval
          default: month
      type: object
      title: CreateCheckoutRequest
    PriceInfo:
      properties:
        price_id:
          type: string
          title: Price Id
        interval:
          type: string
          title: Interval
        primary_currency:
          type: string
          title: Primary Currency
        amounts:
          additionalProperties:
            type: integer
          type: object
          title: Amounts
      type: object
      required:
      - price_id
      - interval
      - primary_currency
      - amounts
      title: PriceInfo
    RedeemCodeRequest:
      properties:
        code:
          type: string
          maxLength: 64
          minLength: 1
          title: Code
      type: object
      required:
      - code
      title: RedeemCodeRequest
    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
    PortalResponse:
      properties:
        url:
          type: string
          title: Url
      type: object
      required:
      - url
      title: PortalResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer