Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><a href="https://www.x.com/developers/paypal/documentation-tools/api/getverifiedstatus-api-operation" rel="noreferrer">GetVerifiedStatus</a> should do the trick. You'll have to pass the email address and the name of the person and it will then return whether or not their account has been verified.</p> <p>If they don't have a PayPal account you'll get an error back that says "Cannot determine PayPal Account status."</p> <p>Here's a sample of the request and response I just ran on the sandbox for a verified PayPal account...</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;GetVerifiedStatusRequest xmlns="http://svcs.paypal.com/types/ap"&gt; &lt;requestEnvelope xmlns=""&gt; &lt;detailLevel&gt;ReturnAll&lt;/detailLevel&gt; &lt;errorLanguage&gt;en_US&lt;/errorLanguage&gt; &lt;/requestEnvelope&gt; &lt;emailAddress xmlns=""&gt;sandbo_1204199080_biz@angelleye.com&lt;/emailAddress&gt; &lt;matchCriteria xmlns=""&gt;NAME&lt;/matchCriteria&gt; &lt;firstName xmlns=""&gt;Drew&lt;/firstName&gt; &lt;lastName xmlns=""&gt;Angell&lt;/lastName&gt; &lt;/GetVerifiedStatusRequest&gt; &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;ns2:GetVerifiedStatusResponse xmlns:ns2="http://svcs.paypal.com/types/aa"&gt; &lt;responseEnvelope&gt; &lt;timestamp&gt;2013-01-05T00:07:01.729-08:00&lt;/timestamp&gt; &lt;ack&gt;Success&lt;/ack&gt; &lt;correlationId&gt;3fecb3e1f2011&lt;/correlationId&gt; &lt;build&gt;4055066&lt;/build&gt; &lt;/responseEnvelope&gt; &lt;accountStatus&gt;VERIFIED&lt;/accountStatus&gt; &lt;userInfo&gt; &lt;emailAddress&gt;sandbo_1204199080_biz@angelleye.com&lt;/emailAddress&gt; &lt;accountType&gt;BUSINESS&lt;/accountType&gt; &lt;accountId&gt;E7BTGVXBFSUAU&lt;/accountId&gt; &lt;name&gt; &lt;salutation&gt;&lt;/salutation&gt; &lt;firstName&gt;Drew&lt;/firstName&gt; &lt;middleName&gt;&lt;/middleName&gt; &lt;lastName&gt;Angell&lt;/lastName&gt; &lt;suffix&gt;&lt;/suffix&gt; &lt;/name&gt; &lt;businessName&gt;Drew Angell's Test Store&lt;/businessName&gt; &lt;/userInfo&gt; &lt;/ns2:GetVerifiedStatusResponse&gt; </code></pre> <p>And here's a sample of a request and response where the PayPal account doesn't exist...</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;GetVerifiedStatusRequest xmlns="http://svcs.paypal.com/types/ap"&gt; &lt;requestEnvelope xmlns=""&gt; &lt;detailLevel&gt;ReturnAll&lt;/detailLevel&gt; &lt;errorLanguage&gt;en_US&lt;/errorLanguage&gt; &lt;/requestEnvelope&gt; &lt;emailAddress xmlns=""&gt;nodice@fail.com&lt;/emailAddress&gt; &lt;matchCriteria xmlns=""&gt;NAME&lt;/matchCriteria&gt; &lt;firstName xmlns=""&gt;Drew&lt;/firstName&gt; &lt;lastName xmlns=""&gt;Angell&lt;/lastName&gt; &lt;/GetVerifiedStatusRequest&gt; &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;ns3:FaultMessage xmlns:ns3="http://svcs.paypal.com/types/common" xmlns:ns2="http://svcs.paypal.com/types/aa"&gt; &lt;responseEnvelope&gt; &lt;timestamp&gt;2013-01-05T00:08:28.581-08:00&lt;/timestamp&gt; &lt;ack&gt;Failure&lt;/ack&gt; &lt;correlationId&gt;43364ce704211&lt;/correlationId&gt; &lt;build&gt;4055066&lt;/build&gt; &lt;/responseEnvelope&gt; &lt;error&gt; &lt;errorId&gt;580023&lt;/errorId&gt; &lt;domain&gt;PLATFORM&lt;/domain&gt; &lt;subdomain&gt;Application&lt;/subdomain&gt; &lt;severity&gt;Error&lt;/severity&gt; &lt;category&gt;Application&lt;/category&gt; &lt;message&gt;Cannot determine PayPal Account status&lt;/message&gt; &lt;/error&gt; &lt;/ns3:FaultMessage&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload