User Tools

Site Tools


nocode:identity-link

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
nocode:identity-link [2019/08/13 05:55]
740803864 [Response processing]
nocode:identity-link [2019/08/13 05:58]
740803864 [Positive response]
Line 39: Line 39:
  
 ==== Positive response ==== ==== Positive response ====
-See [[nocode:transactions#positive_response|Transaction supportPositive response]] chapter.+When identity link was successful (''status = OK''), JSON response will be: 
 + 
 +<code javascript> 
 +
 +  "status": "OK", 
 +  "data": null, 
 +  "redirect": null 
 +
 +</code> 
 + 
 +When ''request'' value was used in identity link setup, ''data'' will be filled with service provider response. For example: 
 + 
 +<code javascript> 
 +
 +  "status": "OK", 
 +  "data":
 +    "firstName": "John", 
 +    "firstNameApproved": true, 
 +    "lastName": "Green", 
 +    "lastNameApproved": true, 
 +    "permanentAddress": "Castle Road 54, Green Town, CF72 2YD", 
 +    "permanentAddressApproved": true, 
 +    "identityCardNumber": "ID97967588", 
 +    "identityCardNumberApproved": true, 
 +    "identityCardValidTo": "2023-05-10", 
 +    "identityCardValidToApproved": true, 
 +    "birthDate": "1971-10-09", 
 +    "birthDateApproved": true, 
 +    "deliveryAddress": "Castle Road 54, Green Town, CF72 2YD", 
 +    "deliveryAddressApproved": true, 
 +    "telephoneNumber": "+44 654 987 987", 
 +    "telephoneNumberApproved": true, 
 +    "voter": true, 
 +    "voterApproved": true, 
 +    "creditCardNumber": "4485 5057 0701 1520", 
 +    "creditCardNumberApproved": true, 
 +    "creditCardValidTo": "09/2022", 
 +    "creditCardValidToApproved": true, 
 +    "creditCardOwner": "John Green", 
 +    "creditCardOwnerApproved": true, 
 +    "gender": "male", 
 +    "genderApproved": true, 
 +    "email": "john.green@test.com", 
 +    "emailApproved": true, 
 +    "approvedLF": true, 
 +    "proofingStatus": "APPROVED" 
 +  }, 
 +  "redirect": null 
 +
 +</code>
  
 ==== Negative response ==== ==== Negative response ====
 See [[nocode:transactions#negative_response|Transaction support, Negative response]] chapter. See [[nocode:transactions#negative_response|Transaction support, Negative response]] chapter.
  
nocode/identity-link.txt · Last modified: 2019/08/13 11:20 by 740803864