How Credits Are Spent: Which Ones Are Used First
What Is This?
When a customer pays with their credit wallet, Pixalink does not take the credits from one single pile. A customer's balance can be made up of different kinds of credit. They might have bonus credit from a promo, a refund, referral credit, and the credits they bought themselves. This article explains which credits get used first, so you always know what is happening behind a payment.
How It Works
When a customer spends, Pixalink uses their credits in a fixed order. Promotional credits are used first, and the credits the customer bought are used last.
The order is always the same:
- Bonus — extra credit from a top-up promo
- Refund — credit you returned to the customer
- Referral — credit earned through your referral programme
- Top Up: the credits the customer paid for
Pixalink works down this list. It empties the Bonus credits first. If the payment is larger than the bonus balance, it moves to Refund, then Referral. It only touches the customer's Top Up credits once everything else is gone.
Two more things happen automatically inside each type:
- Oldest credits go first. Within one type, the credit added earliest is spent before newer credit. This helps credits get used before they expire.
- Expired credits are skipped. If a credit has passed its expiry date, it is left out. Only valid credit is used to cover a payment.
If a customer tries to spend more than their valid balance, the payment is blocked. They are told how much they actually have.
Every payment is saved as a Deduct entry in Credit History, so you can always see what was used.

Real-Life Example
Wei Lin runs Glow Salon in Mont Kiara and lets customers preload a wallet for treatments. Her regular, Nurul, pays RM100 for 100 credits and gets 10 bonus credits from Wei Lin's promo, giving her 110 credits in total. A week later, staff deduct 30 credits for a manicure. Pixalink takes the 10 bonus credits first, then the other 20 come from the credits she bought. Nurul's balance is now 80 credits, all of them credits she paid for. When Wei Lin opens Credit History, she sees a single Deduct entry for 30 credits and can tell the bonus credits were used up first.
Good to Know
- Promotional credits (Bonus, Refund, Referral) are always spent before the credits the customer paid for.
- Within each type, the oldest credits are used first.
- Expired credits are never used to cover a payment.
- A customer can never spend more than their valid balance.
- Every payment shows up as a Deduct entry in Credit History.
Need Help?
If credit payments are not being deducted the way you expect, talk to the Pixalink team and we will take a look.
What's Next?
- What Are Credits and How the Credit Wallet Works — the full overview of the credit wallet
- How to Earn Points from Credit Payments — reward customers with points when they pay with credits
- How to Top Up Customer Credits — add credits to a customer's wallet