Since you have already returned the item, I would use "will". If you were thinking about returning the item, I would use "would'.
I returned the item and was wondering how long will/would it take for the refund.
Are both okay?
"... how long it will/would take for the refund."