v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Fetch User PII Data

Please contact legal@striga.com to enable this API for your production account. This contains PII information of a user that may be used for onboarding onto partner services or other licensed entities and is available only on a case by case basis. The API returns data that was extracted from the uploaded and verified ID document, dependent upon what fields were available for extraction. The sandbox APIs provide dummy data for reference only.

post/user/pii

Headers

api-keystring required
Authorizationstring required

Request body

userIdstring required

Unique Id of the user

userConsentboolean required

Setting this value to true has legal implications in the case of an audit, the user must have consented to having their data shared with your application

ipstring required

The IP address of the user when providing consent to access PII data

Response

200

idDocTypestring
countrystring
firstNamestring
firstNameEnstring
lastNamestring
lastNameEnstring
validUntilstring
numberstring
kycMethodstring
approvedDatestring
kycIdstring

Example response

{
  "idDocType": "PASSPORT",
  "country": "GBR",
  "firstName": "Johnny",
  "firstNameEn": "Johnny",
  "lastName": "Dope",
  "lastNameEn": "Dope",
  "validUntil": "2042-12-12",
  "number": "123456",
  "kycMethod": "auto",
  "approvedDate": "2023-05-26T12:00:30.202Z",
  "kycId": "64709f5555f3087e72b619f1"
}