mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-10 00:03:09 -05:00
* Update generated code for v1399 * Update generated code for v1409 * Update generated code for v1412 * Update generated code for v1412 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: jar-stripe <jar@stripe.com>
37 lines
1.4 KiB
Ruby
37 lines
1.4 KiB
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
module Identity
|
|
# A VerificationReport is the result of an attempt to collect and verify data from a user.
|
|
# The collection of verification checks performed is determined from the `type` and `options`
|
|
# parameters used. You can find the result of each verification check performed in the
|
|
# appropriate sub-resource: `document`, `id_number`, `selfie`.
|
|
#
|
|
# Each VerificationReport contains a copy of any data collected by the user as well as
|
|
# reference IDs which can be used to access collected images through the [FileUpload](https://stripe.com/docs/api/files)
|
|
# API. To configure and create VerificationReports, use the
|
|
# [VerificationSession](https://stripe.com/docs/api/identity/verification_sessions) API.
|
|
#
|
|
# Related guide: [Accessing verification results](https://stripe.com/docs/identity/verification-sessions#results).
|
|
class VerificationReport < APIResource
|
|
extend Stripe::APIOperations::List
|
|
|
|
OBJECT_NAME = "identity.verification_report"
|
|
def self.object_name
|
|
"identity.verification_report"
|
|
end
|
|
|
|
# List all verification reports.
|
|
def self.list(params = {}, opts = {})
|
|
request_stripe_object(
|
|
method: :get,
|
|
path: "/v1/identity/verification_reports",
|
|
params: params,
|
|
opts: opts
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|