Created
September 7, 2022 16:00
-
-
Save terenceponce/30b3b9b7d259ed23c33aaf035b613b73 to your computer and use it in GitHub Desktop.
Shufti Callback for status change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"reference"=>"a0372417-2529-485c-a231-74d1f87320b2", | |
"event"=>"verification.declined", | |
"country"=>nil, | |
"proofs"=> | |
{"document"=> | |
{"proof"=> | |
"https://api.shuftipro.com/storage/8WlU2XYXo2SjV5yGOPRBtczXag0OvHb1wskRTMPIZppIxRHBHHaQTYGIfHTsheyh/document/proof.png?access_token=a6eb4d75a06c2059ea9739076fb1a1765ddd1fe9", | |
"additional_proof"=> | |
"https://api.shuftipro.com/storage/8WlU2XYXo2SjV5yGOPRBtczXag0OvHb1wskRTMPIZppIxRHBHHaQTYGIfHTsheyh/document/additional_proof.png?access_token=a6eb4d75a06c2059ea9739076fb1a1765ddd1fe9"}, | |
"address"=> | |
{"proof"=> | |
"https://api.shuftipro.com/storage/8WlU2XYXo2SjV5yGOPRBtczXag0OvHb1wskRTMPIZppIxRHBHHaQTYGIfHTsheyh/address/proof.png?access_token=a6eb4d75a06c2059ea9739076fb1a1765ddd1fe9"}, | |
"face"=> | |
{"proof"=> | |
"https://api.shuftipro.com/storage/8WlU2XYXo2SjV5yGOPRBtczXag0OvHb1wskRTMPIZppIxRHBHHaQTYGIfHTsheyh/face/proof.png?access_token=a6eb4d75a06c2059ea9739076fb1a1765ddd1fe9"}}, | |
"verification_data"=> | |
{"document"=> | |
{"document_number"=>"A123456", | |
"face_match_confidence"=>96, | |
"selected_type"=>["id_card"], | |
"supported_types"=>["id_card", "passport", "driving_license"]}, | |
"address"=> | |
{"name"=> | |
{"first_name"=>nil, "middle_name"=>nil, "last_name"=>nil, "full_name"=>"JOHN LIVONE"}, | |
"full_address"=>"10 DOWNING ST, WESTMINSTER,\nLONDON SW1A 2AA, UK", | |
"issue_date"=>"2022-04-22", | |
"selected_type"=>["employer_letter"], | |
"supported_types"=> | |
["id_card", | |
"utility_bill", | |
"driving_license", | |
"bank_statement", | |
"credit_card_statement", | |
"rent_agreement", | |
"employer_letter", | |
"property_tax", | |
"lease_agreement", | |
"tax_bill"]}}, | |
"verification_result"=> | |
{"address"=> | |
{"address_proof_not_matched_with_document_proof"=>nil, | |
"match_address_proofs_with_document_proofs"=>nil, | |
"address_document_proof"=>nil, | |
"selected_type"=>nil, | |
"name"=>1, | |
"issue_date"=>1, | |
"full_address"=>1, | |
"address_document_visibility"=>1, | |
"address_document_must_not_be_expired"=>1, | |
"address_document"=>1}, | |
"document"=> | |
{"document_number"=>1, | |
"face_on_document_matched"=>1, | |
"document_proof"=>1, | |
"document_visibility"=>1, | |
"document_must_not_be_expired"=>1, | |
"document_visibility"=>1, | |
"document_must_not_be_expired"=>1, | |
"document"=>1, | |
"selected_type"=>1}, | |
"face"=>0}, | |
"info"=> | |
{"agent"=> | |
{"is_desktop"=>true, | |
"is_phone"=>false, | |
"useragent"=> | |
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0", | |
"device_name"=>"Windows NT 10.0", | |
"browser_name"=>"", | |
"platform_name"=>"Windows 10"}, | |
"geolocation"=> | |
{"host"=>"", | |
"ip"=>"188.30.129.75", | |
"rdns"=>"188.30.129.75", | |
"asn"=>"206067", | |
"isp"=>"Hutchison 3g Uk Limited", | |
"country_name"=>"United Kingdom", | |
"country_code"=>"GB", | |
"region_name"=>"England", | |
"region_code"=>"ENG", | |
"city"=>"High Wycombe", | |
"postal_code"=>"HP10 9", | |
"continent_name"=>"Europe", | |
"continent_code"=>"EU", | |
"latitude"=>"51.602481842041016", | |
"longitude"=>"-0.7111600041389465", | |
"metro_code"=>"", | |
"timezone"=>"Europe/London", | |
"ip_type"=>"ipv4", | |
"capital"=>"London", | |
"currency"=>"GBP"}}, | |
"declined_reason"=>"Face could not be verified", | |
"declined_codes"=>["SPDR01"], | |
"services_declined_codes"=>{"face"=>["SPDR01"]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment