Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Context

Burger King customer will add their Tesco Clubcard to the Memberships section of the BK UK App and allowing them to earn Clubcard points with every BK purchase. How this would work:

  1. Customer adds Tesco Clubcard to memberships section

  2. With every purchase, customers earns Tesco Clubcard points e.g. 3 points per £1 spent

  3. The Clubcard points are then added to the customer's Tesco Clubcard account

Memberships Service

For handling all the logic related to the memberhips link we created the Memberships service that allow us to communicate with the external companies servers. According to Tesco documentation, the following diagrams represent how a user logs into Tesco via the BK app.

Identification & Get User Profile data flow

image-20241113-133054.png

Identification & Credit Tesco points

image-20241113-133817.png

Complete flow (with token refresh)

image-20241113-124834.png

  • No labels