Why did I get API error code 10527?

This error can be returned if the credit card information you're passing has problems. The problems can include the card type (such as Visa, Mastercard, Amex, or Discover), the card number, or both.

To resolve this error, ensure that you're passing the correct card type and that the number format is correct. Make sure the credit card information is mapped to the credit card fields in your form. Here are some examples of card type or number format issues that would produce error code 10527:

  • Passing an Amex credit card number that begins with a number other than 3.
  • Passing a Visa credit card number that has more or fewer than 16 digits.
  • Passing white spaces in your card number in the API request. White space characters are treated as part of the card number.

See the Developer Portal for a complete list of NVP/SOAP API error codes.

PayPal NVP and SOAP API Reference Guides.

More ways we can help

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more