How Gift Cards Work with POS Systems

Point-of-sale systems process gift cards through integrated software that manages card recognition, value storage, transaction processing, and balance updates. Understanding how POS systems handle gift cards helps businesses select compatible cards and troubleshoot operational issues.

This guide explains the technical relationship between gift cards and POS systems, including how cards are recognized, how data is stored, and why compatibility requirements vary between systems.

How POS Systems Recognize Gift Cards

When a gift card is scanned or swiped, the POS system must first recognize it as a valid gift card rather than a product barcode or credit card. This recognition process determines whether the card can be activated or redeemed.

Card Recognition Process

1

Card is scanned or swiped

A barcode scanner reads the printed barcode, or a magnetic stripe reader reads the encoded data from the stripe. The hardware converts this physical data into a digital string of characters.

2

POS analyzes the number structure

The POS software examines the scanned number to determine its format, length, and prefix. Many systems use specific number ranges or prefixes to identify gift cards. For example, a POS might recognize all cards starting with "6006" as gift cards.

3

System validates format requirements

The POS checks whether the number meets expected requirements such as correct length, valid check digit, or matching against stored patterns. If validation fails, the card is rejected.

4

Card is classified as gift card

Once validated, the POS treats the scanned number as a gift card identifier and routes it to the gift card processing module rather than the product lookup or credit card processing systems.

Why Recognition Failures Occur

If card numbers do not match the POS system's expected format, prefix range, or length requirements, the system will not recognize them as gift cards. This causes activation and redemption to fail even when hardware is functioning correctly.

How POS Systems Store Gift Card Data

POS systems store gift card balances and transaction history in databases that can be accessed whenever a card is used. The database architecture varies depending on the POS platform and business requirements.

Local Storage

Gift card data is stored directly on the POS hardware or local server. This approach works for single-location businesses or systems without internet connectivity.

Works offline

Fast processing

Single location only

Server-Based

Data is stored on a central server that multiple POS terminals connect to. This allows multi-location businesses to share gift card balances across all locations.

Multi-location support

Centralized management

Requires network connection

Cloud-Based

Gift card data is stored in cloud infrastructure managed by the POS provider. This is common with modern SaaS POS systems like Square, Clover, and Toast.

Automatic backups

Accessible anywhere

Scalable infrastructure

What Data Is Stored

DATA

Card Identifier

The unique number or code from the card that serves as the primary key in the database.

DATA

Current Balance

The monetary value currently available on the card, updated after each transaction.

DATA

Transaction History

Records of all activations, reloads, redemptions, and balance adjustments associated with the card.

DATA

Activation Status

Whether the card has been activated and is ready for use, or remains inactive.

DATA

Date and Time Stamps

Timestamps for activation, last use, and each transaction for reporting and auditing purposes.

Gift Card Activation Workflow

Activation is the process of loading value onto a gift card and making it ready for redemption. This workflow involves communication between the POS terminal, database, and payment processor.

Step-by-Step Activation Process

1

Customer Selects Amount

The customer decides how much money to load onto the gift card. Some businesses offer fixed denominations while others allow custom amounts.

2

Card Is Scanned

The cashier scans the barcode or swipes the magnetic stripe to capture the card's unique identifier.

3

POS Validates Card Format

The system checks that the card number matches expected format requirements and is not already active.

4

Customer Pays for Card

The customer completes payment for the activation amount using cash, credit card, or another payment method.

5

Database Record Is Created

The POS creates a new database entry linking the card identifier to the loaded balance, activation date, and transaction details.

6

Activation Confirmation

The system confirms successful activation and the card is now ready for redemption. A receipt is printed showing the loaded amount and card number.

When Activation Fails

Activation fails if the card format is not recognized, the card number is already in the database, or the POS cannot communicate with the database. Failed activations prevent the card from being used and require troubleshooting before the customer can receive a working card.

Gift Card Redemption Workflow

