Wix Store API to Manage Purchases

I am developing an app with the Wix store and I want to use a provider/payment method other than those offered by wix and would like to know if it is possible to manage a purchase using the WIX store API, that is, unsubscribe from the shopping cart and update the stock of my store, thanks in advance for the information.