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

Resolution Center

Fix transaction and account related issues

Tax center

Get your 1099-K and other tax info here

Business Help

Get help with using any of our PayPal products

Technical Help

Find out how PayPal works for your business

Message Center

Send, receive, and view your PayPal messages