|
After the verification session is complete, it is highly recommended that you make a call from their application to greenID to retrieve the result of the verification attempt.
The overallState value returned to any of the callback functions should not be trusted as the authoritative source of truth because they are just javascript functions, and third party javascript could call those same functions with any values.
The simplest way to query the outcome is to use the RESTful web service provided by greenID. The web service can be invoked by performing a HTTP GET against the base URL being used plus “/df/verificationResult” with the following query parameters:
Only one of the verificationToken or verificationId is required; if both are provided then verificationId is used.
There are two ways to get the verificationToken:
Please note that if greenID Web is being run against the test environment, i.e. the environment parameter is set to "test" in the setup function, then the outcome must be queried from the greenID Web test server, which is simpleui-test-au.vixverify.com. |
Australian production environment:
https://simpleui-au.vixverify.com/df/verificationResult?accountId=greenidsimpleui&webServicePassword=password&verificationToken=914d98541cdc5e08ed0bdb3187b3edc93395b9de |
Australian test SimpleUI environment:
https://simpleui-test-au.vixverify.com/df/verificationResult?accountId=greenid-simpleui&webServicePassword=password&verificationToken=914d98541cdc5e08ed0bdb3187b3edc93395b9de |
US endpoints:
https://simpleui-test-us.vixverify.com/df/verificationResult?accountId=greenid-simpleui&webServicePassword=password&verificationToken=914d98541cdc5e08ed0bdb3187b3edc93395b9de https://simpleui-us.vixverify.com/df/verificationResult?accountId=greenid-simpleui&webServicePassword=password&verificationToken=914d98541cdc5e08ed0bdb3187b3edc93395b9de |
The web service will return a JSON fragment with all the details of the person and the overall status of the verification attempt. The following fields are returned:
{ "error":false, "verificationResult":"IN_PROGRESS", "verificationId":"PDqINE2T", "verificationToken":"914d98541cdc5e08ed0bdb3187b3edc93395b9de", "givenName":"Test", "middleNames":"Brian", "surname":"McTester", "email":"accept@email.com", "dob":"1980-01-01", "streetNumber":"1", "streetName":"Macquarie", "streetType":"ST", "suburb":"Sydney", "state":"NSW", "postcode":"2000", "country":"AU" } |
On this page |