# TokenData

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Represents tokenized payment information used to process a transaction.
This model supports internal stored tokens as well as digital wallet tokens
such as Internal, Apple Pay, Google Pay, and network tokens.

## Fields
- `token` (string): A secure token representing a stored payment method, charged in place of raw card data. Required: When ProviderType is null or ProviderType == Internal. (nullable)
- `tokenSharing` (boolean): The sharing status of the token. (nullable)
- `merchantOriginalId` (string(uuid)): The original merchant identifier associated with the token,  typically used when token sharing is enabled. (nullable)
- `providerType` ([TokenProviderType](https://devportal.demo.winkpg.io/docs/api/models/TokenProviderType.md)): Specifies the provider that generated the token.  Examples include Internal, ApplePay, GooglePay, NetworkToken, and ReaderToken.  This value determines how the token should be processed. (nullable)
  Values:
  - `Internal`: Internal gateway token generated by WinkPG.
  - `ApplePay`: Apple Pay encrypted payment token.
  - `GooglePay`: Google Pay encrypted payment token.
  - `NetworkToken`: Network token such as Visa Token Service or Mastercard MDES.
  - `Paze`: Paze (Early Warning) encrypted payment token.
  - `ReaderToken`: A reusable card token issued by a card-reader decryption service, carried on readerToken.
- `readerToken` (string): A reusable card token issued by a card-reader decryption service, charged in place of a  physical card read. Required when `providerType` is  `ReaderToken`, and ignored otherwise. Required: When ProviderType == ReaderToken. (nullable)
- `encryptedPaymentToken` (string): The encrypted payment token payload received from a digital wallet provider  (for example, Apple Pay or Google Pay). Required for digital wallet transactions. Required: When ProviderType == ApplePay or ProviderType == GooglePay or ProviderType == Paze. (nullable)
- `network` (string): The payment network associated with the token (for example: Visa, Mastercard, Amex).  Typically provided by digital wallet transactions. (nullable)
- `displayName` (string): A display-friendly name for the payment method, (nullable)
- `cryptogram` (string): The cryptographic value used for transaction authorization in  digital wallet or network token transactions.  Required for Apple Pay, Google Pay, and network token processing. Required: When ProviderType == NetworkToken. (nullable)
- `eciIndicator` (string): The Electronic Commerce Indicator (ECI) that specifies the authentication  level of the transaction. Commonly used in 3D Secure and digital wallet flows. (nullable)
- `transactionIdentifier` (string): A unique identifier assigned by the wallet provider for the transaction. (nullable)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
