We highly recommend migrating over to the Payments API and Orders API since the Transactions API is deprecated and will be retired in the future. Also the order that’s generated from a refund isn’t returned by the Transactions API. You’ll need to use the Orders API to get the refund details which will have source_order_id
. The source_order_id
is the original transaction_id
of the payment.