# SurchargeTokenQuoteRequestDto

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

Request for the surcharge quote on a saved card. A direct API integrator that stored a card holds its
payment token and the last four digits, not the leading digits, so it names the token instead of a
BIN prefix; the platform reads the card attributes from the stored card and returns the same
`SurchargeQuoteResultDto` the BIN quote returns.

## Fields
- `merchantId` (string(uuid)) required: The merchant the quote is for.
- `paymentToken` (string) required: The payment token of the saved card: the same identifier a token charge accepts, normally the `pt_`-prefixed public reference. (nullable, max length 128)
- `amount` (number(double)): The base transaction amount a surcharge would apply to, in the transaction currency. (greater than 0)
- `cardholderState` (string): The cardholder billing state code (2-letter, e.g. CO), or null to use the state on the saved card's billing address. With the merchant's state, governs the per-state cap and prohibition. Conditional: When CardholderState is not empty. (nullable)
- `entryMode` ([EntryModes](https://docs.winkpg.io/docs/api/models/EntryModes.md)): How the card will be presented, or null for an ordinary saved-card payment. Send `DigitalWallet` for a wallet payment, which is never surcharged. (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.
- `channel` ([TransactionSource](https://docs.winkpg.io/docs/api/models/TransactionSource.md)): The presentment channel the quote is for. Defaults to `Api`, the natural channel for a direct integrator; surcharge eligibility is channel-restricted.
  Values:
  - `Unknown`: The source of the transaction is unknown or not specified.
  - `VirtualTerminal`: The transaction originated from a virtual terminal interface.
  - `Api`: The transaction was initiated through an API call.
  - `HostedPaymentPage`: The transaction was processed via a hosted payment page.
  - `RecurringBilling`: The transaction is part of a recurring billing cycle.
  - `OfflineBatch`: The transaction was processed as part of an offline batch.
  - `Invoicing`: The transaction is an automatic charge against an invoice (e.g. a recurring-invoice auto-charge or a smart-retry attempt) submitted by the Invoicing module.

## See also

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