Hello @Roman Makar ,
Welcome to Microsoft Q&A!
Sorry, I searched and there is no such tool provided in the official documentation to test purchases.
You can set the price of the testing purchases to free to test and verify the Microsoft Store API code is correct.
Thank you.