do I have to rebuy this product?

So I recently bought scrivener on my iphone and I wanted to also write on my windows laptop. do I have to rebuy it or is there any way for me get a code number from the app and put it on my windows?
If I have to rebuy it, I might as well just get it refunded from my iphone cause I mostly write from my computer…