Skip to main content
Skip to Content
Cresora Commerce
Integration Guides

Surcharging Guide

How the credit-card surcharge program works — which cards and cardholders it applies to, who sets it up, what the gateway computes, and what a direct-API charge must send.

Surcharging adds a fee to the cardholder's total on eligible card charges. On Cresora it is a per-merchant program held at the payment gateway: the gateway's surcharging engine computes the surcharge at charge time from the merchant's program. Cresora computes none, and your request never carries one.

🔒The gateway applies the rules

At charge time the gateway's engine applies the program's rate and card-network policy and the debit exclusion, and caps the rate at the merchant's attested cost of acceptance. Whether it also applies the merchant's state policy on every charge is not yet confirmed; see the state-policy warning below. The surcharge it reports is authoritative. Consult your own counsel for your obligations; Cresora does not provide legal advice.

At a glance

  • Purpose: a surcharge lets a merchant offset its cost of accepting credit cards. It is a percentage of the payment: the lowest of the merchant's rate for the card's network (its default rate, unless Cresora set a rate for that network), the 3% ceiling and the merchant's attested cost of acceptance. Whether a state limit also applies is not yet confirmed; see the state-policy warning below.
  • One program per merchant: a merchant runs a surcharge or a convenience fee, never both.
  • Regulated setup: the card brands require advance notice before a merchant starts surcharging. A program can go live only after its waiting period, at least 30 days from the merchant's notice.
  • Tax: send tax as tax_amount so it is not surcharged. On a direct-API sale, anything else inside amount, such as shipping, counts toward any surcharge the gateway assesses (see the direct-API warning below); reporting it as Level 3 freight_amount doesn't take it out.

Which cards and cardholders are surcharged

The gateway decides per charge. It adds no surcharge to:

  • debit cards, prepaid cards and bank-account (ACH) payments;
  • digital-wallet payments;
  • charge cards, and cards issued outside the US or whose issuing country is unknown;
  • cards on a network the merchant's program doesn't surcharge (network_policies on a read; Cresora sets them);
  • charges below the minimum transaction amount set in the merchant's configuration at the gateway (Cresora's API neither sets nor shows it, so ask Cresora to check it there), or where the card type can't be determined.

The gateway's state check covers the cardholder's billing-address state and the merchant's own state. When Cresora Compliance sets up a program, it sets Cresora's default state policy for the merchant at the gateway:

Cardholder's billing stateCresora's policy
California, Colorado, Connecticut, Maine, Massachusetts, OklahomaNot surcharged
New YorkRestricted — New York allows a surcharge only within its pricing and disclosure rules, and the merchant must post the total card-inclusive price before checkout, which the payment flow does not do for it. Cresora confirms the treatment when the program is set up
  • No billing state, no surcharge: the gateway's state check refuses a surcharge on a charge that carries no billing state. See the warning below on how far that check is confirmed.
  • Merchant location: a merchant whose registered state is not surcharged under the state policy Cresora set for it (by default, the table above), or is unknown, can't have a program enabled.
  • Gateway rules: the gateway also keeps its own state list. Applying it is a platform setting that is off unless turned on, and Cresora requires it to stay off until Cresora's legal review signs the list off. Once it is on, where both apply, the stricter one wins.
  • Legal review: Cresora's default state policy is subject to ongoing legal review. The policy that applies to a merchant is confirmed when its program is set up.
⚠Don't rely on the state policy alone

Cresora has not yet confirmed with the gateway that it applies the merchant's state policy to every charge while the gateway's own state list is off. Until it does, a surcharge in a state that prohibits one may not be blocked, so don't rely on the gateway alone to keep it out.

Who sets up a program

Cresora Compliance creates the merchant's surcharge configuration, files the card-brand notice and enables the program on the Admin Console. You cannot create or enable a program through the API.

Cresora also records the merchant's cost of acceptance (its average card-processing rate) from the signed registration form. It is the ceiling the surcharge never exceeds, and you can read it as the program's attested_cost_of_acceptance_rate, but only Cresora can change it. Send Cresora the merchant's signed form with the rate on it.

Once the program exists, you can adjust its rate and channels from the Partner Portal or through the API.

ℹTwo cost-of-acceptance fields

The fee profile (PUT /api/v1/merchants/{merchantId}/fee-profile) also has an attested_cost_of_acceptance_rate. That one belongs to the convenience fee, where some states cap the fee at the merchant's cost of acceptance. It does not cap a surcharge.

