originalID
The original transaction identifier of a purchase.
Declaration
let originalID: UInt64Discussion
The original transaction identifier, originalID, is identical to id except when the user restores a purchase or renews a transaction. You can use this value to:
Identify one or more renewals for the same subscription.
Differentiate a purchase transaction from a restore or a renewal transaction. For restore and renewal transactions, the original transaction identifier, originalID, and transaction identifier, id, differ.
Match a transaction in the app with a transaction you receive on your server in an App Store Server Notifications event.