thank you for the response@Maybelle_SI should have clarified that we are using the Payments API and we can't find a way to know when a charge is being disputed....
It loos like this was solved:https://quickbooks.intuit.com/learn-support/en-uk/other-questions/batch-change-stock-purchase-or-sale-prices/01/1064496#M13748