Stripe · Capability

Stripe Customers API — Accounts

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

Run with Naftiko StripeAccounts

What You Can Do

GET
Getcustomerscustomerbankaccounts — Stripe Get Customers Customer Bank Accounts
/v1/v1/customers/{customer}/bank-accounts
POST
Postcustomerscustomerbankaccounts — Stripe Post Customers Customer Bank Accounts
/v1/v1/customers/{customer}/bank-accounts
DELETE
Deletecustomerscustomerbankaccountsid — Stripe Delete Customers Customer Bank Accounts Id
/v1/v1/customers/{customer}/bank-accounts/{id}
GET
Getcustomerscustomerbankaccountsid — Stripe Get Customers Customer Bank Accounts Id
/v1/v1/customers/{customer}/bank-accounts/{id}
POST
Postcustomerscustomerbankaccountsid — Stripe Post Customers Customer Bank Accounts Id
/v1/v1/customers/{customer}/bank-accounts/{id}
POST
Postcustomerscustomerbankaccountsidverify — Stripe Post Customers Customer Bank Accounts Id Verify
/v1/v1/customers/{customer}/bank-accounts/{id}/verify

MCP Tools

stripe-get-customers-customer-bank

Stripe Get Customers Customer Bank Accounts

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

Stripe Post Customers Customer Bank Accounts

stripe-delete-customers-customer-bank

Stripe Delete Customers Customer Bank Accounts Id

idempotent
stripe-get-customers-customer-bank-2

Stripe Get Customers Customer Bank Accounts Id

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

Stripe Post Customers Customer Bank Accounts Id

stripe-post-customers-customer-bank-3

Stripe Post Customers Customer Bank Accounts Id Verify

Capability Spec

customers-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Customers API — Accounts
  description: 'Stripe Customers API — Accounts. 6 operations. Lead operation: Stripe Get   Customers Customer Bank Accounts.
    Self-contained Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: customers-accounts
    baseUri: https://api.stripe.com
    description: Stripe Customers API — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: v1-customers-customer-bank_accounts
      path: /v1/customers/{customer}/bank_accounts
      operations:
      - name: getcustomerscustomerbankaccounts
        method: GET
        description: Stripe Get   Customers Customer Bank Accounts
        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: postcustomerscustomerbankaccounts
        method: POST
        description: Stripe Post   Customers Customer Bank Accounts
        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-bank_accounts-id
      path: /v1/customers/{customer}/bank_accounts/{id}
      operations:
      - name: deletecustomerscustomerbankaccountsid
        method: DELETE
        description: Stripe Delete   Customers Customer Bank Accounts Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: getcustomerscustomerbankaccountsid
        method: GET
        description: Stripe Get   Customers Customer Bank Accounts Id
        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: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postcustomerscustomerbankaccountsid
        method: POST
        description: Stripe Post   Customers Customer Bank Accounts Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-customers-customer-bank_accounts-id-verify
      path: /v1/customers/{customer}/bank_accounts/{id}/verify
      operations:
      - name: postcustomerscustomerbankaccountsidverify
        method: POST
        description: Stripe Post   Customers Customer Bank Accounts Id Verify
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: customer
          in: path
          type: string
          required: true
        - 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: customers-accounts-rest
    port: 8080
    description: REST adapter for Stripe Customers API — Accounts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/customers/{customer}/bank-accounts
      name: v1-customers-customer-bank-accounts
      description: REST surface for v1-customers-customer-bank_accounts.
      operations:
      - method: GET
        name: getcustomerscustomerbankaccounts
        description: Stripe Get   Customers Customer Bank Accounts
        call: customers-accounts.getcustomerscustomerbankaccounts
        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: postcustomerscustomerbankaccounts
        description: Stripe Post   Customers Customer Bank Accounts
        call: customers-accounts.postcustomerscustomerbankaccounts
        with:
          customer: rest.customer
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customers/{customer}/bank-accounts/{id}
      name: v1-customers-customer-bank-accounts-id
      description: REST surface for v1-customers-customer-bank_accounts-id.
      operations:
      - method: DELETE
        name: deletecustomerscustomerbankaccountsid
        description: Stripe Delete   Customers Customer Bank Accounts Id
        call: customers-accounts.deletecustomerscustomerbankaccountsid
        with:
          customer: rest.customer
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getcustomerscustomerbankaccountsid
        description: Stripe Get   Customers Customer Bank Accounts Id
        call: customers-accounts.getcustomerscustomerbankaccountsid
        with:
          customer: rest.customer
          expand: rest.expand
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postcustomerscustomerbankaccountsid
        description: Stripe Post   Customers Customer Bank Accounts Id
        call: customers-accounts.postcustomerscustomerbankaccountsid
        with:
          customer: rest.customer
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/customers/{customer}/bank-accounts/{id}/verify
      name: v1-customers-customer-bank-accounts-id-verify
      description: REST surface for v1-customers-customer-bank_accounts-id-verify.
      operations:
      - method: POST
        name: postcustomerscustomerbankaccountsidverify
        description: Stripe Post   Customers Customer Bank Accounts Id Verify
        call: customers-accounts.postcustomerscustomerbankaccountsidverify
        with:
          customer: rest.customer
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: customers-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Customers API — Accounts. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: stripe-get-customers-customer-bank
      description: Stripe Get   Customers Customer Bank Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customers-accounts.getcustomerscustomerbankaccounts
      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-bank
      description: Stripe Post   Customers Customer Bank Accounts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: customers-accounts.postcustomerscustomerbankaccounts
      with:
        customer: tools.customer
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-delete-customers-customer-bank
      description: Stripe Delete   Customers Customer Bank Accounts Id
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: customers-accounts.deletecustomerscustomerbankaccountsid
      with:
        customer: tools.customer
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-customers-customer-bank-2
      description: Stripe Get   Customers Customer Bank Accounts Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: customers-accounts.getcustomerscustomerbankaccountsid
      with:
        customer: tools.customer
        expand: tools.expand
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-customers-customer-bank-2
      description: Stripe Post   Customers Customer Bank Accounts Id
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: customers-accounts.postcustomerscustomerbankaccountsid
      with:
        customer: tools.customer
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-customers-customer-bank-3
      description: Stripe Post   Customers Customer Bank Accounts Id Verify
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: customers-accounts.postcustomerscustomerbankaccountsidverify
      with:
        customer: tools.customer
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.