Skip to main content
All CollectionsIntegrations, API & WebhooksEPOS
How to connect Tevalis with Toggle
How to connect Tevalis with Toggle

Follow this guide to allow Toggle gift cards to work on your Tevalis tills.

Stephen Evans avatar
Written by Stephen Evans
Updated yesterday

Note: Only Store Owner users can create the API on Step 2.

Step 1: Add your site(s) on Toggle

The sites you'll be redeeming gift cards at need adding to Toggle. This step might already be done, but it's worth checking.

  1. Log in to Toggle

  2. On the sidebar click Settings > Site Settings and click Add site

  3. Add the site name, its address, and any number or reference for it

  4. Click the green Add button to save the site

Repeat this step for however many sites you need to add.

If needed here's more info on how to add sites (video included).

Example below:

Step 2: Create an API on Toggle (and get product ID and Account ID)

If needed here's more info on how to create the API (video included).

  1. Log in to Toggle

  2. On the sidebar click Settings > Integrations > Tevalis

  3. Click create new user

  4. Copy the username and then copy the password to this spreadsheet

  5. Press Create to save the API*

⚠️ *Once you click create you can't retrieve the API password again. If you accidentally created the API without noting it down the password somewhere just re-start the above steps to make a new one.

🧠 You only need one API for your Toggle account that can be used at all your sites that use Tevalis.

Example below of creating the API username and password:

Product ID and Account ID

You will also need to send Tevalis your Toggle product ID and Account ID along with the API.

Your in-store product ID is found on Shop > In-Store Gift

Example below:

Your Account ID is found on the account details section of your dashboard.

Example below:

Example below of the API username and password copied to our spreadsheet (linked above) which also contains other necessary Tevalis information including the Product ID and Account ID.

Step 3: Send the API, product ID and Account ID to Tevalis and ask for your site IDs

You'll need to send the API username and password you created on Step 2 along with your in-store product ID and Account ID to your Tevalis Account Manager.

Ask your Tevalis Account Manager for your site IDs during this stage too.

Please also remember to:

πŸ” Password protect your file containing the API for extra security when sending it to Tevalis. Don't send the API username and password to Tevalis within the email itself - hackers can potentially get hold of that info in the future. You could password protect your file and send your Account Manager the password for it by text message or send your API details through a password manager application.

🧠 Keep your API filed saved somewhere secure on your device (e.g. a password manager) in case you ever need to refer back to it in the future.

If you're not using the spreadsheet linked above on step 2, the table below contains the info you'll need to send Tevalis to configure your tills - but please make sure the info is sent securely and not within the email.

API endpoint:

Username:

(add the username you create here)

Password:

(add the password you create here)

Merchant ref:

17

Standard in-store product ID:

(find this on Shop > In-Store gift)

Account ID:

(find this on Account Details)

The API endpoint is always https://api.mytoggle.io/graphql and the merchant ref 17 - don't change this.

Example email to send to Tevalis:

Step 4: Add site IDs to Toggle

Whilst your Tevalis Account Manager configures your tills using your API details, add the site IDs they sent you to your Toggle account.

  1. Log in to Toggle

  2. On the sidebar click Settings > Integrations > Tevalis

  3. Paste in each ID to their respective site

  4. Save

The site IDs allow the Tevalis and Toggle system to know where a gift card was sold or redeemed at. Without these IDs in Toggle your integration won't work.

Example below of adding the site IDs to Toggle:

Step 5: Test the integration works

Once your Tevalis Account Manager has confirmed they've configured your tills it's good to check vouchers do work.

We recommend you:

  1. Use the voucher code on the till to see if it works (e.g. redeem/reverse, and check balance)

🧠 Other people on your team may benefit from seeing how gift vouchers works during this stage.

❗If an error is flagged on the till, get in touch with Toggle and Tevalis so we can help troubleshoot it.

Our other guide Using Toggle on Tevalis POS may also be useful.


If you have questions or need help please contact our support team - success@usetoggle.com.

Did this answer your question?