Hi
You won't get a refund if the visa has already been issued.
The OP is probably referring to the RPRF ($490) If s/he has never used the visa then it can be returned with the passport to the issuing office for cancellation and a refund requested. It can't be done at the border.