2021-05-14
1import requests23url = "https://withpersona.com/api/v1/verification/government-ids/verification-id/submit"45headers = {"Authorization": "<apiKey>"}67response = requests.post(url, headers=headers)89print(response.json())
1{2 "data": {3 "type": "verification/government-id",4 "id": "ver_X5mC6bFdeyzofECAbw2kM00b",5 "attributes": {6 "status": "submitted",7 "created-at": "2020-09-13T05:20:25.000Z",8 "created-at-ts": 1599974425,9 "submitted-at": "2020-09-13T05:28:04.000Z",10 "submitted-at-ts": 1599974884,11 "completed-at": {},12 "completed-at-ts": {},13 "country-code": "US",14 "entity-confidence-score": {},15 "entity-confidence-reasons": {},16 "front-photo-url": {},17 "back-photo-url": {},18 "selfie-photo-url": {},19 "id-class": {},20 "capture-method": {},21 "name-middle": {},22 "name-last": {},23 "birthdate": {},24 "address-street-1": {},25 "address-street-2": {},26 "address-city": {},27 "address-subdivision": {},28 "address-postal-code": {},29 "endorsements": {},30 "restrictions": {},31 "vehicle-class": {},32 "checks": []33 },34 "relationships": {35 "inquiry": {36 "data": {37 "type": "inquiry",38 "id": "inq_Hn1JxEG9K153GbvFYGScCRxX"39 }40 }41 }42 }43}
Submit a government ID verification for processing. Can only submit initiated verifications with photos of the ID attached.
initiated