/doccapture/getlink

The counter part to /ddocapture/sendlink, is the /doccapture/getlink resource which allows you to receive a link for integrated Government issued ID capture or MobileMatch FastTap.


Request (Javascript)


var axios = require("axios");
var token = "YOUR_BEARER_TOKEN"; // -- obtained from step 1 --

var params = {
  dialCode: "1",
  telephone: "1234567890",
  apikey: "YOUR_FASTTAP_MFA_API_KEY",
  credential: "USERNAME",
  appID: "YOUR_APPLICATION_NAME",
};

var request = async () => {
  var response = await axios({
    url: "https://api.preprod.iddataweb.com/v1/doccapture/getlink",
    method: 'get',
    params: params,
    headers: {
      "Content-Type": "application/json",
      "Cache-Control": "no-cache",
      Authorization: "Bearer " + token,
    },
  });
  console.log(response.data);
};
request();

Response


{
    "responseCode": "200",
    "asi": "84b9ef5a-3423-4ab3-9636-87525c37ba20",
    "status": "success",
    "url": "https://test.verify.iddataweb.net/dcui/?t=a288b816-7f9b-40e5-96ed-2f57441c67d5&e=d"
}
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!