method: |
|
|
|
Request Envelope Fields |
requestEnvelope.errorLanguage: |
(Required!) |
|
|
|
(Required)The RFC 3066 language in which error messages are returned; by default it is en_US, which is the only language currently supported
|
requestEnvelope.detailLevel: |
|
|
|
|
ReturnAll= The level of detail required by the client application, as represented by the following value: ReturnAll - provide all information (default)
|
Client Details Fields |
clientDetails.deviceId: |
|
|
|
|
(Optional) Sender’s device ID, such as a mobile device’s IMEI number or a web browser cookie
|
clientDetails.ipAddress: |
(Required!) |
|
|
|
(Required) Sender’s IP address
|
clientDetails.model: |
|
|
|
|
A sub-identification of the application
|
clientDetails.geoLocation: |
|
|
|
|
Sender’s geographic location
|
clientDetails.customerType: |
|
|
|
|
Your identification of the type of customer
|
clientDetails.partnerName: |
|
|
|
|
Your organization’s name or ID
|
clientDetails.customerId: |
|
|
|
|
|
clientDetails.applicationId: |
(Required!) |
|
|
|
(Required) Your application’s identification, such as the name of your application
|
CreateAccount Request Fields: |
accountType: |
(Required!) |
|
|
|
The type of account to be created. Allowable values are: Personal – Personal account Premier – Premier account
|
address.line1: |
(Required!) |
|
|
|
|
address.line2: |
|
|
|
|
|
address.city: |
(Required!) |
|
|
|
|
address.state: |
|
|
|
|
|
address.postalCode: |
|
|
|
|
|
address.countryCode: |
(Required!) |
|
|
|
|
citizenshipCountryCode: |
(Required!) |
|
|
|
The code of the country to be associated with the business account. This field does not apply to personal and premier accounts. Allowable values are: CA – Canada CZ – Czech Republic DE– Germany ES – Spain FR – France GR – Greece IT – Italy JP – Japan NL – Netherlands PL – Poland RU – Russian Federation UK – United Kingdom US – United States
|
clientDetails: |
|
|
|
|
|
contactPhoneNumber: |
(Required!) |
|
|
|
|
createAccountWebOptions.returnUrl: |
(Required!) |
|
|
|
The URL to which the business redirects the PayPal user to complete account setup. // The URL to which the business must redirect the PayPal account user during account creation.
|
currencyCode: |
(Required!) |
|
|
|
The code of the currency to be associated with the account. It is one of the following values: AUD – Australian Dollar
CAD – Canadian Dollar CZK – Czech Koruna DKK – Danish Krone EUR – Euro HKD – Hong Kong Dollar HUF – Hungarian Forint ILS – Israeli New Sheqel JPY – Japanese Yen MXN – Mexican Peso NOK – Norwegian Krone NZD – New Zealand Dollar PHP – Philippine Peso PLN – Polish Zloty GBP – Pound Sterling SGD – Singapore Dollar SEK – Swedish Krona CHF – Swiss Franc TWD – Taiwan New Dollar THB – Thai Baht USD – U.S. Dollar
|
dateOfBirth: |
|
|
|
|
The date of birth of person to be associated with the account in YYYY-MM-DDZ format, for example 1970-01-01Z. Whether this field is required depends on the type of account and the country in which the account is located. This field is optional for US accounts. This field is required for: accounts located in Canada accounts for which the country code is SG.
|
emailAddress: |
(Required!) |
|
|
|
Email address of person to be associated with the account.
|
name.salutation: |
|
|
|
|
|
name.firstName: |
(Required!) |
|
|
|
|
name.middleName: |
|
|
|
|
|
name.lastName: |
(Required!) |
|
|
|
|
name.suffix: |
|
|
|
|
|
notificationURL: |
|
|
|
|
The URL to post instant payment notification (IPN) messages regarding account creation. This URL supersedes the IPN notification URL you may have set in your profile.
|
partnerField1: |
|
|
|
|
A maximum of five fields for your own use, where n is a digit between 1 and 5, inclusive.
|
partnerField2: |
|
|
|
|
A maximum of five fields for your own use, where n is a digit between 1 and 5, inclusive.
|
partnerField3: |
|
|
|
|
A maximum of five fields for your own use, where n is a digit between 1 and 5, inclusive.
|
partnerField4: |
|
|
|
|
A maximum of five fields for your own use, where n is a digit between 1 and 5, inclusive.
|
partnerField5: |
|
|
|
|
A maximum of five fields for your own use, where n is a digit between 1 and 5, inclusive.
|
preferredLanguageCode: |
(Required!) |
|
|
|
The code indicating the language to be associated with the account.
Allowable values are: en_US – US English en_GB – British English en_AU – Australian English de_DE – German de_AT – Austrian de_CH – Swiss es_ES – Spanish fr_FR – French fr_XC – Canadian French it_IT – Italian ja_JP – Japanese nl_NL – Dutch pl_PL – Polish
|
registrationType: |
(Required!) |
|
|
|
Whether the PayPal user will use a mobile device or the web to complete registration. This attribute determines whether a key or a URL is returned for the redirect URL. Allowable values are: Web – Returns a URL
|
sandboxEmailAddress: |
|
|
|
createAccountWebOptions.useMiniBrowser: |
|
|
|
wait........ |
|
|