function GetVerifiedStatus()
{
    $emailid = '*****@*****.**';
    $firstName = 'Bonzop';
    $lastname = 'Zaius';
    $VstatusRequest = new GetVerifiedStatusRequest();
    $VstatusRequest->emailAddress = $emailid;
    $VstatusRequest->matchCriteria = 'NAME';
    $VstatusRequest->firstName = $firstName;
    $VstatusRequest->lastName = $lastname;
    $rEnvelope = new RequestEnvelope();
    $rEnvelope->errorLanguage = "en_US";
    $VstatusRequest->requestEnvelope = $rEnvelope;
    $aa = new AdaptiveAccounts();
    //$aa->sandBoxEmailAddress = $sandboxEmail;
    $response = $aa->GetVerifiedStatus($VstatusRequest);
    if (strtoupper($aa->isSuccess) == 'FAILURE') {
        $FaultMsg = $aa->getLastError();
        echo "Transaction get status error Id: ";
        if (is_array($FaultMsg->error)) {
            echo $FaultMsg->error[0]->errorId . ", error message: " . $FaultMsg->error[0]->message;
        } else {
            echo $FaultMsg->error->errorId . ", error message: " . $FaultMsg->error->message;
        }
    } else {
        echo "Get Verified Status  Successful! \n";
    }
}
    /* Make the call to PayPal to get the status of an account
       If an error occured, show the resulting errors
       */
    $VstatusRequest = new GetVerifiedStatusRequest();
    $VstatusRequest->emailAddress = $emailid;
    $VstatusRequest->matchCriteria = $city;
    $VstatusRequest->firstName = $firstName;
    $VstatusRequest->lastName = $lastname;
    $rEnvelope = new RequestEnvelope();
    $rEnvelope->errorLanguage = "en_US";
    $VstatusRequest->requestEnvelope = $rEnvelope;
    $serverName = $_SERVER['SERVER_NAME'];
    $serverPort = $_SERVER['SERVER_PORT'];
    $aa = new AdaptiveAccounts();
    //$aa->sandBoxEmailAddress = $sandboxEmail;
    $response = $aa->GetVerifiedStatus($VstatusRequest);
    if (strtoupper($aa->isSuccess) == 'FAILURE') {
        $_SESSION['FAULTMSG'] = $aa->getLastError();
        $location = "APIError.php";
        header("Location: {$location}");
    } else {
        $location = $response->redirectURL;
        if (!empty($location)) {
            $_SESSION['AddBankFundingSource'] = $response;
            header("Location: {$location}");
        }
    }
} catch (Exception $ex) {
    $fault = new FaultMessage();
    $errorData = new ErrorData();
    $errorData->errorId = $ex->getFile();