How to test user verification in sandbox environment

Last updated: September 19, 2024

When testing verification users (KYC) in the AiPrise sandbox environment, you may initially receive an "unknown" verification result with a "pending" status. This is expected behavior, as the SSN verification process is asynchronous. Here's how to properly test and interpret the results:

Steps for Testing User Verification

  1. Use the sandbox environment for testing.

  2. Make an API call to the run_user_verification endpoint with the test data.

  3. Initially, you will receive a response with "UNKNOWN" verification result and "PENDING" status.

  4. The actual verification result will be sent to your callback URL within 10-15 seconds.

Setting Up the Callback URL

To receive the final verification result, you need to set up a callback URL. You can do this in two ways:

  1. Include the callback URL as part of the run_user_verification endpoint call.

  2. Set up the callback URL at the template level.

Callbacks

Interpreting Results

After the verification process is complete:

  1. Check the AiPrise dashboard to see the final verification status.

  2. The callback to your specified URL will provide the detailed verification result.

Important Notes

  • The initial "UNKNOWN" and "PENDING" status is normal and does not indicate a failed verification.

  • Always wait for the callback response to get the final verification result.

  • For testing purposes, you can use sample data provided in our testing guide: Testing Guide

By following these steps and properly interpreting the results, you can effectively test SSN verification in the Aiprise sandbox environment.