naftiko: 1.0.0-alpha2 info: label: Stripe Customers API — Cash description: 'Stripe Customers API — Cash. 4 operations. Lead operation: Stripe Get Customers Customer Cash Balance. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Cash created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: customers-cash baseUri: https://api.stripe.com description: Stripe Customers API — Cash business capability. Self-contained, no shared references. resources: - name: v1-customers-customer-cash_balance path: /v1/customers/{customer}/cash_balance operations: - name: getcustomerscustomercashbalance method: GET description: Stripe Get Customers Customer Cash Balance 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: body in: body type: object description: Request body (JSON). required: false - name: postcustomerscustomercashbalance method: POST description: Stripe Post Customers Customer Cash Balance 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: 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-cash-rest port: 8080 description: REST adapter for Stripe Customers API — Cash. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/customers/{customer}/cash-balance name: v1-customers-customer-cash-balance description: REST surface for v1-customers-customer-cash_balance. operations: - method: GET name: getcustomerscustomercashbalance description: Stripe Get Customers Customer Cash Balance call: customers-cash.getcustomerscustomercashbalance with: customer: rest.customer expand: rest.expand body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postcustomerscustomercashbalance description: Stripe Post Customers Customer Cash Balance call: customers-cash.postcustomerscustomercashbalance with: customer: rest.customer 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-cash.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-cash.getcustomerscustomercashbalancetransactionstransaction with: customer: rest.customer expand: rest.expand transaction: rest.transaction body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: customers-cash-mcp port: 9090 transport: http description: MCP adapter for Stripe Customers API — Cash. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: stripe-get-customers-customer-cash description: Stripe Get Customers Customer Cash Balance hints: readOnly: true destructive: false idempotent: true call: customers-cash.getcustomerscustomercashbalance with: customer: tools.customer expand: tools.expand body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-cash description: Stripe Post Customers Customer Cash Balance hints: readOnly: false destructive: false idempotent: false call: customers-cash.postcustomerscustomercashbalance with: customer: tools.customer body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-customers-customer-cash-2 description: Stripe Get Customers Customer Cash Balance Transactions hints: readOnly: true destructive: false idempotent: true call: customers-cash.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-3 description: Stripe Get Customers Customer Cash Balance Transactions Transaction hints: readOnly: true destructive: false idempotent: true call: customers-cash.getcustomerscustomercashbalancetransactionstransaction with: customer: tools.customer expand: tools.expand transaction: tools.transaction body: tools.body outputParameters: - type: object mapping: $.