Skip to content
Until end of January: 90 days free
Wallet & tech

API: Definition, Examples & What It Means for Your Till, Shop and Loyalty Card

POS system, online shop, appointment booking, loyalty card: for programs to talk to each other they need interfaces. Here is what an API is, how it works in a shop, which questions to ask a provider and when connecting systems costs more than it saves.

mystamp editorial teamUpdated: 4 min readAuf Deutsch lesen

Quick answer

An API (application programming interface) is a defined interface through which two programs exchange data automatically. In a shop, an API might connect the POS system to the online shop, the accounting software or a loyalty programme, so that sales, stock levels or customer data never have to be typed in twice. People never see the API itself, only its result.

Key takeaways

  • Definition: an API is a programming interface through which software requests and delivers data according to fixed rules.
  • The waiter principle: program A orders via the API and program B delivers, without A needing to know how B works inside.
  • Typical in shops: connecting the till to the online shop, accounting, booking or a loyalty programme.
  • The cost is in the setup: configuration, maintenance after updates and troubleshooting, not the API itself.
  • Not always needed: a stamp card that stamps via a phone scan works without any POS connection at all.

An API (application programming interface) is a defined connection through which two programs exchange data automatically. Your POS system reports the day’s takings to your accounting software via an API, your online shop checks stock levels via an API, and a loyalty programme learns via an API who just made a purchase.

You never see the API, only its result: data that no longer has to be typed in twice. Whether you need one depends on how many programs in your shop should work together.

What is an API?

The classic image is a waiter in a restaurant. You (program A) order from the menu (the API documentation), the waiter (the API) passes the order to the kitchen (program B) and brings the food back. You do not need to know how the kitchen cooks; you just need to order correctly.

Key terms around APIs:

Term Meaning Example in a shop
Endpoint the address a request goes to “fetch sales”
Request and response a program asks, the API returns data (often as JSON) the till returns all of today’s receipts
API key a password for programs the online shop may read till data
Webhook the API reports on its own when something happens “new booking received”
REST a common blueprint for web APIs most cloud services
Integration a ready-made connection between two products till to accounting at the click of a button

API vs. interface

“Interface” is the broader term. A CSV export you download and upload elsewhere is an interface too, but not an API, because it does not run automatically. German cash register law uses the word as well: the DSFinV-K specifies the format in which till data is exported for the tax authorities. That is an export standard linked to the KassenSichV, not an API for connecting programs.

How an API works in a shop

Suppose you run a cloud POS system and a small online shop:

  1. A customer buys the last jar of honey in the shop.
  2. The till records the sale and sends the new stock figure to the online shop via the API.
  3. The online shop marks the honey as sold out.
  4. In the evening, the accounting software fetches the day’s sales via another API.

Without an API you would transfer stock and sales by hand. With 30 products that is manageable; with 800 it is not.

Wallet cards run on APIs too: providers create and update cards through the Google Wallet API and Apple’s web service for wallet passes. If you want to build that yourself, our guide to building a wallet pass yourself walks through the steps.

Example from a real shop

A gym in Munich uses membership software, online class booking and a CRM for its newsletter. Via APIs, new members land in the newsletter tool automatically and booked classes show up in the member record. That saves the team typing every week.

A café in Berlin is quite different: till, stamp card and Instagram run separately, and that is fine. The stamp card needs no POS connection. With mystamp the team scans the guest’s wallet card with their own phone and the stamp is applied instantly, without a POS system, interface or extra hardware. When linking systems is still worth it is covered in our guide to loyalty programme POS integration.

Pros and cons of an API connection

Pros Cons
No double data entry setup needs technical know-how or a contractor
Fewer typing errors can break when one provider updates
Real-time data, e.g. stock levels you depend on two providers instead of one
Automated workflows (webhooks) more data flows mean more GDPR duties
Combine specialised tools troubleshooting is hard: is it A’s fault or B’s?

