New to the community? Welcome! Please read our Community Rules and Guidelines
Pay, shop, and do even more on the PayPal appGet the App
When I create a PayPal sandbox account using Adaptive Accounts for some countries I get response with error 580027 "This account type is not supported"
For example. Canada
Request URL:
https://svcs.sandbox.paypal.com/AdaptiveAccounts/CreateAccount
Request Headers:
X-PAYPAL-SECURITY-USERID=***_api1.gmail.com,
X-PAYPAL-SECURITY-PASSWORD=***,
X-PAYPAL-SECURITY-SIGNATURE=***,
X-PAYPAL-APPLICATION-ID=APP-80W284485P519543T,
X-PAYPAL-REQUEST-DATA-FORMAT=JSON,
X-PAYPAL-RESPONSE-DATA-FORMAT=JSON,
X-PAYPAL-SANDBOX-EMAIL-ADDRESS=***,
X-PAYPAL-DEVICE-IPADDRESS=192.0.0.0
Request JSON:
{ "sandboxEmailAddress": "***", "accountType":"PERSONAL", "name": { "firstName":"Pay", "lastName":"Pal" }, "address": { "line1":"1 Maire- <removed> ", "city":"Toronto", "state":"ON", "postalCode":"<removed>", "countryCode":"CA" }, "citizenshipCountryCode":"CA", "contactPhoneNumber"[Removed. Phone #s not permitted], "dateOfBirth":"1968-01-01Z", "createAccountWebOptions": { "returnUrl":"http://example.com/success.html" }, "currencyCode":"CAD", "emailAddress":"sandbox***", "preferredLanguageCode":"en_US", "registrationType":"Web", "requestEnvelope": { "errorLanguage":"en_US" }, "confirmEmail":"false" }
Response:
{ "error": [ { "severity": "Error", "domain": "PLATFORM", "parameter": [ "This account type is not supported" ], "subdomain": "Application", "errorId": "580027", "category": "Application", "message": "Prohibited request parameter: This account type is not supported{1}" } ], "responseEnvelope": { "build": "adaptiveaccountapiserv-214.0.20210513110130477_20210513110130477", "ack": "Failure", "correlationId": "9ffd998909169", "timestamp": "2021-06-15T08:11:34.563-07:00" } }
I can create account for USA, Germany, Italy; but when I try to create account for UK, Australia, Canada I get this error.
Please, help me to resolve this issue.
©1999-2023 PayPal, Inc. All rights reserved.