WHMCS Add Funds with crypto: limits, renewals, refunds
WHMCS clients can add funds with crypto through the same gateway module that pays their invoices. A top-up creates an Add Funds invoice, the client pays it on the crypto checkout, and the amount lands on their credit balance once the payment completes. With Automatic Credit Use switched on, WHMCS applies that credit to each new renewal invoice as it is generated, so a client who has prepaid sends nothing at renewal time.
How does Add Funds work in WHMCS?
The WHMCS credit balance documentation describes the client's side: click Add Funds on the Client Area homepage, enter an amount, choose a payment method, click Add Funds and pay through the selected gateway. Behind the button is an ordinary invoice. When it is paid, the amount is added to the client's credit balance.
The CoinStack module treats an Add Funds invoice like any other invoice: it creates a checkout for the invoice balance, the client picks a token and network, and the invoice is marked paid when the checkout completes. The payment settles as USDC on the network you chose, at your settlement address.
The credit itself is held in the client's WHMCS currency, not in a coin. A client who tops up $100 by sending BTC or USDT on TRON has $100 of credit, and that figure does not move with the price of bitcoin afterwards.
One rule applies before any of this: "To help prevent fraud, clients cannot add funds until they have at least one active approved order in their account." That comes from the Require Active Order setting below, and you can change it.
Which Credit tab settings matter for crypto top-ups?
All of them live in one place: Configuration > System Settings > General Settings, then the Credit tab. The Credit tab reference does not list default values, so check each one on your own installation.
| Setting | What WHMCS says it does | What to consider for crypto |
|---|---|---|
| Enable/Disable | Lets customers "buy credit that they can later use to pay invoices" | Must be on for the Add Funds link to work |
| Minimum Deposit | Smallest amount a client can add in one transaction | Set it to at least your cheapest monthly price, so one top-up covers one renewal |
| Maximum Deposit | Largest amount a client can add in one transaction | Large crypto top-ups cannot be charged back, but this cap also limits card top-ups |
| Maximum Balance | "The maximum total balance that a client can add to their credit balance", across transactions | Caps the unused credit you might have to refund one client |
| Require Active Order | Allows top-ups only once the client has at least one active, approved order | WHMCS recommends enabling it |
| Automatic Credit Use | Applies existing credit to invoices when the system generates them | Leave it on, or every renewal needs credit applied by hand |
These limits are set once for the whole installation, so whatever you choose applies to card and PayPal top-ups too. That matters most for Require Active Order. WHMCS warns that "disabling this setting may increase the risk of chargebacks and fraud." A crypto payment cannot be charged back (the Bitcoin FAQ puts it as "once confirmed, they can only be refunded by the person receiving the funds"), but a stolen card used for a top-up can, and the setting cannot tell the two apart.
Set your Minimum Deposit with the live token minimums in mind: the List tokens endpoint shows each token's minimum.
How does credit pay a renewal invoice?
WHMCS creates renewal invoices ahead of time. Its automation settings say: "By default, the system generates invoices 14 days before the Next Due Date value." With Automatic Credit Use on, available credit is applied to each new recurring invoice at that moment. If the balance covers the invoice, it is paid on creation and the usual automation for a paid invoice follows.
There is one catch that produces support tickets. The Credit tab reference says WHMCS does not apply credit to invoices that already exist when a client adds funds. Credit is applied when an invoice is generated, not when money arrives.
Take a client whose VPS renews on the 20th. WHMCS generates the renewal invoice on the 6th. On the 10th the client adds $50 in USDC. The renewal invoice stays Unpaid, because it existed before the credit did. Two ways out:
- The client opens the invoice. WHMCS shows "a red box" on it "displaying the credit balance and allowing the client to apply it."
- You open the invoice in the admin area, go to its Credit tab, enter the amount and click Go.
The cleanest habit is to top up before the next invoice is generated. If you promote Add Funds to crypto payers, say this in your Invoice Created email: if you have credit, apply it from the invoice; otherwise pay the invoice itself with crypto.
Why prepaid credit reduces missed renewals
Crypto gateways in WHMCS are third-party gateways. With CoinStack in WHMCS, each renewal is an invoice the client pays through the hosted checkout, and WHMCS reminders and suspension settings keep the timing in your hands. Handling WHMCS renewals when customers pay with crypto covers the reminder and suspension settings.
Credit moves the trigger from the client to WHMCS. The renewal invoice is paid when it is generated, with no reminder email, no wallet and no waiting on a withdrawal. No published study measures how many missed renewals this prevents. The mechanism is the point: a renewal that needs no action from the client cannot be missed by the client.
Prepaying also cuts what the client spends on transfers. CoinStack's 0.8% fee is a percentage, so it is the same whether a client pays in one go or six. Per-transfer costs are not. As of December 2, 2026, Kraken charges 1 USDT to withdraw USDT on TRON, with a 6 USDT minimum.
| A $12 per month VPS for 6 months | Paid monthly | One $72 top-up |
|---|---|---|
| Checkouts the client pays | 6 | 1 |
| CoinStack fee at 0.8% | 6 × $0.096 = $0.58 | $0.58 |
| Kraken withdrawal fees (1 USDT each) | $6.00 | $1.00 |
| Withdrawal fee as a share of each payment | 8.3% | 1.4% |
Network cost works the same way. On TRON and Bitcoin the customer covers it by default, added to what they pay, so 6 checkouts mean 6 network costs and 1 checkout means 1. Prepaid balances and account credit top-ups looks at the same pattern outside WHMCS.
What happens when a top-up is short, over or late?
Clients type amounts by hand, and some exchanges take their fee out of the amount sent, so not every top-up arrives exact. The module handles an Add Funds invoice the way the WHMCS integration docs describe for any invoice, recording payments in the invoice currency.
A small shortfall still completes the checkout. The allowance lives in the CoinStack dashboard under Settings, then Underpayment, with a default of 0.5% of the total. On a $100 top-up a payment up to 50 cents short completes, the invoice is marked paid and the client receives the full $100 of credit. If that trade bothers you, lower the allowance.
A larger shortfall leaves the checkout partly paid, and the client can send the rest to the same address. If the checkout expires first, what arrived is recorded on the invoice and the invoice stays Unpaid with a lower balance, so the client can pay the remainder from the invoice page. Selecting Mark as resolved on the checkout in the CoinStack dashboard records the remainder and marks the invoice paid, which puts the full top-up on the client's balance. Do that only if you are willing to absorb the shortfall. Underpaid crypto payments explains the allowance in more detail.
When a payment is more than 2% over, all of it settles to your wallet and the module records the invoice amount and notes the overpayment in the Gateway Log. WHMCS's own rule that "the system automatically credits overages" applies to overpayments recorded in WHMCS, and this extra never reaches WHMCS as a payment. To credit it, add it under Billing > Transactions List > Add Transaction with Credit ticked. WHMCS says it "strongly" recommends associating credit with a transaction. Otherwise, refund the difference.
A late payment, one that arrives after the checkout expired, is still recorded. If it covers the amount and the Add Funds invoice is still Unpaid, the invoice is marked paid and the credit is added. If you cancelled the invoice in the meantime, nothing is recorded and the Activity Log tells you. Overpaid and late crypto payments goes through the choices.
How should you handle refunds of unused credit?
Write the policy before you accept the first top-up, and put it in your terms. It should answer four questions: whether unused credit is refundable at all, for how long, in what form, and who pays the transfer cost.
Your local consumer law may answer some of these for you. In the EU, a consumer "shall have a period of 14 days to withdraw from a distance or off-premises contract, without giving any reason" under Directive 2011/83/EU, Article 9(1), whatever the payment method. Article 13(1) requires reimbursement "using the same means of payment as the consumer used for the initial transaction, unless the consumer has expressly agreed otherwise", with no fee to the consumer. The UK's Consumer Contracts Regulations 2013, regulation 34, says the same and adds that "the trader must not impose any fee on the consumer in respect of the reimbursement." Neither text says whether a refund in crypto means the same number of coins or the same price. A credit balance held in dollars makes that question mostly go away: $60 of unused credit is refunded as $60 in a stablecoin. Prepaid credit can also raise tax questions about when revenue is recognised, so confirm your policy with your own accountant or lawyer.
The mechanics are short:
- Ask the client for a refund address and network in writing, from the email address on the account.
- Send the refund from your own wallet, on your own timing. If your USDC settles to the wallet created for your CoinStack account, the account owner can withdraw it from the dashboard to any supported token and network, for example USDT on TRON if that is what the client used. The dashboard shows the network cost and the amount the client will receive before you confirm. If you settle to another address, such as a treasury wallet, send the refund from there.
- Remove the credit in WHMCS: open the client profile, Summary tab, Manage Credits, choose Remove Credit, enter a reason and the amount, and save. WHMCS applies the change immediately.
Manual credit adjustments do not appear in the Transactions List, so put the refund's transaction hash in the reason field. That gives you one place to trace the refund later. How to refund a crypto payment covers checking the address before you send.
Is there anything extra to configure for Add Funds?
No. Once the CoinStack gateway is active, any invoice the client chooses to pay with it goes through the checkout, Add Funds invoices included. The four install steps are in the WHMCS setup documentation and in how to accept crypto payments in WHMCS. If a top-up completes in the CoinStack dashboard but the invoice stays Unpaid, WHMCS invoice paid on-chain but still Unpaid works through the causes in order.
Frequently asked questions
Is a crypto top-up stored as crypto in the WHMCS credit balance?
No. WHMCS holds credit in the client's currency. The crypto amount is fixed on the checkout when the client picks a token, the invoice is paid for its face value, and the balance shows that value. Price moves in BTC or ETH after the payment do not change the client's credit. On your side, the payment settles as USDC in your wallet.
Why did a client's credit not pay their renewal invoice?
Most likely the invoice was generated before the client added funds. WHMCS applies credit automatically only when it generates an invoice, and it does not apply new credit to invoices that already exist. The client can apply it from the red credit box on the invoice in the Client Area, or you can apply it from the invoice's Credit tab in the admin area.
What is the smallest top-up a client can pay in crypto?
Three floors apply, and the highest wins. Your Minimum Deposit on the Credit tab, CoinStack's $1 minimum per checkout, and the minimum for the token and network the client picks. That last one is $1 on most networks and higher on Bitcoin and TRON. A top-up below a token's minimum still opens a checkout, it just does not offer that token.
Can clients add funds before their first order?
Only if you switch off Require Active Order on the Credit tab. With it on, a client can add funds only once they have at least one active, approved order. WHMCS recommends enabling it, and since the setting covers every payment method, switching it off also opens card top-ups to new accounts.