# OriginalTransaction

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

Represents an original transaction with its identifying information.

## Fields
- `transactionId` (string): The unique identifier for the transaction. (nullable)
- `pnRef` (integer(int32)): The PNRef (Processor's Reference Number) for the transaction. (nullable)
- `authCode` (string): The authorization code for the transaction. (nullable)
- `transactionType` ([TransactionType](https://devportal.demo.winkpg.io/docs/api/models/TransactionType.md)): The transaction type of the original transaction. (nullable)
  Values:
  - `Authorization`: Represents an authorization transaction, typically used to verify funds availability without capturing the amount.
  - `Sale`: Represents a sale transaction, which authorizes and captures funds in a single step.
  - `Return`: Represents a return transaction, used to refund money to the customer.
  - `Void`: Represents a void transaction, used to cancel a previously authorized transaction before it is settled.
  - `Force`: Represents a force transaction, typically used to manually enter a previously authorized transaction.
  - `Capture`: Represents a capture transaction, used to capture funds from a previously authorized transaction.
  - `CaptureAll`: Represents a capture all transaction, used to capture funds from multiple previously authorized transactions.
  - `RepeatSale`: Represents a repeat sale transaction, used to process a new sale based on a previous transaction's details.
  - `Adjustment`: Represents an adjustment transaction, used to modify the amount of a previous transaction.
  - `Activate`: Represents an activate transaction, typically used to activate a gift card or prepaid card.
  - `Deactivate`: Represents a deactivate transaction, typically used to deactivate a gift card or prepaid card.
  - `Redeem`: Represents a redeem transaction, typically used to redeem value from a gift card or loyalty program.
  - `Inquire`: Represents an inquire transaction, used to check the status or balance of an account or card.
  - `Reload`: Represents a reload transaction, typically used to add value to a gift card or prepaid card.
  - `VoucherClear`: Represents an offline EBT voucher clear: a terminal was offline, a paper food-stamp (SNAP) or eWIC voucher was written against a voice-obtained approval code, and the voucher is later uploaded so the benefit clears. Permitted on EBT SNAP and eWIC tenders only.
  - `Payout`: Represents a payout transaction, used to push funds from the merchant to an external bank account as an ACH credit. Unlike Return, which refunds a prior debit, a payout is a standalone outbound fund transfer with no originating transaction.
- `entryMode` ([EntryModes](https://devportal.demo.winkpg.io/docs/api/models/EntryModes.md)): The entry mode used in the original transaction, if available. (nullable)
  Values:
  - `Unknown`: The entry mode is unknown.
  - `NotApplicable`: The entry mode is not applicable for this transaction.
  - `Manual`: The transaction details were entered manually.
  - `UnencryptedCardReaderSwipe`: The card was swiped through an unencrypted card reader.
  - `EncryptedCardReaderSwipe`: The card was swiped through an encrypted card reader.
  - `Icc`: The transaction was processed using an ICC (Integrated Circuit Card) or chip card.
  - `Proximity`: The transaction was processed using a proximity or contactless payment method.
  - `Fallback`: The transaction was processed using a fallback method when the primary method failed.
  - `TechnicalFallback`: The transaction was processed using a fallback method when the primary method failed.
  - `EmptyCandidateFallback`: The transaction was processed using a fallback method when the primary method failed.
  - `DigitalWallet`: The transaction was processed using a digital wallet.
- `paymentMethodsGranular` ([PaymentMethodsGranular](https://devportal.demo.winkpg.io/docs/api/models/PaymentMethodsGranular.md)): The granular payment method used in the original transaction. (nullable)
  Values:
  - `Amex`: American Express card.
  - `Discover`: Discover card.
  - `Visa`: Visa card.
  - `MasterCard`: MasterCard.
  - `JCB`: Japan Credit Bureau card.
  - `CUP`: China UnionPay card.
  - `Diners`: Diners Club card.
  - `Debit`: Debit card.
  - `Ebt`: Electronic Benefit Transfer.
  - `Ach`: Automated Clearing House.
  - `Check`: Check payment.
  - `Cash`: Cash payment.
  - `Generic`: Generic or unspecified payment method.
  - `ApplePay`: Apple Pay digital wallet.
  - `GooglePay`: Google Pay digital wallet.
  - `DigitalWallet`: Generic / unspecified digital wallet.
  - `Paze`: Paze digital wallet.
  - `AlternativePayment`: An alternative payment method approved inside a provider (PayPal, Venmo, Pay Later, Affirm, Klarna, Afterpay) and presented to the gateway as an approval reference.
- `sureChargeAmt` (number(double)): The surcharge amount from the original transaction. (nullable)
- `authAmt` (number(double)): The authorized amount from the original transaction. (nullable)
- `totalAmt` (number(double)): The total amount from the original transaction. (nullable)

## See also

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