Tabby Payments API

The core of tabby is a payments flow enabling you to handle payments at your webstore.

Business capability
Payment Collection & Dunning BC-4250.40

Operations 6

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/v2/payments/{id} Look up a payment with its captures and refunds · Retrieve a payment #
Ask an LLM
“What is the current status of a specific Tabby payment?”
“Can I see which captures and refunds have been made on one payment?”
Tell an agent
Retrieve payment {id}.
Show the status, captures and refunds for payment {id}.
PUT /api/v2/payments/{id} Change a payment's order reference ID · Update a payment #
Ask an LLM
“How do I change the order reference number attached to a payment?”
“Which payment statuses allow me to update the reference ID?”
Tell an agent
Update the order reference on payment {id} to {order}.
Set a new reference ID on authorized payment {id}.
POST /api/v2/payments/{id}/captures Capture an authorized payment · Capture a payment #
Ask an LLM
“How do I collect the money for an order once it ships?”
“Can I capture only part of an authorized payment and the rest later?”
Tell an agent
Capture {amount} on payment {id} with reference {reference_id}.
Capture {amount} for shipped items {items} on payment {id}, idempotency key {reference_id}.
POST /api/v2/payments/{id}/refunds Refund a closed payment · Refund a payment #
Ask an LLM
“How do I refund a customer who returned their order?”
“Can I issue a partial refund instead of refunding the whole payment?”
Tell an agent
Refund {amount} on payment {id} with reference {reference_id}.
Refund {amount} of payment {id} for returned items {items} because {reason}, key {reference_id}.
POST /api/v2/payments/{id}/close Close a payment as final · Close a payment #
Ask an LLM
“How do I cancel a whole order so the customer gets back everything they paid?”
“What should I do with the undelivered remainder after a partial capture?”
Tell an agent destructive · confirm first
Close payment {id}.
Close payment {id} without capturing because the order was fully cancelled.
GET /api/v2/payments List my payments · List of all payments #
Ask an LLM
“Which payments have I taken, newest first?”
“Can I filter my payments by creation date or status?”
Tell an agent
List my recent payments.
List payments created between {created_at__gte} and {created_at__lte}.

Documentation

Specifications

Schemas & Data

Other Resources

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/tabby:tabby-payments-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

tabby-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tabby API Reference Payments API
  version: 1.0.0
  x-logo:
    url: assets/tabby-new.png
    altText: tabby Logo
  description: 'Tabby Documentation: **docs.tabby.ai**'
servers:
- url: https://api.tabby.ai/
  description: Production (UAE, Kuwait)
- url: https://api.tabby.sa/
  description: Production (KSA)
tags:


# --- truncated at 32 KB (67 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tabby/refs/heads/main/openapi/tabby-payments-api-openapi.yml