Skip to main content

Wallet loyalty card for restaurant chains

Fast food, coffee shops, brasseries: your customers come back often, but the stamp card stays in the wallet or gets lost. eldo wallet puts your whole chain's loyalty card in Apple Wallet and Google Wallet. Your till credits points at every visit, customers see their balance on the lock screen and get their reward with no app to download.

Try this pass liveFill in the form, watch the pass and the code update, then get it on your phone.

Customer journey​

Integration workflow​

  1. Set up the chain's cardBack office

    One loyalty card for the whole chain. Set the program name, colors, strip, gain unit (POINTS for stamps, EURO for cashback) and the fields shown once. Logo and contacts live on the wallet.

  2. Add your restaurantsBack office

    Add the GPS coordinates of each restaurant with a short message, optionally per time slot ("Lunch menu is ready"). When the customer walks by, the card shows up on their lock screen. See Locations.

  3. Create the rewardsBack office

    Create one coupon template per reward: welcome, free drink, free meal on the 10th visit, birthday. Turn on one-time use so a reward can only be used once.

    POST/couponsTry it
    curl -L 'https://api-v2.test.eldowallet.fr/coupons' \
    -H 'Accept: application/json' \
    -H 'x-lang: en' \
    -H 'Authorization: Bearer <token>' \
    -F 'strip=@"free-meal.png"' \
    -F 'name="Free meal"' \
    -F 'description="Your 10th visit: a free meal in all our restaurants"' \
    -F 'value="Free meal"' \
    -F 'valueLabel="PRESTATION"' \
    -F 'barcodeFormat="QR_CODE"' \
    -F 'colors="{\"backgroundColor\":\"\#3b2416\",\"labelColor\":\"\#f6c76b\",\"foregroundColor\":\"\#ffffff\"}"' \
    -F 'security="{\"enableOneTimeUse\":true}"'
  4. Sign customers up from the till or the websiteYour server

    When ordering, online or at the counter, your till or website creates the customer. With sendCard: true, eldo wallet sends the add link. Moving from an old stamp card? Import the existing base as CSV. See Import a customer base.

    POST/clientsTry it
    curl -L 'https://api-v2.test.eldowallet.fr/clients' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'x-lang: en' \
    -H 'Authorization: Bearer <token>' \
    --data-raw '{
    "firstName": "Lucas",
    "lastName": "Bernard",
    "email": "lucas.bernard@example.com",
    "phoneNumber": "+33612345678",
    "source": "CRM",
    "sendCard": true
    }'
  5. The customer adds the cardEnd customer

    They open the link on their phone: Apple Wallet on iPhone, Google Wallet on Android. No app to download, no account to create.

  6. Credit points at every visitYour server

    The till scans the card and sends the customer's new balance (gain is the total balance, not an increment). The card updates in the Wallet, in any restaurant of the chain.

    PATCH/clients/barcode/{barcode}/gainTry it
    curl -L -X PATCH 'https://api-v2.test.eldowallet.fr/clients/barcode/$BARCODE/gain' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'x-lang: en' \
    -H 'Authorization: Bearer <token>' \
    -d '{
    "gain": 80
    }'
  7. Send the rewardYour server

    Threshold reached, birthday, customer away for a month: your till or CRM sends the coupon to the customer by their clientId.

    POST/coupons/{id}/passes/sendTry it
    curl -L 'https://api-v2.test.eldowallet.fr/coupons/$COUPON_ID/passes/send' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json' \
    -H 'x-lang: en' \
    -H 'Authorization: Bearer <token>' \
    -d '{
    "clients": [
    {
    "clientId": "$CLIENT_ID"
    }
    ]
    }'
  8. Redeem the reward at the tillYour server

    The till scans the coupon and redeems it. A second scan is refused. See Pass lifecycle.

  9. Engage the chain's customersBack office

    A notification for the new seasonal product, or a message to a single customer ("Your takeaway order is ready"). For a national campaign, create a communication: the card's strip changes for the period you choose.

  10. MeasureYour server

    Pull customer, coupon and notification statistics into your dashboard, and cross them with visit frequency per restaurant.

Ready-made scenarios​

ScenarioTriggerCalls
QR on the counter or receiptCustomer scans a QR printed from the back-officeNone, no code
Digital stamp cardEvery visitPATCH/clients/barcode/{barcode}/gain
Free meal on the 10th visitThreshold reachedPOST/coupons/{id}/passes/send
Welcome drinkCustomer sign-upCoupon created with isWelcomeCoupon
Takeaway order readyOrder statusPOST/push-notifications
Seasonal productNational launchPOST/communications
Lunchtime reminderCustomer near a restaurantLocations, no code

Best practices​

  • One card for the whole chain. Customers keep the same card in all your restaurants; franchisees have nothing to manage.
  • Credit from the till, not by hand. The gain must be sent at checkout, otherwise the card shows a wrong balance.
  • Few notifications, but useful ones. One well-timed offer a week, not a message a day. Customers can turn off notifications or even delete the card.
  • Respect consent. A promotion is a commercial notification: it only goes to customers who accept them.
  • Test on both platforms. See Apple Wallet vs Google Wallet.

Learn more​

API news, once a month

New endpoints, upcoming changes, guides and use cases. No spam, one-click unsubscribe.

Report a technical problem

An API error, a pass that does not update, an email that does not arrive? Describe the problem: our technical team will answer.

For a fast answer, include:

  • The method and endpoint (e.g. POST /clients)
  • The error code returned (errorCode) and the body sent
  • The date and time of the call
  • The identifiers involved (customer, template, pass)

Never include an API token or a password.

AI assistant

Beta

Loading…

AI-generated answers (Claude): double-check important details.

Sign in to use the assistant