Create / Update Records
Post identity documents directly to the Mock System of Record (SOR) database. Existing records with the same document number are automatically replaced.
POST
/api/v1/identitydocument
Download PDF Document
Retrieve a dynamically rendered, high-fidelity PDF representation of the identity document directly from the Mock SOR.
GET
/api/v1/identitydocument/pdf/{docNum}
Quick Start Sandbox
Use the following command pattern to immediately provision a test identity document into the Mock SOR:
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"testTag": "green",
"person": {
"familyName": "ONeill",
"givenName": "Stella",
"birthDate": "2011-11-07",
"issueDate": "2021-11-11",
"expiryDate": "2031-11-11",
"issuingAuthority": "PSC",
"issuingCountry": "IRL",
"documentNumber": "T000603",
"portrait": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
}
}' \
https://gw-canonical-issuer.com/api/v1/identitydocument