naftiko: 1.0.0-alpha2 info: label: Stripe Accounts API — Person description: 'Stripe Accounts API — Person. 8 operations. Lead operation: Stripe Create Person. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Person created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: accounts-person baseUri: https://api.stripe.com description: Stripe Accounts API — Person business capability. Self-contained, no shared references. resources: - name: v1-accounts-account-people path: /v1/accounts/{account}/people operations: - name: postaccountsaccountpeople method: POST description: Stripe Create Person 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-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: 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: postaccountsaccountpeopleperson method: POST description: Stripe Update 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 path: /v1/accounts/{account}/persons operations: - name: postaccountsaccountpersons method: POST description: Stripe Create Person 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-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 - 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 - name: postaccountsaccountpersonsperson method: POST description: Stripe Update 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-person-rest port: 8080 description: REST adapter for Stripe Accounts API — Person. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/accounts/{account}/people name: v1-accounts-account-people description: REST surface for v1-accounts-account-people. operations: - method: POST name: postaccountsaccountpeople description: Stripe Create Person call: accounts-person.postaccountsaccountpeople with: account: rest.account 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-person.deleteaccountsaccountpeopleperson with: account: rest.account person: rest.person body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getaccountsaccountpeopleperson description: Stripe Retrieve Person call: accounts-person.getaccountsaccountpeopleperson with: account: rest.account expand: rest.expand person: rest.person body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postaccountsaccountpeopleperson description: Stripe Update Person call: accounts-person.postaccountsaccountpeopleperson with: account: rest.account person: rest.person body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/accounts/{account}/persons name: v1-accounts-account-persons description: REST surface for v1-accounts-account-persons. operations: - method: POST name: postaccountsaccountpersons description: Stripe Create Person call: accounts-person.postaccountsaccountpersons with: account: rest.account 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-person.deleteaccountsaccountpersonsperson with: account: rest.account person: rest.person body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getaccountsaccountpersonsperson description: Stripe Retrieve Person call: accounts-person.getaccountsaccountpersonsperson with: account: rest.account expand: rest.expand person: rest.person body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postaccountsaccountpersonsperson description: Stripe Update Person call: accounts-person.postaccountsaccountpersonsperson with: account: rest.account person: rest.person body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: accounts-person-mcp port: 9090 transport: http description: MCP adapter for Stripe Accounts API — Person. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: stripe-create-person description: Stripe Create Person hints: readOnly: false destructive: false idempotent: false call: accounts-person.postaccountsaccountpeople with: account: tools.account body: tools.body outputParameters: - type: object mapping: $. - name: stripe-delete-person description: Stripe Delete Person hints: readOnly: false destructive: true idempotent: true call: accounts-person.deleteaccountsaccountpeopleperson with: account: tools.account person: tools.person body: tools.body outputParameters: - type: object mapping: $. - name: stripe-retrieve-person description: Stripe Retrieve Person hints: readOnly: true destructive: false idempotent: true call: accounts-person.getaccountsaccountpeopleperson with: account: tools.account expand: tools.expand person: tools.person body: tools.body outputParameters: - type: object mapping: $. - name: stripe-update-person description: Stripe Update Person hints: readOnly: false destructive: false idempotent: false call: accounts-person.postaccountsaccountpeopleperson with: account: tools.account person: tools.person body: tools.body outputParameters: - type: object mapping: $. - name: stripe-create-person-2 description: Stripe Create Person hints: readOnly: false destructive: false idempotent: false call: accounts-person.postaccountsaccountpersons with: account: tools.account 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-person.deleteaccountsaccountpersonsperson with: account: tools.account 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-person.getaccountsaccountpersonsperson with: account: tools.account expand: tools.expand person: tools.person body: tools.body outputParameters: - type: object mapping: $. - name: stripe-update-person-2 description: Stripe Update Person hints: readOnly: false destructive: false idempotent: false call: accounts-person.postaccountsaccountpersonsperson with: account: tools.account person: tools.person body: tools.body outputParameters: - type: object mapping: $.