Hello, after using the startPayment function from the wixPay API one gets a payment object. The status of this object is one of a list of statuses https://www.wix.com/velo/reference/wix-pay/startpayment depending on the outcome of the payment.
My question is, is it safe to pass that object to the backend to verify whether a payment was made or not? Depending on it a database entry would be updated
Thank you for your time
EDIT: it seems to me, ideally, Velo would offer a function under the backend API such as “retrievePayment” that takes in the payment ID, such that the status can be independently verified on the backend and not passed by the frontend.