Notice of non-liability:
PayPal, Inc. is providing the information i n this document t o you “AS-IS” with all faults. PayPal, Inc. makes no warranties of any kind (whether express,
implied or statutory) with respect to the information co ntained herein. PayPal, Inc. assumes no liability for damages (whether direct or indirect), caused
by errors or omissions, or resulting from the use of this document or the information contained in this document or resulting f rom the application or use
of the product or service described herein. PayPal, Inc. reserves the right to make changes to any information herein without further notice.
PayPal’s Adaptive Accounts API enables your customers to create various kinds of PayPal
accounts.
Documentation Feedback
Help us improve this guide by sending feedback to:
documentationfeedback@paypal.com
Adaptive Accounts Developer GuideMay 20127
Documentation Feedback
8May 2012Adaptive Accounts Developer Guide
What’s New
Check out what’s new in the current release.
Adaptive Account Changes Corresponding for PayPal Version
89.0
Maintenance release.
Adaptive Accounts Developer GuideMay 20129
Adaptive Account Changes Corresponding for PayPal Version 89.0
10May 2012Adaptive Accounts Developer Guide
Introducing Adaptive Accounts
1
The Adaptive Accounts API lets you build applications that create PayPal accounts and handle
account management.
Adaptive Accounts Scenarios
The Adaptive Accounts API enables your application to create and verify PayPal accounts.
You can also add bank accounts to link to PayPal accounts as funding sources.
Consider the following examples. You might create a PayPal account using the Adaptive
Accounts APIs as part of the set up for a:
marketplace. You can offer PayPal as a payment option and create PayPal accounts for
your users that do not already have them. Your users can include buyers and suppliers or
clients and services providers as senders and receivers in various countries.
social networking application, such as one that “pays for lunch” or sends a payment for any
reason. Your application may not be directly involved in the payment; however, you can
enable the payment by ensuring that the user has the opportunity to create a PayPal
account.
enterprise application, such as a payroll application for small-to-medium sized businesses.
You can create PayPal accounts for each employee that does not have one and pay all
employees using PayPal’s Mass Pay or Adaptive Payments capabilities.
store checkout flow. You might provide PayPal account creation for your customers or you
might provide account creation for someone else’s customers as part of a shopping cart
service.
Creating an Account
PayPal account holders traditionally create their PayPal accounts by going directly to
PayPal.com or signing up during a checkout flow. The Adaptive Accounts CreateAccount
method offers a new way: Creating accounts within your application or website, outside the
checkout flow.
Your application sends a request using the CreateAccount method with information
gathered from your website, and PayPal creates the account. At this point, the new PayPal
account holder is briefly redirected to PayPal.com to enter private information, such as a
password, and to accept the PayPal User Agreement. PayPal then returns the new account
Adaptive Accounts Developer GuideMay 201211
Introducing Adaptive Accounts
1
Adding Bank Accounts as Funding Sources
holder to your website. This greatly reduces the chances of losing customers during the
account creation flow.
That brings us to the key benefit of Adaptive Accounts: A streamlined account creation and
completion process. Research shows that removing barriers from account creation and
payment experience increases conversion and improves customer satisfaction.
Imagine the possibilities: With the CreateA ccount method, shopping cart application could
create PayPal Business accounts for its merchants directly from the shopping cart site.
Adding Bank Accounts as Funding Sources
In addition to creating and verifying PayPal accounts, Adaptive Accounts lets your application
link bank accounts to PayPal accounts as funding sources. Traditionally, PayPal account
holders do this manually at PayPal.com. With the AddBankAccount method, you can now
offer your customers the benefit of a smooth, uninterrupted process where PayPal account
creation includes adding a funding source for the account, all in one fell swoop. If you are a
financial institution, you can offer customers who are also PayPal account holders an easy way
to link the bank account with your institution as a funding source for their PayPal accounts.
How does it work? Your application sends an AddBankAccount request, passing the relevant
bank account information, such as the account number and routing number. The PayPal
account holder is redirected briefly to PayPal.com to confirm the information, then returns to
your customer’s website.
Adding Payment Cards as Funding Sources
Adaptive Accounts lets your application link the created PayPal account to a credit card or
payment card. This card can then be used as a funding source (payment method) for the PayPal
account. To use this feature, you use the createAccount key from the CreateAccount
response and pass it with the AddPaymentCard method together with pertinent payment card
information.
For standard permissions, the AddPaymentCard method requires the PayPal account user to
confirm the payment card addition on paypal.com. Developers with advanced permissions can
pass the AddPaymentCard with the confirmedType element (set to NONE) to add payment
cards without redirecting to paypal.com.
Supported payment cards are:
Visa
MasterCard
American Express
Discover
Maestro
12May 2012Adaptive Accounts Developer Guide
Set Funding Sources to Confirmed Status
Solo
Carte Aurore
Carte Bleue
Cofinoga
4 étoiles
Carte Aura
Tarjeta Aurora
JCB
Set Funding Sources to Confirmed Status
If you call the AddBankAccount or AddPaymentCard methods, you can use the
SetFundingSourceConfirmed method to set the created funding source to “confirmed”. In
certain instances, this will cause the PayPal account status to be set to Verified.
Introducing Adaptive Accounts
1
Verifying the Status of a PayPal Account
A huge challenge that merchants face today is fraud. The GetVerifiedStatus method is a
great way to help PayPal merchants reduce the loss of profits due to fraud.
It works like this: Before a PayPal merchant engages in a transaction, the application sends a
GetVerifiedStatus request. This request contains specific criteria you want to match, such
as the PayPal account holder’s email address. The Adaptive Accounts web service responds
with a message that indicates if the match was verified. This provides an effective method of
reducing fraud. With the GetVerifiedStatus method, merchants have the security of
knowing that consumers’ PayPal accounts are verified before completing a transaction.
Account Creation Flow
For account creation on the web, call CreateAccount and use the redirect URL to direct the
person’s browser to PayPal. After the person creates an account, the browser is redirected to
the return URL you specified in the CreateAccount request.
The following diagram shows the basic flow of control for account creation on the web:
Adaptive Accounts Developer GuideMay 201213
Introducing Adaptive Accounts
1
Account Creation Flow
The following items correspond to the circled numbers in the diagram:
1. Your site or device sends a CreateAccount request to PayPal on behalf of a potential
account holder.
2. PayPal responds with a key and a URL, named the redirectURL, that you use when you
direct the person to PayPal.
3. You include the key and redirect your person’s browser to PayPal using the
redirectURL.
After the person logs on to PayPal and completes the account setup, the person is prompted to
return to the URL.
Account Creation Using a Minibrowser
PayPal can enable your customer to create an account using a minibrowser flow. Set
CreateAccountRequest.CreateAccountWebOptio nsType.useMinibrowser to
true in the CreateAccount request message to specify this flow.
NOTE: You must use Version 1.0.1 or higher of the Adaptive Accounts WSDL to implement
this flow.
When you redirect your customer’s browser to the URL in the CreateAccount response
message, PayPal responds with the following:
14May 2012Adaptive Accounts Developer Guide
Introducing Adaptive Accounts
Account Creation Flow
1
Your customer enters the password twice and clicks Agree and Continue to create the
account.
NOTE: By default, redirecting the browser to the returned URL opens the page in a default
browser window. You must provide JavaScripts to pop-up the window in a
minibrowser or to display it in a lightbox within your browser window.
Adding a Credit Card in the Minibrowser Account Creation Flow
PayPal can require your customer to add a credit card using a minibrowser flow. Set
CreateAccountRequest.CreateAccountWebOptio nsType.showAddCreditCard to
true in the CreateAccount request message to add a credit card during this flow.
After the customer specifies the password and agrees to create the account, PayPal responds
with the following page in a minibrowser:
Adaptive Accounts Developer GuideMay 201215
Introducing Adaptive Accounts
1
Account Creation Flow
Your customer enters debit or credit card information and clicks Add Card and Continue.
NOTE: Your customer can enter a phone number and associate a billing address, or add a new
address from the Billing address drop-down menu:
16May 2012Adaptive Accounts Developer Guide
Introducing Adaptive Accounts
Account Creation Flow
1
Confirming Account Creation Using a Mobile Phone
PayPal can enable your customer to confirm a mobile phone when creating an account for the
following countries using the minibrowser flow: Australia, Canada, Spain, France, United
Kingdom, Italy, Malaysia, Singapore, and United States. Set
CreateAccountRequest.CreateAccountWebOptio nsType.showMobileConfirm to
true in the CreateAccount request message to enable account creation using a mobile
phone during this flow.
After adding a debit or credit card, PayPal responds with the following page in a minibrowser:
Adaptive Accounts Developer GuideMay 201217
Introducing Adaptive Accounts
1
Account Creation Flow
Your customer requests a confirmation code by clicking Send SMS, and then clicks Confirm
Phone after entering the code in the SMS message.
NOTE: The phone number to confirm is the number associated with a debit or credit card for
the account, which you set on the Link a debit or credit card page. You cannot
change the phone number.
Default Account Creation From the Web
To enable your customer to create a PayPal account, you call the CreateAccout API
operation and use the returned URL to redirect your customer’s browser to PayPal. Your
customer then signs up and agrees to the terms of the account.
18May 2012Adaptive Accounts Developer Guide
Introducing Adaptive Accounts
Account Creation Flow
By default, when you redirect your customer’s browser to the URL in the CreateAccount
response message, PayPal responds with the following sequence of pages:
1. The Welcome page identifies the information that will be needed to create an account:
1
2. The Cr eate PayPal account login screen requests your customer to submit a password and
security questions, with answers:
Adaptive Accounts Developer GuideMay 201219
Introducing Adaptive Accounts
1
Account Creation Flow
3. The Add Credit or Debit Card page enables your customer to specify a funding source
and billing information:
20May 2012Adaptive Accounts Developer Guide
Introducing Adaptive Accounts
Account Creation Flow
1
NOTE: The account holder can add a credit or debit card now or click Cancel to continue
without adding a card.
4. After the person logs on to PayPal and completes the account setup, the person is prompted
to return to the URL.
Adaptive Accounts Developer GuideMay 201221
Introducing Adaptive Accounts
1
Account Creation Flow
22May 2012Adaptive Accounts Developer Guide
Supported Formats, URLs and
2
HTTP Request Headers
Adaptive Accounts Methods
Adaptive Accounts provides the following methods:
API OperationDescription
CreateAccountCreates PayPal accounts.
AddBankAccountLink bank accounts to PayPal accounts as funding sources.
AddPaymentCardLink payment cards to PayPal accounts as funding sources
SetFundingSourceConfirmedSet the funding source to confirmed; they may set the account to PayPal
Verified status.
GetVerifiedStatusVerify PayPal accounts by matching account holder criteria such as the
account holder’s email address.
Adaptive Accounts URLs
The endpoint is determined by the method and the environment in which you want to execute
the API operation. For example, if you want to send a CreateAccount request to the
sandbox, specify the following URL:
Adaptive Accounts supports both RESTful and SOAP-based web services. When making
RESTful calls, you can use the following data formats:
XML
Name-value pair (NV)
JSON
HTTP Request Headers
Required HTTP Request Headers
Header Description
X-PAYPAL-SECURITY-USERID Your API username as assigned to you on x.com.
X-PAYPAL-SECURITY-PASSWORD Your API password as assigned to you on x.com.
X-PAYPAL-SECURITY-SIGNATURE Your API signature. This header is only required if you use
3-token authorization. Do not pass this header if you use a
certificate.
X-PAYPAL-APPLICATION-IDYour application’s identification, which is issued at x.com.
X-PAYPAL-DEVICE-IPADDRESSThe IP address of the caller. This header is required for
CreateAccount requests.
X-PAYPAL-REQUEST-DATA-FORMATThe payload format for the request.
Allowable values are:
NV – Name-value pairs
XML – Extensible markup language
JSO N – JavaScript object notation
X-PAYPAL-RESPONSE-DATA-FORMATThe payload format for the response.
Allowable values are:
NV – Name-value pairs
XML – Extensible markup language
JSO N – JavaScript object notation
Optional HTTP Request Headers
Header Description
X-PAYPAL-SANDBOX-EMAIL-ADDRESSThe email address that the API caller uses to log into the
sandbox or beta sandbox; not required outside of the
sandbox.
24May 2012Adaptive Accounts Developer Guide
Supported Formats, URLs and HTTP Request Headers
HTTP Request Headers
Header Description
X-PAYPAL-DEVICE-IDClient’s device ID, such as a mobile device’s IMEI number.
This field is required for mobile application and is not used
for web application.
X-PAYPAL-MERCHANT-REFERRAL-BONU S-IDWhen creating a Business or Premier account, this header
enables the Merchant Referral Bonus invitation.
X-PAYPAL-SERVICE-VERSIONThe version of an API operation to use. By default, PayPal
executes a request with the current version of an API
operation.
NOTE: PayPal recommends not specifying a version unless
it is absolutely required.
2
Adaptive Accounts Developer GuideMay 201225
Supported Formats, URLs and HTTP Request Headers
2
HTTP Request Headers
26May 2012Adaptive Accounts Developer Guide
CreateAccount API Operation
3
The CreateAccount API operation enables you to create a PayPal account on behalf of a
third party.
CreateAccount Request
The CreateAccountRequest contains the information required to create a PayPal account
for a business customer.
Adaptive Accounts Developer GuideMay 201227
CreateAccount API Operation
3
CreateAccount Request
28May 2012Adaptive Accounts Developer Guide
CreateAccount API Operation
CreateAccount Request
3
Adaptive Accounts Developer GuideMay 201229
CreateAccount API Operation
3
CreateAccount Request
CreateAccount Request Fields
FieldDescription
accountTypexs:string
(Required) The type of account to be created. Allowable values are:
Pe rsonal – Personal account
Pr emier – Premier account
Bu siness – Business account
addressaa:Ad dressType
(Required) The address to be associated with the PayPal account.
businessInfoaa:BusinessInfoTyp e
This field is required for business account creation.
citizenshipCountryCodexs:string
(Required) The code of the country to be associated with the account. For
allowable values, refer to “Country Codes” on page 69.
clientDetailsDo not use this field.
contactPhoneNumberxs:string
(Required) Phone number to be associated with the account.
homePhoneNumberxs:string
(Optional) Home phone number to be associated with the account.
30May 2012Adaptive Accounts Developer Guide
FieldDescription
mobilePhoneNumberxs:string
(Optional) Mobile phone number to be associated with the account. You must
specify a value to invoke the mobile confirmation option.
(Required) The URL to which the business redirects the PayPal user for
PayPal account setup completion; also used for various other. configuration
settings for the web flow.
currencyCodexs:string
(Required) The three letter code for the currency to be associated with the
account.
dateOfBirthxs:date
The date of birth of the person for whom the PayPal account is created.
Required for Czech Republic, Japan, New Zealand, Israel, Switzerland,
Sweden, Denmark, and Australia; otherwise optional. Use YYYY-MM-DDZ
format; for example 1970-01-01Z.
CreateAccount API Operation
CreateAccount Request
3
emailAddressxs:string
(Required) Email address of person for whom the PayPal account is created.
nameaa:NameType
(Required) The name of the person for whom the PayPal account is created.
notificationURLxs:string
(Optional) The URL to post instant payment notification (IPN) messages to
regarding account creation. This URL supersedes the IPN notification URL set
in the merchant profile.
Maximum string length: between 1 and 1024 characters of the pattern <[a-aZZ]+\://){1}\S+
partnerField
perfermExtraVettingOnthi
sAccount
taxIdxs:string
nxs:string
(Optional) A maximum of five fields for your own use, where
between 1 and 5, inclusive.
xs:boolean
(Optional) Whether to subject the account to extra vetting by PayPal before the
account can be used.
(Optional) Tax Id (equivalent to SSN in US).
NOTE: This is only supported for Brazil, which uses tax ID numbers such as
the CPF and CNPJ.
n is a digit
Adaptive Accounts Developer GuideMay 201231
CreateAccount API Operation
3
CreateAccount Request
FieldDescription
preferredLanguageCodexs:string
(Required) The code indicating the language to be associated with the account.
What value is allowed depends on the country code passed in the
countryCode parameter for the address. Examples:
Argentina (AR) – en_US, es_XC
Australia (AU) – en_AU
Austria (AT) – de_DE, en_US
Brazil (BR) – en_US
Canada (CA) – en_US, fr_XC
China (CN) – e n_US
Czech Republic (CZ) – en_US
Denmark (DK) – en_US
France (FR) – fr_ FR
Germany (DE) – de_ DE
Israel (IL) – en_US, he_IL
Italy (IT) – it_IT
Japan (JP) – ja_JP
Malaysia (MY) – en_US
Mexico (MX) – e s_XC
Netherlands (NL) – nl_NL
New Zealand (NZ) – en_US
Russian Federation (RU) – en_US
Spain (ES) – es_ES
Switzerland (CH) – de_DE
Sweden (SE) – en_US
United Kingdom (GB) – en_GB
United States (US) – en_ US
registrationTypexs:string
(Required) This attribute determines whether a key or a URL is returned for
the redirect URL. Allowable value(s) currently supported:
We b – Returns a URL
requestEnvelopecommon:RequestEnve lope
(Required) Information common to each API operation, such as the language
in which an error message is returned.
suppressWelcomeEmailxs:boolean
(Optional) Whether or not to suppress the PayPal welcome email.
32May 2012Adaptive Accounts Developer Guide
AddressType Fields
FieldDescription
line1xs:string
(Required) The street address.
line2xs:string
(Optional) The second line of the address.
NOTE: This field is required for Brazilian addresses.
cityxs:string
(Required) The city.
statexs:string
(Optional) The state code.
postalCodexs:string
(Optional) The zip or postal code.
countryCodexs:string
(Required) The country code. For allowable values, refer to “Country Codes”
on page 69.
CreateAccount API Operation
CreateAccount Request
3
BusinessInfoType Fields
FieldDescription
averageMonthlyVolumexs:decimal
The average monthly transaction volume of the business for which the PayPal
account is created. Required for all countries except Japan and Australia.
IMPORTANT: Do not specify this field for Japan or Australia.
averagePricexs:decimal
The average price per transaction. Required for all countries except Japan and
Australia.
IMPORTANT: Do not specify this field for Japan or Australia.
businessAddressaa:addressType
(Required) The address for the business for which the PayPal account is
created.
businessNamexs:string
(Required) The name of the business for which the PayPal account is created.
businessStakeholderaa:businessStakeholderType
(Optional) The stakeholders in the business.
Adaptive Accounts Developer GuideMay 201233
CreateAccount API Operation
3
CreateAccount Request
FieldDescription
businessSubtypeaa:businessSubtype Type
(Optional) The sub type of the business for which the PayPal account is
created. Allowable values are:
NOTE: The WSDL lists additional business types, but the types above are the
only ones supported for this release.
categoryxs:integer
The category describing the business for which the PayPal account is created,
for example; 1004 for Baby. Required unless you specify
merchantCategoryCode. PayPal uses the industry standard Merchant
Category Codes. Refer to the business’ Association Merchant Category Code
documentation for a list of codes.
commercialRegistrationLo
cation
xs:string
Official commercial registration location for the business for which the PayPal
account is created. Required for Germany.
IMPORTANT: Do not specify this field for other countries.
companyIdxs:string
The identification number, equivalent to the tax ID in the United States, of the
business for which the PayPal account is created. Optional for business
accounts in: United States, United Kingdom, France, Spain, Italy, Netherlands,
Sweden, and Denmark. Required for business accounts in the following
countries: Canada, and some accounts in Australia and Germany,
IMPORTANT: Do not specify this field for other countries.
customerServiceEmailxs:string
(Required) The email address for the customer service department of the
business.
34May 2012Adaptive Accounts Developer Guide
FieldDescription
customerServicePhonexs:string
The phone number for the customer service department of the business.
Required for United States business accounts; otherwise, optional.
dateOfEstablishmentxs:date
The date of establishment for the business. Optional for France business
accounts and required for business accounts in the following countries: United
States, United Kingdom, Canada, Germany, Spain, Italy, Netherlands, Czech
Republic, Sweden, and Denmark.
IMPORTANT: Do not specify this field for other countries.
disputeEmailxs:string
(Optional) The email address to contact to dispute charges.
doingBusinessAsxs:string
(Optional) The business name being used if it is not the actual name of the
business.
establishmentCountryCodexs:string
(Optional) The code of the country where the business was established. For
allowable values, refer to “Country Codes” on page 69.
CreateAccount API Operation
CreateAccount Request
3
establishmentStatexs:string
(Optional) The state in which the business was established.
incorporationIdxs:string
(Optional) The incorporation identification number for the business.
merchantCategoryCodexs:string
The category code for the business. state in which the business was
established. Required unless you specify both category and subcategory.
PayPal uses the industry standard Merchant Category Codes. Refer to the
business’ Association Merchant Category Code documentation for a list of
codes.
percentageRevenueFromOnl
ine
principlePlaceofBusinessdaa:AddressType
registeredOfficeAddressaa:AddressType
xs:integer
The percentage of online sales for the business from 0 through 100. Required
for business accounts in the following countries: United States, Canada,
United Kingdom, France, Czech Republic, New Zealand, Switzerland, and
Israel.
IMPORTANT: Do not specify this field for other countries.
(Optional) The principle business address.
(Optional) The business address for the business registration.
Adaptive Accounts Developer GuideMay 201235
CreateAccount API Operation
3
CreateAccount Request
FieldDescription
salesVenueaa:salesVenueType
The venue type for sales. Required for business accounts in all countries
except Czech Republic and Australia. Allowable values are:
WEB
EBAY
OTHER_MARKETPLACE
OTHER
IMPORTANT: Do not specify this field for Czech Republic or Australia.
salesVenueDescxs:string
A description of the sales venue. Required if salesVenue is OTHER for all
countries except Czech Republic and Australia.
IMPORTANT: Do not specify this field for Czech Republic or Australia.
subcategoryxs:integer
The subcategory describing the business for which the PayPal account is
created. Required unless you specify merchantCategoryCode. PayPal uses
the industry standard Merchant Category Codes. Refer to the business’
Association Merchant Category Code documentation for a list of codes.
vatCountryCodexs:string
The country for the VAT. Optional for business accounts in the following
countries: United Kingdom, France, Germany, Spain, Italy, Netherlands,
Switzerland, Sweden, and Denmark. For allowable values, refer to “Country
Codes” on page 69.
IMPORTANT: Do not specify this field for other countries.
vatIdxs:string
The VAT identification number of the business. Optional for business accounts
in the following countries: United Kingdom, France, Germany, Spain, Italy,
Netherlands, Switzerland, Sweden, and Denmark.
IMPORTANT: Do not specify this field for other countries.
webSitexs:st ring
The URL for the website of the business in the following format:
http://www.example.com. Required if the salesVenue is WEB; otherwise
optional. The URL must be to a hosted website.
workPhonexs:string
(Required)* The phone number for the business. Not required for businesses in
Mexico.
36May 2012Adaptive Accounts Developer Guide
BusinessStakeholderType Fields
FieldDescription
addressaa:ad dressType
(Optional) The address of the stakeholder in the business for which the PayPal
account is created.
dateOfBirthxs:date
(Optional) The date of birth of the stakeholder in the business. Use YYYYMM-DDZ format; for example 1970-01-01Z.
fullLegalNamexs:string
(Optional) The legal name of the stakeholder in the business for which the
PayPal account is created.
nameaa:NameType
(Optional) The name of the stakeholder in the business for which the PayPal
account is created.
roleaa:StakeholderRoleType
(Optional) The role of the stakeholder in the business for which the PayPal
account is created. Allowable values are:
FailureWithWarning – Operation failed with a warning message
buildBuild number; used only by Developer Technical Support.
correlationIdCorrelation ID; used only by Developer Technical Support.
timestampThe date on which the response was sent. The time is not supported.
CreateAccount Request Sample
SOAP request
To create an account, the SOAP request specifies the name, address, and other identifying
information about the account holder for whom you want to create an account. You can
specify additional information to associate with the account in the partner information fields.
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.
580023The argument is inconsistent with the rest of the request
580027The parameter is not supported
580029A required parameter is missing from the request:
postalCode
state
businessStakeholder
city
countryCode
firstName
incorporationId
lastName
line1
postalCode
salesVenueDesc
state
mobilePhoneNumber
44May 2012Adaptive Accounts Developer Guide
AddBankAccount API Operation
4
The AddBankAccount API operation lets your application set up bank accounts as funding
sources for PayPal accounts.
AddBankAccount Request
Adaptive Accounts Developer GuideMay 201245
AddBankAccount API Operation
4
AddBankAccount Request
AddBankAccount Request Fields
FieldDescription
accountHolderDateofBirthxs:date
(Optional) The date of birth of the account holder in YYYY-MM-DDZ format,
for example 1970-01-01Z.
accountIdxs:string
(Optional) The identification number of the PayPal account for which a bank
account is added. You must specify either the accountId or emailAd dress
for this request.
agencyNumberxs:string
(Optional) For the Brazil Agency Number.
bankAccountNumberxs:string
(Optional) The account number (BBAN) of the bank account to be added.
bankAccountTypeaa:BankAccountType
(Optional) The type of bank account to be added. Allowable values are:
(Optional) The code that identifies the bank where the account is held.
bankCountryCodexs:string
(Required) The country code. For allowable values, refer to “Country Codes” on
page 69.
bankNamexs:string
(Optional) The default value is UNKNOWN.
bankTransitNumberxs:string
(Optional) The transit number of the bank.
branchCodexs:string
(Optional) The branch code for the bank.
branchLocationxs:string
(Optional) The branch location.
bsbNumberxs:string
(Optional) The Bank/State/Branch number for the bank.
clabexs:string
CLABE represents the bank information for countries like Mexico.
46May 2012Adaptive Accounts Developer Guide
FieldDescription
confirmationTypeaa:ConfirmationType
(Required) Whether PayPal account holders are redirected to PayPal.com to
confirm the payment card addition. When you pass NONE for this element, the
addition is made without the account holder’s explicit confirmation. If you pass
WEB, a URL is returned.
Allowable string values are:
WEB
NONE
NOTE: ConfirmationType NONE requires advanced permission levels. You
must pass the createAccount key.
controlDigitxs:string
(Optional) The control digits for the bank.
emailAddressxs:string
(Optional) The email address for the PayPal account. You must specify either
the accountId or emailAddress for this request.
AddBankAccount API Operation
AddBankAccount Request
4
ibanxs:string
(Optional) The IBAN for the bank.
institionNumberxs:string
(Optional) The institution number for the bank.
partnerInfoxs:string
(Optional) The partner information for the bank.
requestEnvelopecommon:RequestEnvelope
(Required) Information common to each API operation, such as the language in
which an error message is returned.
ribkeyxs:string
(Optional) The RIB key for the bank.
routingNumberxs:string
(Optional) The bank’s routing number.
sortCodexs:string
(Optional) The branch sort code.
taxIdTypexs:string
(Optional) Tax id type of CNPJ or CPF, only supported for Brazil.
taxIdNumberxs:string
(Optional) Tax id number for Brazil.
webOptionsTypeaa:WebOptionsType
(Optional) Additional structure to define the URLs for the cancellation and
return web flows.
Adaptive Accounts Developer GuideMay 201247
AddBankAccount API Operation
4
AddBankAccount Response
WebOptionsType Fields
FieldDescription
cancelUrlxs:string
cancelUrlDescriptionxs:string
returnUrlxs:string
returnUrlDescriptionxs:string
RequestEnvelope Fields
(Optional) The URL to which bank account/payment card holders return when
they cancel the bank account addition flow.
(Optional) A description of the cancellation URL.
(Optional) The URL to which bank account/payment card holders return after
they add the account or payment card.
(Optional) A description of the return URL.
FieldDescription
detailLevelcommon:DetailLevel Code
(Optional) The level of detail required by the client application for component
such as Item, Transaction. Possible values are:
ReturnAll – This value provides the maximum level of detail (default)
errorLanguagexs:string
(Required) The RFC 3066 language in which error messages are returned; by
default it is en_US, which is the only language currently supported
AddBankAccount Response
48May 2012Adaptive Accounts Developer Guide
AddBankAccount Response Fields
FieldDefinition
execStatusxs:string
Execution status for the request. Possible values are:
COMPLETED
CREATED
CREATED PENDING VERIFICATION
fundingSourceKeyxs:string
The key for the funding source to use in subsequent Adaptive Accounts API
request messages.
redirectURLxs:string
The URL to direct the PayPal account holder to redirection after the Add Bank
Account web flow is completed.
responseEnvelopecommon:ResponseEnvelope
Common response information, including a timestamp and the response
acknowledgement status.
FailureWithWarning – Operation failed with a warning message
buildBuild number; used only by Developer Technical Support.
correlationIdCorrelation ID; used only by Developer Technical Support.
timestampThe date on which the response was sent. The time is not supported.
Adaptive Accounts Developer GuideMay 201249
AddBankAccount API Operation
4
AddBankAccount Errors
AddBankAccount Errors
VariableDescription
500000Framework failure. Retry.
520002Internal error
520003Invalid credentials.
550001User is not allowed to perform this action
560022Invalid header.
560029The required <name> header is missing from the HTTP request
580001Invalid request:
PA_Invalid_Currency
Maximum attempts of Random deposits reached
Invalid request parameter: bankAccountType
Invalid request parameter: accountNumber
Unsupported countryCode
Invalid request parameter: countryCode
Invalid input
Invalid request parameter: dateOfBirth
Missing required request parameter: countryCode
There are maximum number of bank accounts
The bank account is already associated with another PayPal account
Bank account is already a part of the end user PayPal account
AddBankAccount has been rejected
Invalid bank account information
More than one inactive bank account matches the routing number and the
account number
Invalid beneficiary ID
PayPal account specified in the request is locked
PayPal account specified in the request is closed
Operation is not supported: PA_Replaceable_Value
Invalid request: PA_Replaceable_Value
The verification code for the card. This parameter is generally required for calls
where confirmationType is set to NONE. With the appropriate account
review, this parameter can be optional.
confirmationTypeaa:ConfirmationType
(Required) Whether PayPal account holders are redirected to PayPal.com to
confirm the payment card addition. When you pass NONE for this element, the
addition is made without the account holder’s explicit confirmation. If you pass
WEB, a URL is returned.
Allowable string values are:
WEB
NONE
NOTE: ConfirmationType NONE requires advanced permission levels. You
must pass the createAccount key and the cardVerificationNumber.
52May 2012Adaptive Accounts Developer Guide
FieldDescription
createAccountKeyxs:string
The createaccount key returned in the CreateAccount response. This
parameter is required for calls where the confirmationType is set to NONE.
emailAddressxs:string
(Optional) The email address for the PayPal account. You must specify either
the accountId or emailAddress for this request.
expirationDateaa:CardDateType
(Optional) The element containing the expiration date for the payment card.
issueNumberxs:string
(Optional) The 2-digit issue number for Switch, Maestro, and Solo cards.
nameOnCardaa:Nametype
(Required) The element containing the name of the card holder.
requestEnvelopecommon:RequestEnvelope
(Required) Information common to each API operation, such as the language in
which an error message is returned.
AddPaymentCard API Operation
AddPaymentCard Request
5
startDateaa:CardDateType
(Optional) The element containing the start date for the payment card.
webOptionsaa:WebOptionsType
(Optional) Additional structure to define the URLs for the cancelation and
return web flows.
AddressType Fields
FieldDescription
line1xs:string
(Required) The street address.
line2xs:string
(Optional) The second line of the address.
NOTE: This field is required for Brazilian addresses.
cityxs:string
(Required) The city.
statexs:string
(Optional) The state code.
postalCodexs:string
(Optional) The zip or postal code.
Adaptive Accounts Developer GuideMay 201253
AddPaymentCard API Operation
5
AddPaymentCard Request
FieldDescription
countryCodexs:string
NameType Fields
FieldDescription
salutationxs:string
firstNamexs:string
middleNamexs:string
(Required) The country code. For allowable values, refer to “Country Codes”
on page 69.
(Optional) A salutation for the account or payment card holder.
(Required) First name of the account or payment card holder.
(Optional) Middle name of the account or payment card holder.
lastNamexs:string
(Required) Last name of the account or payment card holder.
suffixxs:string
(Optional) A suffix for the account or payment card holder.
CardDateType Fields
FieldDescription
monthxs:integer
(Optional) The month of expiration.
yearxs:integer
(Required) The year of expiration.
RequestEnvelope Fields
FieldDescription
detailLevelcommon:DetailLevel Code
(Optional) The level of detail required by the client application for component
such as Item, Transaction. Possible values are:
ReturnAll – This value provides the maximum level of detail (default)
54May 2012Adaptive Accounts Developer Guide
FieldDescription
errorLanguagexs:string
(Required) The RFC 3066 language in which error messages are returned; by
default it is en_US, which is the only language currently supported
AddPaymentCard Response
AddPaymentCard API Operation
AddPaymentCard Response
5
AddPaymentCard Response Fields
FieldDefinition
execStatusxs:string
Execution status for the request. Possible values are:
COMPLETED
CREATED
CREATED PENDING VERIFICATION
fundingSourceKeyxs:string
The funding source key returned by the AddBankAccount response.
redirectURLxs:string
The URL to send the PayPal account holder to after the AddPaymentCard web
flow is completed.
responseEnvelopecommon:ResponseEnvelope
Common response information, including a timestamp and the response
acknowledgement status. See “ResponseEnvelope Fields” on page 40
FailureWithWarning – Operation failed with a warning message
buildBuild number; used only by Developer Technical Support.
correlationIdCorrelation ID; used only by Developer Technical Support.
timestampThe date on which the response was sent. The time is not supported.
AddPaymentCard Errors
VariableDescription
500000Framework failure. Retry.
520002Internal error
520003Invalid credentials.
550001User is not allowed to perform this action
560022Invalid header.
560029The required <name> header is missing from the HTTP request
580001Invalid request:
Card is already added to some other account
Card is already added to the account specified in the request
Payment card unavailable
The payment card was refused
The payment card has expired
PayPal account specified in the request is locked
PayPal account specified in the request is closed
Operation is not supported: PA_Replaceable_Value
Invalid request: PA_Replaceable_Value
The SetFundingSourceConfirmed API operation allows your application to mark a
funding source as confirmed, after it is added successfully with AddPaymentCard or
AddBankAccount.
SetFundingSourceConfirmed Request
SetFundingSourceConfirmed Request Fields
FieldDescription
accountIdxs:string
(Optional) The merchant account Id of the PayPal account to which the funding
source was added in the AddPaymentCard or AddBankAccount request. You
must specify either the accountId or mailAddress when making this
request, but never both in the same request.
emailAddressxs:string
(Optional) The email address of the PayPal account to which the funding source
was added in the AddPaymentCard or AddBankAccount request. You must
specify either the accountId or mailAddress when making this request, but
never both in the same request.
fundingSourceKeyxs:string
The funding source key returned in the AddBankAccount or AddPaymentCard
response.
requestEnvelopecommon:RequestEnvelope
(Required) Information common to each API operation, such as the language in
which an error message is returned.
Adaptive Accounts Developer GuideMay 201259
SetFundingSourceConfirmed API Operation
6
SetFundingSourceConfirmed Response
RequestEnvelope Fields
FieldDescription
detailLevelcommon:DetailLevel Code
(Optional) The level of detail required by the client application for component
such as Item, Transaction. Possible values are:
ReturnAll – This value provides the maximum level of detail (default)
errorLanguagexs:string
(Required) The RFC 3066 language in which error messages are returned; by
default it is en_US, which is the only language currently supported
FailureWithWarning – Operation failed with a warning message
buildBuild number; used only by Developer Technical Support.
correlationIdCorrelation ID; used only by Developer Technical Support.
timestampThe date on which the response was sent. The time is not supported.
60May 2012Adaptive Accounts Developer Guide
SetFundingSourceConfirmed API Operation
SetFundingSourceConfirmed Errors
SetFundingSourceConfirmed Errors
VariableDescription
500000Framework failure. Retry.
520002Internal error
520003Invalid credentials.
550001User is not allowed to perform this action
560022Invalid header.
560029The required <name> header is missing from the HTTP request.
580001Invalid request:
PayPal account specified in the request is locked
PayPal account specified in the request is closed
Operation is not supported: PA_Replaceable_Value
Invalid request: PA_Replaceable_Value
580023The argument is inconsistent with the rest of the request
Account cannot be confirmed with the request parameter provided
Account associated with createAccountKey is different from the one
provided in the request
580027The parameter is not supported.
Adaptive Accounts Developer GuideMay 201261
SetFundingSourceConfirmed API Operation
6
SetFundingSourceConfirmed Errors
62May 2012Adaptive Accounts Developer Guide
GetVerifiedStatus API Operation
7
The GetVerified Status API operation lets you check if a PayPal account status is verified.
A PayPal account gains verified status under a variety of circumstances, such as when an
account is linked to a verified funding source. Verified status serves to indicate a trust
relationship. For more information about account verified status, refer to PayPal.com.
GetVerifiedStatus Request
The GetVerifiedStatus request allows you to verify that a customer is indeed the holder
of the PayPal account information that was supplied.
GetVerifiedStatus Request Fields
FieldDescription
emailAddressxs:string
(Required) The email address of the PayPal account holder.
firstNamexs:string
(Required) The first name of the PayPal account holder. Required if
matchCriteria is NAME.
lastNamexs:string
(Required) The last name of the PayPal account holder. Required if
matchCriteria is NAME.
Adaptive Accounts Developer GuideMay 201263
GetVerifiedStatus API Operation
7
GetVerifiedStatus Request
FieldDescription
matchCriteriaxs:string
(Required) The criteria that must be matched in addition to emailAddress.
Currently, only NAME is supported.
Allowable string values are:
NAME
NONE
NOTE: To use ConfirmationType NONE you must request and be granted
advanced permission levels.
requestEnvelopecommon:RequestEnvelope
(Required) Information common to each API operation, such as the language in
which an error message is returned.
RequestEnvelope Fields
FieldDescription
detailLevelcommon:DetailLevel Code
(Optional) The level of detail required by the client application for component
such as Item, Transaction. Possible values are:
ReturnAll – This value provides the maximum level of detail (default)
errorLanguagexs:string
(Required) The RFC 3066 language in which error messages are returned; by
default it is en_US, which is the only language currently supported
64May 2012Adaptive Accounts Developer Guide
GetVerifiedStatus Response
GetVerifiedStatus API Operation
GetVerifiedStatus Response
7
GetVerifiedStatus Response Fields
FieldDefinition
accountStatusxs:string
This field returns VERIFIED or UNVERIFIED to indicate the account status.
responseEnvelopecommon:ResponseEnvelope
Common response information, including a timestamp and the response
acknowledgement status.
countryCodexs:string
(Required) The country code. For allowable values, refer to “Country Codes” on
page 69.
NOTE: In order to receive a countryCode value in the response, you must
specify matchCriteria=NONE in the GetVe rifiedStatus request.
To use matchCriteria=NONE, you must request and be granted
advanced permission levels.
userInfoTypeaa:UserInfoType
This set of data includes unique account identifiers.
FailureWithWarning – Operation failed with a warning message
buildBuild number; used only by Developer Technical Support.
correlationIdCorrelation ID; used only by Developer Technical Support.
timestampThe date on which the response was sent. The time is not supported.
UserInfoType Fields
FieldDescription
accountTypexs:string
(Required) The type of account. Allowable values are:
Personal – Personal account
Premier – Premier account
Business – Business account
nameaa:NameType
(Required) The name of the person for whom the PayPal account is created.
businessNameBusiness name of the PayPal account holder.
accountIdIdentifies the PayPal account.
NOTE: A call to this API must use either emailAddress or accountId as
the unique identifier for the account, but must never include both in
the same call.
emailAddressxs:string
(Required)Email address associated with the PayPal account: one of the
unique identifiers for the account.
NOTE: A call to this API must use either emailAddress or accountId as
the unique identifier for the account, but must never include both in
the same call.
66May 2012Adaptive Accounts Developer Guide
GetVerifiedStatus API Operation
GetVerifiedStatus Errors
GetVerifiedStatus Errors
VariableDescription
500000There is a system error.
520002Internal error
520003Username/password is incorrect.
550001User is not allowed to perform this action.
560027The argument value is unsupported.
560029The required <name> header is missing from the HTTP request.
580001Invalid Request:
User has exceeded call limit set for the API.
Personal account is not allowed for the country.
Language not supported.
Invalid request: <value>.
7
580023Cannot determine PayPal account status
580022Invalid request parameter: <name>
580023Invalid Request.
580029Missing required request parameter: <name>
Adaptive Accounts Developer GuideMay 201267
GetVerifiedStatus API Operation
7
GetVerifiedStatus Errors
68May 2012Adaptive Accounts Developer Guide
Country Codes
Below are the country codes for Adaptive Accounts. Countries marked with an asterisk ( * ) are not
supported for PayPal Payments Pro and Virtual Terminal.
A
Country or Region Country or Region Code
ÅLAND ISLANDS AX
ALBANIA AL
ALGERIA *DZ *
AMERICAN SAMOA AS
ANDORRA AD
ANGUILLA AI
ANTARCTICA *AQ *
ANTIGUA AND BARBUDA AG
ARGENTINA AR
ARMENIA AM
ARUBA AW
AUSTRALIA AU
AUSTRIA AT
AZERBAIJAN AZ
BAHAMAS BS
BAHRAIN BH
BANGLADESHBD
BARBADOS BB
BELGIUM BE
BELIZE BZ
BENIN BJ
BERMUDA BM
BHUTAN BT
BOSNIA-HERZEGOVINABA
BOTSWANA BW
BOUVET ISLAND *BV *
Adaptive Accounts Developer GuideMay 201269
Country Codes
A
Country or Region Country or Region Code
BRAZIL BR
BRITISH INDIAN OCEAN TERRITORY *IO *
BRUNEI DARUSSALAM BN
BULGARIA BG
BURKINA FASO BF
CANADA CA
CAPE VERDE CV
CAYMAN ISLANDS KY
CENTRAL AFRICAN REPUBLIC *CF *
CHILE CL
CHINA CN
CHRISTMAS ISLAND *CX *
COCOS (KEELING) ISLANDS CC
COLOMBIA CO
COOK ISLANDS CK
COSTA RICA CR
CYPRUS CY
CZECH REPUBLIC CZ
DENMARK DK
DJIBOUTI DJ
DOMINICA DM
DOMINICAN REPUBLIC DO
ECUADOREC
EGYPT EG
EL SALVADOR SV
ESTONIA EE
FALKLAND ISLANDS (MALVINAS) FK
FAROE ISLANDS FO
FIJI FJ
FINLAND FI
FRANCE FR
70May 2012Adaptive Accounts Developer Guide
Country Codes
Country or Region Country or Region Code
FRENCH GUIANA GF
FRENCH POLYNESIA PF
FRENCH SOUTHERN TERRITORIES TF
GABON GA
GAMBIA GM
GEORGIA GE
GERMANY DE
GHANA GH
GIBRALTAR GI
GREECE GR
GREENLAND GL
GRENADA GD
A
GUADELOUPE GP
GUAM GU
GUERNSEYGG
GUYANAGY
HEARD ISLAND AND MCDONALD ISLANDS *HM *
HOLY SEE (VATICAN CITY STATE) VA
HONDURAS HN
HONG KONG HK
HUNGARY HU
ICELAND IS
INDIA IN
INDONESIA ID
IRELAND IE
ISLE OF MAN IM
ISRAEL IL
ITALY IT
JAMAICA JM
JAPAN JP
JERSEYJE
Adaptive Accounts Developer GuideMay 201271
Country Codes
A
Country or Region Country or Region Code
JORDAN JO
KAZAKHSTAN KZ
KIRIBATI KI
KOREA, REPUBLIC OF KR
KUWAIT KW
KYRGYZSTAN KG
LATVIA LV
LESOTHO LS
LIECHTENSTEIN LI
LITHUANIA LT
LUXEMBOURG LU
MACAO MO
MACEDONIA MK
MADAGASCARMG
MALAWI MW
MALAYSIA MY
MALTA MT
MARSHALL ISLANDS MH
MARTINIQUE MQ
MAURITANIA MR
MAURITIUS MU
MAYOTTE YT
MEXICO MX
MICRONESIA, FEDERATED STATES OF FM
MOLDOVA, REPUBLIC OF MD
MONACO MC
MONGOLIA MN
MONTENEGROME
MONTSERRAT MS
MOROCCO MA
MOZAMBIQUE MZ
72May 2012Adaptive Accounts Developer Guide
Country Codes
Country or Region Country or Region Code
NAMIBIA NA
NAURU NR
NEPAL *NP *
NETHERLANDS NL
NETHERLANDS ANTILLES AN
NEW CALEDONIA NC
NEW ZEALAND NZ
NICARAGUA NI
NIGER NE
NIUE NU
NORFOLK ISLAND NF
NORTHERN MARIANA ISLANDS MP
A
NORWAY NO
OMAN OM
PA LA U PW
PA LE ST I NEPS
PANAMA PA
PARAGUAY PY
PERU PE
PHILIPPINES PH
PITCAIRN PN
POLAND PL
PORTUGAL PT
PUERTO RICO PR
QATAR QA
REUNION RE
ROMANIA RO
RUSSIAN FEDERATION RU
RWANDARW
SAINT HELENA SH
SAINT KITTS AND NEVIS KN
Adaptive Accounts Developer GuideMay 201273
Country Codes
A
Country or Region Country or Region Code
SAINT LUCIA LC
SAINT PIERRE AND MIQUELON PM
SAINT VINCENT AND THE GRENADINES VC
SAMOA WS
SAN MARINO SM
SAO TOME AND PRINCIPE *ST *
SAUDI ARABIA SA
SENEGAL SN
SERBIA RS
SEYCHELLES SC
SINGAPORE SG
SLOVAKIA SK
SLOVENIA SI
SOLOMON ISLANDS SB
SOUTH AFRICA ZA
SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS GS
SPAIN ES
SURINAME SR
SVALBARD AND JAN MAYEN SJ
SWAZILAND SZ
SWEDEN SE
SWITZERLAND CH
TAIWAN, PROVINCE OF CHINA TW
TANZANIA, UNITED REPUBLIC OF TZ
THAILAND TH
TIMOR-LESTE TL
TOGOTG
TOKELAU TK
TONGA TO
TRINIDAD AND TOBAGO TT
TUNISIA TN
74May 2012Adaptive Accounts Developer Guide
Country Codes
Country or Region Country or Region Code
TURKEY TR
TURKMENISTAN TM
TURKS AND CAICOS ISLANDS TC
TUVALU TV
UGANDAUG
UKRAINE UA
UNITED ARAB EMIRATES AE
UNITED KINGDOM GB
UNITED STATES US
UNITED STATES MINOR OUTLYING ISLANDS UM
URUGUAY UY
UZBEKISTANUZ
A
VANUATUVU
VENEZUELA VE
VIET NAM VN
VIRGIN ISLANDS, BRITISH VG
VIRGIN ISLANDS, U.S. VI
WALLIS AND FUTUNA WF
WESTERN SAHARA EH
ZAMBIA ZM
Adaptive Accounts Developer GuideMay 201275
Country Codes
A
76May 2012Adaptive Accounts Developer Guide
Business Categories and
B
Subcategories
Below are the codes for the business categories and subcategories that are passed for the
category and subcategory fields in CreateAccoun t requests for PayPal Business
accounts.
Categories
CategoryDescription
1000Arts, crafts, and collectibles
1001Baby
1002Beauty and fragrances
1003Books and magazines
1004Business to business
1005Clothing, accessories, and shoes
1006Computers, accessories, and services
1007Education
1008Electronics and telecom
1009Entertainment and media
1010Financial services and products
1011Food retail and service
1012Gifts and flowers
1013Government
1014Health and personal care
1015Home and garden
1016Nonprofit
1017Pets and animals
1018Religion and spirituality (for profit)
1019Retail (not elsewhere classified)
1020Services - other
1021Sports and outdoors
1022Toys and hobbies
1023Travel
Adaptive Accounts Developer GuideMay 201277
Business Categories and Subcategories
B
CategoryDescription
1024Vehicle sales
1025Vehicle service and accessories
Subcategories
SubcategoryDescriptionCategoryMerchant Category
2000Antiques10005932
2001Art and craft supplies10005970
2002Art dealers and galleries10005971
2003Camera and photographic supplies10005946
2004Digital art10005971
2005Memorabilia1005999
2006Music store (instruments and sheet music)10005733
2007Sewing, needlework, and fabrics10005949
2008Stamp and coin10005972
2009Stationary, printing and writing paper10005111
2010Vintage and collectibles10005931
2011Clothing10015641
2012Furniture10015712
2013Baby products (other)10015999
2014Safety and health10015999
2015Bath and body10025122
2016Fragrances and perfumes10025977
2017Makeup and cosmetics10025977
2018Audio books10035942
2019Digital content10035999
2020Educational and textbooks10035942
2021Fiction and nonfiction10035942
2022Magazines10035192
2023Publishing and printing10032741
2024Rare and used books10035942
2025Accounting10048931
78May 2012Adaptive Accounts Developer Guide
Business Categories and Subcategories
SubcategoryDescriptionCategoryMerchant Category
2026Advertising10047311
2027Agricultural1004780
B
2028Architectural, engineering, and surveying
services
2029Chemicals and allied products10045169
2030Commercial photography, art, and graphics10047333
2031Construction10045039
2032Consulting services10047392
2033Educational services10048299
2034Equipment rentals and leasing services10047394
2035Equipment repair services10047699
2036Hiring services10047361
2037Industrial and manufacturing supplies10045085
2038Mailing lists10045969
2039Marketing10045969
2040Multi-level marketing10045969
2041Office and commercial furniture10045021
2042Office supplies and equipment10045943
10048911
2043Publishing and printing10042741
2044Quick copy and reproduction services10047338
2045Shipping and packing10047399
2046Stenographic and secretarial support services10047339
2047Wholesale10047399
2048Children’s clothing10055641
2049Men’s clothing10055611
2050Women’s clothing10055621
2051Shoes10055661
2052Military and civil service uniforms10055699
2053Accessories10055699
2054Retail (fine jewelry and watches)10055094
2055Wholesale (precious stones and metals)10055094
Adaptive Accounts Developer GuideMay 201279
Business Categories and Subcategories
B
SubcategoryDescriptionCategoryMerchant Category
2056Fashion jewelry10055944
2057Computer and data processing services10067372
2058Desktops, laptops, and notebooks10065045
2059Digital content10065999
2060eCommerce services10064816
2061Maintenance and repair services10067379
2062Monitors and projectors10067379
2063Networking10064816
2064Online gaming10067999
2065Parts and accessories10065045
2066Peripherals10065045
2067Software10065734
2068Training services10068299
2069Web hosting and design10064816
2070Business and secretarial schools10078244
2071Child daycare services10078351
2072Colleges and universities10078220
2073Dance halls, studios, and schools10077911
2074Elementary and secondary schools10078211
2075Vocational and trade schools10078249
2076Cameras, camcorders, and equipment10085732
2078Cell phones, PDAs, and pagers10084812
2079General electronic accessories10085732
2080Home audio10085732
2081Home electronics10085732
2082Security and surveillance10085732
2083Telecommunication equipment and sales10084812
2084Telecommunication services10084814
2085Telephone cards10084814
2086Memorabilia10095999
2087Movie tickets10097832
80May 2012Adaptive Accounts Developer Guide
Business Categories and Subcategories
SubcategoryDescriptionCategoryMerchant Category
2088Movies (DVDs, videotapes)10095999
2089Music (CDs, cassettes and albums)10095735
2090Cable, satellite, and other pay TV and radio10094899
2091Adult digital content10095999
2092Concert tickets10097929
2093Theater tickets10097922
2094Toys and games10095945
2095Slot machines10095999
2096Digital content10095999
2097Entertainers10097929
2098Gambling10097995
2099Online games10097999
B
2100Video games and systems10095945
2101Accounting10108931
2102Collection agency10107321
2103Commodities and futures exchange10104829
2104Consumer credit reporting agencies10107321
2105Debt counseling service10107277
2106Credit union10106012
2107Currency dealer and currency exchange10104829
2108Escrow10104829
2109Finance company10106012
2110Financial and investment advice10108999
2111Insurance (auto and home)10105960
2112Insurance (life and annuity)10105960
2113Investments (general)10104829
2114Money service business10106012
2115Mortgage brokers or dealers10104829
2116Online gaming currency10104829
2117Paycheck lender or cash advance10106051
2118Prepaid and stored value cards10105999
Adaptive Accounts Developer GuideMay 201281
Business Categories and Subcategories
B
SubcategoryDescriptionCategoryMerchant Category
2119Real estate agent10106513
2120Remittance10104829
2121Rental property management10106513
2122Security brokers and dealers10106211
2123Wire transfer and money order10104829
2124Alcoholic beverages10115921
2125Catering services10115811
2126Coffee and tea10115499
2127Gourmet foods10115499
2128Specialty and miscellaneous food stores10115499
2129Restaurant10115812
2130Tobacco10110
2131Vitamins and supplements10115122
2132Florist10125193
2133Gift, card, novelty, and souvenir shops10125947
2150Drapery, window covering, and upholstery10155714
2151Exterminating and disinfecting services10157342
2152Fireplace, and fireplace screens10155718
2153Furniture10155712
2154Garden supplies10155261
2155Glass, paint, and wallpaper10155231
2156Hardware and tools10155251
2157Home decor10155719
2158Housewares10155719
2159Kitchenware10155719
2160Landscaping1015780
2161Rugs and carpets10155713
B
2162Security and surveillance equipment10155732
2163Swimming pools and spas10155996
2164Charity10168398
2165Political10168398
2166Religious10168398
2167Other10168398
2168Personal10168398
2169Educational10168398
2171Medication and supplements10175995
2172Pet shops, pet food, and supplies10175995
2173Specialty or rare pets10175995
2174Veterinary services1017742
2175Membership services10188699
2176Merchandise10185973
2177Services (not elsewhere classified)10188999
2178Chemicals and allied products10195169
2179Department store10195311
2180Discount store10195310
2181Durable goods10195099
Adaptive Accounts Developer GuideMay 201283
Business Categories and Subcategories
B
SubcategoryDescriptionCategoryMerchant Category
2182Non-durable goods10195199
2183Used and secondhand store10195931
2184Variety store10195331
2185Advertising10207311
2186Shopping services and buying clubs10207278
2187Career services10207361
2188Carpentry10201750
2189Child care services10208351
2190Cleaning and maintenance10202842
2191Commercial photography10207333
2192Computer and data processing services10207372
2193Computer network services10204816
2194Consulting services10207392
2195Counseling services10207277
2196Courier services10204215
2197Dental care10208021
2198eCommerce services10204816
2199Electrical and small appliance repair10207629
2200Entertainment10207929
2201Equipment rental and leasing services10207394
2202Event and wedding planning10208999
2203Gambling10207995
2204General contractors10201520
2205Graphic and commercial design10207333
2206Health and beauty spas10207298
2207IDs, licenses, and passports10208999
2208Importing and exporting10207399
2209Information retrieval services10207375
2210Insurance - auto and home10205960
2211Insurance - life and annuity10205960
2212Landscaping and horticultural1020780
84May 2012Adaptive Accounts Developer Guide
Business Categories and Subcategories
SubcategoryDescriptionCategoryMerchant Category
2213Legal services and attorneys10208111
2214Local delivery service10204215
2215Lottery and contests10208999
2216Medical care10208011
2217Membership clubs and organizations10207991
2218Misc. publishing and printing10202741
2219Moving and storage10208999
2220Online dating10207273
2221Photofinishing10207395
2222Photographic studios - portraits10207221
2223Protective and security services10207393
2224Quick copy and reproduction services10207338
B
2225Radio, television, and stereo repair10207622
2226Real estate agent10206513
2227Rental property management10206513
2228Reupholstery and furniture repair10207641
2229Services (not elsewhere classified)10208999
2230Shipping and packing10207399
2231Swimming pool services10205996
2232Tailors and alterations10205697
2233Telecommunication service10204814
2234Utilities10204900
2235Vision care10208043
2236Watch, clock, and jewelry repair10207631
2237Athletic shoes10215661
2238Bicycle shop, service, and repair10215940
2239Boating, sailing and accessories10215551
2240Camping and outdoors10215941
2241Dance halls, studios, and schools10217911
2242Exercise and fitness10215941
2243Fan gear and memorabilia10215947
Adaptive Accounts Developer GuideMay 201285
Business Categories and Subcategories
B
SubcategoryDescriptionCategoryMerchant Category
2244Firearm accessories10215999
2245Firearms10215999
2246Hunting10215941
2247Knives10215941
2248Martial arts weapons10215941
2249Sport games and toys10215941
2250Sporting equipment10215941
2251Swimming pools and spas10215996
2252Arts and crafts10225970
2253Camera and photographic supplies10225946
2254Hobby, toy, and game shops10225945
2255Memorabilia10225999
2256Music store - instruments and sheet music10225733
2257Stamp and coin10225972
2258Stationary, printing, and writing paper10225111
2259Vintage and collectibles10225931
2260Video games and systems10225945
2261Airline10234511
2262Auto rental10233351
2263Bus line10234131
2264Cruises10234411
2265Lodging and accommodations10237011
2266Luggage and leather goods10235948
2267Recreational services10237999
2268Sporting and recreation camps10237032
2269Taxicabs and limousines10234121
2270Timeshares10237012
2271Tours10234722
2272Trailer parks or campgrounds10237033
2273Transportation services - other10234789
2274Travel agency10234722
86May 2012Adaptive Accounts Developer Guide
Business Categories and Subcategories
SubcategoryDescriptionCategoryMerchant Category
2275Auto dealer - new and used10245511
2276Auto dealer - used only10245521
2277Aviation10245599
2278Boat dealer10245551
2279Mobile home dealer10245271
2280Motorcycle dealer10245571
2281Recreational and utility trailer dealer10245561
2282Recreational vehicle dealer10245561
2283Vintage and collectibles10245521
2284New parts and supplies - motor vehicle10255533
2285Used parts - motor vehicle10255533
2286Audio and video10255732
B
2287Auto body repair and paint10257531
2288Auto rental10253351
2289Auto service10257538
2290Automotive tire supply and service10255532
2291Boat rental and leases10254457
2292Car wash10257542
2293Motor home and recreational vehicle rental10257519
2294Tools and equipment10255533
2295Towing service10257549
2296Truck and utility trailer rental10257513
2297Accessories10255533
Adaptive Accounts Developer GuideMay 201287
Business Categories and Subcategories
B
88May 2012Adaptive Accounts Developer Guide
Adaptive Accounts IPN Messages
C
PayPal sends an IPN message whenever a PayPal account is created using the
CreateAccount API operation.
FieldDescription
notify_versionMessage’s version number
first_nameAccount holder’s first name
last_nameAccount holder’s last name
verify_signEncrypted string used to validate the authenticity of the transaction
charsetCharacter set
account_keyAccount key returned by the CreateAccount API operation
confirmation_codeConfirmation code
event_typeThe kind of event:
ACCOUNT_CONFIRMED indicates that the account holder has set a password
and the account has been created.
LOGIN_CONFIRMED indicates that the account holder logged into the
account.
Example IPN message in response to CreateAccount request
Unless you specify the version, PayPal defaults to the latest version of an API operation. APIs
are backwards compatible with previous versions; however, PayPal recommends that you use
the most recent version.
Adaptive Account Changes Corresponding to PayPal Version
85.0
This document includes corrections to the explanations of the account creation flow and
updates to Adaptive Accounts methods. The 85.0 release includes the following new features:
In the CreateAccount API, a new taxId field.
Updates to the error codes listings for multiple APIs.
New UserInfo fields for the GetVerifiedStatus API
New UserInfo Fields in GetVerifiedStatus API
FieldDescription
accountTypesample xs:boolean
(Optional) sample Whether or not to show the mobile confirmation option.
true - show the option
false - do not show the option (default)
name
businessName
accountId
emailAddress
Adaptive Accounts Developer GuideMay 201291
Adaptive Account Changes Corresponding to PayPal Version 69.0
Adaptive Account Changes Corresponding to PayPal Version
69.0
Version 1.0.3 of Adaptive Accounts corresponds to Release 69.0 of the PayPal API. It
includes the following changes to the minibrowser account creation feature and adds a
supporting field in the CreateWebOptionsType structure:
Enhanced the minibrowser account creation flow to optionally include adding a bank card
with a shipping address and confirmed phone number.
Changes to CreateWebOptionsType fields
FieldDescription
showMobileConfirmxs:boolean
(Optional) Whether or not to show the mobile confirmation option.
true - show the option
false - do not show the option (default)
Adaptive Account Changes Corresponding to PayPal Version
65.5
This release corresponds to Version 65.2 of the PayPal API. It includes the following new
Adaptive Accounts feature:
Added an account creation flow that displays the Create your PayPal account flow in a
minibrowser.
NOTE: You must use Version 1.0.1 or higher of the Adaptive Accounts WSDL to implement
this flow.
Adaptive Account Changes Corresponding to PayPal Version
64.2
This release includes the following new features:
Ability to add payment cards as funding sources (new AddPaymentCard method.
Ability to set the status for funding sources to confirmed (new
SetFundingSourceConfirmed method.
Ability to add bank accounts without redirecting to PayPal.com (new confirmedType
element)
Added country support for CreateAccount and AddBankAccount methods.
92May 2012Adaptive Accounts Developer Guide
Adaptive Account Changes Correspondin g to PayPal Version 62.2
Ability to have PayPal perform extra vetting before activating an account (new
performExtraVettingOnThisAccount parameter in Create Account).
Support for Merchant Referral Bonus functionality for CreateAccount
(Business/Premier accounts only) via the new HTTP request header X-PAYPAL-MERCHANT-REFERRAL-BONUS-ID.
Added country support for Malaysia, Singapore, China, Taiwan, Thailand, and Hong Kong
for AddPaymentCard (confirmationType WEB only)
Adaptive Account Changes Corresponding to PayPal Version
62.2
The 62.2 release included the following new features:
Ability to create business accounts
Adding bank accounts as funding sources
Account verification
Creating Business Accounts
You can now use the CreateAccount API to create PayPal Business accounts. To this end,
the CreateAcc ountRequest message lets you pass a new parameter, businessInfoType.
Adding Bank Accounts
This release provides the AddBankAccount API, which lets your application link the PayPal
account to a bank account as the funding source.
Verifying Accounts
Adaptive Accounts now provides a new API, GetVerifiedStatus. This API lets you check
the PayPal account status. PayPal accounts can be verified or unverified. A PayPal account
gains verified status under a variety of circumstances, such as when an account is linked to a
verified funding source. Verified status serves to indicate to PayPal that there is a history of
payment. For more information about account verified status, refer to PayPal.com.
Adaptive Accounts Developer GuideMay 201293
Adaptive Account Changes Corresponding to PayPal Version 62.2
94May 2012Adaptive Accounts Developer Guide
Revision History
Revision history for Adaptive Accounts Service documentation.
DateDescription
5/2/12Maintenance release.
12/09/11Corrections and updates corresponding to modifications and changes through
release 85, including new fields in the GetVerifiedStatus API.
02/23/11Updated information about the account creation minibrowser flow for version
1.0.3, corresponding to release 69.
08/12/10Added information about merchant referral bonus invitations.
01/12/10Added country codes for Australia and Israel.
10/02/09Beta draft for version 1.0.1.
09/12/09Revised draft for version 1.0.1.
06/11/09Initial draft for version 1.0.1.
Adaptive Accounts Developer GuideMay 201295
96May 2012Adaptive Accounts Developer Guide
Index
A
Account creation, adding credit card 15
Account creation, default 19
Account creation, using minibrowser 14
accountHolderDateofBirth request field 46
accountId request field 46, 52, 59
accountId response field 39
accountStatus response field 65
accountType request field 30, 66
ack response field 40, 49, 56, 60, 66
AddBankAccount API operation 45
AddBankAccount request fields 46
AddBankAccount request message 45
AddBankAccount response fields 49
AddBankAccount response message 48
AddPaymentCard request fields 52
AddPaymentCard request message 51
AddPaymentCard response fields 55
AddPaymentCard response message 55
address request field 30, 37
AddressType request fields 33, 53
API methods 23
averageMonthlyVolume request field 33
averagePrice request field 33
B
bankAccountNumber request field 46
bankAccountType request field 46
bankCode request field 46
bankCountryCode request field 46
bankName request field 46
bankTransitNumber request field 46
billingAddress request field 52
branchCode request field 46
branchLocation request field 46
bsbNumber request field 46
build response field 40, 49, 56, 60, 66
businessAddress request field 33
businessInfo request field 30
BusinessInfoType request fields 33
businessName field 66
businessName request field 33
businessStakeholder request field 33
BusinessStakeholderType request fields 37
businessSubtype request field 34
businessType request field 34
C
cancelUrl request field 48
cancelUrlDescription request field 48
CardDateType request fields 54
cardNumber request field 52
cardOwnerDateOfBirth request field 52
cardType request field 52
cardVerificationNumber request field 52
category request field 34
citizenshipCountryCode request field 30
city request field 33, 53
clabe request field 46
clientDetails request field 30
commercialRegistrationLocation request field 34
companyId request field 34
confirmationType request field 47, 52
contactPhoneNumber request field 30
controlDigit request field 47
correlationId response field 40, 49, 56, 60, 66
countryCode request field 33, 37, 54, 65
CreateAccount API operation 27
CreateAccount request fields 30, 66
CreateAccount Request message 27
CreateAccount response fields 39
CreateAccount Response message 39
createAccountKey request field 53
createAccountKey response field 39
createAccountWebOptions request field 31
CreateWebOptionsType request fields 37
credit card, adding during account creation 15
currencyCode request field 31
customerServiceEmail request field 34
customerServicePhone request field 35
Adaptive Accounts Developer GuideMay 201297
Index
D
dateOfBirth request field 31, 37
dateOfEstablishment request field 35
detailLevel request field 39, 48, 54, 60, 64
disputeEmail request field 35
doingBusinessAs request field 35
E
emailAddress request field 31, 47, 53, 59, 63, 66
errorLanguage request field 39, 48, 55, 60, 64
establishmen tCountryCode request field 35
establishmentState request field 35
execStatus response field 40
execstatus response field 49, 55
expirationDate request field 53
F
firstName request field 38, 54, 63
fullLegalName request field 37
fundingSourceKey request field 59
fundingSourceKey response field 49, 55
iban request field 47
incorporationId request fi eld 35
institionNumber request field 47
issueNumber request field 53
line1 request field 33, 53
line2 request field 33, 53
M
matchCriteria request field 64
merchantCategoryCode request field 35
methods, Adaptive Accounts 23
middleName request field 38, 54
mobilePhoneNumber request field 31
month request field 54
N
name request field 31, 37, 66
nameOnCard request field 53
NameType request fields 38, 54
notificationURL request field 31
P
partnerFieldn request field 31
partnerInfo request field 47
percentageRevenueFromOnline request field 35
perfermExtraVettingOnthisAccount request field 31
postalCode request field 33, 53
principlePlaceofBusinessd request field 35
R
redirectURL response field 49, 55
registeredOfficeAddress request field 35
requestEnvelope request field 47, 53, 59, 64
RequestEnvelope request fields 39, 48, 54, 60, 64
ResponseEnvelope fields 40, 49, 56, 60, 66
responseEnvelope response field 40, 49, 55, 65
returnUrl request field 37, 38, 48, 54
returnURL response field 40
returnUrlDescription request field 37, 48
ribkey request field 47
role request field 37
routingNumber request field 47
L
S
lastName request field 38, 54, 63
98May 2012Adaptive Accounts Developer Guide
salesVenue request field 36
salesVenueDesc request field 36
SetFundingSourceConfirmed API operation 59
SetFundingSourceConfirmed request fields 59
SetFundingSourceConfirmed request message 59
SetFundingSourceConfirmed response message 60
showAddCreditCard request field 38
showMobileConfirm request field 38, 92
sortCode request field 47
startDate request field 53
state request field 33, 53
subcategory request field 36
suffix request field 38, 54
T
taxId field 31
taxIdNumber 47
taxIdType 47
timestamp response field 40, 49, 56, 60, 66
Index
U
useMiniBrowser request field 38
userInfoType information 65
V
vatCountryCode request field 36
vatId request field 36
W
webOptions request field 53
webOptionsType request field 47
WebOptionsType request fields 48
webSite request field 36
workPhone request field 36
Y
year request field 54
Adaptive Accounts Developer GuideMay 201299
Index
100May 2012Adaptive Accounts Developer Guide
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.