Tabby · Capability

Tabby Payments API — Refunds

Tabby Payments API — Refunds. Refund a closed Tabby BNPL payment fully or partially.

Tabby Payments API — Refunds is a Naftiko capability published by Tabby, one of 6 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/payments/{…}/refunds.

The capability includes 1 state-changing operation. Lead operation: Refund a Tabby BNPL payment (full or partial). Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Tabby, BNPL, Payments, and Refunds.

Run with Naftiko TabbyBNPLPaymentsRefunds

What You Can Do

POST
Refundpayment — Refund a Tabby payment.
/v1/payments/{id}/refunds

MCP Tools

tabby-refund-payment

Refund a Tabby BNPL payment (full or partial).

idempotent

Capability Spec

payments-refunds.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tabby Payments API — Refunds
  description: Tabby Payments API — Refunds. Refund a closed Tabby BNPL payment fully or partially.
  tags:
  - Tabby
  - BNPL
  - Payments
  - Refunds
  created: '2026-05-24'
  modified: '2026-05-24'
binds:
- namespace: env
  keys:
    TABBY_SECRET_KEY: TABBY_SECRET_KEY
capability:
  consumes:
  - type: http
    namespace: payments-refunds
    baseUri: https://api.tabby.ai
    description: Tabby Payments API — Refunds consume block.
    resources:
    - name: refunds
      path: /api/v2/payments/{id}/refunds
      operations:
      - name: refundpayment
        method: POST
        description: Tabby Refund A Payment — full or partial refund requests with optional line items.
        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: Refund payload — amount, reference_id (idempotency), optional reason and items.
          required: true
    authentication:
      type: bearer
      value: '{{env.TABBY_SECRET_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: payments-refunds-rest
    port: 8080
    description: REST adapter for Tabby Payments — Refunds.
    resources:
    - path: /v1/payments/{id}/refunds
      name: refunds
      description: REST surface for refunds.
      operations:
      - method: POST
        name: refundpayment
        description: Refund a Tabby payment.
        call: payments-refunds.refundpayment
        with:
          id: rest.path.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: payments-refunds-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tabby Payments — Refunds.
    tools:
    - name: tabby-refund-payment
      description: Refund a Tabby BNPL payment (full or partial).
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: payments-refunds.refundpayment
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.