Thanks for the suggestions. The quickest solution I found was to lift lines 107-120 from getXpcTransactionsAddInfo() in
Code:
/classes/XLite/Module/CDev/XPaymentsConnector/View/PopupAddInfo.php
By directly providing the xpc_txnid on line 109 I got the needed info.