View Source Stripe.Identity.VerificationReport (stripity_stripe v3.2.0)
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 API. To configure and create VerificationReports, use the VerificationSession API.
Related guides: Accessing verification results.
Summary
Types
@type t() :: %Stripe.Identity.VerificationReport{ created: integer(), document: term(), id: binary(), id_number: term(), livemode: boolean(), object: binary(), options: term(), selfie: term(), type: binary(), verification_session: binary() | nil }
The identity.verification_report type.
createdTime at which the object was created. Measured in seconds since the Unix epoch.documentidUnique identifier for the object.id_numberlivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.objectString representing the object's type. Objects of the same type share the same value.optionsselfietypeType of report.verification_sessionID of the VerificationSession that created this report.
Functions
@spec list( params :: %{ optional(:created) => created() | integer(), optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary(), optional(:type) => :document | :id_number, optional(:verification_session) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
List all verification reports.
Details
- Method: 
get - Path: 
/v1/identity/verification_reports 
@spec retrieve( report :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves an existing VerificationReport
Details
- Method: 
get - Path: 
/v1/identity/verification_reports/{report}