This endpoint is used to redirect the user to the P100 hosted page where they can complete their KYC verification. You should redirect your user's browser to the URL generated by this endpoint. The verification page guides the user through the process of uploading necessary documents and confirming their identity.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'https://partner-api-stage.p100.io/v1/kyc/verification//'
Response Response Example
400 - P412
{"errorCode":"P412","errorMessage":"User does not exist","errorName":"invalid-user"}
Request
Path Params
Responses
🟢200Success
text/html
Response Behavior
When this endpoint is called, the API's behavior is as follows:
1.
You will receive an HTTP 200 OK response.
2.
The response body will contain raw HTML content for a loading page (e.g., <html>...</html>)
3.
The actual redirection to the verification session does not occur via a standard HTTP 302 redirect or a Location header. Instead, the user's browser is redirected through embedded logic and a series of redirect chains handled by the verification service.
How to Obtain the Redirect URL
To correctly redirect your user to the iDenfy verification session, you must capture the final URL from the network redirect chain. This URL is not available in the initial response body or headers. It can be captured using browser developer tools or a network inspection proxy.Example Flow The network flow will look similar to this:
GET https://ui.idenfy.com/?authToken=wosP8TruRQm...&country=deTo properly redirect your user, you must use the final URL from this chain.Important Notes If you test this endpoint in tools like Apidog or Postman, you will see the raw HTML of the initial loading page in the response body.Do not attempt to copy and open this HTML content directly in a browser, as it will not work.You must capture the final redirect URL from the network flow and use that URL to redirect your user.