Tabby · Schema

TabbyCapture

Tabby capture entry created by POST /api/v2/payments/{id}/captures.

BNPLBuy Now Pay LaterConsumer FinanceE-commerceFintechInstallmentsMENAPaymentsSaudi ArabiaUAE

Properties

Name Type Description
id string
created_at string
amount string
reference_id string Idempotency key — repeating the same value is a no-op.
tax_amount string
shipping_amount string
discount_amount string
items array
View JSON Schema on GitHub

JSON Schema

tabby-capture-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tabby/main/json-schema/tabby-capture-schema.json",
  "title": "TabbyCapture",
  "description": "Tabby capture entry created by POST /api/v2/payments/{id}/captures.",
  "type": "object",
  "required": ["amount", "reference_id"],
  "properties": {
    "id": { "type": "string", "format": "uuid" },
    "created_at": { "type": "string", "format": "date-time" },
    "amount": { "type": "string" },
    "reference_id": {
      "type": "string",
      "description": "Idempotency key — repeating the same value is a no-op."
    },
    "tax_amount": { "type": "string", "default": "0.00" },
    "shipping_amount": { "type": "string", "default": "0.00" },
    "discount_amount": { "type": "string", "default": "0.00" },
    "items": {
      "type": "array",
      "items": { "$ref": "tabby-order-item-schema.json" }
    }
  }
}