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