DNSFilter Billings API

The Billings API from DNSFilter — 2 operation(s) for billings.

Operations 4

GET /v1/billing Show #
POST /v1/billing Create #
GET /v1/billing/address/{organization_id} Show address #
PATCH /v1/billing/address/{organization_id} Update address #

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/dnsfilter-billings-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

dnsfilter-billings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DNSFilter Billings API
  description: '**Note:** If you are a distributor integrating with DNSFilter, please check

    out our Distributors Development Guide.'
  version: '2026-07-13'
servers:
- url: https://api.dnsfilter.com
  description: Production
tags:
- name: Billings
  description: ''
paths:
  /v1/billing:
    get:
      tags:
      - Billings
      operationId: V1_Billings-show
      parameters:
      - name: organization_id
        description: User organization ID
        required: true
        in: query
        schema:
          type: integer
      responses:
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: Billing information provided by Stripe
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethod'
      description: List basic billing information of the user organization registered in Stripe platform.
      summary: Show
      security:
      - header_authorization: []
      x-controller: v1/billings
      x-action: show
    post:
      tags:
      - Billings
      operationId: V1_Billings-create
      parameters: []
      responses:
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Can not associate payment method with the specified data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '204':
          description: No Content, only status `204` to indicate that the payment method was registered
      description: Register a newly created payment method in database.
      summary: Create
      security:
      - header_authorization: []
      x-controller: v1/billings
      x-action: create
      requestBody:
        description: Payment method information
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillingCreate'
  /v1/billing/address/{organization_id}:
    get:
      tags:
      - Billings
      operationId: V1_Billings-address_show
      parameters:
      - name: organization_id
        description: Organization ID
        required: true
        in: path
        schema:
          type: integer
      responses:
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: Billing address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Billing_BillingAddress'
      description: Show the billing address for the given organization.
      summary: Show address
      security:
      - header_authorization: []
      x-controller: v1/billings
      x-action: address_show
    patch:
      tags:
      - Billings
      operationId: V1_Billings-address_update
      parameters:
      - name: organization_id
        description: Organization ID
        required: true
        in: path
        schema:
          type: integer
      responses:
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Can not update billing address with the specified data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '200':
          description: Billing address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Billing_BillingAddress'
      description: Update the billing address for the given organization.
      summary: Update address
      security:
      - header_authorization: []
      x-controller: v1/billings
      x-action: address_update
      requestBody:
        description: Billing address
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Billing_BillingAddressUpdateSpec'
components:
  schemas:
    Billing_BillingAddress:
      type: object
      properties:
        first_name:
          type: string
          description: First Name
        last_name:
          type: string
          description: Last Name
        email:
          type: string
          description: Email
        company:
          type: string
          description: Company
        phone:
          type: string
          description: Phone
        line1:
          type: string
          description: Address Line1
        line2:
          type: string
          description: Address Line2
        line3:
          type: string
          description: Address Line3
        city:
          type: string
          description: City
        state_code:
          type: string
          description: The ISO 3166-2 state/province code without the country prefix. Currently supported for USA, Canada and India.
        state:
          type: string
          description: State
        zip:
          type: string
          description: Zip or postal code
        country:
          type: string
          description: Country Must be one of ISO 3166 alpha-2 country code.
      description: Billing address resource
    Billing_BillingAddressUpdateSpec:
      type: object
      properties:
        billing_address:
          $ref: '#/components/schemas/Billing_BillingAddress'
      required:
      - billing_address
      description: Billing address update request parameters
    BillingCreate:
      type: object
      properties:
        organization_id:
          type: integer
          description: User organization ID
        payment_token:
          type: string
          description: Stripe token
      required:
      - organization_id
      - payment_token
      description: Billing creation request parameters
    Error:
      type: object
      properties:
        error:
          type: string
          description: 'Error message (e.x.: Not Authorized)'
      description: Error basic representation
    PaymentMethod:
      type: object
      properties:
        object:
          type: string
          description: Payment method type (credit card, paypal, etc.)
        address_city:
          type: string
          description: City
        address_country:
          type: string
          description: Country
        address_line1:
          type: string
          description: Address line 1
        address_line2:
          type: string
          description: Address line 2
        address_state:
          type: string
          description: State
        address_zip:
          type: string
          description: Address ZIP code
        brand:
          type: string
          description: Brand
        country:
          type: string
          description: Country associated with the payment method
        exp_month:
          type: integer
          description: Expiration month
        exp_year:
          type: integer
          description: Expiration year
        last4:
          type: string
          description: Last four digits
      description: Payment method resource
  securitySchemes:
    header_authorization:
      type: apiKey
      name: Authorization
      in: header