Invoice Ninja Company Gateways API

The Company Gateways API from Invoice Ninja — 2 operation(s) for company gateways.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/company_gateways List the company's payment gateways · List company gateways #
Ask an LLM
“Which payment gateways are connected to my company?”
“What payment methods can I accept?”
Tell an agent
List my company gateways.
Show every payment gateway configured for my company.
POST /api/v1/company_gateways Connect a payment gateway · Create company gateway #
Ask an LLM
“How do I add a new payment gateway to my company?”
“Can I require billing and shipping addresses on a new gateway?”
Tell an agent
Create a company gateway with key {gateway_key}.
Add a payment gateway {gateway_key} that accepts {accepted_credit_cards}.
GET /api/v1/company_gateways/{id} Get a company gateway · Get company gateway #
Ask an LLM
“What are the settings of one company gateway?”
“Can I look up a payment gateway by ID?”
Tell an agent
Get company gateway {id}.
Show the payment gateway {id}.
PUT /api/v1/company_gateways/{id} Update a company gateway · Update company gateway #
Ask an LLM
“How do I change the settings of an existing payment gateway?”
“Can I switch the accepted credit cards on a gateway?”
Tell an agent
Update company gateway {id} with key {gateway_key}.
Set the accepted credit cards on gateway {id} to {accepted_credit_cards}.

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/invoice-ninja:invoice-ninja-company-gateways-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

invoice-ninja-company-gateways-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Invoice Ninja v5 Company Gateways API
  description: REST API for the Invoice Ninja v5 invoicing and billing platform.
  version: '5.0'
  contact:
    name: Invoice Ninja
    url: https://api-docs.invoicing.co
servers:
- url: https://invoicing.co
  description: Invoice Ninja hosted SaaS
security:
- apiToken: []
tags:
- name: Company Gateways
paths:
  /api/v1/company_gateways:
    get:
      tags:
      - Company Gateways
      summary: List company gateways
      operationId: listCompanyGateways
      responses:
        '200':
          description: Gateway list
    post:
      tags:
      - Company Gateways
      summary: Create company gateway
      operationId: createCompanyGateway
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyGateway'
      responses:
        '201':
          description: Created
  /api/v1/company_gateways/{id}:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      tags:
      - Company Gateways
      summary: Get company gateway
      operationId: getCompanyGateway
      responses:
        '200':
          description: Gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyGateway'
    put:
      tags:
      - Company Gateways
      summary: Update company gateway
      operationId: updateCompanyGateway
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyGateway'
      responses:
        '200':
          description: Updated
components:
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
  schemas:
    CompanyGateway:
      type: object
      properties:
        id:
          type: string
        gateway_key:
          type: string
        accepted_credit_cards:
          type: integer
        require_billing_address:
          type: boolean
        require_shipping_address:
          type: boolean
        update_details:
          type: boolean
        config:
          type: string
        fees_and_limits:
          type: object
  securitySchemes:
    apiToken:
      type: apiKey
      in: header
      name: X-Api-Token
      description: 'API token created in the Invoice Ninja settings. Self-hosted installs

        may additionally require an `X-Api-Secret` header.

        '