Stripe · Capability

Stripe Customers API — Transactions

Stripe Customers API — Transactions. 6 operations. Lead operation: Stripe Get Customers Customer Balance Transactions. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeTransactions

What You Can Do

GET
Getcustomerscustomerbalancetransactions — Stripe Get Customers Customer Balance Transactions
/v1/v1/customers/{customer}/balance-transactions
POST
Postcustomerscustomerbalancetransactions — Stripe Post Customers Customer Balance Transactions
/v1/v1/customers/{customer}/balance-transactions
GET
Getcustomerscustomerbalancetransactionstransaction — Stripe Get Customers Customer Balance Transactions Transaction
/v1/v1/customers/{customer}/balance-transactions/{transaction}
POST
Postcustomerscustomerbalancetransactionstransaction — Stripe Post Customers Customer Balance Transactions Transaction
/v1/v1/customers/{customer}/balance-transactions/{transaction}
GET
Getcustomerscustomercashbalancetransactions — Stripe Get Customers Customer Cash Balance Transactions
/v1/v1/customers/{customer}/cash-balance-transactions
GET
Getcustomerscustomercashbalancetransactionstransaction — Stripe Get Customers Customer Cash Balance Transactions Transaction
/v1/v1/customers/{customer}/cash-balance-transactions/{transaction}

MCP Tools

stripe-get-customers-customer-balance

Stripe Get Customers Customer Balance Transactions

read-only idempotent
stripe-post-customers-customer-balance

Stripe Post Customers Customer Balance Transactions

stripe-get-customers-customer-balance-2

Stripe Get Customers Customer Balance Transactions Transaction

read-only idempotent
stripe-post-customers-customer-balance-2

Stripe Post Customers Customer Balance Transactions Transaction

stripe-get-customers-customer-cash

Stripe Get Customers Customer Cash Balance Transactions

read-only idempotent
stripe-get-customers-customer-cash-2

Stripe Get Customers Customer Cash Balance Transactions Transaction

read-only idempotent

Capability Spec

