status()

Verify.status(ref_id, resource_uri=None, verify_code=None, extra=None, timeout=None)
Retrieves the verification result. You make this call in your web application after users complete the authentication transaction (using either a call or sms).
Parameters  
ref_id The Reference ID returned in the response from the TeleSign server, after you called either call or sms.
verify_code (optional) The verification code received from the user.
timeout (optional) Timeout for the request (see timeout in the requests documentation). Will override any timeout set in the initialization.
extra (optional) Key value mapping of additional parameters.

Example:

from telesign.api import Verify
from telesign.exceptions import AuthorizationError, TelesignError

cust_id = "FFFFFFFF-EEEE-DDDD-1234-AB1234567890"
secret_key = "EXAMPLE----TE8sTgg45yusumoN6BYsBVkh+yRJ5czgsnCehZaOYldPJdmFh6NeX8kunZ2zU1YWaUw/0wV6xfw=="
phone_number = "13107409700"

verify = Verify(cust_id, secret_key) # Instantiate a Verify object.

phone_info = verify.sms(phone_number) # Send a text message that contains an auto-generated validation code, to the user.

# When the user inputs the validation code, you can verify that it matches the one that you sent.
if (phone_info != None):
    try:
        status_info = verify.status(phone_info.data["reference_id"], verify_code=phone_info.verify_code)
    except AuthorizationError as ex:
        ...
    except TelesignError as ex:
        ...