Stripe · Capability

Stripe Checkout API — Post

Stripe Checkout API — Post. 2 operations. Lead operation: Stripe Post Checkout Sessions. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripePost

What You Can Do

POST
Postcheckoutsessions — Stripe Post Checkout Sessions
/v1/v1/checkout/sessions
POST
Postcheckoutsessionssessionexpire — Stripe Post Checkout Sessions Session Expire
/v1/v1/checkout/sessions/{session}/expire

MCP Tools

stripe-post-checkout-sessions

Stripe Post Checkout Sessions

stripe-post-checkout-sessions-session

Stripe Post Checkout Sessions Session Expire

Capability Spec

checkout-post.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Checkout API — Post
  description: 'Stripe Checkout API — Post. 2 operations. Lead operation: Stripe Post   Checkout Sessions. 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: checkout-post
    baseUri: https://api.stripe.com
    description: Stripe Checkout API — Post business capability. Self-contained, no shared references.
    resources:
    - name: v1-checkout-sessions
      path: /v1/checkout/sessions
      operations:
      - name: postcheckoutsessions
        method: POST
        description: Stripe Post   Checkout Sessions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-checkout-sessions-session-expire
      path: /v1/checkout/sessions/{session}/expire
      operations:
      - name: postcheckoutsessionssessionexpire
        method: POST
        description: Stripe Post   Checkout Sessions Session Expire
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: session
          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: checkout-post-rest
    port: 8080
    description: REST adapter for Stripe Checkout API — Post. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/checkout/sessions
      name: v1-checkout-sessions
      description: REST surface for v1-checkout-sessions.
      operations:
      - method: POST
        name: postcheckoutsessions
        description: Stripe Post   Checkout Sessions
        call: checkout-post.postcheckoutsessions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/checkout/sessions/{session}/expire
      name: v1-checkout-sessions-session-expire
      description: REST surface for v1-checkout-sessions-session-expire.
      operations:
      - method: POST
        name: postcheckoutsessionssessionexpire
        description: Stripe Post   Checkout Sessions Session Expire
        call: checkout-post.postcheckoutsessionssessionexpire
        with:
          session: rest.session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: checkout-post-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Checkout API — Post. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: stripe-post-checkout-sessions
      description: Stripe Post   Checkout Sessions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: checkout-post.postcheckoutsessions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-checkout-sessions-session
      description: Stripe Post   Checkout Sessions Session Expire
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: checkout-post.postcheckoutsessionssessionexpire
      with:
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.