Stripe · Capability

Stripe Identity API — Identity

Stripe Identity API — Identity. 8 operations. Lead operation: Identity. Self-contained Naftiko capability covering one Stripe business surface.

Run with Naftiko StripeIdentity

What You Can Do

GET
Getidentityverificationreports

List all verification reports.

/v1/v1/identity/verification-reports
GET
Getidentityverificationreportsreport

Retrieves an existing VerificationReport

/v1/v1/identity/verification-reports/{report}
GET
Getidentityverificationsessions

Returns a list of VerificationSessions

/v1/v1/identity/verification-sessions
POST
Postidentityverificationsessions

Creates a VerificationSession object.

/v1/v1/identity/verification-sessions
GET
Getidentityverificationsessionssession

Retrieves the details of a VerificationSession that was previously created.

/v1/v1/identity/verification-sessions/{session}
POST
Postidentityverificationsessionssession

Updates a VerificationSession object.

/v1/v1/identity/verification-sessions/{session}
POST
Postidentityverificationsessionssessioncancel

A VerificationSession object can be canceled when it is in requires_input status.

/v1/v1/identity/verification-sessions/{session}/cancel
POST
Postidentityverificationsessionssessionredact

Redact a VerificationSession to remove all collected information from Stripe. This will redact

/v1/v1/identity/verification-sessions/{session}/redact

MCP Tools

p-list-all-verification-reports-p

List all verification reports.

read-only idempotent
p-retrieves-existing-verificationreport-p

Retrieves an existing VerificationReport

read-only idempotent
p-returns-list-verificationsessions-p

Returns a list of VerificationSessions

read-only idempotent
p-creates-verificationsession-object-p

Creates a VerificationSession object.

p-retrieves-details-verificationsession-that-was

Retrieves the details of a VerificationSession that was previously created.

read-only idempotent
p-updates-verificationsession-object-p

Updates a VerificationSession object.

p-a-verificationsession-object-can-be

A VerificationSession object can be canceled when it is in requires_input status.

p-redact-verificationsession-remove-all-collected

Redact a VerificationSession to remove all collected information from Stripe. This will redact

Capability Spec

identity-identity.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Stripe Identity API — Identity
  description: 'Stripe Identity API — Identity. 8 operations. Lead operation: Identity. Self-contained Naftiko capability
    covering one Stripe business surface.'
  tags:
  - Stripe
  - Identity
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRIPE_API_KEY: STRIPE_API_KEY
capability:
  consumes:
  - type: http
    namespace: identity-identity
    baseUri: https://api.stripe.com
    description: Stripe Identity API — Identity business capability. Self-contained, no shared references.
    resources:
    - name: v1-identity-verification_reports
      path: /v1/identity/verification_reports
      operations:
      - name: getidentityverificationreports
        method: GET
        description: <p>List all verification reports.</p>
        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: type
          in: query
          type: string
          description: Only return VerificationReports of this type
        - name: verification_session
          in: query
          type: string
          description: Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a
            VerificationIntent ID.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-identity-verification_reports-report
      path: /v1/identity/verification_reports/{report}
      operations:
      - name: getidentityverificationreportsreport
        method: GET
        description: <p>Retrieves an existing VerificationReport</p>
        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: report
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-identity-verification_sessions
      path: /v1/identity/verification_sessions
      operations:
      - name: getidentityverificationsessions
        method: GET
        description: <p>Returns a list of VerificationSessions</p>
        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: <p>Creates a VerificationSession object.</p>
        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: <p>Retrieves the details of a VerificationSession that was previously created.</p>
        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: <p>Updates a VerificationSession object.</p>
        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: <p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href="/docs/identity/how-sessions-work">status</a>.</p>
        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: <p>Redact a VerificationSession to remove all collected information from Stripe. This will 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-identity-rest
    port: 8080
    description: REST adapter for Stripe Identity API — Identity. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/identity/verification-reports
      name: v1-identity-verification-reports
      description: REST surface for v1-identity-verification_reports.
      operations:
      - method: GET
        name: getidentityverificationreports
        description: <p>List all verification reports.</p>
        call: identity-identity.getidentityverificationreports
        with:
          created: rest.created
          ending_before: rest.ending_before
          expand: rest.expand
          limit: rest.limit
          starting_after: rest.starting_after
          type: rest.type
          verification_session: rest.verification_session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/identity/verification-reports/{report}
      name: v1-identity-verification-reports-report
      description: REST surface for v1-identity-verification_reports-report.
      operations:
      - method: GET
        name: getidentityverificationreportsreport
        description: <p>Retrieves an existing VerificationReport</p>
        call: identity-identity.getidentityverificationreportsreport
        with:
          expand: rest.expand
          report: rest.report
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - 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: <p>Returns a list of VerificationSessions</p>
        call: identity-identity.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: <p>Creates a VerificationSession object.</p>
        call: identity-identity.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: <p>Retrieves the details of a VerificationSession that was previously created.</p>
        call: identity-identity.getidentityverificationsessionssession
        with:
          expand: rest.expand
          session: rest.session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postidentityverificationsessionssession
        description: <p>Updates a VerificationSession object.</p>
        call: identity-identity.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: <p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href="/docs/identity/how-sessions-work">status</a>.</p>
        call: identity-identity.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: <p>Redact a VerificationSession to remove all collected information from Stripe. This will redact
        call: identity-identity.postidentityverificationsessionssessionredact
        with:
          session: rest.session
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: identity-identity-mcp
    port: 9090
    transport: http
    description: MCP adapter for Stripe Identity API — Identity. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: p-list-all-verification-reports-p
      description: <p>List all verification reports.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: identity-identity.getidentityverificationreports
      with:
        created: tools.created
        ending_before: tools.ending_before
        expand: tools.expand
        limit: tools.limit
        starting_after: tools.starting_after
        type: tools.type
        verification_session: tools.verification_session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-retrieves-existing-verificationreport-p
      description: <p>Retrieves an existing VerificationReport</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: identity-identity.getidentityverificationreportsreport
      with:
        expand: tools.expand
        report: tools.report
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-returns-list-verificationsessions-p
      description: <p>Returns a list of VerificationSessions</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: identity-identity.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: p-creates-verificationsession-object-p
      description: <p>Creates a VerificationSession object.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-identity.postidentityverificationsessions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-retrieves-details-verificationsession-that-was
      description: <p>Retrieves the details of a VerificationSession that was previously created.</p>
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: identity-identity.getidentityverificationsessionssession
      with:
        expand: tools.expand
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-updates-verificationsession-object-p
      description: <p>Updates a VerificationSession object.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-identity.postidentityverificationsessionssession
      with:
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-a-verificationsession-object-can-be
      description: <p>A VerificationSession object can be canceled when it is in <code>requires_input</code> <a href="/docs/identity/how-sessions-work">status</a>.</p>
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-identity.postidentityverificationsessionssessioncancel
      with:
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: p-redact-verificationsession-remove-all-collected
      description: <p>Redact a VerificationSession to remove all collected information from Stripe. This will redact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: identity-identity.postidentityverificationsessionssessionredact
      with:
        session: tools.session
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.