Why did I get API error code 10562 or 10563?

This error occurs when the API request contains an invalid expiration date.

To resolve this, review the error code received and amend the corresponding part of the credit card's expiration date:

  • 10562 - The expiration year must contain four digits (YYYY) and be equal to or greater than the current year (for example, "2030").
  • 10563 - The expiration month must contain two digits (MM) between "01" and "12." Include a leading zero where necessary (for example, "05" for May).


PayPal NVP and SOAP API Reference Guides.

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