Case Studies

Integration cases

Integration with Magnum

We ensured seamless integration of CartaMe mobile app users with the existing Magnum club loyalty program of the Magnum retail chain, so that CartaMe users could automatically become full-fledged program participants and start earning rewards.

The partner already had the Magnum club loyalty program running on the Set Loyalty system. The project's objective was to ensure automatic participation of CartaMe mobile app users with a single Loyalty ID in the loyalty program without double registration and without loss of accrual history.

As part of the project, the Set Loyalty data structure was studied, including the format of card storage, transactions and points accrual rules. Entry points for the external API were identified. Changes were also made to the Set Loyalty external request receiving module so that the system correctly accepts and recognizes the CartaMe Loyalty ID as a valid participant number of the Magnum club program.

For secure data exchange, two-way token-based authentication and encryption of sensitive data, including personal identifiers and balance information, were implemented during API transmission.

Development stages

1
Studied the client's software.
16 hrs
Conducted an audit of the client's existing software: accounting system, POS software, website, mobile app. Analyzed the architecture, bottlenecks, current business processes and entry points for integration with the loyalty system.
2
Modified the client's software.
22 hrs
Made targeted changes to the client's software: added support for new API endpoints, configured background jobs for bonus point synchronization, integrated encryption and data validation modules.
3
Developed security protocols.
17 hrs
Created secure data exchange protocols between the client's servers and the loyalty platform: encryption, signing of each request, role-based access model, audit of all actions and protection against request replay attacks.
4
Implemented API exchanges between servers for transmitting personal data and bonus points.
1 day
Developed high-performance API bridges for synchronous and asynchronous data transfer: registration/updating of participant profiles, accrual and redemption of bonus points for purchases, transaction history export, balance checking.
5
Provided protection against spam and phishing.
15 hrs
Implemented a multi-level filtering system for incoming API requests: rate limiting, IP allowlist validation, referrer and User-Agent verification, anti-bot mechanisms (captcha).
6
Increased system resilience to high loads and high request volumes.
3 hrs
Conducted performance optimization for peak loads.
Used module
Connected product
What the client got:
- A CartaMe user logs into the app, after which their Loyalty ID automatically becomes a participant card for the «Magnum club» program in the Set Loyalty system.
- All operations - purchases, accruals and redemptions - are processed through a unified API gateway with guaranteed data delivery.
- Data desynchronization incidents are minimized through the use of queues and re-registration mechanisms.
Team
6
Total hours
97
Days
60
Technologies:
Python Python
PostgreSQL PostgreSQL
Rest API Rest API
Project team:
Leila
СЕО Kazakhstan Entity
Victor
СТО
Andrei
Developer
Anna
Lawyer
Vadim
Developer
Dmitry
Developer
Head of Department
1
Chief Technology Officer
1
Developer
3
Lawyer
1
Back to cases list