naftiko: 1.0.0-alpha2 info: label: Stripe Payment Intents API — Post description: 'Stripe Payment Intents API — Post. 8 operations. Lead operation: Stripe Post Payment Intents. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Post created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: payment-intents-post baseUri: https://api.stripe.com description: Stripe Payment Intents API — Post business capability. Self-contained, no shared references. resources: - name: v1-payment_intents path: /v1/payment_intents operations: - name: postpaymentintents method: POST description: Stripe Post Payment Intents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-payment_intents-intent path: /v1/payment_intents/{intent} operations: - name: postpaymentintentsintent method: POST description: Stripe Post Payment Intents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: intent in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-payment_intents-intent-apply_customer_balance path: /v1/payment_intents/{intent}/apply_customer_balance operations: - name: postpaymentintentsintentapplycustomerbalance method: POST description: Stripe Post Payment Intents Apply Customer Balance outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: intent in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-payment_intents-intent-cancel path: /v1/payment_intents/{intent}/cancel operations: - name: postpaymentintentsintentcancel method: POST description: Stripe Post Payment Intents Cancel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: intent in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-payment_intents-intent-capture path: /v1/payment_intents/{intent}/capture operations: - name: postpaymentintentsintentcapture method: POST description: Stripe Post Payment Intents Capture outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: intent in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-payment_intents-intent-confirm path: /v1/payment_intents/{intent}/confirm operations: - name: postpaymentintentsintentconfirm method: POST description: Stripe Post Payment Intents Confirm outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: intent in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-payment_intents-intent-increment_authorization path: /v1/payment_intents/{intent}/increment_authorization operations: - name: postpaymentintentsintentincrementauthorization method: POST description: Stripe Post Payment Intents Increment Authorization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: intent in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v1-payment_intents-intent-verify_microdeposits path: /v1/payment_intents/{intent}/verify_microdeposits operations: - name: postpaymentintentsintentverifymicrodeposits method: POST description: Stripe Post Payment Intents Verify Microdeposits outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: intent 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: payment-intents-post-rest port: 8080 description: REST adapter for Stripe Payment Intents API — Post. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/payment-intents name: v1-payment-intents description: REST surface for v1-payment_intents. operations: - method: POST name: postpaymentintents description: Stripe Post Payment Intents call: payment-intents-post.postpaymentintents with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-intents/{intent} name: v1-payment-intents-intent description: REST surface for v1-payment_intents-intent. operations: - method: POST name: postpaymentintentsintent description: Stripe Post Payment Intents call: payment-intents-post.postpaymentintentsintent with: intent: rest.intent body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-intents/{intent}/apply-customer-balance name: v1-payment-intents-intent-apply-customer-balance description: REST surface for v1-payment_intents-intent-apply_customer_balance. operations: - method: POST name: postpaymentintentsintentapplycustomerbalance description: Stripe Post Payment Intents Apply Customer Balance call: payment-intents-post.postpaymentintentsintentapplycustomerbalance with: intent: rest.intent body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-intents/{intent}/cancel name: v1-payment-intents-intent-cancel description: REST surface for v1-payment_intents-intent-cancel. operations: - method: POST name: postpaymentintentsintentcancel description: Stripe Post Payment Intents Cancel call: payment-intents-post.postpaymentintentsintentcancel with: intent: rest.intent body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-intents/{intent}/capture name: v1-payment-intents-intent-capture description: REST surface for v1-payment_intents-intent-capture. operations: - method: POST name: postpaymentintentsintentcapture description: Stripe Post Payment Intents Capture call: payment-intents-post.postpaymentintentsintentcapture with: intent: rest.intent body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-intents/{intent}/confirm name: v1-payment-intents-intent-confirm description: REST surface for v1-payment_intents-intent-confirm. operations: - method: POST name: postpaymentintentsintentconfirm description: Stripe Post Payment Intents Confirm call: payment-intents-post.postpaymentintentsintentconfirm with: intent: rest.intent body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-intents/{intent}/increment-authorization name: v1-payment-intents-intent-increment-authorization description: REST surface for v1-payment_intents-intent-increment_authorization. operations: - method: POST name: postpaymentintentsintentincrementauthorization description: Stripe Post Payment Intents Increment Authorization call: payment-intents-post.postpaymentintentsintentincrementauthorization with: intent: rest.intent body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/payment-intents/{intent}/verify-microdeposits name: v1-payment-intents-intent-verify-microdeposits description: REST surface for v1-payment_intents-intent-verify_microdeposits. operations: - method: POST name: postpaymentintentsintentverifymicrodeposits description: Stripe Post Payment Intents Verify Microdeposits call: payment-intents-post.postpaymentintentsintentverifymicrodeposits with: intent: rest.intent body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: payment-intents-post-mcp port: 9090 transport: http description: MCP adapter for Stripe Payment Intents API — Post. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: stripe-post-payment-intents description: Stripe Post Payment Intents hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintents with: body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-payment-intents-2 description: Stripe Post Payment Intents hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintentsintent with: intent: tools.intent body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-payment-intents-apply description: Stripe Post Payment Intents Apply Customer Balance hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintentsintentapplycustomerbalance with: intent: tools.intent body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-payment-intents-cancel description: Stripe Post Payment Intents Cancel hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintentsintentcancel with: intent: tools.intent body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-payment-intents-capture description: Stripe Post Payment Intents Capture hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintentsintentcapture with: intent: tools.intent body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-payment-intents-confirm description: Stripe Post Payment Intents Confirm hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintentsintentconfirm with: intent: tools.intent body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-payment-intents-increment description: Stripe Post Payment Intents Increment Authorization hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintentsintentincrementauthorization with: intent: tools.intent body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-payment-intents-verify description: Stripe Post Payment Intents Verify Microdeposits hints: readOnly: false destructive: false idempotent: false call: payment-intents-post.postpaymentintentsintentverifymicrodeposits with: intent: tools.intent body: tools.body outputParameters: - type: object mapping: $.