Stripe · Capability

Stripe Balance API — Identifiers

Stripe Balance API — Identifiers. 2 operations. Lead operation: Stripe Get Balance History Id. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeIdentifiers

What You Can Do

GET
Getbalancehistoryid — Stripe Get Balance History Id
/v1/v1/balance/history/{id}
GET
Getbalancetransactionsid — Stripe Get Balance Transactions Id
/v1/v1/balance-transactions/{id}

MCP Tools

stripe-get-balance-history-id

Stripe Get Balance History Id

read-only idempotent
stripe-get-balance-transactions-id

Stripe Get Balance Transactions Id

read-only idempotent

Capability Spec

balance-identifiers.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Balance API — Identifiers
  description: 'Stripe Balance API — Identifiers. 2 operations. Lead operation: Stripe Get   Balance History Id. Self-contained
    Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Identifiers
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: balance-identifiers
    baseUri: https://api.stripe.com
    description: Stripe Balance API — Identifiers business capability. Self-contained, no shared references.
    resources:
    - name: v1-balance-history-id
      path: /v1/balance/history/{id}
      operations:
      - name: getbalancehistoryid
        method: GET
        description: Stripe Get   Balance History Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-balance_transactions-id
      path: /v1/balance_transactions/{id}
      operations:
      - name: getbalancetransactionsid
        method: GET
        description: Stripe Get   Balance Transactions Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: id
          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: balance-identifiers-rest
    port: 8080
    description: REST adapter for Stripe Balance API — Identifiers. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/balance/history/{id}
      name: v1-balance-history-id
      description: REST surface for v1-balance-history-id.
      operations:
      - method: GET
        name: getbalancehistoryid
        description: Stripe Get   Balance History Id
        call: balance-identifiers.getbalancehistoryid
        with:
          expand: rest.expand
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/balance-transactions/{id}
      name: v1-balance-transactions-id
      description: REST surface for v1-balance_transactions-id.
      operations:
      - method: GET
        name: getbalancetransactionsid
        description: Stripe Get   Balance Transactions Id
        call: balance-identifiers.getbalancetransactionsid
        with:
          expand: rest.expand
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: balance-identifiers-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Balance API — Identifiers. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: stripe-get-balance-history-id
      description: Stripe Get   Balance History Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: balance-identifiers.getbalancehistoryid
      with:
        expand: tools.expand
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-balance-transactions-id
      description: Stripe Get   Balance Transactions Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: balance-identifiers.getbalancetransactionsid
      with:
        expand: tools.expand
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.