Referral rewards as Shopify store credit: holds, clawbacks, and limits
Most Shopify referral programs pay the referrer with a discount code. The code arrives by email, sits in an inbox, and eventually gets pasted into a deal forum where strangers use it. The referrer may never come back at all.
Store credit changes the mechanics. The reward is money that only spends at your store, attached to one customer account, visible at checkout, and reversible. This guide covers what Shopify store credit is, how to issue it, why it suits referral payouts, and how OfferGuard's native referral program handles the parts that go wrong: refunds, self-referrals, and people gaming the cap.
What Shopify store credit is
Store credit is a balance Shopify holds on a customer's account in your shop's currency. When the customer is logged in at checkout, the balance appears as a payment option and they can apply it to the order like a gift card, except it was never a card and there is no code to type.
It is a native Shopify feature, not an app. The balance lives on the customer record and shows in the admin on the customer's page.
How to issue store credit on Shopify
Manually, from the admin: open the customer, find the store credit section, and add an amount. You can set an expiry date or leave the credit open-ended.
Programmatically, through the Admin API: the storeCreditAccountCredit mutation adds an amount to a customer's store credit account, and storeCreditAccountDebit takes it back. Apps use these two calls to automate payouts and reversals.
How customers see and spend it
Customers with new customer accounts see their balance in their account and at checkout. They pick store credit as a payment method, it covers as much of the order as the balance allows, and any remainder goes on a card. Because the credit is tied to the account, a guest checkout under a different email cannot spend it.
Why store credit beats discount codes for referrals
A discount code is a string. It has no owner. Whoever types it gets the discount, which is exactly why referral codes leak into Honey and Reddit within days of a program launching.
Store credit is a balance on one account. Nobody else can spend it. It cannot be screenshotted and shared. There is nothing for a coupon extension to scrape.
Three more practical differences:
- Credit brings the referrer back. A code might be used or might expire unread. A balance is money sitting on their account, and it gets spent.
- Credit can be reversed. If the referred friend refunds the order, you can debit the credit back. A code that has already been redeemed is gone.
- Credit is easy to cap. You can stop issuing when a referrer crosses a monthly ceiling. Codes multiply in inboxes and are hard to pull back.
How OfferGuard pays referrers in store credit
OfferGuard includes a native referral program on the Enterprise plan. It runs inside checkout and the thank-you page, pays referrers in Shopify store credit, and uses the same identity engine that catches discount abuse to decide whether a referral is real. The referral fraud guide covers the fraud side in depth; this section covers the money.
Share links, not codes
Each customer gets a share token, a 12-character string with roughly 60 bits of randomness. The share link routes through your store's app proxy, so the token never appears in a Referer header on someone else's site. Friends open the link, land on your store, and the referral is attributed when they buy.
Share links expire after 90 days by default. You can change that anywhere from one day to ten years.
What the referrer and the friend get
The defaults are ten dollars of store credit for the referrer and ten percent off for the friend. You set both: the referrer amount in your shop's currency, the friend's discount as a percentage or a fixed amount, and an optional minimum order value the friend's order has to reach before either reward fires.
By default, the friend has to be a new customer. That single setting removes most of the abuse: a returning buyer clicking their own friend's link does not create a payout.
When the credit is issued
The referrer's credit is issued when the friend's order is paid, through Shopify's store credit mutation, in your shop's currency. OfferGuard looks up the shop currency rather than trusting a configured value, because credit issued in a currency the customer cannot spend at checkout is credit they will never use.
Each payout is recorded with a hold date. The default hold is seven days.
Clawback when the friend refunds
If the referred friend refunds the order, OfferGuard watches the cumulative refunded amount. Once refunds reach half of the original order total, the referrer's credit is debited back through storeCreditAccountDebit. A partial refund below that line, say one item out of four, leaves the credit alone.
If the referrer has already spent the credit and the debit cannot be covered, the referral is marked as a failed clawback so you can see it in the referral list and decide what to do. Nothing is silently lost.
The monthly cap
Each referrer can earn up to two hundred dollars of credit in any rolling thirty-day window by default. Past that, referrals still attribute and the friend still gets their discount, but no further credit is issued until the window moves. You can raise or lower the cap.
Self-referrals and duplicate accounts
The obvious abuse is a customer sharing to themselves under a second email. OfferGuard checks this twice. The rule engine can block a checkout where the sharer and the redeemer resolve to the same person through email, phone, address, device, or visitor cookie. Separately, at the moment a referral is attributed, an unconditional check compares the sharer's email and Shopify customer ID against the buyer's, and again when the order is paid. A match withholds the credit.
Blocked and withheld referrals stay visible with their status, so a merchant can audit what was caught rather than wonder.
Where it shows up
Referrers see their share link on the thank-you page, on the storefront rewards page, in the Apple Wallet card if you issue one, and in the referral landing block in your theme. Every referral event, from a share to a blocked attempt to a completed payout, can also be sent to Klaviyo as a named metric, so your email flows can react without polling.
Setting expectations
Store credit is only redeemable by a logged-in customer with a new customer account. If your store still uses classic customer accounts, or a large share of your buyers check out as guests and never log in, some referrers will accumulate credit they do not notice. The Apple Wallet card and the rewards page exist partly to solve that: both show the live balance without a login.
Store credit also does not cross stores. A referrer earns credit at your shop and spends it at your shop. For a brand with several storefronts that is a limitation; for a single store it is the point.
Getting started
The referral program, store credit payouts, and the loyalty program that shares the same points ledger are all part of the Enterprise plan. The referrals page covers the program end to end, and the loyalty page covers points, tiers, and redemption at checkout, which sit alongside referral credit on the same customer profile.
Learn more about OfferGuard
More posts
Shopify "high risk order": what the flag means and what to do
Shopify marks some orders as high risk of fraud. Here is what the analysis looks at, how to review a flagged order without losing good customers, and how to automate the tag, hold, or cancel so it doesn't sit in your queue.
OfferGuard vs MinMaxify: per-cart quantity limits vs lifetime one-per-customer rules
MinMaxify caps how many units fit in one cart. OfferGuard caps how many times one person can buy a product, ever, across emails, addresses, devices, and guest checkouts. Same words on the box, different job.