A complete guide to the Standard Transfer Specification — how prepaid electricity tokens work, why the standard exists, and how municipalities benefit from certified vending systems.
If you've ever bought prepaid electricity in South Africa, you've used the STS standard. The 20-digit number you receive via SMS, receipt, or mobile app is an STS-compliant token that your meter converts into kilowatt-hours of electricity. But what exactly is STS, why does it exist, and how does the entire system work from end to end?
This article explains the Standard Transfer Specification (STS) — the global standard behind prepaid electricity vending — in practical terms. Whether you're a municipal official evaluating vending systems, a consultant advising on utility digitisation, or simply curious about how prepaid electricity actually works, this guide covers everything you need to know.
STS stands for Standard Transfer Specification. It is an international standard (IEC 62055-41 and IEC 62055-51) that defines how prepaid electricity tokens are generated, encrypted, transferred, and decoded by electricity meters. Developed by the International Electrotechnical Commission (IEC), STS is the globally accepted standard for prepaid metering systems.
Think of STS as a language that all prepaid electricity meters and vending systems speak. Regardless of who manufactured the meter or which vending software generates the token, as long as both comply with the STS standard, the token will work. This interoperability is the core purpose of the standard.
STS is managed by the STS Association, an independent body that certifies meters, vending systems, and manages the allocation of manufacturer codes and key generation codes to ensure the integrity of the entire ecosystem.
Before STS, each meter manufacturer used its own proprietary token format. A token generated by one vendor's system would only work with that vendor's meters. This created several serious problems:
The STS standard solved all of these by defining an open, audited, and internationally recognised specification that any manufacturer or software vendor can implement. Today, STS is used in over 80 countries, with billions of tokens generated annually.
At its core, an STS token encodes three essential pieces of information:
The magic happens in step three. The vending system uses a secret key (known as the Key Generation Code or KGC) to encrypt the token data. The meter, which has been loaded with the matching decryption key, can verify that the token is authentic. This is a symmetric encryption system — the same key is used to generate and verify tokens, but the key itself is never transmitted with the token.
This cryptographic layer is what prevents counterfeit token generation. Without access to the municipality's KGC, no one can produce a valid token. The KGC is assigned by the STS Association and is unique to each utility.
An STS token is a 20-digit decimal number. While it looks random to the consumer, every digit is meaningful:
When the consumer enters these 20 digits into their meter, the meter:
The entire process takes less than a second on modern meters.
Here's how a typical STS transaction flows from payment to power:
A well-designed vending system like Ivend handles all of this automatically, including tariff management, multi-vendor token generation, payment gateway integration, and reporting.
STS has evolved over time. The two editions relevant today are:
The STS Association has mandated that all vending systems and meters must be Edition 2 compliant by a specific deadline (which has been extended in some regions). Municipalities operating Edition 1 systems should plan their migration to Edition 2 to ensure continued compliance and interoperability.
Ivend supports both Edition 1 and Edition 2 token generation, making the transition seamless for municipalities that need to upgrade.
Running a prepaid electricity vending system without STS certification carries real risks:
A certified STS vending system like Ivend ensures compliance, security, and full interoperability with any STS-compliant meter on the market.
Ivend is Inovosystems' STS-compliant prepaid electricity vending platform, designed for South African municipalities. It provides:
Ivend has processed over 2 million STS token transactions across South African municipalities. Talk to our team about deploying it in yours.
View Ivend Product Page →STS-certified, multi-channel, AI-powered. Let's talk about what Ivend can do for your municipality.
Start a Project →