View as Markdown

llms.txt

The API reference isn't available right now

This instance couldn't load its API specification. The reference returns as soon as the specification is readable again.

Back to the API reference

No such model

This instance publishes no model under that name. It may have been renamed, or no operation this installation serves uses it.

Back to the API reference

This reference may be out of date

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 03:38 UTC.

API reference Models

UpdateSurchargeConfigurationDtoMergePatch

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

A merge patch over UpdateSurchargeConfigurationDto. Every property is optional: include only what you are changing, and omit what should stay as it is. Sending null clears a property that accepts null. merchantId and concurrencyStamp reject null, so a patch that sends null for one of them fails validation instead of clearing anything.

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.

Fields

Field Type Description
defaultRate required number (double) Default surcharge rate (decimal fraction, 0.03 = 3%) when no network override applies. Conditional: When DefaultRate is not null. Range: 0 to 0.03. Conditional: When DefaultRate is not null and AttestedCostOfAcceptanceRate is not null. Must be <= . 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.
attestedCostOfAcceptanceRate required number (double) The merchant's attested effective cost of acceptance (decimal fraction, 0.024 = 2.4%), sourced from their statement analysis. A surcharge may never exceed this, so a configured rate above it (or above the 3% network cap) is rejected at save. Supplying a value records the attestation with the acting user and a timestamp; null leaves it unattested and withdraws any prior attestation. Conditional: When AttestedCostOfAcceptanceRate is not null. Range: 0 to 1. 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.
channelRestrictions required SurchargeChannelFlags SurchargeChannelFlags A combination of channel flags. Send member names separated by a comma and a space (for example "Api, HostedPaymentPage") or the integer sum (VirtualTerminal = 1, Api = 2, HostedPaymentPage = 4, RecurringBilling = 8, Terminal = 16). None (0) turns surcharging off on every channel. Replaced on update; null or omitted stores no channels. How Api is read depends on `channelSetRevision`. Conditional: When ChannelRestrictions is not null. 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. 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.
None No channels enabled.
VirtualTerminal Merchant-operated virtual terminal.
Api Direct API integrations.
HostedPaymentPage Hosted payment pages.
RecurringBilling Recurring / scheduled billing.
Terminal Card-present sales at a payment terminal: a chip, tap or swipe submitted through the API.
channelSetRevision required integer (int32) The channel set revision that channelRestrictions is written against. Omitted or null, Api also covers Terminal, so a chip, tap or swipe sale through the API is surcharged wherever Api is selected, as it was before the Terminal channel existed. Send 1 to store channelRestrictions exactly as sent, which is the only way to surcharge keyed API sales and not terminal sales. The configuration read returns the revision its channelRestrictions are expressed in. Conditional: When ChannelSetRevision is not null. Range: 1 to 1. 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.
cardPresentMerchantStateGoverns required boolean Set to true so the merchant's own state alone governs a card-present sale (a chip, swipe or tap read at a terminal): a terminal sale with no cardholder billing state is then surcharged at the merchant's state rules, and is not surcharged when that state prohibits it. A keyed sale keeps the card-not-present rule either way. Replaced on update; null or omitted turns it off. 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.
noCeilingConsentPosture required NoCeilingConsentSurchargePosture NoCeilingConsentSurchargePosture What to do with a merchant-initiated recurring or installment charge whose stored-credential consent recorded no surcharge ceiling (a consent captured before the merchant surcharged recurring billing). `Withhold` charges it with no surcharge, because the cardholder was not told about one at enrollment; `NoticeThenSurcharge` emails each such cardholder the surcharge ceiling once and surcharges from an effective date at least 10 days later, never above that ceiling, and withholds the surcharge from a cardholder with no email address on file; `Surcharge` surcharges it like any other charge. Replaced on update; null or omitted means `Surcharge`. 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.
Surcharge Surcharge the charge at the merchant's current rate under the network, state and cost-of-acceptance caps, as for any other charge. The default.
Withhold Do not surcharge the charge. It is recorded as ineligible with ConsentRecordedNoCeiling.
NoticeThenSurcharge Tell the cardholder the surcharge ceiling first, then surcharge from an effective date. A daily sweep emails each such consent's cardholder the ceiling and records it on the consent with an effective date a notice period later. Until a notice is recorded the charge is withheld with ConsentRecordedNoCeiling; until the effective date it is withheld with ConsentNoticePending; from then on it is surcharged, capped at the noticed ceiling.
merchantInitiatedPosture required MerchantInitiatedSurchargePosture MerchantInitiatedSurchargePosture What to do with a merchant-initiated charge: a stored-credential charge the merchant starts without the cardholder present, including every recurring billing charge and every retry. `Withhold` charges each one with no surcharge while cardholder-initiated sales on the same channel keep it, and the recurring billing channel's disclosures stop stating a surcharge; `Surcharge` surcharges it like any other charge. A sale that declares no initiation type is cardholder-initiated. Replaced on update; null or omitted means `Surcharge`. 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.
Surcharge Surcharge a merchant-initiated charge like any other charge, subject to every other eligibility rule. The default.
Withhold Do not surcharge a merchant-initiated charge. It is recorded as ineligible with MerchantInitiatedExcluded, and the recurring billing channel's disclosures stop promising a surcharge, because every recurring billing charge is merchant-initiated.
networkPolicies required array of SurchargeNetworkPolicyDto array of SurchargeNetworkPolicyDto Per-network surcharge policies. Replaces the stored set in full on update. Conditional: When NetworkPolicies is not null. 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.

Fields of each SurchargeNetworkPolicyDto:

Field Type Description
network required string The card network this policy applies to. Required, and it must be one of these spellings: Visa; Mastercard, Master Card or MC; Discover; Amex or American Express; JCB; Diners, Diners Club or Diners Club International; UnionPay, Union Pay, China Union Pay, China UnionPay or CUP; Interac. Case and surrounding spaces are ignored, and the name is stored and returned as sent. A configuration names each network once: two spellings of one network (Mastercard and MC) are the same network. nullablemax length 64
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.
isAllowed required boolean Whether surcharging is allowed on this network. 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.
customRate required number (double) Optional network-specific rate override (decimal fraction); null uses the default rate. Conditional: When CustomRate is not null. Range: 0 to 0.03. 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.

This body has no documented fields.

differentialNetworkRatesAttested required boolean Attests that differing surcharge rates across the allowed card networks carry documented legal signoff. Must be true whenever `networkPolicies` resolves to more than one distinct rate across the allowed networks; ignored otherwise. Card-brand non-discrimination and parity provisions are what make the signoff necessary. 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.
disclosureCopyTemplate required string The merchant's own surcharge disclosure copy, written in the token grammar defined by `SurchargeDisclosureCopy`: it must carry `{rate}` and `{costOfAcceptance}`, may carry `{amount}`, and may carry no other brace-delimited placeholder. Null or blank leaves every surface on its platform default copy. Conditional: When IsConfigured(DisclosureCopyTemplate) is true. nullablemax length 1000
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.
merchantId required string (uuid) The merchant whose configuration is being updated.
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.
concurrencyStamp required string Optimistic-concurrency token read from the configuration being updated.
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.

Reconnecting to the server

Could not reconnect

This session has ended

Attempt 1

Your work on this page is still here. Retrying keeps it; reloading starts the page again.

The server no longer holds this page's state, so it has to be loaded again.