Refund of prepayment

SOLVED

I made a prepayment to a vendor and recorded it. However, the vendor has now refunded the amount back to us. I'm not sure how to account for it at the moment, but the refunded amount has been deposited into our bank.

any guidance?