DOCS
Payment methods

Payer fees and compliant surcharging

How payer fees are configured, and the caps dhango applies when compliant surcharging is on.

Platform guide

A payer fee is an amount added to the payment and paid by the payer, such as a convenience fee or a card surcharge. You set payer fees per payment method on the account pricing page, and you can preview them with Calculate payer fees. On the payment, amount always includes the fee, and payerFee records how much of amount is the fee.

Standard payer fees

With compliant surcharging off, a card fee is the account's payer card rate times the amount, plus the payer card transaction fee. ACH and the other direct debit methods use that method's payer rate. If the result falls outside a configured minimum or maximum, dhango charges the minimum or maximum as a flat fee instead. To charge a flat fee on every bank payment, leave the rate empty and set the minimum and maximum to the same amount. Calculate payer fees has worked examples.

Compliant surcharging

Card networks and some states and countries limit card surcharges. With compliant surcharging on, dhango applies the caps below automatically. Turn on Use compliant surcharging in the card section of the account pricing page. The card fee is then the account card rate, adjusted by the rules below. dhango reads the payer's location from the payer fee request itself, so you do not send a state or country.

SituationFee
Debit card, from BIN lookup on the card number or token0
Puerto Rico0
Maine, Connecticut, or Massachusetts0
ColoradoThe card rate, capped at 2 percent
CanadaThe card rate, capped at 2.4 percent
Any remaining card feeCapped at 3 percent

dhango checks for a debit card first. If the card is not a debit card, the country and state rules apply, and then the overall 3 percent cap.

Saving pricing

These combinations are rejected when you save pricing:

  • Compliant surcharging together with interchange-plus pricing. The save fails with 400.
  • Interchange-plus together with a card rate or an American Express rate.
  • No card rate when interchange-plus is not set. One of the two is required.

Check payments cannot carry a payer fee. For the rest of the pricing page, see Account pricing.