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:
- A customer buys the last jar of honey in the shop.
- The till records the sale and sends the new stock figure to the online shop via the API.
- The online shop marks the honey as sold out.
- 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.
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
- No app for customers
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
- Is there an open, documented API or only ready-made integrations?
- Is API access included in the plan or does it cost extra?
- Which ready-made connections exist for my till, online shop and accounting?
- Who helps when the connection breaks?
- 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:
- Till and accounting: saves hours at month end
- Till and online shop: stops you selling goods you no longer have; see loyalty programmes online and in store
- Booking and loyalty: see loyalty programmes and appointment booking
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.
Related terms
- Software as a service: subscription software, usually with an API
- Cloud POS system: a till in the cloud, often with interfaces
- CRM: customer management, frequently connected via API
- Progressive web app: a web app that loads data through APIs
- PSD2: EU rules for open banking interfaces
- Deep link: a link straight to content inside an app
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
- Google Wallet API – Google
- Wallet Passes documentation – Apple Developer
- 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