Questions to ask a provider

  1. Is there an open, documented API or only ready-made integrations?
  2. Is API access included in the plan or does it cost extra?
  3. Which ready-made connections exist for my till, online shop and accounting?
  4. Who helps when the connection breaks?
  5. Which personal data flows, and is there a data processing agreement under Art. 28 GDPR?

Note: this information is not legal advice.

What APIs mean for small shops

For a barbershop in Vienna or a bakery in Zurich: an API is a means, not an end. Rule of thumb: connect programs when you regularly type the same data into two places, or when transfer errors cost money, as with stock levels. For a stamp card, a standalone solution is often enough.

Typical worthwhile connections:

APIs matter in payments too: the EU payment services directive PSD2 requires banks to give third-party providers access to accounts with the customer’s consent.

Frequently asked questions

What is an API in simple terms?

An API is a kind of ordering counter between two programs. Program A sends a request following fixed rules, such as "give me all of today's sales", and program B replies with the matching data. Program A does not need to know how B works internally. That is how a till, online shop or accounting tool can exchange data automatically without anyone retyping it.

What does API stand for?

API stands for application programming interface. It is a documented interface through which a piece of software makes functions and data available to other programs. In everyday conversation people often just say "integration" or "interface", for example when a POS system has an interface to the accounting software or the online shop. In German you will hear Schnittstelle.

What is the difference between an API and an integration?

An API is the technical door a piece of software offers. An integration is a ready-made connection between two specific products that uses that door, often switched on with a click. If a provider has an open API, a developer can build almost any connection. If it only offers integrations, you are limited to the partners on its list, but setup is much easier.

Do I need a POS integration for a digital stamp card?

Not necessarily. Some loyalty programmes connect to the POS system and award points automatically per receipt. Others work on their own: with mystamp you scan the customer's wallet card with your own phone and the stamp is applied instantly. You need neither a POS system nor a POS integration nor any extra hardware for that.

How much does an API integration cost?

The API itself is included in many providers' plans or available for a surcharge. The expensive part is usually implementation: a developer or agency has to set up the connection, test it and adapt it after updates. Ready-made integrations a provider offers at the click of a button are much cheaper than custom development. Ask upfront who is responsible when something breaks.

Is an API GDPR-compliant?

That depends on which data flows through it. If the API transfers personal data such as names, email addresses or purchase histories, the GDPR applies. Every provider that processes data on your behalf needs a data processing agreement (Auftragsverarbeitungsvertrag) under Art. 28 GDPR. The principle: only transfer the data that is genuinely needed for the purpose.

Sources & further reading

  1. Google Wallet API – Google
  2. Wallet Passes documentation – Apple Developer
  3. Art. 28 GDPR – Processor – General Data Protection Regulation

About this guide

Written by the mystamp editorial team in Mannheim, Germany. We build digital stamp cards for local shops, and our guides bring together what actually works day to day in small businesses. We back numbers and legal statements with sources and update the article when things change.

Published: 1 December 2026 · Updated: 1 December 2026 · Spotted a mistake or have a question? Write to us

Related industry guides

Free-forever plan available

A stamp card with no POS integration

mystamp needs no API and no POS system: you scan your customer's wallet card with your phone and the stamp is on instantly. Set up in about 10 minutes.

  • Free-forever plan
  • Ready in 10 minutes
  • Back to Free any time – cards stay
  • No app needed

Try the card

Live preview: build your card in 30 seconds.

Café Sonnenschein

now

Fancy a cappuccino? Double stamps today.

Tap the card to collect a stamp

Stamps until the reward
Colour
Logo

Your logo stays on your device and is not uploaded.

Just a preview – you create your real card yourself in 10 minutes.

Even more design options in the dashboard: There you can also customise icons, font colours and background patterns – this preview only shows the basics.

Create this card for free & win regularsCreate this card for free
Launching January 2027

We go live in January 2027

Sign-up isn’t open yet – but you can be first in line. Leave your email and we’ll let you know as soon as we launch.

Your giftAll plans free for 90 days for everyone who signs up now.