Lead time: the card-brand notice carries a waiting period of at least 30 days. It runs from the date the merchant notified the card brands, so a merchant that gave notice earlier may have served some or all of it already. Once the notice is on file, the program reads WAITING_PERIOD and its waiting_period_expires_at gives the actual end. Cresora confirms the lead time for each merchant.

A program moves through these status values:

statusMeaning
NOT_CONFIGUREDNo configuration exists yet
PENDING_NOTICEConfigured; the card-brand notice is not yet on file
WAITING_PERIODNotice filed; the brand-mandated waiting period runs until waiting_period_expires_at
ACTIVEThe gateway adds the surcharge to eligible charges
DISABLEDSwitched off; configuration and notice history are kept

Once the waiting period ends, the gateway can move a program to ACTIVE on its own unless its promotion is held or blocked at the gateway. Cresora asks for a hold on every new program and releases it when it approves the go-live. A read shows neither, so if a program stays in WAITING_PERIOD after waiting_period_expires_at, ask Cresora.

  • Read it: GET /api/v1/merchants/{merchantId}/fee-settings returns both fee programs — the surcharge program and the convenience-fee program. A null program was never configured.
  • Edit the rate or channels: PUT /api/v1/merchants/{merchantId}/fee-settings/surcharge with default_rate (a fraction with at most four decimals, 0.025 = 2.5%, maximum 0.03), channels and the version you last read. A stale version returns 409; re-read and retry. This needs the merchant:fees:update scope — a key holding merchant:update alone is refused 403. A network with its own custom_rate in network_policies keeps that rate when you change default_rate; only Cresora sets network rates.
  • Channels: channels lists the channels the gateway surcharges on — any combination of HOSTED_PAYMENT_PAGE, VIRTUAL_TERMINAL and API; [] turns surcharging off on every channel. RECURRING_BILLING is not offered and is refused 400. The single channel field is deprecated; send channels only, since a request whose channel names a different set is refused 400. Adding a channel to an ACTIVE or WAITING_PERIOD program can run the same checks as enabling a program, so it can be refused as below; removing a channel or lowering the rate does not run those checks.
  • RECURRING_BILLING on a read: a read can list it when it was set at the gateway. Whether the gateway then surcharges recurring charges is not yet confirmed, so ask Cresora to clear it whenever a read lists it. Cresora can't write it, so a save that leaves it out is refused 422 surcharge_channel_unmanaged until it is cleared.
  • More than one channel: how the gateway reports several channels back is not yet confirmed. If Cresora can't record what the gateway applied, the save returns 409 surcharge_write_unmirrored, and Cresora sets the program back to one channel at the gateway until the gateway confirms the format. Until Cresora has done that and the program has been read again, a read still shows the channels from before your edit.
  • Surcharge or convenience fee, not both: Cresora refuses to enable one program while the other is enabled, and refuses a convenience fee while the surcharge program is filed for go-live. The gateway can still activate a surcharge program on its own schedule; while both read enabled, Cresora charges no convenience fee until an operator turns one off.
ErrorStatusWhen
surcharge_program_not_configured422No configuration exists yet; Cresora Compliance creates it
surcharge_rate_increase_on_active422Raising the rate on an ACTIVE program restarts the card-brand notice — a Compliance operation
fee_program_conflict422The merchant's convenience-fee program is enabled
surcharge_channel_unmanaged422The program at the gateway lists RECURRING_BILLING and the save leaves it out; ask Cresora to clear it
surcharge_processor_unconfirmed422A channel add ran the go-live checks (see Channels) and one of the merchant's card processor routes is not yet confirmed for surcharging
fee_instrument_ineligible422A channel add ran the go-live checks (see Channels) and the merchant now fails a surcharge eligibility rule; the message names each, and the live program stays as it is
gateway_not_provisioned422The merchant has no gateway account yet
surcharge_gateway_refused422The gateway refused the edit; errors[] names the refused field. Correct default_rate or channels and retry; for any other field, quote the error_id to Cresora
surcharge_program_vendor_drift502The gateway no longer knows the configured program; Cresora reconciles it
surcharge_write_unmirrored409The gateway applied the edit but Cresora could not record it. Do not repeat the edit; reload first

Which charges carry a surcharge

  • Cardholder-initiated card charges: hosted-page payments, and a direct SALE with use_type: ONE_TIME_FUTURE once direct-API surcharging works (see the warning below).
  • Merchant-initiated charges (RECURRING, INSTALLMENT, UNSCHEDULED_COF): Cresora sends no surcharge disclosure for them. The gateway evaluates them at authorization like any other charge, so they are expected to carry no surcharge today only because Cresora sends no billing address with a vault-token charge (see the warning below). Whether the gateway surcharges a plan charge it originates is not yet confirmed, and neither is the effect of a program that lists RECURRING_BILLING.
  • The engine can assess none — a debit or prepaid card, no active program, or a state rule the gateway applies (see the state-policy warning above). The transaction then carries a zero surcharge_amount.
  • Never send a surcharge. surcharge_amount in a request must be omitted or 0; a non-zero value is rejected with 422 client_surcharge_not_allowed.

