Stripe · Capability

Stripe Identity API — Sessions

Stripe Identity API — Sessions. 6 operations. Lead operation: Stripe Get Identity Verification Sessions. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeSessions

What You Can Do

GET
Getidentityverificationsessions — Stripe Get Identity Verification Sessions
/v1/v1/identity/verification-sessions
POST
Postidentityverificationsessions — Stripe Post Identity Verification Sessions
/v1/v1/identity/verification-sessions
GET
Getidentityverificationsessionssession — Stripe Get Identity Verification Sessions Session
/v1/v1/identity/verification-sessions/{session}
POST
Postidentityverificationsessionssession — Stripe Post Identity Verification Sessions Session
/v1/v1/identity/verification-sessions/{session}
POST
Postidentityverificationsessionssessioncancel — Stripe Post Identity Verification Sessions Session Cancel
/v1/v1/identity/verification-sessions/{session}/cancel
POST
Postidentityverificationsessionssessionredact — Stripe Post Identity Verification Sessions Session Redact
/v1/v1/identity/verification-sessions/{session}/redact

MCP Tools

stripe-get-identity-verification-sessions

Stripe Get Identity Verification Sessions

read-only idempotent
stripe-post-identity-verification-sessions

Stripe Post Identity Verification Sessions

stripe-get-identity-verification-sessions-2

Stripe Get Identity Verification Sessions Session

read-only idempotent
stripe-post-identity-verification-sessions-2

Stripe Post Identity Verification Sessions Session

stripe-post-identity-verification-sessions-3

Stripe Post Identity Verification Sessions Session Cancel

stripe-post-identity-verification-sessions-4

Stripe Post Identity Verification Sessions Session Redact

Capability Spec

identity-sessions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Identity API — Sessions
  description: 'Stripe Identity API — Sessions. 6 operations. Lead operation: Stripe Get   Identity Verification Sessions.
    Self-contained Naftiko capability covering one Stripe business surface.'
  tags:
  - Stripe
  - Sessions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: identity-sessions
    baseUri: https://api.stripe.com
    description: Stripe Identity API — Sessions business capability. Self-contained, no shared references.
    resources:
    - name: v1-identity-verification_sessions
      path: /v1/identity/verification_sessions
      operations:
      - name: getidentityverificationsessions
        method: GET
        description: Stripe Get   Identity Verification Sessions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created
          in: query
          type: string
        - name: ending_before
          in: query
          type: string
          description: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 ob
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: limit
          in: query
          type: integer
          description: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default
            is 10.
        - name: starting_after
          in: query
          type: string
          description: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list.
            For instance, if you make a list request and receive 100 o
        - name: status
          in: query
          type: string
          description: Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postidentityverificationsessions
        method: POST
        description: Stripe Post   Identity Verification Sessions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-identity-verification_sessions-session
      path: /v1/identity/verification_sessions/{session}
      operations:
      - name: getidentityverificationsessionssession
        method: GET
        description: Stripe Get   Identity Verification Sessions Session
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: expand
          in: query
          type: array
          description: Specifies which fields in the response should be expanded.
        - name: session
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: postidentityverificationsessionssession
        method: POST
        description: Stripe Post   Identity Verification Sessions Session
        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
    - name: v1-identity-verification_sessions-session-cancel
      path: /v1/identity/verification_sessions/{session}/cancel
      operations:
      - name: postidentityverificationsessionssessioncancel
        method: POST
        description: Stripe Post   Identity Verification Sessions Session Cancel
        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
    - name: v1-identity-verification_sessions-session-redact
      path: /v1/identity/verification_sessions/{session}/redact
      operations:
      - name: postidentityverificationsessionssessionredact
        method: POST
        description: Stripe Post   Identity Verification Sessions Session Redact
        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: identity-sessions-rest
    port: 8080
    description: REST adapter for Stripe Identity API — Sessions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/identity/verification-sessions
      name: v1-identity-verification-sessions
      description: REST surface for v1-identity-verification_sessions.
      operations:
      - method: GET
        name: getidentityverificationsessions
        description: Stripe Get   Identity Verification Sessions
        call: identity-sessions.getidentityverificationsessions
        with:
          created: rest.created
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          starting_after: rest.starting_after
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postidentityverificationsessions
        description: Stripe Post   Identity Verification Sessions
        call: identity-sessions.postidentityverificationsessions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/identity/verification-sessions/{session}
      name: v1-identity-verification-sessions-session
      description: REST surface for v1-identity-verification_sessions-session.
      operations:
      - method: GET
        name: getidentityverificationsessionssession
        description: Stripe Get   Identity Verification Sessions Session
        call: identity-sessions.getidentityverificationsessionssession
        with:
          expand: rest.expand
          session: rest.session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postidentityverificationsessionssession
        description: Stripe Post   Identity Verification Sessions Session
        call: identity-sessions.postidentityverificationsessionssession
        with:
          session: rest.session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/identity/verification-sessions/{session}/cancel
      name: v1-identity-verification-sessions-session-cancel
      description: REST surface for v1-identity-verification_sessions-session-cancel.
      operations:
      - method: POST
        name: postidentityverificationsessionssessioncancel
        description: Stripe Post   Identity Verification Sessions Session Cancel
        call: identity-sessions.postidentityverificationsessionssessioncancel
        with:
          session: rest.session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/identity/verification-sessions/{session}/redact
      name: v1-identity-verification-sessions-session-redact
      description: REST surface for v1-identity-verification_sessions-session-redact.
      operations:
      - method: POST
        name: postidentityverificationsessionssessionredact
        description: Stripe Post   Identity Verification Sessions Session Redact
        call: identity-sessions.postidentityverificationsessionssessionredact
        with:
          session: rest.session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: identity-sessions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Identity API — Sessions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: stripe-get-identity-verification-sessions
      description: Stripe Get   Identity Verification Sessions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: identity-sessions.getidentityverificationsessions
      with:
        created: tools.created
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        starting_after: tools.starting_after
        status: tools.status
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-identity-verification-sessions
      description: Stripe Post   Identity Verification Sessions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-sessions.postidentityverificationsessions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-get-identity-verification-sessions-2
      description: Stripe Get   Identity Verification Sessions Session
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: identity-sessions.getidentityverificationsessionssession
      with:
        expand: tools.expand
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-identity-verification-sessions-2
      description: Stripe Post   Identity Verification Sessions Session
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-sessions.postidentityverificationsessionssession
      with:
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-identity-verification-sessions-3
      description: Stripe Post   Identity Verification Sessions Session Cancel
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-sessions.postidentityverificationsessionssessioncancel
      with:
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: stripe-post-identity-verification-sessions-4
      description: Stripe Post   Identity Verification Sessions Session Redact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-sessions.postidentityverificationsessionssessionredact
      with:
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.