Developer's Guide
Table Of Contents
- Adaptive Accounts Developer Guide
- Contents
- Preface
- What’s New
- Introducing Adaptive Accounts
- Supported Formats, URLs and HTTP Request Headers
- CreateAccount API Operation
- AddBankAccount API Operation
- AddPaymentCard API Operation
- SetFundingSourceConfirmed API Operation
- GetVerifiedStatus API Operation
- Country Codes
- Business Categories and Subcategories
- Adaptive Accounts IPN Messages
- Older Versions of the Adaptive Accounts API
- Adaptive Account Changes Corresponding to PayPal Version 85.0
- Adaptive Account Changes Corresponding to PayPal Version 69.0
- Adaptive Account Changes Corresponding to PayPal Version 65.5
- Adaptive Account Changes Corresponding to PayPal Version 64.2
- Adaptive Account Changes Corresponding to PayPal Version 62.2
- Revision History
- Index
Adaptive Accounts Developer Guide May 2012 41
CreateAccount API Operation
CreateAccount Request Sample
3
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns2:CreateAccountRequest xmlns:ns2="http://svcs.paypal.com/services">
<requestEnvelope>
<errorLanguage>en_US</errorLanguage>
</requestEnvelope>
<accountType>PERSONAL</accountType>
<emailAddress>testing-2039039@paypal.com</emailAddress>
<name>
<firstName>John</firstName>
<lastName>Smith</lastName>
</name>
<dateOfBirth>1968-01-01Z</dateOfBirth>
<address>
<line1>1968 Ape Way</line1>
<line2>Apt 123</line2>
<city>Austin</city>
<state>TX</state>
<postalCode>78750</postalCode>
<countryCode>US</countryCode>
</address>
<contactPhoneNumber>888-555-1212</contactPhoneNumber>
<currencyCode>USD</currencyCode>
<citizenshipCountryCode>US</citizenshipCountryCode>
<preferredLanguageCode>en_US</preferredLanguageCode>
<notificationURL>http://...</notificationURL>
<registrationType>WEB</registrationType>
<createAccountWebOptions>
<returnUrl>http://www.myhome.com</returnUrl>
</createAccountWebOptions>
</ns2:CreateAccountRequest>
</soapenv:Body>
</soapenv:Envelope>
SOAP response
The response contains the PayPal URL to which you redirect the person’s browser. The
current status of the request is COMPLETED until the customer logs into PayPal and confirms
that he or she wants to create the account. The returned account key can be used to retrieve the
end user license agreement (EULA) associated with the account.