naftiko: 1.0.0-alpha2 info: label: Stripe Customers API — Identifiers description: 'Stripe Customers API — Identifiers. 18 operations. Lead operation: Stripe Delete Customers Customer Bank Accounts Id. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Identifiers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: customers-identifiers baseUri: https://api.stripe.com description: Stripe Customers API — Identifiers business capability. Self-contained, no shared references. resources: - name: v1-customers-customer-bank_accounts-id path: /v1/customers/{customer}/bank_accounts/{id} operations: - name: deletecustomerscustomerbankaccountsid method: DELETE description: Stripe Delete Customers Customer Bank Accounts Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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: getcustomerscustomerbankaccountsid method: GET description: Stripe Get Customers Customer Bank Accounts Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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: postcustomerscustomerbankaccountsid method: POST description: Stripe Post Customers Customer Bank Accounts Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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-customers-customer-bank_accounts-id-verify path: /v1/customers/{customer}/bank_accounts/{id}/verify operations: - name: postcustomerscustomerbankaccountsidverify method: POST description: Stripe Post Customers Customer Bank Accounts Id Verify outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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-customers-customer-cards-id path: /v1/customers/{customer}/cards/{id} operations: - name: deletecustomerscustomercardsid method: DELETE description: Stripe Delete Customers Customer Cards Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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: getcustomerscustomercardsid method: GET description: Stripe Get Customers Customer Cards Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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: postcustomerscustomercardsid method: POST description: Stripe Post Customers Customer Cards Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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-customers-customer-sources-id path: /v1/customers/{customer}/sources/{id} operations: - name: deletecustomerscustomersourcesid method: DELETE description: Stripe Delete Customers Customer Sources Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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: getcustomerscustomersourcesid method: GET description: Stripe Get Customers Customer Sources Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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: postcustomerscustomersourcesid method: POST description: Stripe Post Customers Customer Sources Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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-customers-customer-sources-id-verify path: /v1/customers/{customer}/sources/{id}/verify operations: - name: postcustomerscustomersourcesidverify method: POST description: Stripe Post Customers Customer Sources Id Verify outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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-customers-customer-subscriptions-subscription_exposed_id path: /v1/customers/{customer}/subscriptions/{subscription_exposed_id} operations: - name: deletecustomerscustomersubscriptionssubscriptionexposedid method: DELETE description: Stripe Delete Customers Customer Subscriptions Subscription Exposed Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer in: path type: string required: true - name: subscription_exposed_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: getcustomerscustomersubscriptionssubscriptionexposedid method: GET description: Stripe Get Customers Customer Subscriptions Subscription Exposed Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer in: path type: string required: true - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: subscription_exposed_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: postcustomerscustomersubscriptionssubscriptionexposedid method: POST description: Stripe Post Customers Customer Subscriptions Subscription Exposed Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer in: path type: string required: true - name: subscription_exposed_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-customers-customer-subscriptions-subscription_exposed_id-discount path: /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount operations: - name: deletecustomerscustomersubscriptionssubscriptionexposediddiscount method: DELETE description: Stripe Delete Customers Customer Subscriptions Subscription Exposed Id Discount outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer in: path type: string required: true - name: subscription_exposed_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: getcustomerscustomersubscriptionssubscriptionexposediddiscount method: GET description: Stripe Get Customers Customer Subscriptions Subscription Exposed Id Discount outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer in: path type: string required: true - name: expand in: query type: array description: Specifies which fields in the response should be expanded. - name: subscription_exposed_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-customers-customer-tax_ids-id path: /v1/customers/{customer}/tax_ids/{id} operations: - name: deletecustomerscustomertaxidsid method: DELETE description: Stripe Delete Customers Customer Tax Ids Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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: getcustomerscustomertaxidsid method: GET description: Stripe Get Customers Customer Tax Ids Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: customer 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 authentication: type: bearer token: '{{env.STRIPE_API_KEY}}' exposes: - type: rest namespace: customers-identifiers-rest port: 8080 description: REST adapter for Stripe Customers API — Identifiers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/customers/{customer}/bank-accounts/{id} name: v1-customers-customer-bank-accounts-id description: REST surface for v1-customers-customer-bank_accounts-id. operations: - method: DELETE name: deletecustomerscustomerbankaccountsid description: Stripe Delete Customers Customer Bank Accounts Id call: customers-identifiers.deletecustomerscustomerbankaccountsid with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getcustomerscustomerbankaccountsid description: Stripe Get Customers Customer Bank Accounts Id call: customers-identifiers.getcustomerscustomerbankaccountsid with: customer: rest.customer expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postcustomerscustomerbankaccountsid description: Stripe Post Customers Customer Bank Accounts Id call: customers-identifiers.postcustomerscustomerbankaccountsid with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/customers/{customer}/bank-accounts/{id}/verify name: v1-customers-customer-bank-accounts-id-verify description: REST surface for v1-customers-customer-bank_accounts-id-verify. operations: - method: POST name: postcustomerscustomerbankaccountsidverify description: Stripe Post Customers Customer Bank Accounts Id Verify call: customers-identifiers.postcustomerscustomerbankaccountsidverify with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/customers/{customer}/cards/{id} name: v1-customers-customer-cards-id description: REST surface for v1-customers-customer-cards-id. operations: - method: DELETE name: deletecustomerscustomercardsid description: Stripe Delete Customers Customer Cards Id call: customers-identifiers.deletecustomerscustomercardsid with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getcustomerscustomercardsid description: Stripe Get Customers Customer Cards Id call: customers-identifiers.getcustomerscustomercardsid with: customer: rest.customer expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postcustomerscustomercardsid description: Stripe Post Customers Customer Cards Id call: customers-identifiers.postcustomerscustomercardsid with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/customers/{customer}/sources/{id} name: v1-customers-customer-sources-id description: REST surface for v1-customers-customer-sources-id. operations: - method: DELETE name: deletecustomerscustomersourcesid description: Stripe Delete Customers Customer Sources Id call: customers-identifiers.deletecustomerscustomersourcesid with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getcustomerscustomersourcesid description: Stripe Get Customers Customer Sources Id call: customers-identifiers.getcustomerscustomersourcesid with: customer: rest.customer expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postcustomerscustomersourcesid description: Stripe Post Customers Customer Sources Id call: customers-identifiers.postcustomerscustomersourcesid with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/customers/{customer}/sources/{id}/verify name: v1-customers-customer-sources-id-verify description: REST surface for v1-customers-customer-sources-id-verify. operations: - method: POST name: postcustomerscustomersourcesidverify description: Stripe Post Customers Customer Sources Id Verify call: customers-identifiers.postcustomerscustomersourcesidverify with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/customers/{customer}/subscriptions/{subscription-exposed-id} name: v1-customers-customer-subscriptions-subscription-exposed-id description: REST surface for v1-customers-customer-subscriptions-subscription_exposed_id. operations: - method: DELETE name: deletecustomerscustomersubscriptionssubscriptionexposedid description: Stripe Delete Customers Customer Subscriptions Subscription Exposed Id call: customers-identifiers.deletecustomerscustomersubscriptionssubscriptionexposedid with: customer: rest.customer subscription_exposed_id: rest.subscription_exposed_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getcustomerscustomersubscriptionssubscriptionexposedid description: Stripe Get Customers Customer Subscriptions Subscription Exposed Id call: customers-identifiers.getcustomerscustomersubscriptionssubscriptionexposedid with: customer: rest.customer expand: rest.expand subscription_exposed_id: rest.subscription_exposed_id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: postcustomerscustomersubscriptionssubscriptionexposedid description: Stripe Post Customers Customer Subscriptions Subscription Exposed Id call: customers-identifiers.postcustomerscustomersubscriptionssubscriptionexposedid with: customer: rest.customer subscription_exposed_id: rest.subscription_exposed_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/customers/{customer}/subscriptions/{subscription-exposed-id}/discount name: v1-customers-customer-subscriptions-subscription-exposed-id-discount description: REST surface for v1-customers-customer-subscriptions-subscription_exposed_id-discount. operations: - method: DELETE name: deletecustomerscustomersubscriptionssubscriptionexposediddiscount description: Stripe Delete Customers Customer Subscriptions Subscription Exposed Id Discount call: customers-identifiers.deletecustomerscustomersubscriptionssubscriptionexposediddiscount with: customer: rest.customer subscription_exposed_id: rest.subscription_exposed_id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getcustomerscustomersubscriptionssubscriptionexposediddiscount description: Stripe Get Customers Customer Subscriptions Subscription Exposed Id Discount call: customers-identifiers.getcustomerscustomersubscriptionssubscriptionexposediddiscount with: customer: rest.customer expand: rest.expand subscription_exposed_id: rest.subscription_exposed_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/customers/{customer}/tax-ids/{id} name: v1-customers-customer-tax-ids-id description: REST surface for v1-customers-customer-tax_ids-id. operations: - method: DELETE name: deletecustomerscustomertaxidsid description: Stripe Delete Customers Customer Tax Ids Id call: customers-identifiers.deletecustomerscustomertaxidsid with: customer: rest.customer id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getcustomerscustomertaxidsid description: Stripe Get Customers Customer Tax Ids Id call: customers-identifiers.getcustomerscustomertaxidsid with: customer: rest.customer expand: rest.expand id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: customers-identifiers-mcp port: 9090 transport: http description: MCP adapter for Stripe Customers API — Identifiers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: stripe-delete-customers-customer-bank description: Stripe Delete Customers Customer Bank Accounts Id hints: readOnly: false destructive: true idempotent: true call: customers-identifiers.deletecustomerscustomerbankaccountsid with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-customers-customer-bank description: Stripe Get Customers Customer Bank Accounts Id hints: readOnly: true destructive: false idempotent: true call: customers-identifiers.getcustomerscustomerbankaccountsid with: customer: tools.customer expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-bank description: Stripe Post Customers Customer Bank Accounts Id hints: readOnly: false destructive: false idempotent: false call: customers-identifiers.postcustomerscustomerbankaccountsid with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-bank-2 description: Stripe Post Customers Customer Bank Accounts Id Verify hints: readOnly: false destructive: false idempotent: false call: customers-identifiers.postcustomerscustomerbankaccountsidverify with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-delete-customers-customer-cards description: Stripe Delete Customers Customer Cards Id hints: readOnly: false destructive: true idempotent: true call: customers-identifiers.deletecustomerscustomercardsid with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-customers-customer-cards description: Stripe Get Customers Customer Cards Id hints: readOnly: true destructive: false idempotent: true call: customers-identifiers.getcustomerscustomercardsid with: customer: tools.customer expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-cards description: Stripe Post Customers Customer Cards Id hints: readOnly: false destructive: false idempotent: false call: customers-identifiers.postcustomerscustomercardsid with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-delete-customers-customer-sources description: Stripe Delete Customers Customer Sources Id hints: readOnly: false destructive: true idempotent: true call: customers-identifiers.deletecustomerscustomersourcesid with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-customers-customer-sources description: Stripe Get Customers Customer Sources Id hints: readOnly: true destructive: false idempotent: true call: customers-identifiers.getcustomerscustomersourcesid with: customer: tools.customer expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-sources description: Stripe Post Customers Customer Sources Id hints: readOnly: false destructive: false idempotent: false call: customers-identifiers.postcustomerscustomersourcesid with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-sources-2 description: Stripe Post Customers Customer Sources Id Verify hints: readOnly: false destructive: false idempotent: false call: customers-identifiers.postcustomerscustomersourcesidverify with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-delete-customers-customer-subscriptions description: Stripe Delete Customers Customer Subscriptions Subscription Exposed Id hints: readOnly: false destructive: true idempotent: true call: customers-identifiers.deletecustomerscustomersubscriptionssubscriptionexposedid with: customer: tools.customer subscription_exposed_id: tools.subscription_exposed_id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-customers-customer-subscriptions description: Stripe Get Customers Customer Subscriptions Subscription Exposed Id hints: readOnly: true destructive: false idempotent: true call: customers-identifiers.getcustomerscustomersubscriptionssubscriptionexposedid with: customer: tools.customer expand: tools.expand subscription_exposed_id: tools.subscription_exposed_id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-customers-customer-subscriptions description: Stripe Post Customers Customer Subscriptions Subscription Exposed Id hints: readOnly: false destructive: false idempotent: false call: customers-identifiers.postcustomerscustomersubscriptionssubscriptionexposedid with: customer: tools.customer subscription_exposed_id: tools.subscription_exposed_id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-delete-customers-customer-subscriptions-2 description: Stripe Delete Customers Customer Subscriptions Subscription Exposed Id Discount hints: readOnly: false destructive: true idempotent: true call: customers-identifiers.deletecustomerscustomersubscriptionssubscriptionexposediddiscount with: customer: tools.customer subscription_exposed_id: tools.subscription_exposed_id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-customers-customer-subscriptions-2 description: Stripe Get Customers Customer Subscriptions Subscription Exposed Id Discount hints: readOnly: true destructive: false idempotent: true call: customers-identifiers.getcustomerscustomersubscriptionssubscriptionexposediddiscount with: customer: tools.customer expand: tools.expand subscription_exposed_id: tools.subscription_exposed_id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-delete-customers-customer-tax description: Stripe Delete Customers Customer Tax Ids Id hints: readOnly: false destructive: true idempotent: true call: customers-identifiers.deletecustomerscustomertaxidsid with: customer: tools.customer id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: stripe-get-customers-customer-tax description: Stripe Get Customers Customer Tax Ids Id hints: readOnly: true destructive: false idempotent: true call: customers-identifiers.getcustomerscustomertaxidsid with: customer: tools.customer expand: tools.expand id: tools.id body: tools.body outputParameters: - type: object mapping: $.