naftiko: 1.0.0-alpha2 info: label: Tabby Payments API — Captures description: Tabby Payments API — Captures. Capture authorized funds (full or partial) for a BNPL payment. tags: - Tabby - BNPL - Payments - Captures created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: TABBY_SECRET_KEY: TABBY_SECRET_KEY capability: consumes: - type: http namespace: payments-captures baseUri: https://api.tabby.ai description: Tabby Payments API — Captures consume block. resources: - name: captures path: /api/v2/payments/{id}/captures operations: - name: capturepayment method: POST description: Tabby Capture A Payment — works for authorized payments only. Supports partial captures. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Payment UUID. required: true - name: body in: body type: object description: Capture payload — amount, reference_id (idempotency), optional tax/shipping/discount/items. required: true authentication: type: bearer value: '{{env.TABBY_SECRET_KEY}}' placement: header exposes: - type: rest namespace: payments-captures-rest port: 8080 description: REST adapter for Tabby Payments — Captures. resources: - path: /v1/payments/{id}/captures name: captures description: REST surface for capturing payments. operations: - method: POST name: capturepayment description: Capture a Tabby payment. call: payments-captures.capturepayment with: id: rest.path.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: payments-captures-mcp port: 9090 transport: http description: MCP adapter for Tabby Payments — Captures. tools: - name: tabby-capture-payment description: Capture an authorized Tabby BNPL payment (full or partial). hints: readOnly: false destructive: false idempotent: true call: payments-captures.capturepayment with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.