#bijay_jha
1 messages · Page 1 of 1 (latest)
- Not sure. It may depends on whether the VerificationSession status has changed. Have you tried this section? https://stripe.com/docs/identity/verification-sessions#results
- Yes, expand the Charge object https://stripe.com/docs/api/charges/object#charge_object-outcome-risk_score
Yes, I went through the 1st document. But it didn't help.Let me try to explain you the scenario. Let's say, a verification session initiates, the user uploads his front side of driving license and closes the browser tab. Next time when he opens up the verification modal, we need to show him the next step, that is uploading the back side of driving license.Is it possible?
for the 2nd question I need to get Risk insights for a identity verification. can that be retieved via api?
- Not sure to be honest, could you try in Test mode?
- Sorry thought you were asking about Charge. For identity verification report we only have https://stripe.com/docs/api/identity/verification_reports/object. Don't see any score here. Anywhere you have seen the score?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I can see Risk Insights in the stripe dashboard under Identity verifications. https://dashboard.stripe.com/identity/verification-sessions/
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
but couldn't find how to get that value programatically
Is it the status? Or could you screenshot?
I think it's pretty much the status and last_error property https://stripe.com/docs/api/identity/verification_sessions/object#identity_verification_session_object-status and https://stripe.com/docs/api/identity/verification_sessions/object#identity_verification_session_object-last_error
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Any other patterns which you don't see in status and last_error?
I don't thin its just a status, for another verification i get this
Can you give the id (vs_xxx) of the screenshot above?
vs_1NiZi2DPnVWRKvJjLJC2MsbR
Okie, if you do a Retrieve VerificationSession and expand its last_verification_report how does the response look like?
something like this - {
"id": "vs_1NkVS3DPnVWRKvJj9edjfkrt",
"object": "identity.verification_session",
"client_secret": null,
"created": 1693329099,
"last_error": null,
"last_verification_report": {
"id": "vr_1NkVhrDPnVWRKvJjFdwesmdf",
"object": "identity.verification_report",
"created": 1693330079,
"document": {
"address": null,
"error": null,
"expiration_date": {
"day": 10,
"month": 1,
"year": 2025
},
"files": [
"file_1NkVhbDPnVWRKvJj8hZxs1Ku",
"file_1NkVhlDPnVWRKvJj5tqPt5Ob"
],
"first_name": "suraj",
"issued_date": {
"day": 20,
"month": 1,
"year": 2010
},
"issuing_country": "DE",
"last_name": "ramesh",
"number": "C92H312410",
"status": "verified",
"type": "driving_license"
},
"livemode": true,
"options": {
"document": {
"allowed_types": [
"driving_license"
]
},
"id_number": {}
},
"type": "document",
"verification_session": "vs_1NkVS3DPnVWRKvJj9eNgokzo"
},
"livemode": true,
"metadata": {
"customerId": "fdda9233-2949-42fc-b0d1-f6f490ed0f48"
},
"options": {
"document": {
"allowed_types": [
"driving_license"
]
}
},
"redaction": null,
"status": "verified",
"type": "document",
"url": null,
"verified_outputs": {
"address": null,
"dob": {
"day": 1,
"month": 1,
"year": 2000
},
"first_name": "suraj",
"id_number": null,
"id_number_type": null,
"last_name": "ramesh"
}
}
it doesn't have risk insight score. Also, the documentation for lastverification_report object doesn't show risk insights object
umm right
Sorry this looks like unavailable via API, unfortunately
That was the best shot I can suggest
okies.. no problem