Why did I get API error code 10627?
This error occurs with the DoCapture API call if you specify an Invoice ID when capturing a basic authorization. To resolve it, don't pass an Invoice ID when performing a DoAuthorization, DoReauthorization, or DoVoid. The Invoice ID parameter can be used only with a DoCapture API call.
See the Developer Portal for a complete list of NVP/SOAP API error codes.