When you know the TransactionId but need Order details, you can obtain it in 2 steps:
/v2/payments/captures/{capture_id}
."supplementary_data": {"related_ids": {"order_id": "0WV12345XF123456D"}}
)./v2/checkout/orders/{order_id}
using the order_id you obtained from step-1.