Stripe · Capability

Stripe Accounts API — External

Stripe Accounts API — External. 5 operations. Lead operation: Stripe List External Accounts. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeExternal

What You Can Do

GET
Getaccountsaccountexternalaccounts — Stripe List External Accounts
/v1/v1/accounts/{account}/external-accounts
POST
Postaccountsaccountexternalaccounts — Stripe Create External Account
/v1/v1/accounts/{account}/external-accounts
DELETE
Deleteaccountsaccountexternalaccountsid — Stripe Delete External Account
/v1/v1/accounts/{account}/external-accounts/{id}
GET
Getaccountsaccountexternalaccountsid — Stripe Retrieve External Account
/v1/v1/accounts/{account}/external-accounts/{id}
POST
Postaccountsaccountexternalaccountsid — Stripe Update External Account
/v1/v1/accounts/{account}/external-accounts/{id}

MCP Tools

stripe-list-external-accounts

Stripe List External Accounts

read-only idempotent
stripe-create-external-account

Stripe Create External Account

stripe-delete-external-account

Stripe Delete External Account

idempotent
stripe-retrieve-external-account

Stripe Retrieve External Account

read-only idempotent
stripe-update-external-account

Stripe Update External Account

Capability Spec

accounts-external.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Accounts API — External
  description: 'Stripe Accounts API — External. 5 operations. Lead operation: Stripe List External Accounts. Self-contained
    Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - External
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: accounts-external
    baseUri: https://api.stripe.com
    description: Stripe Accounts API — External business capability. Self-contained, no shared references.
    resources:
    - name: v1-accounts-account-external_accounts
      path: /v1/accounts/{account}/external_accounts
      operations:
      - name: getaccountsaccountexternalaccounts
        method: GET
        description: Stripe List External Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account
          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: object
          in: query
          type: string
          description: Filter external accounts according to a particular object type.
        - 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: postaccountsaccountexternalaccounts
        method: POST
        description: Stripe Create External Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-accounts-account-external_accounts-id
      path: /v1/accounts/{account}/external_accounts/{id}
      operations:
      - name: deleteaccountsaccountexternalaccountsid
        method: DELETE
        description: Stripe Delete External Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account
          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: getaccountsaccountexternalaccountsid
        method: GET
        description: Stripe Retrieve External Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account
          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: postaccountsaccountexternalaccountsid
        method: POST
        description: Stripe Update External Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account
          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
  exposes:
  - type: rest
    namespace: accounts-external-rest
    port: 8080
    description: REST adapter for Stripe Accounts API — External. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/accounts/{account}/external-accounts
      name: v1-accounts-account-external-accounts
      description: REST surface for v1-accounts-account-external_accounts.
      operations:
      - method: GET
        name: getaccountsaccountexternalaccounts
        description: Stripe List External Accounts
        call: accounts-external.getaccountsaccountexternalaccounts
        with:
          account: rest.account
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          object: rest.object
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postaccountsaccountexternalaccounts
        description: Stripe Create External Account
        call: accounts-external.postaccountsaccountexternalaccounts
        with:
          account: rest.account
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounts/{account}/external-accounts/{id}
      name: v1-accounts-account-external-accounts-id
      description: REST surface for v1-accounts-account-external_accounts-id.
      operations:
      - method: DELETE
        name: deleteaccountsaccountexternalaccountsid
        description: Stripe Delete External Account
        call: accounts-external.deleteaccountsaccountexternalaccountsid
        with:
          account: rest.account
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getaccountsaccountexternalaccountsid
        description: Stripe Retrieve External Account
        call: accounts-external.getaccountsaccountexternalaccountsid
        with:
          account: rest.account
          expand: rest.expand
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postaccountsaccountexternalaccountsid
        description: Stripe Update External Account
        call: accounts-external.postaccountsaccountexternalaccountsid
        with:
          account: rest.account
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: accounts-external-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Accounts API — External. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: stripe-list-external-accounts
      description: Stripe List External Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: accounts-external.getaccountsaccountexternalaccounts
      with:
        account: tools.account
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        object: tools.object
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-create-external-account
      description: Stripe Create External Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: accounts-external.postaccountsaccountexternalaccounts
      with:
        account: tools.account
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-delete-external-account
      description: Stripe Delete External Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: accounts-external.deleteaccountsaccountexternalaccountsid
      with:
        account: tools.account
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-retrieve-external-account
      description: Stripe Retrieve External Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: accounts-external.getaccountsaccountexternalaccountsid
      with:
        account: tools.account
        expand: tools.expand
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-update-external-account
      description: Stripe Update External Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: accounts-external.postaccountsaccountexternalaccountsid
      with:
        account: tools.account
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.