Build your own gift card system without a spreadsheet
A gift card system is really three things: a way to pay, a code nobody can guess, and a balance that goes down when someone spends. Here is how to build all three from one prompt.
Yes, you can build your own gift card system without coding, and it is less work than the spreadsheet you are already babysitting. A gift card system needs three things: a way to pay, a unique code per card, and a balance that drops when someone spends. All three can be described in plain words to Swarmz, which builds a working web app with a database, staff logins and an admin page.
Built from one prompt
Gift cards with unique codes and a balance check
Free plan, no card neededNames, prices and reviews in the example are placeholders
By the end of this guide you will have a shop page where customers buy a gift card, a code that gets generated for each one, and a balance check page. I built Swarmz, so I am biased, but I will tell you where it ends and where you need to do something yourself.
What a gift card system actually needs
Gift cards look simple until the first person says "I have a card with $14 left on it, can I use it with cash?" Here is what the system has to handle:
Amounts people actually buy. Fixed amounts (say 25, 50, 100) plus an "other amount" box. Most people choose from the buttons, so make those obvious.
A code that cannot be guessed. "GIFT-0001, GIFT-0002" is an invitation. Use long random codes, and ask for a short format a human can read aloud at a till.
A balance, not a yes or no. A card is a small account. Every redemption subtracts an amount and logs who did it and when.
Partial redemption. The $14 problem is the normal case. Staff need a field for "amount to use today", not a button that burns the whole card.
A balance check page. Customers will ask "how much is left?" constantly. Let them look it up themselves with the code.
A staff view and an owner view. Staff redeem. You see every card, every balance, and the total you still owe in unspent cards.
A record of who bought it and who it is for. Buyer email, recipient name and a short message make it feel like a gift and give you someone to resend the code to.
Expiry rules you have checked. Some places limit or forbid expiry dates on gift cards. Look up the rules where you trade before you add one.
If a tool you are looking at does not do partial balances properly, move on. That is the core of the whole thing.
The example above is what I got from one prompt. Customers pick an amount, get a code, and there is a balance check box. Change the bracketed parts, press the build button and you can edit from there.
Step by step
1. Sign up free
Go to swarmz.net and make a free account. The free plan gives you 5 credits a day and needs no card, which is plenty for a first version. A new account can also try Pro free for 3 days with 25 credits (card needed, and it becomes Pro unless you cancel).
2. Paste the prompt and fill in the brackets
Put in your business name and city. Then change the amounts to what you really sell. A cafe might use 10, 25 and 50. A salon might start at 50. Say so in the prompt rather than editing later.
3. Check the first version like a customer
Buy a card with a test payment. Copy the code. Open the balance check page on your phone and paste it. If the balance matches what you paid, the core works.
4. Redeem like a staff member
Log in as staff and redeem part of a card. Then check the balance again. Try to redeem more than the balance. It should refuse. Try the same code twice in a row quickly, because two tills may do exactly that.
5. Connect payments
Swarmz Payments runs on Stripe. Stripe's usual processing fees apply, and Swarmz takes a small platform fee on each payment. Use test mode with test cards first, then go live after Stripe verification. You are the merchant of record, which means refunds and chargebacks are yours to handle.
6. Publish and add your own domain
One click publishes the site to a swarmz.cloud address with SSL. A custom domain such as gifts.yourshop.com needs Pro. Put the link on your website, your Instagram bio and the till sign.
7. Delete the sample cards
The prompt asks for sample data so you can click around. Remove those cards before going live so your owed-balance total is true.
Follow-up prompts
Paste these one at a time after the first version works:
Add a "send as a gift" option: the buyer enters the recipient's name, email and a short message, and the recipient gets the code by email.On the admin page, show total sold, total redeemed and total balance still owed, with a filter for the last 30 days.Add a printable card layout with the code and a QR code, so I can sell cards at the till without a card reader.Let staff void a card with a reason and show it in the card's history. Never delete cards, only void them.Add an expiry date field that I can switch on or off, and show it on the balance check page.If you need something Swarmz does not list, such as printing to a specific label printer, say "ask Swarmz to add it" and see what comes back before you plan around it.
What it costs
Swarmz is free to start. Pro is $25 a month and adds a custom domain, so you only need it when you want gifts.yourshop.com instead of a swarmz.cloud address. A domain name costs whatever your registrar charges. If you take payments, Stripe's fees apply plus the Swarmz platform fee mentioned above. Compare that with gift card software that charges every month for features you do not use, or a freelancer who usually quotes for the whole project. Because the app is yours and syncs two-way with GitHub, you are not locked into one vendor's pricing page.
Sell the card, not the system
Here is the part most gift card guides skip: where people find the card. A gift card system that nobody finds is a very tidy empty room.
Put a gift card link in your main menu, not in the footer. The first week of December and the week before Valentine's Day are when it gets clicked.
Name the amounts for what they buy. "25: two coffees and a cake" sells better than "25". Only use examples you really honour.
Write a thank-you page that works as a receipt. Show the code, the amount and how to use it in person and online.
Make redeeming online possible if you have an online shop. A gift card that only works in person is half a product. If you sell online too, see the best AI ecommerce app builder for how a storefront connects.
Check the fiddly rules. Unspent balances may count as a liability in your accounts. Ask your accountant how to record them. Rules vary by country.
The spreadsheet worked until the day two people used the same row. A database with a log fixes that. If you want to understand how the pieces fit, the guide to AI app builders with a database explains it without jargon.
More guides like this
FAQ
Can I build my own gift card system without coding?
Yes. Describe the amounts, the code format, the balance check and the staff redemption screen, and Swarmz builds a working web app with a database and logins. You review it, test it with fake payments and publish when it behaves.
Is there free gift card software for a small business?
You can build one on Swarmz's free plan, which has 5 credits a day and needs no card. Taking real payments adds Stripe's processing fees and a small Swarmz platform fee. A custom domain needs Pro at $25 a month.
Is there a gift card system template I can copy?
The example in this guide is one. Use the prompt, change the business name, city and amounts, and build your own copy. Because it is your own app, you can keep changing it with follow-up prompts.
How do I stop people guessing gift card codes?
Ask for long random codes instead of numbers in order, and ask the balance check to slow down after several wrong guesses. Mention both in your prompt, then test it by trying a few wrong codes yourself.
Will it work on a phone?
Yes, it is a web app that works on phones, which suits staff redeeming at the till. It is not a native App Store app.
Try it
When you are ready, open swarmz.net, paste the prompt from above and buy yourself a test card. If you can check the balance on your phone ten minutes later, the spreadsheet is retired.
How did this land?
About the author

Founder of swarmz.net
Jordan founded Swarmz, the AI app builder at swarmz.net.


