This is engineering guidance, not legal advice. Surcharge law changes by state and by year, and which state's law covers an online sale isn't always obvious. Your acquirer and a lawyer who knows your states are the ones to confirm what you can charge.
A credit card surcharge is an extra amount you add to a payment because the customer paid by credit card. In the US the card networks allow it, within limits, and state law can narrow or ban it. Under Visa's rules (edition of 24 October 2026), you can surcharge a Visa credit transaction if you do all of this (Visa rules, section 5.5.1):
- Credit only. Debit and prepaid cards can't be surcharged (Visa), even when the customer presses "credit" on a terminal (Visa rules, 5.5.1.9).
- Tell your acquirer 30 days first. In writing, at least 30 calendar days before you announce the surcharge or start charging it, whichever is earlier (Visa rules, 5.5.1.5).
- Stay under the cap. The maximum is 3.00%, and it can't exceed your own cost: your average merchant discount rate on credit cards over the previous one or 12 months, your choice (Visa rules, 5.5.1.8 and glossary). The 3% figure dates from April 2023, when Visa last updated the rule.
- Surcharge consistently. Either one rate for all Visa credit cards (brand level) or one rate per credit product type (product level), never both, and never varied by issuing bank.
- Disclose it twice. Online, that's on the first page that mentions the card brands you accept and again on the checkout page, in at least 10-point type and never smaller than the text around it. The checkout disclosure gives the exact amount or percentage, says you're the one charging it, says it applies to credit only, and says it's no more than what you pay to accept the card (Visa rules, Table 5-3).
- Let them back out. Online and phone customers must be able to cancel after they see the surcharge.
- Put it in the transaction. The surcharge goes in the transaction amount, not a separate charge, and on the receipt as its own line (Visa).
- Refund it too. A full refund returns the whole surcharge; a partial refund returns a pro-rated share (Visa rules, 1.5.4.14).
Mastercard caps its surcharge at the lesser of 4% or your Mastercard credit cost, according to a Goodwin Procter summary from March 2025. We couldn't open Mastercard's own rules page to confirm it. If you charge one rate across every brand, Visa's 3% is the number it has to fit under.
What the cap means at your price point
Visa's cap is your average credit card rate, not a fixed 3%, so it depends on your ticket size. On Stripe's standard US pricing of 2.9% + $0.30 (Stripe):
| Average order | Fee per order | Your average rate | Highest surcharge |
|---|---|---|---|
| $20 | $0.58 + $0.30 = $0.88 | 4.40% | 3.00% ($0.60) |
| $100 | $2.90 + $0.30 = $3.20 | 3.20% | 3.00% ($3.00) |
| $1,000 | $29.00 + $0.30 = $29.30 | 2.93% | 2.93% ($29.30) |
Small tickets hit the 3% ceiling and leave part of the fee unrecovered. Large tickets get capped at cost. Either way you never come out ahead, which is the point of the rule.
Convenience fee vs surcharge
They aren't two names for the same thing. A convenience fee is a charge for using an alternative payment channel, such as paying a utility bill online when the normal channel is by post or in person. Visa's rules for one, in the US (Visa rules, Table 5-4):
| Surcharge | Convenience fee | |
|---|---|---|
| What it's for | Paying by credit card | Using an alternative payment channel |
| Applies to | Credit cards only | Every payment method in that channel, cash and debit included |
| Amount | A percentage, up to cost and 3% | A flat amount, whatever the payment size |
| Online-only business | Allowed | Not allowed |
| Recurring or installment payments | Allowed | Not allowed |
| Both on one payment | No | No |
So a SaaS business or an online store can't charge a convenience fee at all: it operates only in a card-absent environment, and subscription renewals are recurring payments. For an online-only business, the surcharge is the only card-fee recovery the networks allow.
State laws
Network rules are the floor. State law sits on top, and it changes often. What the primary sources said when we checked, on 11 November 2026:
| State | Credit card surcharges | Source |
|---|---|---|
| Connecticut | Banned | CT Department of Consumer Protection, C.G.S. 42-133ff |
| Maine | Banned for sellers. Only government bodies may surcharge, at cost | 9-A M.R.S. 8-509 |
| Massachusetts | Banned. A bill to allow cost-capped surcharges left committee in January 2026; we found no sign it has passed | PaymentsJournal |
| Colorado | Allowed up to 2% of the total, or up to the processing fee you actually pay. Separate receipt line; never on debit | C.R.S. 5-2-212 |
| Oklahoma | Allowed since 1 November 2025, up to 2% or your cost, whichever is less. Notice on your home page and checkout page. A seller that takes only credit cards can't surcharge | SB 677 |
| New York | Allowed. Post the total price for paying by credit card, surcharge included; the surcharge can't exceed what the card company charges you | GBL 518 |
| California | Under the hidden fees law in force since 1 July 2024, a card fee is optional when customers can pay another way. If you accept only cards, the fee is mandatory and belongs in the advertised price | California AG |
Sources disagree here, so check the date on anything you rely on. Visa's own surcharging sheet, dated August 2023, still lists Oklahoma as prohibiting or limiting surcharges (Visa), two years before Oklahoma's law changed. Commercial trackers disagree with each other by a wide margin, and we haven't used them.
Two patterns worth noticing. Colorado and Oklahoma cap below Visa's 3%, so the lowest applicable cap wins. And California and Oklahoma both look at whether the customer had a real choice: a store that takes nothing but cards can't call the card fee optional.
Outside the US
- EU and EEA: PSD2 bans surcharges on consumer debit and credit cards when both the issuer and your payment provider are in the EEA. Corporate cards fall outside the ban, but the surcharge still can't exceed your cost (Stripe).
- Australia: Card surcharges ended on 1 October 2026, after the Reserve Bank let the networks prohibit them, and Stripe switched off surcharging there (Stripe).
- Canada: Credit cards only. Stripe's technical maximum there is 2.4% (Stripe).
What might change next
Visa and Mastercard's revised settlement with US merchants got preliminary court approval on 9 June 2026. Visa says merchants "will have more options to surcharge, including if they do not surcharge other credit networks", and that the deal is "subject to final approval by the court" (Visa). Until it's final, the October 2026 rules above are the ones in force.
Building it on Stripe
Stripe supports surcharges on US credit cards through a public preview API: you put the total, surcharge included, in the amount, and the surcharge separately in amount_details[surcharge][amount]. Stripe returns a maximum_amount for the card and rejects anything over it, but that's a technical limit, not a legal one (Stripe). Decide the rate on your server from the card's funding type (card.funding on the PaymentMethod), show it to the customer, then confirm.
from decimal import Decimal, ROUND_DOWN, ROUND_UP
import stripe
PREVIEW = "2026-03-25.preview" # Stripe's surcharge API is in public preview
VISA_MAX = Decimal("0.03")
# Checked 11 November 2026. This is a starting point, not legal advice:
# keep it in config, and have counsel own the list.
NO_SURCHARGE = {"CT", "MA", "ME"}
STATE_CAPS = {"CO": Decimal("0.02"), "OK": Decimal("0.02")}
def surcharge_cents(subtotal_cents, funding, states, avg_credit_mdr):
"""The surcharge to disclose, in cents. Zero means don't surcharge.
`states` holds every state whose law might apply (yours and the buyer's).
`avg_credit_mdr` is your average credit card rate over the last 1 or 12
months, which is Visa's cap for you.
"""
if funding != "credit" or states & NO_SURCHARGE: # never debit or prepaid
return 0
rate = min([VISA_MAX, avg_credit_mdr] + [STATE_CAPS[s] for s in states if s in STATE_CAPS])
return int((Decimal(subtotal_cents) * rate).to_integral_value(rounding=ROUND_DOWN))
def confirm(intent_id, subtotal_cents, fee_cents):
"""Call only after the customer has seen the fee and chosen to go on."""
try:
return stripe.PaymentIntent.confirm(
intent_id,
amount_to_confirm=subtotal_cents + fee_cents, # amount includes the fee
amount_details={"surcharge": {"amount": fee_cents,
"enforce_validation": "enabled"}},
stripe_version=PREVIEW,
)
except stripe.InvalidRequestError:
# Over Stripe's maximum_amount, or surcharging unavailable for this
# card. Re-quote without the fee rather than charging it anyway.
raise
def refund(intent_id, refund_subtotal_cents):
"""Refunds return the surcharge too, pro-rated on a partial refund."""
intent = stripe.PaymentIntent.retrieve(intent_id, stripe_version=PREVIEW)
surcharge = (intent.get("amount_details") or {}).get("surcharge") or {}
fee = surcharge.get("amount") or 0
share = Decimal(refund_subtotal_cents) / Decimal(intent.amount - fee)
back = int((Decimal(fee) * share).to_integral_value(rounding=ROUND_UP))
return stripe.Refund.create(payment_intent=intent_id,
amount=refund_subtotal_cents + back)
ROUND_DOWN on the surcharge and ROUND_UP on the refund both settle the odd cent in the customer's favor, which is the right way to be wrong. Stripe's own example: on a $100 order with a $1.50 surcharge, refunding a $60 item returns $60.90 (Stripe).
If surcharging is off the table, cheaper payment methods are the other lever: see what ACH costs, or the Stripe fee calculator for what the fee is before you try to recover it.
The other way round: pay customers to choose a cheaper method instead of charging them for an expensive one. Card minimums, ACH discounts and annual billing, with the arithmetic. From chapter 29.
Payment Method Incentives
Moving customers to cheaper payment methods works without a new processor:
- ACH discount (1% off): Stripe's ACH Direct Debit costs 0.8%, capped at $5 (Stripe pricing page). On the merchant's $100 orders, every $100K that moves from cards to ACH saves $2,400 in fees, or $1,400 after the discount
- Wallet balance credits: Spending from an internal balance carries no processing fee; you pay once, when the customer tops up
- Card minimums: US law lets you set a minimum of up to $10 for credit cards, as long as it's the same for every issuer and network (15 U.S.C. 1693o-2(b)(3)); the provision doesn't cover debit
- Annual billing: One $299 charge versus twelve $29 charges saves $3.30 in fixed fees per customer per year
For the merchant, the ACH line is the one that pays now. Net of the 1% discount you gave away, you're still $1,400 ahead for every $100K that moves. Annual billing works the same way for a subscription business. Neither needs a new processor or a new contract. They need a checkbox at checkout and an email to existing customers.
Questions
Is it legal to surcharge credit cards?
In most US states, yes, within card network rules: credit cards only, at most 3% on Visa and never more than your own cost, 30 days' written notice to your acquirer, and clear disclosure before payment. Connecticut, Maine and Massachusetts ban it, and Colorado and Oklahoma cap it at 2%. In the EU it's banned on consumer cards, and in Australia it ended on 1 October 2026.
How much can you surcharge on a credit card?
Under Visa's US rules, the lower of 3% and your average merchant discount rate on credit cards over the previous one or 12 months. Mastercard's cap is reported as the lesser of 4% or your cost. State law can set a lower cap, such as 2% in Colorado and Oklahoma.
What is the difference between a convenience fee and a surcharge?
A surcharge is charged for paying by credit card, applies to credit cards only and is a percentage. A convenience fee is charged for using an alternative payment channel, applies to every payment method in that channel and is a flat amount. Under Visa's rules, a business that only operates online can't charge a convenience fee, and it can't be charged on recurring payments.
Can you surcharge debit cards?
No. Card network rules allow surcharges on credit transactions only, and Visa prohibits surcharging debit and prepaid cards even when the customer selects credit at the terminal. Colorado's statute also bars surcharges on debit.
Do you have to refund the surcharge?
Yes. Visa's rules require refunding the whole surcharge on a full refund and a pro-rated share on a partial refund. On a $100 order with a $1.50 surcharge, refunding a $60 item returns $60.90.