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.
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_amountso it is not surcharged. On a direct-API sale, anything else insideamount, such as shipping, counts toward any surcharge the gateway assesses (see the direct-API warning below); reporting it as Level 3freight_amountdoesn'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_policieson 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 state | Cresora's policy |
|---|---|
| California, Colorado, Connecticut, Maine, Massachusetts, Oklahoma | Not surcharged |
| New York | Restricted — 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.
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.
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:
status | Meaning |
|---|---|
NOT_CONFIGURED | No configuration exists yet |
PENDING_NOTICE | Configured; the card-brand notice is not yet on file |
WAITING_PERIOD | Notice filed; the brand-mandated waiting period runs until waiting_period_expires_at |
ACTIVE | The gateway adds the surcharge to eligible charges |
DISABLED | Switched 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-settingsreturns both fee programs — the surcharge program and the convenience-fee program. Anullprogram was never configured. - Edit the rate or channels:
PUT /api/v1/merchants/{merchantId}/fee-settings/surchargewithdefault_rate(a fraction with at most four decimals,0.025= 2.5%, maximum0.03),channelsand theversionyou last read. A staleversionreturns409; re-read and retry. This needs themerchant:fees:updatescope — a key holdingmerchant:updatealone is refused403. A network with its owncustom_rateinnetwork_policieskeeps that rate when you changedefault_rate; only Cresora sets network rates. - Channels:
channelslists the channels the gateway surcharges on — any combination ofHOSTED_PAYMENT_PAGE,VIRTUAL_TERMINALandAPI;[]turns surcharging off on every channel.RECURRING_BILLINGis not offered and is refused400. The singlechannelfield is deprecated; sendchannelsonly, since a request whosechannelnames a different set is refused400. Adding a channel to anACTIVEorWAITING_PERIODprogram 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_BILLINGon 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 refused422 surcharge_channel_unmanageduntil 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.
| Error | Status | When |
|---|---|---|
surcharge_program_not_configured | 422 | No configuration exists yet; Cresora Compliance creates it |
surcharge_rate_increase_on_active | 422 | Raising the rate on an ACTIVE program restarts the card-brand notice — a Compliance operation |
fee_program_conflict | 422 | The merchant's convenience-fee program is enabled |
surcharge_channel_unmanaged | 422 | The program at the gateway lists RECURRING_BILLING and the save leaves it out; ask Cresora to clear it |
surcharge_processor_unconfirmed | 422 | A 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_ineligible | 422 | A 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_provisioned | 422 | The merchant has no gateway account yet |
surcharge_gateway_refused | 422 | The 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_drift | 502 | The gateway no longer knows the configured program; Cresora reconciles it |
surcharge_write_unmirrored | 409 | The 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
SALEwithuse_type: ONE_TIME_FUTUREonce 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 listsRECURRING_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_amountin a request must be omitted or0; a non-zero value is rejected with422 client_surcharge_not_allowed.
Direct-API charges: the disclosure attestation
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:APIfor your own checkout.
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.00Tokenization & Saved Cards
How a card becomes a reusable Cresora vault token on the hosted page, and how to charge it server-side.
Convenience Fee Guide
How the convenience-fee program works — which merchants can charge one, where it applies, how to configure it, and what a direct-API charge must send.