The Microsoft Store processes the payment for the unlock, so refunds go through Microsoft: we never see or hold your payment details.
To ask for one, find the purchase in your Microsoft account's order history, and follow Microsoft's steps to request a refund. Microsoft's refund policy decides whether it can be refunded.
If a refund is given, the unlock is removed and PhotoStash goes back to the free version. Everything already on your drive stays there and stays yours, and restoring and exporting it stay free.
If something about the unlock isn't working, please tell us first: we'd rather fix it.