Can AppTransaction be used to detect a refund (canceled purchase)

For a Mac app I would like to detect refunds.

If there was a refund, how does AppTransaction.refresh behave?

I cannot find a VerificationError indicating a canceled purchase (or is it: VerificationResult.VerificationError.revokedCertificate)

Can AppTransaction be used to detect a refund (canceled purchase)
 
 
Q