This is a really old question, but if someone still having the same issue. I'm using:
try await Transaction.beginRefundRequest(for: transactionId, in: scene)
The only thing you will need is the transaction id.