Redemption is the process of using gift card value to pay for purchases. This involves retrieving the current balance, applying it to the transaction, and updating the database with the new balance.

Step-by-Step Redemption Process

1

Items Are Scanned

The cashier scans all items the customer wants to purchase and the POS calculates the total amount due.

2

Gift Card Is Presented

The customer presents their gift card for payment. The cashier scans or swipes the card to capture the identifier.

3

System Queries Database

The POS looks up the card identifier in the database to retrieve the current balance and verify the card is active.

4

Balance Is Applied

The available balance is applied to the transaction total. If the balance is sufficient, it covers the entire purchase. If insufficient, the customer pays the remaining amount with another payment method.

5

Database Is Updated

The POS updates the card's balance in the database by subtracting the amount used. The transaction is recorded with date, time, location, and amount.

6

Receipt Is Printed

A receipt is printed showing the gift card payment, amount used, and remaining balance for the customer's reference.

Partial Redemption

Most POS systems support partial redemption, allowing customers to use a portion of the gift card balance and save the remainder for future purchases.

Some older or simpler systems may require the full balance to be used in a single transaction, but this is uncommon in modern POS software.

Common POS Requirements and Variations

POS systems have different requirements for gift card formatting, number structure, and encoding. Understanding these requirements helps prevent compatibility issues.

Number Length Requirements

Different POS systems require different card number lengths. Common requirements include:

13

Common in older systems and some retail POS platforms

16

Most common length, used by Square, Clover, and many others

19

Used by some payment processors and specialized systems

CUSTOM

Some systems accept variable lengths or specific custom formats

Number Prefix Requirements

Many POS systems identify gift cards by specific number prefixes. The system will only recognize cards with the correct prefix as valid gift cards.

Example: A POS configured to recognize gift cards starting with "6006" will reject cards starting with "5000" even if all other formatting is correct.

Barcode Symbology Requirements

Barcode cards must use the correct symbology for the POS scanner to read them correctly:

Code 128

Most widely supported symbology for gift cards, used by Square, Clover, Toast, and most modern systems

Code 39

Used by some older systems and specific industry applications

UPC/EAN

Occasionally required for retail-specific POS systems

Magnetic Stripe Encoding

Magnetic stripe cards store data on one or more tracks. POS systems specify which track to use and what data format is expected:

Track 1

Higher data capacity, less commonly used for gift cards

Track 2

Most common track for gift cards, standard numeric encoding

Track 3

Rarely used, available for specialized applications

Troubleshooting Compatibility Issues

When gift cards do not work with a POS system, the issue is usually related to formatting, configuration, or hardware compatibility rather than card defects.

Card Not Recognized

Symptom: POS does not respond when card is scanned or swiped, or treats it as an unknown product.

Common Causes:

  • Incorrect number prefix
  • Wrong number length
  • POS not configured for gift cards
  • Wrong barcode symbology

Card Rejected During Activation

Symptom: POS displays error message when attempting to activate card.

Common Causes:

  • Card number already exists in database
  • Failed validation check
  • Database connection issue
  • Insufficient permissions

Scan Quality Issues

Symptom: Card scans intermittently or requires multiple attempts.

Common Causes:

  • Barcode print quality too low
  • Scanner resolution insufficient
  • Barcode size too small or too large
  • Dirty or scratched card surface

Magnetic Stripe Read Errors

Symptom: Card swipe fails to register or returns error.

Common Causes:

  • Wrong track encoding
  • Data format mismatch
  • Damaged magnetic stripe
  • Reader hardware malfunction

Prevention Through Testing

Most compatibility issues can be prevented by testing sample cards with actual POS hardware before full production. This identifies formatting problems early when they can be corrected without reprinting thousands of cards.

Learn about POS verification testing

Questions About POS Compatibility

We can review your POS system requirements and confirm compatibility before production begins.

Fast response. Technical expertise. No guesswork.

Request A Quote