Why did I get API error code 10535?

The credit or debit card number supplied is invalid.

Check that the CreditCardType parameter is passing a valid variable as listed below and re-send your API call.

For the United Kingdom, only Maestro, Master Card, and Visa are allowable. For Canada, only Master Card and Visa are allowable. Interac debit cards aren't supported.

Valid credit card types are:

  • Visa
  • Master Card
  • Discover
  • AMEX
  • JCB
  • Maestro (if the credit card type is Maestro, you must set CURRENCYCODE to GBP. In addition, you must specify either STARTDATE or ISSUENUMBER).

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

More ways we can help

Developer Resources

Access documentation, APIs and more

Braintree Support

Find technical information on processing with Braintree

Site Status

Get status on scheduled maintenance and more

Personal Help

Get help with using any of our PayPal products

Business Help

Get help with using any of our PayPal products

Message Center

Send, receive, and view your PayPal messages