2021-07-05
1curl -X POST https://withpersona.com/api/v1/document/government-ids/document-id/submit \2 -H "Authorization: <apiKey>"
1{2 "data": {3 "type": "document/government-id",4 "id": "doc_FxCzxBkkF8V1AtxmY19zhVAz",5 "attributes": {6 "status": "submitted",7 "created-at": "2020-09-13T02:34:57.000Z",8 "processed-at": {},9 "front-photo": {},10 "back-photo": {},11 "selfie-photo": {},12 "id-class": {},13 "name-middle": {},14 "name-last": {},15 "birthdate": {},16 "address-street-1": {},17 "address-street-2": {},18 "address-city": {},19 "address-subdivision": {},20 "address-postal-code": {},21 "endorsements": {},22 "restrictions": {},23 "vehicle-class": {}24 },25 "relationships": {26 "inquiry": {27 "data": {28 "type": "inquiry",29 "id": "inq_Dj1JxEG9K153GbvFYGScCRlL"30 }31 }32 }33 }34}
Submit a government ID document for processing. Can only submit initiated documents with photos of the ID attached.
initiated