post https://app.pinwallet.in/api/digilockerkyc/kycrequest
Use this sdk after calling thedokycrequest
<script type="text/javascript" src="https://app.digio.in/sdk/v10/digio.js"></script>
<script>
function showkyc(RequestId, Mobile, tokenid, reff) {
var options = {
environment: "production",
Is_redirection_approach: true,
redirect_url: "https://app.digio.in/#/gateway/login/" + RequestId + "/" + reff + "/" + Mobile + "?redirect_url=https://app.pinwallet.in/api/partnerkyc/callback",
callback: function (response) {
if (response.hasOwnProperty("error_code")) {
return console.log("error occurred in process");
}
console.log("Signing completed successfully");
},
logo: "https://app.pinwallet.in/assets/images/logo/pinwallet.png",
theme: {
primaryColor: "#AB3498",
secondaryColor: "#000000"
}
}
var digio = new Digio(options); //options is the digio options constructor object.
digio.init();
var requestId = RequestId;
var identifier = Mobile;
var token_id = tokenid;
digio.submit(requestId, identifier, token_id);
//digio.cancel();
}
}
</script>
S.N | Name | Type | Description | Mandatory (M) , Optional (O) | Provided by Pinwallet (Y/N) |
---|---|---|---|---|---|
1. | AgentMobile | String | Valid Wallet Mobile Number | M | N |
2. | AgentName | String | Valid Wallet Holder Name | M | N |
3. | Latitude | String | Current location latitude | M | N |
4. | Longitude | String | Current location longitude | M | N |
5. | TransactionId | String | Unique Reference number | M | N |