customers-transactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Customers API — Transactions
  description: 'Stripe Customers API — Transactions. 6 operations. Lead operation: Stripe Get   Customers Customer Balance
    Transactions. Self-contained Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Transactions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: customers-transactions
    baseUri: https://api.stripe.com
    description: Stripe Customers API — Transactions business capability. Self-contained, no shared references.
    resources:
    - name: v1-customers-customer-balance_transactions
      path: /v1/customers/{customer}/balance_transactions
      operations:
      - name: getcustomerscustomerbalancetransactions
        method: GET
        description: Stripe Get   Customers Customer Balance Transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: ending_before
          in: query
          type: string
          description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 ob
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: limit
          in: query
          type: integer
          description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default
            is 10.
        - name: starting_after
          in: query
          type: string
          description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 o
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postcustomerscustomerbalancetransactions
        method: POST
        description: Stripe Post   Customers Customer Balance Transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-customers-customer-balance_transactions-transaction
      path: /v1/customers/{customer}/balance_transactions/{transaction}
      operations:
      - name: getcustomerscustomerbalancetransactionstransaction
        method: GET
        description: Stripe Get   Customers Customer Balance Transactions Transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: transaction
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postcustomerscustomerbalancetransactionstransaction
        method: POST
        description: Stripe Post   Customers Customer Balance Transactions Transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: transaction
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-customers-customer-cash_balance_transactions
      path: /v1/customers/{customer}/cash_balance_transactions
      operations:
      - name: getcustomerscustomercashbalancetransactions
        method: GET
        description: Stripe Get   Customers Customer Cash Balance Transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: ending_before
          in: query
          type: string
          description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 ob
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: limit
          in: query
          type: integer
          description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default
            is 10.
        - name: starting_after
          in: query
          type: string
          description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 o
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-customers-customer-cash_balance_transactions-transaction
      path: /v1/customers/{customer}/cash_balance_transactions/{transaction}
      operations:
      - name: getcustomerscustomercashbalancetransactionstransaction
        method: GET
        description: Stripe Get   Customers Customer Cash Balance Transactions Transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: transaction
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: customers-transactions-rest
    port: 8080
    description: REST adapter for Stripe Customers API — Transactions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/customers/{customer}/balance-transactions
      name: v1-customers-customer-balance-transactions
      description: REST surface for v1-customers-customer-balance_transactions.
      operations:
      - method: GET
        name: getcustomerscustomerbalancetransactions
        description: Stripe Get   Customers Customer Balance Transactions
        call: customers-transactions.getcustomerscustomerbalancetransactions
        with:
          customer: rest.customer
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcustomerscustomerbalancetransactions
        description: Stripe Post   Customers Customer Balance Transactions
        call: customers-transactions.postcustomerscustomerbalancetransactions
        with:
          customer: rest.customer
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customers/{customer}/balance-transactions/{transaction}
      name: v1-customers-customer-balance-transactions-transaction
      description: REST surface for v1-customers-customer-balance_transactions-transaction.
      operations:
      - method: GET
        name: getcustomerscustomerbalancetransactionstransaction
        description: Stripe Get   Customers Customer Balance Transactions Transaction
        call: customers-transactions.getcustomerscustomerbalancetransactionstransaction
        with:
          customer: rest.customer
          expand: rest.expand
          transaction: rest.transaction
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcustomerscustomerbalancetransactionstransaction
        description: Stripe Post   Customers Customer Balance Transactions Transaction
        call: customers-transactions.postcustomerscustomerbalancetransactionstransaction
        with:
          customer: rest.customer
          transaction: rest.transaction
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customers/{customer}/cash-balance-transactions
      name: v1-customers-customer-cash-balance-transactions
      description: REST surface for v1-customers-customer-cash_balance_transactions.
      operations:
      - method: GET
        name: getcustomerscustomercashbalancetransactions
        description: Stripe Get   Customers Customer Cash Balance Transactions
        call: customers-transactions.getcustomerscustomercashbalancetransactions
        with:
          customer: rest.customer
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customers/{customer}/cash-balance-transactions/{transaction}
      name: v1-customers-customer-cash-balance-transactions-transaction
      description: REST surface for v1-customers-customer-cash_balance_transactions-transaction.
      operations:
      - method: GET
        name: getcustomerscustomercashbalancetransactionstransaction
        description: Stripe Get   Customers Customer Cash Balance Transactions Transaction
        call: customers-transactions.getcustomerscustomercashbalancetransactionstransaction
        with:
          customer: rest.customer
          expand: rest.expand
          transaction: rest.transaction
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: customers-transactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Customers API — Transactions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: stripe-get-customers-customer-balance
      description: Stripe Get   Customers Customer Balance Transactions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customers-transactions.getcustomerscustomerbalancetransactions
      with:
        customer: tools.customer
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-customers-customer-balance
      description: Stripe Post   Customers Customer Balance Transactions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: customers-transactions.postcustomerscustomerbalancetransactions
      with:
        customer: tools.customer
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-customers-customer-balance-2
      description: Stripe Get   Customers Customer Balance Transactions Transaction
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customers-transactions.getcustomerscustomerbalancetransactionstransaction
      with:
        customer: tools.customer
        expand: tools.expand
        transaction: tools.transaction
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-customers-customer-balance-2
      description: Stripe Post   Customers Customer Balance Transactions Transaction
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: customers-transactions.postcustomerscustomerbalancetransactionstransaction
      with:
        customer: tools.customer
        transaction: tools.transaction
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-customers-customer-cash
      description: Stripe Get   Customers Customer Cash Balance Transactions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customers-transactions.getcustomerscustomercashbalancetransactions
      with:
        customer: tools.customer
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-customers-customer-cash-2
      description: Stripe Get   Customers Customer Cash Balance Transactions Transaction
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customers-transactions.getcustomerscustomercashbalancetransactionstransaction
      with:
        customer: tools.customer
        expand: tools.expand
        transaction: tools.transaction
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.