| GET | /clients/{Id}/gpg45/ | Get the GPG 45 (DVS data schema v1.0) projection for a client |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Authentication | header, body | Authentication | Yes | The authentication credentials |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiUserId | header, body | string | Yes | The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User) |
| ApiUserKey | header, body | string | Yes | The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key) |
| UserId | header, body | string | No | The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id). |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | GetClientGpg45Data | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Links | form | Links | No | Links related to this client's GPG 45 projection |
| Gpg45 | form | Gpg45Projection | No | The GPG 45 (DVS data schema v1.0) projection: 'claims' and, once Verified, 'verification' |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | The status of the response |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCode | form | string | No | |
| Message | form | string | No | |
| StackTrace | form | string | No | |
| Errors | form | ArrayOfResponseError | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCode | form | string | No | |
| FieldName | form | string | No | |
| Message | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Self | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| claims | form | gpg45_claims | No | The claimed identity information (GPG 45 'claims') |
| verification | form | gpg45_verification | No | How the claims were proven (GPG 45 'verification'). Null until the client is Verified |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| given_name | form | string | No | The individual's given name(s) |
| family_name | form | string | No | The individual's family / surname |
| birthdate | form | string | No | The individual's date of birth (ISO 8601, yyyy-MM-dd) |
| nationalities | form | List<string> | No | Countries of citizenship (ISO 3166-1 alpha-3) |
| address | form | gpg45_address | No | The individual's address |
| biometric_information | form | List<gpg45_biometric_information> | No | Biometric characteristics of the person making the claim |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| street | form | List<string> | No | Street address lines, most specific first |
| locality | form | string | No | City / town / district |
| postal_code | form | string | No | Postcode |
| country_code | form | string | No | Country code (ISO 3166-1 alpha-3) |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| biometric_modality | form | string | No | The biometric modality: face, fingerprint, voice or iris |
| attachments | form | List<gpg45_attachment> | No | The captured biometric data |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| desc | form | string | No | A description of the attachment |
| content_type | form | string | No | The IANA media type of the data (e.g. image/jpeg) |
| content_format | form | string | No | The encoding format: base64 or byte_data |
| content | form | string | No | The base64-encoded data |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| trust_framework | form | string | No | Always 'uk_dvstf' for the UK DVS trust framework |
| dvs_registration | form | gpg45_dvs_registration | No | The certified service's entry in the DVS register |
| evidence | form | List<gpg45_evidence> | No | The evidence used to prove the claim |
| assurance_level | form | string | No | The GPG 45 confidence level achieved: low, medium, high or very_high |
| assurance_process | form | gpg45_assurance_process | No | The assurance policy and procedure followed |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| registration_id | form | string | No | The service's DVS register reference |
| name | form | string | No | The registered name of the certified service |
| contact_email | form | string | No | Contact email for the certified service |
| website | form | string | No | Website of the certified service |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| document | form | gpg45_document | No | The document used to prove the claim |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| type | form | string | No | Always 'document' |
| document_details | form | gpg45_document_details | No | Details about the document itself |
| attachments | form | List<gpg45_attachment> | No | Copies of the document |
| check_details | form | List<gpg45_check_details> | No | The checks performed on the document |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| type | form | string | No | The GPG 45 document_type enumeration value |
| document_number | form | string | No | The document's reference / identification number |
| date_of_issuance | form | string | No | The date the document was issued (ISO 8601) |
| date_of_expiry | form | string | No | The date the document expires (ISO 8601) |
| issuer | form | gpg45_authority | No | The authority that issued the document |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| name | form | string | No | The name of the authority |
| country_code | form | string | No | The country code where the authority is based (ISO 3166-1 alpha-2) |
| jurisdiction | form | string | No | The authority's jurisdiction |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| check_method | form | string | No | The GPG 45 check_method: auth, token, kbv, pvp, pvr, bvp, bvr, vpip, vpiruv, vri, vdig, vcrypt or data |
| check_id | form | string | No | A unique reference for this check, matched by assurance_details evidence_ref entries |
| time | form | string | No | When the check was performed (ISO 8601 timestamp) |
| organisation | form | string | No | The organisation that performed the check |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| policy | form | string | No | Always 'gpg45' for the DVS trust framework |
| procedure | form | string | No | The GPG 45 identity profile code that was met (e.g. M1A, H1A). Null if no profile's requirements were fully met |
| assurance_details | form | List<gpg45_assurance_details> | No | How each assurance process was satisfied |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| assurance_type | form | string | No | The type of check: validation, verification, counter_fraud or activity_history |
| assurance_classification | form | string | No | The GPG 45 score achieved for this check: score_1 to score_4 |
| evidence_ref | form | List<gpg45_evidence_ref> | No | The checks that produced this assurance, matched by check_id |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| check_id | form | string | No | The check_id of the check that produced this assurance |
| evidence_ref | form | gpg45_evidence_metadata | No | Additional metadata about how the evidence supports the assurance |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| evidence_classification | form | string | No | The evidence classification, where applicable |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /clients/{Id}/gpg45/ HTTP/1.1
Host: api.sanctionssearch.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetClientGpg45Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<Data>
<ResponseStatus>
<ErrorCode>String</ErrorCode>
<Message>String</Message>
<StackTrace>String</StackTrace>
<Errors>
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
<Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringstring>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value>String</d6p1:Value>
</d6p1:KeyValueOfstringstring>
</Meta>
</ResponseError>
</Errors>
<Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value>String</d4p1:Value>
</d4p1:KeyValueOfstringstring>
</Meta>
</ResponseStatus>
<Gpg45>
<claims>
<address>
<country_code>String</country_code>
<locality>String</locality>
<postal_code>String</postal_code>
<street xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>String</d6p1:string>
</street>
</address>
<biometric_information>
<gpg45_biometric_information>
<attachments>
<gpg45_attachment>
<content>String</content>
<content_format>String</content_format>
<content_type>String</content_type>
<desc>String</desc>
</gpg45_attachment>
</attachments>
<biometric_modality>String</biometric_modality>
</gpg45_biometric_information>
</biometric_information>
<birthdate>String</birthdate>
<family_name>String</family_name>
<given_name>String</given_name>
<nationalities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</nationalities>
</claims>
<verification>
<assurance_level>String</assurance_level>
<assurance_process>
<assurance_details>
<gpg45_assurance_details>
<assurance_classification>String</assurance_classification>
<assurance_type>String</assurance_type>
<evidence_ref>
<gpg45_evidence_ref>
<check_id>String</check_id>
<evidence_ref>
<evidence_classification>String</evidence_classification>
</evidence_ref>
</gpg45_evidence_ref>
</evidence_ref>
</gpg45_assurance_details>
</assurance_details>
<policy>String</policy>
<procedure>String</procedure>
</assurance_process>
<dvs_registration>
<contact_email>String</contact_email>
<name>String</name>
<registration_id>String</registration_id>
<website>String</website>
</dvs_registration>
<evidence>
<gpg45_evidence>
<document>
<attachments>
<gpg45_attachment>
<content>String</content>
<content_format>String</content_format>
<content_type>String</content_type>
<desc>String</desc>
</gpg45_attachment>
</attachments>
<check_details>
<gpg45_check_details>
<check_id>String</check_id>
<check_method>String</check_method>
<organisation>String</organisation>
<time>String</time>
</gpg45_check_details>
</check_details>
<document_details>
<date_of_expiry>String</date_of_expiry>
<date_of_issuance>String</date_of_issuance>
<document_number>String</document_number>
<issuer>
<country_code>String</country_code>
<jurisdiction>String</jurisdiction>
<name>String</name>
</issuer>
<type>String</type>
</document_details>
<type>String</type>
</document>
</gpg45_evidence>
</evidence>
<trust_framework>String</trust_framework>
</verification>
</Gpg45>
<Links>
<Self>String</Self>
</Links>
</Data>
</GetClientGpg45Response>