<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "AppStoreServerAPI",
  "identifier" : "/documentation/AppStoreServerAPI/anyTransactionId",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "App Store Server API"
    ],
    "preciseIdentifier" : "data:app_store_server_api:anyTransactionId"
  },
  "title" : "anyTransactionId"
}
-->

# anyTransactionId

A type that represents an original transaction ID, transaction ID, or app transaction ID.

```
string anyTransactionId
```

## Discussion

This type represents any [`originalTransactionId`](/documentation/AppStoreServerAPI/originalTransactionId), [`transactionId`](/documentation/AppStoreServerAPI/transactionId) or [`appTransactionId`](/documentation/AppStoreServerAPI/appTransactionId) that belongs to the customer of your app.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)