line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
## Stripe API - ~/lib/Net/API/Stripe/Identity/VerificationReport.pm |
3
|
|
|
|
|
|
|
## Version v0.1.0 |
4
|
|
|
|
|
|
|
## Copyright(c) 2022 DEGUEST Pte. Ltd. |
5
|
|
|
|
|
|
|
## Author: Jacques Deguest <jack@deguest.jp> |
6
|
|
|
|
|
|
|
## Created 2022/10/29 |
7
|
|
|
|
|
|
|
## Modified 2022/10/29 |
8
|
|
|
|
|
|
|
## |
9
|
|
|
|
|
|
|
##---------------------------------------------------------------------------- |
10
|
|
|
|
|
|
|
BEGIN |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
use strict; |
13
|
2
|
|
|
2
|
|
23955781
|
use parent qw( Net::API::Stripe::Generic ); |
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
67
|
|
14
|
2
|
|
|
2
|
|
11
|
our( $VERSION ) = 'v0.1.0'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
15
|
2
|
|
|
2
|
|
1030
|
}; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
1
|
|
|
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
1
|
|
{ |
21
|
|
|
|
|
|
|
address => { package => "Net::API::Stripe::Address", type => "object" }, |
22
|
0
|
|
|
0
|
1
|
|
dob => { |
23
|
|
|
|
|
|
|
definition => { |
24
|
0
|
|
|
0
|
1
|
|
day => { type => "number" }, |
25
|
|
|
|
|
|
|
month => { type => "number" }, |
26
|
|
|
|
|
|
|
year => { type => "number" }, |
27
|
|
|
|
|
|
|
}, |
28
|
|
|
|
|
|
|
type => "class", |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
error => { |
31
|
|
|
|
|
|
|
definition => { code => { type => "scalar" }, reason => { type => "scalar" } }, |
32
|
|
|
|
|
|
|
type => "class", |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
expiration_date => { |
35
|
|
|
|
|
|
|
definition => { |
36
|
|
|
|
|
|
|
day => { type => "number" }, |
37
|
|
|
|
|
|
|
month => { type => "number" }, |
38
|
|
|
|
|
|
|
year => { type => "number" }, |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
type => "class", |
41
|
|
|
|
|
|
|
}, |
42
|
|
|
|
|
|
|
files => { type => "array" }, |
43
|
|
|
|
|
|
|
first_name => { type => "scalar" }, |
44
|
|
|
|
|
|
|
issued_date => { |
45
|
|
|
|
|
|
|
definition => { |
46
|
|
|
|
|
|
|
day => { type => "number" }, |
47
|
|
|
|
|
|
|
month => { type => "number" }, |
48
|
|
|
|
|
|
|
year => { type => "number" }, |
49
|
|
|
|
|
|
|
}, |
50
|
|
|
|
|
|
|
type => "class", |
51
|
|
|
|
|
|
|
}, |
52
|
|
|
|
|
|
|
issuing_country => { type => "scalar" }, |
53
|
|
|
|
|
|
|
last_name => { type => "scalar" }, |
54
|
|
|
|
|
|
|
number => { type => "scalar" }, |
55
|
|
|
|
|
|
|
status => { type => "scalar" }, |
56
|
|
|
|
|
|
|
type => { type => "scalar" }, |
57
|
|
|
|
|
|
|
}, @_ ) ); } |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
{ |
60
|
|
|
|
|
|
|
dob => { |
61
|
|
|
|
|
|
|
definition => { |
62
|
|
|
|
|
|
|
day => { type => "number" }, |
63
|
|
|
|
|
|
|
month => { type => "number" }, |
64
|
0
|
|
|
0
|
1
|
|
year => { type => "number" }, |
65
|
|
|
|
|
|
|
}, |
66
|
|
|
|
|
|
|
type => "class", |
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
error => { |
69
|
|
|
|
|
|
|
definition => { code => { type => "scalar" }, reason => { type => "scalar" } }, |
70
|
|
|
|
|
|
|
type => "class", |
71
|
|
|
|
|
|
|
}, |
72
|
|
|
|
|
|
|
first_name => { type => "scalar" }, |
73
|
|
|
|
|
|
|
id_number => { type => "scalar" }, |
74
|
|
|
|
|
|
|
id_number_type => { type => "scalar" }, |
75
|
|
|
|
|
|
|
last_name => { type => "scalar" }, |
76
|
|
|
|
|
|
|
status => { type => "scalar" }, |
77
|
|
|
|
|
|
|
}, @_ ) ); } |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
{ |
81
|
|
|
|
|
|
|
document => { |
82
|
|
|
|
|
|
|
definition => { |
83
|
|
|
|
|
|
|
allowed_types => { type => "array" }, |
84
|
|
|
|
|
|
|
require_id_number => { type => "boolean" }, |
85
|
0
|
|
|
0
|
1
|
|
require_live_capture => { type => "boolean" }, |
86
|
|
|
|
|
|
|
require_matching_selfie => { type => "boolean" }, |
87
|
0
|
|
|
0
|
1
|
|
}, |
88
|
|
|
|
|
|
|
type => "class", |
89
|
|
|
|
|
|
|
}, |
90
|
|
|
|
|
|
|
id_number => { type => "hash" }, |
91
|
|
|
|
|
|
|
}, @_ ) ); } |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
{ |
94
|
|
|
|
|
|
|
document => { type => "scalar" }, |
95
|
|
|
|
|
|
|
error => { |
96
|
|
|
|
|
|
|
definition => { code => { type => "scalar" }, reason => { type => "scalar" } }, |
97
|
|
|
|
|
|
|
type => "class", |
98
|
|
|
|
|
|
|
}, |
99
|
|
|
|
|
|
|
selfie => { type => "scalar" }, |
100
|
|
|
|
|
|
|
status => { type => "scalar" }, |
101
|
0
|
|
|
0
|
1
|
|
}, @_ ) ); } |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
1; |
106
|
|
|
|
|
|
|
# NOTE: POD |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=encoding utf8 |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head1 NAME |
111
|
|
|
|
|
|
|
|
112
|
0
|
|
|
0
|
1
|
|
Net::API::Stripe::Identity::VerificationReport - The VerificationReport object |
113
|
|
|
|
|
|
|
|
114
|
0
|
|
|
0
|
1
|
|
=head1 SYNOPSIS |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head1 VERSION |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
v0.1.0 |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head1 DESCRIPTION |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
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 C<type> and C<options> parameters used. You can find the result of each verification check performed in the appropriate sub-resource: C<document>, C<id_number>, C<selfie>. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
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 L<FileUpload|https://stripe.com/docs/api/files> API. To configure and create VerificationReports, use the L<VerificationSession|https://stripe.com/docs/api/identity/verification_sessions> API. |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Related guides: L<Accessing verification results|https://stripe.com/docs/identity/verification-sessions#results>. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head1 METHODS |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 id string |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Unique identifier for the object. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 object string |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
String representing the object's type. Objects of the same type share the same value. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head2 created timestamp |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
Time at which the object was created. Measured in seconds since the Unix epoch. |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 document hash |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
Result of the document check for this report. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
It has the following properties: |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=over 4 |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=item C<address> hash |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
Address as it appears in the document. |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
When expanded, this is a L<Net::API::Stripe::Address> object. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=item C<dob> hash |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
Date of birth as it appears in the document. |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=over 8 |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=item C<day> integer |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Numerical day between 1 and 31. |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=item C<month> integer |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
Numerical month between 1 and 12. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=item C<year> integer |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
The four-digit year. |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=back |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=item C<error> hash |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
Details on the verification error. Present when status is C<unverified>. |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=over 8 |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=item C<code> string |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
A short machine-readable string giving the reason for the verification failure. |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=item C<reason> string |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
A human-readable message giving the reason for the failure. These messages can be shown to your users. |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=back |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=item C<expiration_date> hash |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Expiration date of the document. |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=over 8 |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=item C<day> integer |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
Numerical day between 1 and 31. |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=item C<month> integer |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Numerical month between 1 and 12. |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=item C<year> integer |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
The four-digit year. |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
=back |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=item C<files> string_array |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
Array of L<File|https://stripe.com/docs/api/files> ids containing images for this document. |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=item C<first_name> string |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
First name as it appears in the document. |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=item C<issued_date> hash |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
Issued date of the document. |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=over 8 |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=item C<day> integer |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
Numerical day between 1 and 31. |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
=item C<month> integer |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
Numerical month between 1 and 12. |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
=item C<year> integer |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
The four-digit year. |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
=back |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=item C<issuing_country> string |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
Issuing country of the document. |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
=item C<last_name> string |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
Last name as it appears in the document. |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
=item C<number> string |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
Document ID number. |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
=item C<status> string |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
Status of this C<document> check. |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
=item C<type> string |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
Type of the document. |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
=back |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
=head2 id_number hash |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
Result of the id number check for this report. |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
It has the following properties: |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
=over 4 |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
=item C<dob> hash |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
Date of birth. |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
=over 8 |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
=item C<day> integer |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
Numerical day between 1 and 31. |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
=item C<month> integer |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
Numerical month between 1 and 12. |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
=item C<year> integer |
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
The four-digit year. |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
=back |
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
=item C<error> hash |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
Details on the verification error. Present when status is C<unverified>. |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
=over 8 |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
=item C<code> string |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
A short machine-readable string giving the reason for the verification failure. |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
=item C<reason> string |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
A human-readable message giving the reason for the failure. These messages can be shown to your users. |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
=back |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
=item C<first_name> string |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
First name. |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
=item C<id_number> string |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
ID number. |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
=item C<id_number_type> string |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
Type of ID number. |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
=item C<last_name> string |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
Last name. |
327
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
=item C<status> string |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
Status of this C<id_number> check. |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
=back |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
=head2 livemode boolean |
335
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
Has the value C<true> if the object exists in live mode or the value C<false> if the object exists in test mode. |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
=head2 options hash |
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
Configuration options for this report. |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
It has the following properties: |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
=over 4 |
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
=item C<document> hash |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
Configuration options to apply to the C<document> check. |
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
=over 8 |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
=item C<allowed_types> array |
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a documentI<type>not_allowed error code. |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
=item C<require_id_number> boolean |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
Collect an ID number and perform an L<ID number check|https://stripe.com/docs/identity/verification-checks?type=id-number> with the document’s extracted name and date of birth. |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
=item C<require_live_capture> boolean |
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
Disable image uploads, identity document images have to be captured using the device’s camera. |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
=item C<require_matching_selfie> boolean |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
Capture a face image and perform a L<selfie check|https://stripe.com/docs/identity/verification-checks?type=selfie> comparing a photo ID and a picture of your user’s face. L<Learn more|https://stripe.com/docs/identity/selfie>. |
367
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
=back |
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
=item C<id_number> hash |
372
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
Configuration options to apply to the C<id_number> check. |
374
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
=over 8 |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
=item C<id_number> |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
This is an empty hash. |
380
|
|
|
|
|
|
|
|
381
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
=back |
383
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
=back |
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
=head2 selfie hash |
387
|
|
|
|
|
|
|
|
388
|
|
|
|
|
|
|
Result of the selfie check for this report. |
389
|
|
|
|
|
|
|
|
390
|
|
|
|
|
|
|
It has the following properties: |
391
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
=over 4 |
393
|
|
|
|
|
|
|
|
394
|
|
|
|
|
|
|
=item C<document> string |
395
|
|
|
|
|
|
|
|
396
|
|
|
|
|
|
|
ID of the L<File|https://stripe.com/docs/api/files> holding the image of the identity document used in this check. |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
=item C<error> hash |
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
Details on the verification error. Present when status is C<unverified>. |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
=over 8 |
403
|
|
|
|
|
|
|
|
404
|
|
|
|
|
|
|
=item C<code> string |
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
A short machine-readable string giving the reason for the verification failure. |
407
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
=item C<reason> string |
409
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
A human-readable message giving the reason for the failure. These messages can be shown to your users. |
411
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
=back |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
=item C<selfie> string |
416
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
ID of the L<File|https://stripe.com/docs/api/files> holding the image of the selfie used in this check. |
418
|
|
|
|
|
|
|
|
419
|
|
|
|
|
|
|
=item C<status> string |
420
|
|
|
|
|
|
|
|
421
|
|
|
|
|
|
|
Status of this C<selfie> check. |
422
|
|
|
|
|
|
|
|
423
|
|
|
|
|
|
|
=back |
424
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
=head2 type string |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
Type of report. |
428
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
=head2 verification_session string |
430
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
ID of the VerificationSession that created this report. |
432
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
=head1 API SAMPLE |
434
|
|
|
|
|
|
|
|
435
|
|
|
|
|
|
|
[ |
436
|
|
|
|
|
|
|
{ |
437
|
|
|
|
|
|
|
"created" : "1662261086", |
438
|
|
|
|
|
|
|
"document" : { |
439
|
|
|
|
|
|
|
"address" : { |
440
|
|
|
|
|
|
|
"city" : "San Francisco", |
441
|
|
|
|
|
|
|
"country" : "US", |
442
|
|
|
|
|
|
|
"line1" : "1234 Main St.", |
443
|
|
|
|
|
|
|
"state" : "CA", |
444
|
|
|
|
|
|
|
"zip" : "94111" |
445
|
|
|
|
|
|
|
}, |
446
|
|
|
|
|
|
|
"error" : null, |
447
|
|
|
|
|
|
|
"expiration_date" : { |
448
|
|
|
|
|
|
|
"day" : "1", |
449
|
|
|
|
|
|
|
"month" : "12", |
450
|
|
|
|
|
|
|
"year" : "2025" |
451
|
|
|
|
|
|
|
}, |
452
|
|
|
|
|
|
|
"files" : [ |
453
|
|
|
|
|
|
|
"file_MMt1QnXiGixEZxoe5FxvoMDx", |
454
|
|
|
|
|
|
|
"file_MMt1VGyZxCEW3uV9YvuOI7yx" |
455
|
|
|
|
|
|
|
], |
456
|
|
|
|
|
|
|
"first_name" : "Jenny", |
457
|
|
|
|
|
|
|
"issued_date" : { |
458
|
|
|
|
|
|
|
"day" : "1", |
459
|
|
|
|
|
|
|
"month" : "12", |
460
|
|
|
|
|
|
|
"year" : "2020" |
461
|
|
|
|
|
|
|
}, |
462
|
|
|
|
|
|
|
"issuing_country" : "US", |
463
|
|
|
|
|
|
|
"last_name" : "Rosen", |
464
|
|
|
|
|
|
|
"status" : "verified", |
465
|
|
|
|
|
|
|
"type" : "driving_license" |
466
|
|
|
|
|
|
|
}, |
467
|
|
|
|
|
|
|
"id" : "vr_1Le9F42eZvKYlo2CHjM8lwqO", |
468
|
|
|
|
|
|
|
"livemode" : 0, |
469
|
|
|
|
|
|
|
"object" : "identity.verification_report", |
470
|
|
|
|
|
|
|
"options" : { |
471
|
|
|
|
|
|
|
"document" : {} |
472
|
|
|
|
|
|
|
}, |
473
|
|
|
|
|
|
|
"type" : "document", |
474
|
|
|
|
|
|
|
"verification_session" : "vs_MMt1qTAB3jMvz6aXZCfHgulL" |
475
|
|
|
|
|
|
|
} |
476
|
|
|
|
|
|
|
] |
477
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
=head1 HISTORY |
479
|
|
|
|
|
|
|
|
480
|
|
|
|
|
|
|
=head2 v0.1.0 |
481
|
|
|
|
|
|
|
|
482
|
|
|
|
|
|
|
Initial version |
483
|
|
|
|
|
|
|
|
484
|
|
|
|
|
|
|
=head1 AUTHOR |
485
|
|
|
|
|
|
|
|
486
|
|
|
|
|
|
|
Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> |
487
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
=head1 SEE ALSO |
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
L<Stripe API documentation|https://stripe.com/docs/api/identity/verification_reports> |
491
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
493
|
|
|
|
|
|
|
|
494
|
|
|
|
|
|
|
Copyright (c) 2019-2022 DEGUEST Pte. Ltd. |
495
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
You can use, copy, modify and redistribute this package and associated |
497
|
|
|
|
|
|
|
files under the same terms as Perl itself. |
498
|
|
|
|
|
|
|
|
499
|
|
|
|
|
|
|
=cut |