Stripe · Capability

Stripe Accounts API — Delete

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

Run with Naftiko StripeDelete

What You Can Do

DELETE
Deleteaccountsaccount — Stripe Delete Account
/v1/v1/accounts/{account}
DELETE
Deleteaccountsaccountbankaccountsid — Stripe Delete Bank Account
/v1/v1/accounts/{account}/bank-accounts/{id}
DELETE
Deleteaccountsaccountexternalaccountsid — Stripe Delete External Account
/v1/v1/accounts/{account}/external-accounts/{id}
DELETE
Deleteaccountsaccountpeopleperson — Stripe Delete Person
/v1/v1/accounts/{account}/people/{person}
DELETE
Deleteaccountsaccountpersonsperson — Stripe Delete Person
/v1/v1/accounts/{account}/persons/{person}

MCP Tools

stripe-delete-account

Stripe Delete Account

idempotent
stripe-delete-bank-account

Stripe Delete Bank Account

idempotent
stripe-delete-external-account

Stripe Delete External Account

idempotent
stripe-delete-person

Stripe Delete Person

idempotent
stripe-delete-person-2

Stripe Delete Person

idempotent

Capability Spec

accounts-delete-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Accounts API — Delete
  description: 'Stripe Accounts API — Delete. 5 operations. Lead operation: Stripe Delete Account. Self-contained Naftiko
    capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Delete
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: accounts-delete-2
    baseUri: https://api.stripe.com
    description: Stripe Accounts API — Delete business capability. Self-contained, no shared references.
    resources:
    - name: v1-accounts-account
      path: /v1/accounts/{account}
      operations:
      - name: deleteaccountsaccount
        method: DELETE
        description: Stripe Delete 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-bank_accounts-id
      path: /v1/accounts/{account}/bank_accounts/{id}
      operations:
      - name: deleteaccountsaccountbankaccountsid
        method: DELETE
        description: Stripe Delete Bank 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: 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: v1-accounts-account-people-person
      path: /v1/accounts/{account}/people/{person}
      operations:
      - name: deleteaccountsaccountpeopleperson
        method: DELETE
        description: Stripe Delete Person
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account
          in: path
          type: string
          required: true
        - name: person
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-accounts-account-persons-person
      path: /v1/accounts/{account}/persons/{person}
      operations:
      - name: deleteaccountsaccountpersonsperson
        method: DELETE
        description: Stripe Delete Person
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account
          in: path
          type: string
          required: true
        - name: person
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: accounts-delete-2-rest
    port: 8080
    description: REST adapter for Stripe Accounts API — Delete. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/accounts/{account}
      name: v1-accounts-account
      description: REST surface for v1-accounts-account.
      operations:
      - method: DELETE
        name: deleteaccountsaccount
        description: Stripe Delete Account
        call: accounts-delete-2.deleteaccountsaccount
        with:
          account: rest.account
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounts/{account}/bank-accounts/{id}
      name: v1-accounts-account-bank-accounts-id
      description: REST surface for v1-accounts-account-bank_accounts-id.
      operations:
      - method: DELETE
        name: deleteaccountsaccountbankaccountsid
        description: Stripe Delete Bank Account
        call: accounts-delete-2.deleteaccountsaccountbankaccountsid
        with:
          account: rest.account
          id: rest.id
          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-delete-2.deleteaccountsaccountexternalaccountsid
        with:
          account: rest.account
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounts/{account}/people/{person}
      name: v1-accounts-account-people-person
      description: REST surface for v1-accounts-account-people-person.
      operations:
      - method: DELETE
        name: deleteaccountsaccountpeopleperson
        description: Stripe Delete Person
        call: accounts-delete-2.deleteaccountsaccountpeopleperson
        with:
          account: rest.account
          person: rest.person
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/accounts/{account}/persons/{person}
      name: v1-accounts-account-persons-person
      description: REST surface for v1-accounts-account-persons-person.
      operations:
      - method: DELETE
        name: deleteaccountsaccountpersonsperson
        description: Stripe Delete Person
        call: accounts-delete-2.deleteaccountsaccountpersonsperson
        with:
          account: rest.account
          person: rest.person
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: accounts-delete-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Accounts API — Delete. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: stripe-delete-account
      description: Stripe Delete Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: accounts-delete-2.deleteaccountsaccount
      with:
        account: tools.account
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-delete-bank-account
      description: Stripe Delete Bank Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: accounts-delete-2.deleteaccountsaccountbankaccountsid
      with:
        account: tools.account
        id: tools.id
        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-delete-2.deleteaccountsaccountexternalaccountsid
      with:
        account: tools.account
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-delete-person
      description: Stripe Delete Person
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: accounts-delete-2.deleteaccountsaccountpeopleperson
      with:
        account: tools.account
        person: tools.person
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-delete-person-2
      description: Stripe Delete Person
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: accounts-delete-2.deleteaccountsaccountpersonsperson
      with:
        account: tools.account
        person: tools.person
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.