Direct-API charges: the disclosure attestation

⚠Direct-API charges may not be surcharged yet

The gateway assesses a surcharge from the cardholder's billing state, and a charge by vault token carries no billing address today. Until Cresora confirms with the gateway which address a saved-card charge is assessed against, a direct-API sale is expected to carry a zero surcharge_amount. If surcharging matters to a merchant, plan for the hosted page.

When the merchant's program is ACTIVE on the API channel, a card SALE must carry two fields together:

  • surcharge_disclosure_acknowledged_at — the UTC instant the payer accepted the disclosed surcharge (the confirm-click, not the submit);
  • surcharge_disclosure_channel — the surface the disclosure was shown on: API for your own checkout.
curl
curl -X POST https://api.sandbox.cresoracommerce.ai/api/v1/transactions \
  -H "Authorization: Bearer csk_ab12cd34_xxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: idem_$(uuidgen)" \
  -d '{
    "type": "SALE",
    "merchant_id": "0190a1b2-c3d4-7e5f-8901-23456789abcd",
    "amount": "100.00",
    "vault_token": "cvt_01885fec-4444-7a31-9bbb-3e5b9a1f8c42",
    "use_type": "ONE_TIME_FUTURE",
    "surcharge_disclosure_acknowledged_at": "2026-10-04T09:30:00Z",
    "surcharge_disclosure_channel": "API"
  }'

Leaving the pair out returns 422 surcharge_disclosure_required; sending one field without the other returns 400; an instant more than a few minutes ahead of the platform clock returns 422 surcharge_disclosure_in_future. The pair is forwarded to the gateway, which records it beside the surcharge it assesses, and is kept on the transaction as dispute evidence.

Where the amounts appear

surcharge_amount is always present on a transaction. On a sale it is the surcharge the gateway assessed. On a capture it reads 0: the surcharge stays on the authorization it captured, so read it there. For a $100.00 sale with a $3.00 surcharge and no convenience fee, a read with GET /transactions/{transactionId} returns amount 10000, surcharge_amount 300 and convenience_fee_amount 0, in integer cents.

For a sale, the total billed is normally amount + surcharge_amount + convenience_fee_amount (a convenience fee the gateway bills as a separate charge is outside it; see the convenience fee guide); a transaction has no total_amount field. A hosted-page session does carry total_amount, and its surcharge_amount stays 0.00 until the payment completes — the page learns the surcharge from the gateway at completion.

After a refund, void or authorization reversal, the gateway reverses its share of the surcharge on its side, as the gateway describes it; this has not yet been observed on every path. The surcharge_reversed_amount of the sale or authorization records the cumulative reversed amount once it has been read back (for a refund, usually only once every refund on the payment has settled), and is null until then. A void or reversal that names the CAPTURE or PARTIAL_CAPTURE row is recorded on the authorization that row captured. It is not recorded in every case: for example, not when a partial authorization reversal is made, nor, today, for a refund that names a CAPTURE or PARTIAL_CAPTURE row, so do not rely on transaction.surcharge_reversed alone.

Disclosure

The cardholder disclosure is the gateway's, rendered from the program's disclosure_copy_template (tokens {rate}, {costOfAcceptance} and optionally {amount}; null means the platform default copy). The hosted page shows it automatically. If you run your own checkout ahead of a direct-API charge, show the surcharge line before the payer confirms, then send the attestation above. POST /api/v1/merchants/{merchantId}/fee-settings/surcharge/quote returns what the gateway would assess for a card prefix, an amount and a billing state, with the disclosure copy to show. It is for display only: the charge is assessed again at charge time. Use a fresh Idempotency-Key for each quote. The gateway allows 30 quotes per merchant every 60 seconds; past that Cresora returns 429 surcharge_quote_rate_limited with Retry-After, so quote once the card prefix, amount and state are known rather than on every keystroke. Until the billing-address question above is settled, a quote can show a surcharge that a direct-API sale doesn't carry, so itemize the receipt from the sale's surcharge_amount, not from the quote. A surcharge line looks like this:

Subtotal:                            $100.00
Surcharge (3% — credit card fee):      $3.00
Total:                               $103.00