naftiko: 1.0.0-alpha2 info: label: Stripe Customers API — Transaction description: 'Stripe Customers API — Transaction. 3 operations. Lead operation: Stripe Get Customers Customer Balance Transactions Transaction. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Transaction created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: customers-transaction baseUri: https://api.stripe.com description: Stripe Customers API — Transaction business capability. Self-contained, no shared references. resources: - 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-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-transaction-rest port: 8080 description: REST adapter for Stripe Customers API — Transaction. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - 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-transaction.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-transaction.postcustomerscustomerbalancetransactionstransaction with: customer: rest.customer transaction: rest.transaction 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-transaction.getcustomerscustomercashbalancetransactionstransaction with: customer: rest.customer expand: rest.expand transaction: rest.transaction body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: customers-transaction-mcp port: 9090 transport: http description: MCP adapter for Stripe Customers API — Transaction. 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 Transaction hints: readOnly: true destructive: false idempotent: true call: customers-transaction.getcustomerscustomerbalancetransactionstransaction with: customer: tools.customer expand: tools.expand transaction: tools.transaction body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-balance description: Stripe Post Customers Customer Balance Transactions Transaction hints: readOnly: false destructive: false idempotent: false call: customers-transaction.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 Transaction hints: readOnly: true destructive: false idempotent: true call: customers-transaction.getcustomerscustomercashbalancetransactionstransaction with: customer: tools.customer expand: tools.expand transaction: tools.transaction body: tools.body outputParameters: - type: object mapping: $.