Why did I get API error code 10502?
Error code 10502 occurs when a transaction can’t be processed because an expired credit card was used. Ask your customer to use another payment method and retry the transaction.
See the Developer Portal for a complete list of NVP/SOAP API error codes.