Stripe · Capability

Stripe Payment Intents API — Customer

Stripe Payment Intents API — Customer. 1 operations. Lead operation: Stripe Post Payment Intents Apply Customer Balance. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeCustomer

What You Can Do

POST
Postpaymentintentsintentapplycustomerbalance — Stripe Post Payment Intents Apply Customer Balance
/v1/v1/payment-intents/{intent}/apply-customer-balance

MCP Tools

stripe-post-payment-intents-apply

Stripe Post Payment Intents Apply Customer Balance

Capability Spec

payment-intents-customer.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Payment Intents API — Customer
  description: 'Stripe Payment Intents API — Customer. 1 operations. Lead operation: Stripe Post   Payment Intents Apply Customer
    Balance. Self-contained Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Customer
  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-customer
    baseUri: https://api.stripe.com
    description: Stripe Payment Intents API — Customer business capability. Self-contained, no shared references.
    resources:
    - 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
    authentication:
      type: bearer
      token: '{{env.STRIPE_API_KEY}}'
  exposes:
  - type: rest
    namespace: payment-intents-customer-rest
    port: 8080
    description: REST adapter for Stripe Payment Intents API — Customer. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - 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-customer.postpaymentintentsintentapplycustomerbalance
        with:
          intent: rest.intent
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: payment-intents-customer-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Payment Intents API — Customer. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: stripe-post-payment-intents-apply
      description: Stripe Post   Payment Intents Apply Customer Balance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payment-intents-customer.postpaymentintentsintentapplycustomerbalance
      with:
        intent: tools.intent
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.