The payment status is updated upon an update notification that PaymentsOS platform receives from the providers.
Provider response can be either synchronous or asynchronous, depend on the payment flow.
For more information regarding synchronous and asynchronous payment flow please refer to the following article.
In case your provider supports asynchronous payment flow, there might be a temporary mismatch between the successful request confirmation and the current state of the payment.
For example, after invoking "Void" through a provider that supports asynchronous payment flow, the payment status will remain "Authorized" until a Void update notification will be received for the payment. Only then, the payment status will be updated to "Cancelled".
Please note that the time it takes to the provider to sent the update notification can differ from one provider to another.