---
title: Troubleshoot loyalty and HMAC integrations
description: "Diagnose Impos Loyalty integration issues: OAuth errors, HMAC signature mismatches, member ID problems, safe retries, and credential management."
---

[Skip to content](https://knowledge.impos.com.au/troubleshoot-loyalty-and-hmac-integrations#main-content)

English - Australia

Show submenu for translations

[More support](https://knowledge.impos.com.au/kb-tickets/new?hsLang=en-au)

[![Impos Logo - Horizontal - Reverse](https://knowledge.impos.com.au/hs-fs/hubfs/Impos%20Logo%20-%20Horizontal%20-%20Reverse.png?width=277&height=80&name=Impos%20Logo%20-%20Horizontal%20-%20Reverse.png)](https://impos.com.au)

Open main navigation

Close main navigation

- English - Australia
  
  Show submenu for translations
- [More support](https://knowledge.impos.com.au/kb-tickets/new)
- [visit impos.com.au](https://impos.com.au/)

[visit impos.com.au](https://impos.com.au/)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Impos Knowledge Base](https://knowledge.impos.com.au/?hsLang=en-au)
2. [Impos API](https://knowledge.impos.com.au/impos-api?hsLang=en-au)
3. [Loyalty and HMac](https://knowledge.impos.com.au/impos-api?hsLang=en-au#loyalty-and-hmac)

26 November 2026

# Troubleshoot loyalty and HMAC integrations

## This guide helps you diagnose problems with your Impos Loyalty integration before contacting support. If you do need to contact us, the checklist at the end tells you what to include so we can help quickly.

 **Know which direction is failing**

Loyalty traffic flows in two directions, and each uses a different authentication method:

- **Your system or POS → Impos Loyalty** uses an OAuth bearer token.
- **Impos Loyalty → your partner hook** uses HMAC request signing.

 Work out which direction the failing call travels first. It determines which section below applies. 

 Calls to Impos Loyalty (OAuth)

### Authentication and permission errors

- **`401`**: Check that your token is for the correct realm and service audience, has not expired, and includes the explicit `impos-cloud-loyalty` scope.
- **`403`**: Your token is valid but not permitted to perform the action. Check that your credentials have the required permission and are bound to the correct organisation and site.
- **`404`**: The resource may not exist, or it may not be accessible to your partner account or organisation. Check that the identifiers belong to the organisation you are authenticated for before assuming the record is missing.

 

### Reading error responses

Loyalty errors use the RFC 7807 `application/problem+json` format. Always record the `traceId` from the response; it is the fastest way for us to locate your request.

| Status | What it usually means |
| --- | --- |
| `400` | The request is invalid, or the program or hook configuration needs correcting. |
| `401` | Bearer token problem, or the required loyalty scope is missing. |
| `403` | Permission denied. |
| `404` | The resource was not found or is not accessible to you. |
| `409` | A conflict, or a business rule rejected the request. |
| `502` | A core service or your partner endpoint was unavailable, or your response did not meet the contract. |
| `504` | Your partner endpoint did not respond within the ten-second timeout. |

### Gift card declines are not HTTP errors

When your system declines a gift card operation for business reasons, return HTTP `200` with `success: false`, an `errorCode`, and a `message`. Reserve HTTP error statuses for technical failures.

Calls to your partner hook (HMAC)

If Impos Loyalty reports that it cannot authenticate with your hook, or your hook rejects our signatures, work through this checklist using synthetic or redacted data:

1. **Credential**: Confirm your hook is using the credential for the correct organisation and environment. Never share the secret with us or anyone else to check this.
2. **Method**: Use the uppercase HTTP method.
3. **Path and query**: Use the exact path and query string as received, including parameter order and percent-encoding.
4. **Timestamp**: Use the Unix timestamp in seconds. It must be within 300 seconds of your server's time, so check your server clock.
5. **Body hash**: Compute SHA-256 over the raw body bytes, before any JSON parsing or re-serialisation.
6. **Line endings**: Join signing-string lines with line feeds (`\n`), not carriage-return line feeds (`\r\n`).
7. **Encoding**: Use lowercase hexadecimal for both the body hash and the signature.
8. **Comparison**: Compare signatures in constant time.

Test your implementation independently of live credentials using the fixed test vector in the HMAC integration article. If your code reproduces the vector but still fails on real traffic, the difference is almost always in the raw body bytes or the exact path and query.

If you and Impos appear to calculate different signatures for the same request, compare the **byte length** and **lowercase body hash** of the body first. Do this before comparing JSON objects, since differences in whitespace or key order change the bytes without changing the data.

Member and card identifiers

Member enquiry, search, enrolment, and cashback operations may use different identifiers while your partner linkage is being established. Cashback and reversal operations prefer the stored `partnerMemberId` when one is available.

If an operation reports the wrong card or member ID, tell us which operation you called and which identifier you sent. Please don't work around it by sending a different identifier in production.

Retrying money operations

Loyalty ledger reversals are compensating entries, not edits to the original entry. The current contract does not guarantee deduplication for every money operation, so **do not blindly replay a request after a timeout or `5xx` response**; you could apply it twice.

**Before retrying:**

1. Check whether your side applied the original operation.
2. Look up the operation using your `transactionRef` or `partnerReference`.
3. If you are still unsure, contact support with those references and the `traceId`, and we will confirm whether Impos applied it.

**Managing your HMAC credentials**

- HMAC credentials are scoped to your partner account and organisation, and can be shared across your programs within that organisation.
- The secret is shown only once, when the credential is created or rotated. Save it immediately.
- Store and transmit the secret only through your approved secret-management channels. Never send it by email, chat, or support ticket.
- Keep a record of when credentials are created or rotated, but never record the secret value itself.

**Before you contact support**

**Include the following:**

- The direction of the failing call (to Impos Loyalty, or to your hook)
- The `traceId` from the error response
- The endpoint, HTTP method, status code, and approximate time (with time zone)
- Your organisation and environment
- Any `transactionRef` or `partnerReference` involved
- For HMAC issues: the request's body byte length, lowercase body hash, and your computed signature from a synthetic or redacted request

Never include your live secret, bearer tokens, or unredacted customer data.

- [How to Connect to your Venue Remotely](https://knowledge.impos.com.au/how-to-connect-to-your-venue-remotely?hsLang=en-au#main-content)

    - [How to Connect to your Venue Remotely](https://knowledge.impos.com.au/how-to-connect-to-your-venue-remotely?hsLang=en-au#how-to-connect-to-your-venue-remotely)
- [Impos Back Office and Stock](https://knowledge.impos.com.au/impos-back-office-and-stock?hsLang=en-au#main-content)

    - [Stock](https://knowledge.impos.com.au/impos-back-office-and-stock?hsLang=en-au#stock)
    - [Back Office](https://knowledge.impos.com.au/impos-back-office-and-stock?hsLang=en-au#back-office)
- [Impos Front Office](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#main-content)

    - [Cashier Reports](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#cashier-reports)
    - [Getting Started with Impos Front Office](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#getting-started-with-impos-front-office)
    - [Order Information](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#order-information)
    - [Table Service](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#table-service)
    - [Storing Order information in Front Office](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#storing-order-information-in-front-office)
    - [Taking Payment](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#taking-payment)
    - [Web Reports](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#web-reports)
    - [More Functions](https://knowledge.impos.com.au/impos-front-office?hsLang=en-au#more-functions)
- [Impos Analytics](https://knowledge.impos.com.au/impos-analytics?hsLang=en-au#main-content)

    - [Impos Analytics](https://knowledge.impos.com.au/impos-analytics?hsLang=en-au#impos-analytics)
- [Integrations](https://knowledge.impos.com.au/integrations?hsLang=en-au#main-content)

    - [Doshii](https://knowledge.impos.com.au/integrations?hsLang=en-au#doshii)
    - [Kitchen & Inventory Management](https://knowledge.impos.com.au/integrations?hsLang=en-au#kitchen-inventory-management)
    - [Reservations & Room Charge](https://knowledge.impos.com.au/integrations?hsLang=en-au#reservations-room-charge)
    - [Deputy Rostering](https://knowledge.impos.com.au/integrations?hsLang=en-au#deputy-rostering)
    - [Promotions & Membership](https://knowledge.impos.com.au/integrations?hsLang=en-au#promotions-membership)
    - [Bump Screens](https://knowledge.impos.com.au/integrations?hsLang=en-au#bump-screens)
    - [Accounting](https://knowledge.impos.com.au/integrations?hsLang=en-au#accounting)
    - [EFTPOS](https://knowledge.impos.com.au/integrations?hsLang=en-au#eftpos)
- [Cinch](https://knowledge.impos.com.au/cinch?hsLang=en-au#main-content)

    - [Cinch Web Publishing](https://knowledge.impos.com.au/cinch?hsLang=en-au#cinch-web-publishing)
    - [Cinch Basics](https://knowledge.impos.com.au/cinch?hsLang=en-au#cinch-basics)
- [Kiosk](https://knowledge.impos.com.au/kiosk?hsLang=en-au#main-content)

    - [Setting Up Kiosk](https://knowledge.impos.com.au/kiosk?hsLang=en-au#setting-up-kiosk)
- [Latest Updates](https://knowledge.impos.com.au/latest-updates?hsLang=en-au#main-content)

    - [Release Notes](https://knowledge.impos.com.au/latest-updates?hsLang=en-au#release-notes)
    - [Policy Updates](https://knowledge.impos.com.au/latest-updates?hsLang=en-au#policy-updates)
- [FAQs](https://knowledge.impos.com.au/faqs?hsLang=en-au#main-content)

    - [FAQs - Front Office](https://knowledge.impos.com.au/faqs?hsLang=en-au#faqs-front-office)
    - [FAQs - Back Office](https://knowledge.impos.com.au/faqs?hsLang=en-au#faqs-back-office)
    - [FAQs - Hardware eg Printers, Terminals, Tablets, Networking](https://knowledge.impos.com.au/faqs?hsLang=en-au#faqs-hardware-eg-printers-terminals-tablets-networking)
    - [FAQs - Onboarding, Installation and Training](https://knowledge.impos.com.au/faqs?hsLang=en-au#faqs-onboarding-installation-and-training)
    - [FAQs - Stock](https://knowledge.impos.com.au/faqs?hsLang=en-au#faqs-stock)
    - [FAQs - Schools](https://knowledge.impos.com.au/faqs?hsLang=en-au#faqs-schools)
- [Cloud Based Management](https://knowledge.impos.com.au/cloud-based-management?hsLang=en-au#main-content)

    - [Impos Cloud API](https://knowledge.impos.com.au/cloud-based-management?hsLang=en-au#impos-cloud-api)
- [Impos Cloud Documentation](https://knowledge.impos.com.au/impos-cloud-documentation?hsLang=en-au#main-content)

    - [Menu Items](https://knowledge.impos.com.au/impos-cloud-documentation?hsLang=en-au#menu-items)
    - [Admin Console](https://knowledge.impos.com.au/impos-cloud-documentation?hsLang=en-au#admin-console)
- [Impos API](https://knowledge.impos.com.au/impos-api?hsLang=en-au#main-content)

    - [API troubleshooting](https://knowledge.impos.com.au/impos-api?hsLang=en-au#api-troubleshooting)
    - [Impos API Guide](https://knowledge.impos.com.au/impos-api?hsLang=en-au#impos-api-guide)
    - [Loyalty and HMac](https://knowledge.impos.com.au/impos-api?hsLang=en-au#loyalty-and-hmac)

[![](https://knowledge.impos.com.au/hubfs/Impos%20Logo%20Horizontal.svg)](https://impos.com.au/)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, Impos