Tabby · Schema

TabbyPayment

Tabby BNPL payment object returned by GET /api/v2/payments/{id}.

BNPLBuy Now Pay LaterConsumer FinanceE-CommerceFintechInstallmentsMENAPaymentsSaudi ArabiaUAE

Properties

Name Type Description
id string
created_at string
expires_at string
status string
amount string
currency string
description string
is_test boolean
buyer object
shipping_address object
order object
captures array Read-only capture history.
refunds array Read-only refund history.
meta object
View JSON Schema on GitHub

JSON Schema

tabby-payment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tabby/main/json-schema/tabby-payment-schema.json",
  "title": "TabbyPayment",
  "description": "Tabby BNPL payment object returned by GET /api/v2/payments/{id}.",
  "type": "object",
  "required": ["id", "amount", "currency", "status", "buyer", "shipping_address", "order"],
  "properties": {
    "id": { "type": "string", "format": "uuid" },
    "created_at": { "type": "string", "format": "date-time" },
    "expires_at": { "type": "string", "format": "date-time" },
    "status": {
      "type": "string",
      "enum": ["CREATED", "AUTHORIZED", "CLOSED", "REJECTED", "EXPIRED"]
    },
    "amount": { "type": "string" },
    "currency": { "type": "string", "enum": ["AED", "SAR", "KWD"] },
    "description": { "type": "string" },
    "is_test": { "type": "boolean" },
    "buyer": {
      "type": "object",
      "required": ["name", "email", "phone"],
      "properties": {
        "name": { "type": "string" },
        "email": { "type": "string", "format": "email" },
        "phone": {
          "type": "string",
          "description": "Mobile number — formats 500000001, 0500000001, +971500000001."
        },
        "dob": { "type": "string", "format": "date" }
      }
    },
    "shipping_address": {
      "type": "object",
      "required": ["city", "address", "zip"],
      "properties": {
        "city": { "type": "string" },
        "address": { "type": "string" },
        "zip": { "type": "string" }
      }
    },
    "order": {
      "type": "object",
      "required": ["reference_id", "items"],
      "properties": {
        "reference_id": { "type": "string" },
        "items": {
          "type": "array",
          "items": { "$ref": "tabby-order-item-schema.json" }
        },
        "tax_amount": { "type": "string", "default": "0.00" },
        "shipping_amount": { "type": "string", "default": "0.00" },
        "discount_amount": { "type": "string", "default": "0.00" },
        "updated_at": { "type": "string", "format": "date-time" }
      }
    },
    "captures": {
      "type": "array",
      "description": "Read-only capture history.",
      "items": { "$ref": "tabby-capture-schema.json" }
    },
    "refunds": {
      "type": "array",
      "description": "Read-only refund history.",
      "items": { "$ref": "tabby-refund-schema.json" }
    },
    "meta": {
      "type": "object",
      "properties": {
        "order_id": { "type": "string" },
        "customer": { "type": "string" }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/tabby-payment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.