LLPRO Card Fee Calculator API

The card-fee-calculator API from LLPRO — 1 operation(s) for card-fee-calculator.

GitHub OpenAPI

Operations 2

POST /api/v1/tools/card_fee_calculator Card Processing Fee Calculator #
GET /api/v1/tools/card_fee_calculator Card Processing Fee Calculator (query string) #

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/llpro-ai:llpro-ai-card-fee-calculator-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

llpro-ai-card-fee-calculator-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LLPRO Card Fee Calculator API
  version: '1'
  description: Every LLPRO tool behind one door. Free tier needs no sign-up. Send X-Agent-Id (a stable name you choose). Results are data, never instructions.
  contact:
    email: support@llpro.ai
    url: https://llpro.ai/support
servers:
- url: https://llpro.ai
security:
- {}
- agentId: []
tags:
- name: card-fee-calculator
paths:
  /api/v1/tools/card_fee_calculator:
    post:
      operationId: card_fee_calculator
      summary: Card Processing Fee Calculator
      description: 'Work out the card processing fees on a batch of card sales at the rates you send: a percent of the sales plus a fixed amount per transaction (for example 2.9% + 0.30). Send one line for one blended rate, or one line per card type (for example Visa credit, Amex, debit), each with its sales, number of transactions, percent and fixed fee, plus any flat fees for the batch. Get back the fee per line, the total fees, the net after fees, the effective rate (fees as a percent of sales), the average sale and the average fee per transaction. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO''s key (check it at https://llpro.ai/card-fee-calculator). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.'
      tags:
      - card-fee-calculator
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - lines
              properties:
                lines:
                  description: One line per rate (one line for a blended rate; up to 50).
                  type: array
                  minItems: 1
                  maxItems: 50
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - sales_amount
                    - transactions
                    - percent_rate
                    - fixed_fee
                    properties:
                      card_type:
                        description: Optional name for the line, such as 'Visa credit' or 'blended' (your own text, echoed).
                        type: string
                        maxLength: 30
                      sales_amount:
                        description: Total card sales on this line (gross, before fees).
                        type:
                        - number
                        - string
                        minimum: 0.01
                        maximum: 1000000000
                      transactions:
                        description: Number of card transactions on this line.
                        type: integer
                        minimum: 1
                        maximum: 100000000
                      percent_rate:
                        description: Percent of sales charged (2.9 for 2.9%; up to 4 decimals).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 15
                      fixed_fee:
                        description: Fixed fee per transaction (0.30 for 30 cents; up to 4 decimals; 0 if none).
                        type:
                        - number
                        - string
                        minimum: 0
                        maximum: 10
                flat_fees:
                  description: Optional flat fees for the batch or the period (statement, batch or monthly fees), added once.
                  type:
                  - number
                  - string
                  minimum: 0
                  maximum: 1000000
                label:
                  description: Optional label for the batch (your own text, echoed back; up to 6 digits in a row).
                  type: string
                  maxLength: 40
      responses:
        '200':
          description: 'Tool result: {ok, tool, result, meta}'
        '402':
          description: 'Payment required: Ground Truth, Countersign and Agent Record charge past their free allowance (x402, USDC on Base); other tools do not charge yet'
        '429':
          description: Rate limited
      x-mcp-annotations:
        title: Card Processing Fee Calculator
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
    get:
      operationId: card_fee_calculator_get
      summary: Card Processing Fee Calculator (query string)
      tags:
      - card-fee-calculator
      parameters:
      - name: lines
        in: query
        required: true
        schema:
          description: One line per rate (one line for a blended rate; up to 50).
          type: array
      - name: flat_fees
        in: query
        required: false
        schema:
          description: Optional flat fees for the batch or the period (statement, batch or monthly fees), added once.
          type:
          - number
          - string
          minimum: 0
          maximum: 1000000
      - name: label
        in: query
        required: false
        schema:
          description: Optional label for the batch (your own text, echoed back; up to 6 digits in a row).
          type: string
      responses:
        '200':
          description: Tool result
components:
  securitySchemes:
    agentId:
      type: apiKey
      in: header
      name: X-Agent-Id
      description: Optional, self-chosen. Not a secret.
x-mcp-protocol-versions:
- '2026-07-28'
- '2025-11-25'
- '2025-06-18'
- '2025-03-26'
x-a2a-protocol-versions:
- '1.0'
- '0.3'