Stripe · Capability

Stripe Link API — Linked Accounts

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

Run with Naftiko StripeLinked Accounts

What You Can Do

GET
Getlinkedaccounts

Returns a list of Financial Connections Account objects.

/v1/v1/linked-accounts
GET
Getlinkedaccountsaccount

Retrieves the details of an Financial Connections Account.

/v1/v1/linked-accounts/{account}
POST
Postlinkedaccountsaccountdisconnect

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

/v1/v1/linked-accounts/{account}/disconnect
GET
Getlinkedaccountsaccountowners

Lists all owners for a given Account

/v1/v1/linked-accounts/{account}/owners
POST
Postlinkedaccountsaccountrefresh

Refreshes the data associated with a Financial Connections Account.

/v1/v1/linked-accounts/{account}/refresh

MCP Tools

p-returns-list-financial-connections-code-account

Returns a list of Financial Connections Account objects.

read-only idempotent
p-retrieves-details-financial-connections-code-account

Retrieves the details of an Financial Connections Account.

read-only idempotent
p-disables-your-access-financial-connections

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

p-lists-all-owners-given-code-account

Lists all owners for a given Account

read-only idempotent
p-refreshes-data-associated-financial-connections

Refreshes the data associated with a Financial Connections Account.

Capability Spec

link-linked-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Link API — Linked Accounts
  description: 'Stripe Link API — Linked Accounts. 5 operations. Lead operation: Linked Accounts. Self-contained Naftiko capability
    covering one Stripe business surface.'
  tags:
  - Stripe
  - Linked Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: link-linked-accounts
    baseUri: https://api.stripe.com
    description: Stripe Link API — Linked Accounts business capability. Self-contained, no shared references.
    resources:
    - name: v1-linked_accounts
      path: /v1/linked_accounts
      operations:
      - name: getlinkedaccounts
        method: GET
        description: <p>Returns a list of Financial Connections <code>Account</code> objects.</p>
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_holder
          in: query
          type: object
          description: If present, only return accounts that belong to the specified account holder. `account_holder[customer]`
            and `account_holder[account]` are mutually exclusive.
        - 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: session
          in: query
          type: string
          description: If present, only return accounts that were collected as part of the given session.
        - 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-linked_accounts-account
      path: /v1/linked_accounts/{account}
      operations:
      - name: getlinkedaccountsaccount
        method: GET
        description: <p>Retrieves the details of an Financial Connections <code>Account</code>.</p>
        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: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-linked_accounts-account-disconnect
      path: /v1/linked_accounts/{account}/disconnect
      operations:
      - name: postlinkedaccountsaccountdisconnect
        method: POST
        description: <p>Disables your access to a Financial Connections <code>Account</code>. You will no longer be able to
          access data associated with the account (e.g. balances, transactions).</p>
        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-linked_accounts-account-owners
      path: /v1/linked_accounts/{account}/owners
      operations:
      - name: getlinkedaccountsaccountowners
        method: GET
        description: <p>Lists all owners for a given <code>Account</code></p>
        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: ownership
          in: query
          type: string
          description: The ID of the ownership object to fetch owners from.
          required: true
        - 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-linked_accounts-account-refresh
      path: /v1/linked_accounts/{account}/refresh
      operations:
      - name: postlinkedaccountsaccountrefresh
        method: POST
        description: <p>Refreshes the data associated with a Financial Connections <code>Account</code>.</p>
        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: true
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: link-linked-accounts-rest
    port: 8080
    description: REST adapter for Stripe Link API — Linked Accounts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/linked-accounts
      name: v1-linked-accounts
      description: REST surface for v1-linked_accounts.
      operations:
      - method: GET
        name: getlinkedaccounts
        description: <p>Returns a list of Financial Connections <code>Account</code> objects.</p>
        call: link-linked-accounts.getlinkedaccounts
        with:
          account_holder: rest.account_holder
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          session: rest.session
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/linked-accounts/{account}
      name: v1-linked-accounts-account
      description: REST surface for v1-linked_accounts-account.
      operations:
      - method: GET
        name: getlinkedaccountsaccount
        description: <p>Retrieves the details of an Financial Connections <code>Account</code>.</p>
        call: link-linked-accounts.getlinkedaccountsaccount
        with:
          account: rest.account
          expand: rest.expand
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/linked-accounts/{account}/disconnect
      name: v1-linked-accounts-account-disconnect
      description: REST surface for v1-linked_accounts-account-disconnect.
      operations:
      - method: POST
        name: postlinkedaccountsaccountdisconnect
        description: <p>Disables your access to a Financial Connections <code>Account</code>. You will no longer be able to
          access data associated with the account (e.g. balances, transactions).</p>
        call: link-linked-accounts.postlinkedaccountsaccountdisconnect
        with:
          account: rest.account
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/linked-accounts/{account}/owners
      name: v1-linked-accounts-account-owners
      description: REST surface for v1-linked_accounts-account-owners.
      operations:
      - method: GET
        name: getlinkedaccountsaccountowners
        description: <p>Lists all owners for a given <code>Account</code></p>
        call: link-linked-accounts.getlinkedaccountsaccountowners
        with:
          account: rest.account
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          ownership: rest.ownership
          starting_after: rest.starting_after
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/linked-accounts/{account}/refresh
      name: v1-linked-accounts-account-refresh
      description: REST surface for v1-linked_accounts-account-refresh.
      operations:
      - method: POST
        name: postlinkedaccountsaccountrefresh
        description: <p>Refreshes the data associated with a Financial Connections <code>Account</code>.</p>
        call: link-linked-accounts.postlinkedaccountsaccountrefresh
        with:
          account: rest.account
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: link-linked-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Link API — Linked Accounts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: p-returns-list-financial-connections-code-account
      description: <p>Returns a list of Financial Connections <code>Account</code> objects.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: link-linked-accounts.getlinkedaccounts
      with:
        account_holder: tools.account_holder
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        session: tools.session
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-retrieves-details-financial-connections-code-account
      description: <p>Retrieves the details of an Financial Connections <code>Account</code>.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: link-linked-accounts.getlinkedaccountsaccount
      with:
        account: tools.account
        expand: tools.expand
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-disables-your-access-financial-connections
      description: <p>Disables your access to a Financial Connections <code>Account</code>. You will no longer be able to
        access data associated with the account (e.g. balances, transactions).</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: link-linked-accounts.postlinkedaccountsaccountdisconnect
      with:
        account: tools.account
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-lists-all-owners-given-code-account
      description: <p>Lists all owners for a given <code>Account</code></p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: link-linked-accounts.getlinkedaccountsaccountowners
      with:
        account: tools.account
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        ownership: tools.ownership
        starting_after: tools.starting_after
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-refreshes-data-associated-financial-connections
      description: <p>Refreshes the data associated with a Financial Connections <code>Account</code>.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: link-linked-accounts.postlinkedaccountsaccountrefresh
      with:
        account: tools.account
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.