This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-12-03 02:41 UTC.
For an integrator that stored a card and holds its token rather than its leading digits. The
card attributes come from the stored card, and when `cardholderState` is omitted the state
on the saved card's billing address is used, as a charge on the token does. The response has the
same shape as the BIN quote and carries no card data. Both quote operations share one
per-merchant rate limit.
Signed in, you can send this request to your own sandbox merchant from the console
and read the answer.
Sign in to try it.
Example request
Every block below sends the same request. Replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a SurchargeTokenQuoteRequestDto. See the Request body section below for its fields.
Parameters
Name
In
Type
Description
suppressNullsrequired
query
boolean
If true, omit properties with null values.
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.
Request body
application/json, required
Field
Type
Description
merchantIdrequired
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.
paymentTokenrequired
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.
amountrequired
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.
cardholderStaterequired
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.
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.
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.
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.
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.
This request body has no documented fields.
Responses
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.