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.
Values
Fields
| Field | Type | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
merchantId
required |
string (uuid) | The merchant the quote is for.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||||||
paymentToken
required |
string | The payment token of the saved card: the same identifier a token charge accepts, normally the
`pt_`-prefixed public reference.
nullablemax length 128
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||||||
amount
required |
number (double) | The base transaction amount a surcharge would apply to, in the transaction currency.
greater than 0
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||||||
cardholderState
required |
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
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||||||
entryMode
required |
EntryModes EntryModes | 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:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||||||
channel
required |
TransactionSource TransactionSource | The presentment channel the quote is for. Defaults to `Api`, the
natural channel for a direct integrator; surcharge eligibility is channel-restricted.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
|
This model has no documented fields.