Surcharging is regulated in many countries and by the card networks, and the rules differ by jurisdiction, card brand, and sometimes by the customer’s own contract. Deciding whether you may surcharge, at what rate, and with what disclosure is your responsibility as the seller of record.
How a surcharge is decided
Three things have to line up before a payment is surcharged.1
A rule matches the payment
Rules are configured per legal entity and target a payment method, optionally narrowed by the customer’s billing country and the payment currency.
2
The customer or subscription is opted in
Each customer carries a surcharge setting. Automatic payments follow the subscription’s setting instead, so a subscription can be exempted without exempting the customer.
3
The payment method can be surcharged
Only card and bank-transfer payments are surchargeable. Offline and manually recorded payments never are.
Rules
Configure rules in the dashboard under Settings → Workflows → Payments → Surcharges. There is no public API for surcharge configuration; it is a dashboard-only capability. Rules belong to a legal entity. If you sell through more than one, each entity has its own set, and a payment is only ever matched against the rules of the entity that issued the invoice.Filters
Leaving a dimension unfiltered means it matches anything. When you do filter, you can use an include list, an exclude list, or both:- With an include list, the value must be in it
- With an exclude list, the value must not be in it
- The same value cannot appear in both lists of one filter
- Each list holds at most 250 values
One rule per payment
Exactly one rule may match a given payment. Alguna enforces this when you enable a rule: if it would overlap an active rule for the same payment method, with overlapping country and currency filters, saving is rejected and the conflicting rule is named. Overlapping in only one dimension is fine, because the other dimension keeps the two rules apart. So these two can both be active:
But adding a third card rule with no country filter would be rejected, because it overlaps both.
Who gets surcharged
Per customer
Per customer
Every customer has a surcharge setting that governs manual payments — hosted checkout and payments you collect from the dashboard. New customers inherit the organization default, set by Default new customers to surcharges enabled on the surcharges settings page. You can change it on any customer at any time, and it takes effect from the next payment.
Per subscription
Per subscription
Automatic payments — autopay at invoice issuance and autopay retries — follow the subscription’s own setting, on the subscription’s Invoicing settings tab. A new subscription inherits the customer’s setting at creation, after which the two are independent. If an automatic payment cannot be tied back to a subscription, it is not surcharged.
Calculation
The base amount is what the payment settles: the invoice’s payable amount, or, when one payment covers several invoices, the amount attributed to each invoice. Tax is already inside that figure, so a percentage surcharge is calculated on the tax-inclusive amount.
A surcharge that rounds to zero is not applied, and a base amount of zero or less is never surcharged.
One payment, several invoices
When a single payment settles several invoices, a percentage rule is applied to each invoice’s share, because the fee scales with the amount. A flat rule is charged once for the whole payment, not once per invoice — the fee is fixed by definition, so charging it repeatedly would not match what the payer was quoted.What the payer sees
Wherever a surchargeable method can be chosen, the amount is broken out before the payer commits:
This appears in hosted checkout, on the hosted invoice payment page, and in the dashboard’s collect-payment dialog. Switching payment method recalculates it, and the payment cannot be submitted while a surchargeable estimate is still being calculated or has failed — the payer is never asked to approve an amount Alguna is unsure about.
The quoted figure is a display estimate. The charged amount is always recomputed server side at the moment of payment, from the same rules and the same settings, so what is charged matches what was shown.
Receipts show the surcharge as a separate amount alongside the invoice total.
What a surcharge does not change
A surcharge is money collected on top of the invoice, so it stays outside every figure that measures the invoice.
An invoice for 1,000.00 paid with a 29.00 surcharge is fully paid at 1,000.00. The provider charged 1,029.00.
Records
Each applied surcharge is stored against the payment, the invoice it was calculated for, the customer, the subscription where there is one, and the legal entity. Alongside the amount, Alguna keeps a snapshot taken at the moment of payment: the rule’s label, filters, fee type, and rate or amount, the payment method used, and the figures the calculation ran on. The snapshot is immutable. Editing or deleting a rule later changes what future payments are charged and never rewrites what an earlier payer was charged.Refunds
When you refund a payment that carried a surcharge, the surcharge is reversed with it. Alguna always derives that reversal — it is never an amount you supply, and it cannot be edited or overridden. The refund amount you request is the invoice amount. The provider refund is that amount plus the surcharge portion:- Full refund — the entire remaining surcharge is returned, so rounding can never strand a few cents
- Partial refund — the surcharge is returned in proportion to the base amount being refunded, capped at what remains unreversed
Accounting
Where an accounting integration is connected, the surcharge is synced separately from the invoice payment, into a dedicated ledger account you nominate on the integration. This keeps surcharge income out of accounts receivable, where it would otherwise look like the customer overpaid. A payment whose invoices span more than one legal entity cannot have its surcharge synced, because there is no single entity whose books it belongs in. Set the destination ledger account before enabling surcharges, or the surcharge sync fails while the payment itself still syncs.FAQ
Does changing a rule affect payments already taken?
Does changing a rule affect payments already taken?
No. Rules are read at the moment of payment, and each applied surcharge keeps its own snapshot. Editing, disabling, or deleting a rule changes future payments only.
Can I surcharge a customer who pays by check or bank transfer outside Alguna?
Can I surcharge a customer who pays by check or bank transfer outside Alguna?
No. Only card and bank-transfer payments taken through a payment provider can be surcharged. Payments you record manually are never surcharged.
What happens if a customer has no billing country on file?
What happens if a customer has no billing country on file?
Rules that filter on billing country will not match them. Rules with no country filter still apply. If you want every customer covered, leave the country dimension unfiltered.
Can a customer be charged two surcharges on one payment?
Can a customer be charged two surcharges on one payment?
No. At most one rule can match, and Alguna blocks you from enabling rules that could both match the same payment.
Why was a subscription's automatic payment not surcharged when the customer is opted in?
Why was a subscription's automatic payment not surcharged when the customer is opted in?
Automatic payments read the subscription’s setting, not the customer’s. The two start out the same and drift apart if either is changed afterward. Check the subscription’s invoicing settings.
Is the surcharge taxed?
Is the surcharge taxed?
Alguna does not calculate tax on the surcharge. It is collected on top of the invoice, and the invoice’s tax is computed on the invoice amount alone.
Related
- Payments — how money received is recorded and attributed
- Refunds — returning money against a payment
- Credit notes — correcting an invoice
- Hosted checkout — where a payer chooses a method and sees the breakdown