POS Connect Best Practices: Refund

Overview

This documentation will cover:

  1. POS Connect Refund
  2. Refund Integration flow
  3. Full Refund
  4. Partial Refund
  5. Refund for various types of rewards with product and basket qualifiers
    1. Points
    2. Discount
    3. Alternative
  6. Use case with sample JSON payloads
  7. Minimum recommended fields for the Refund API request

References

  1. Visit High-Level POS integration flow for when the Refund flow is invoked in a consumer's POS journey.
  2. Visit API documentation for a complete list of request and response fields along with definition for the Wallet Refund API

POS Connect Refund

When a consumer decides to return items at POS, the Wallet Refund API call is made to Eagle Eye AIR. The calling application provides all the pieces of information that the POS connect adjudication engine needs for the return including basket items being returned with monetary value, transaction location, original transaction reference along with a new reference for the refund transaction.

When the refund is successful, the response will usually include two wallet transactions with updated basket items and an updated list of coupon accounts that were used the modified the transaction.

  1. The updated original wallet transaction
  2. The new refund transaction that is linked to the original purchase transaction as a child.

A consumer can request refunds in the following ways:

  1. One full refund
    1. All items from the original purchase are returned
    2. All refundable rewards are clawed back
    3. All unredeemable coupons become usable for a future transaction
      1. Status changes from USED to ACTIVE
  2. One or more partial refunds
    1. Some items from the original purchase are refunded
    2. All refundable rewards are clawed back first
    3. After re-adjudication of the original rewards, applicable rewards are issued based on remaining items in the basket
    4. All unredeemable coupons originally used in the purchase transaction, that are no longer applicable to the transaction after the return, become usable for a future transaction as long as they are still valid.
      1. Status changes from USED to ACTIVE
📘

Refundable Campaigns

Campaigns have a Refundable option in the creation section. When this is enabled for a campaign that was used in the original transaction, upon a refund the rewards originally given by the campaign will be clawed back (e.g., debit points that were credited to the customer; return a discount amount to the originating promotion budget).

📘

Unredeemable Campaigns

Campaigns have an Unredeemable option in the creation section. When this is enabled for a campaign that was used in the original transaction, upon a refund the coupon status changes from USED to ACTIVE so that it can be used in another transaction, subject to the coupon’s validity dates and usage limits.

Refund Integration Flow

The below integration flow describes the sequence of events that typically take place in a refund flow. After items to be returned are validated against the original wallet transaction by the client's system or cashier, a Wallet Refund API request is made to AIR to process the refund. After successful completion of the refund in AIR, a client's POS determines the monetary value and tender methods for issuing a refund back to the consumer. If loyalty points were spent as tender towards the original transaction, then the client's POS also determines the amount of loyalty points to be credited back to the consumer. A best practice guide on Credit will be made available soon.

Scenario - Gemma makes a Purchase

The following purchase scenario sets the stage for various refund use cases in this documentation. It is important to understand a purchase scenario and the rewards originally issued, before diving into the refund scenarios.

Gemma goes to store 111 at A Fabulous Retailer one fine Sunday, November 3rd 2025. She is ready to check out 7 items in her basket totalling £70.00 at 8 pm EDT (Eastern Daylight Time):

  • 2 bottles of lemonades for £10.00 each
  • 1 container of coffee for £10.00
  • 1 bottle of soap for £10.00
  • 1 bag of carrots for £10.00
  • 1 frozen pizza for £10.00
  • 1 bottle of wine for £10.00

Gemma's wallet contains these targeted coupons that are available for use for the following campaigns:

  1. Campaign ID 100560017 - Buy coffee and get 500 points for each (Points Fixed)
    Note: this campaign is unredeemable
  2. Campaign ID 100560020 - Buy carrots for £1 (Discount Products)
  3. Campaign ID 100561823 - Buy a t-shirt and get 600 points (Points Fixed)
  4. Campaign ID: 101824928 - Get 100 points for every £10 basket spend (Basket Spend Points Variable)
    Note: this campaign is unredeemable

The following open offers are available to all loyalty members:

  1. Campaign ID: 100561737 - Buy Lemonade and get 300 points for each (Product Units Points Variable)
  2. Campaign ID: 100560999 - Buy Pizza and get a coupon for Campaign ID 100560832 that awards 1000 points for spending £10 (Zero Reward)
  3. Campaign ID: 100560018 - Buy Soap for £2.00 off (Discount Products)
  4. Campaign ID: 101824930 - Spend at least £10.00 and get 10% off (Discount Basket)
  5. Campaign ID: 100561855 - Buy Skimmed Milk for £2.00 off (Discount Products)

Summary of Rewards

For Gemma's original purchase, she received the following rewards for being a Fabulous loyalty member:

  • Total Discount Reward: £15.90
    • Discounts on Products: £11

      • £9.00 off Carrots and redeeming the targeted Carrot offer
      • £2.00 off Soap and redeeming the open Soap offer
      📘

      Eligible Basket Total for Adjudication

      • The original basket total was £70.
      • The above product discounts of £11 bring the basket total down to £59.
      • Since Wine is part of global product exclusions, the new eligible basket total for the purpose of loyalty rewards adjudication is £49.
    • Discounts on Basket: £4.9

      • £4.9 off for 10% off basket Note: basket total eligible for offers after the above discount is: £44.1
  • Total Points Reward: 1940
    • Base Earn Reward: 440 points
      • After discounts and product exclusions 4400 cents x 0.1 = 440
    • Points Rewards: 1500 points
      • Product Offers:
        • 600 points for redeeming the open Lemonade offer
        • 500 points for redeeming the targeted Coffee offer
      • Basket Offers:
        • 400 points for the 100 points for every £10 offer applied on eligible basket total of £44.1
  • Alternative Rewards: A coupon
    • A coupon for future use for redeeming the open Pizza offer that will award 1000 points for spending £10

Full Refund

For the original purchase Gemma had completed earlier, she has decided to return all the items for a full refund.

Original Transaction Data

The following includes request and response payloads for Gemma's original purchase transaction for the scenario presented earlier:

Expand to see Wallet Open request and response payloads for the original purchase
{
  "identity": {
      "identityValue": "1111111111111111_Nov3b"
  },
  "reference": "20251103080000-111-01-1111",
  "lock": true,
  "location": {
      "incomingIdentifier": "111",
      "parentIncomingIdentifier": "AFabulousRetailer"
  },
  "options": {
      "adjustBasket": {
          "includeOpenOffers": true,
          "enabled": true
      },
      "analyseBasket": {
          "includeOpenOffers": true,
          "enabled": true
      }
  },
  "basket": {
      "type": "STANDARD",
      "summary": {
          "totalItems": 6,
          "totalBasketValue": 7000
      },
      "contents": [
          {
              "upc": "245874",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 2000,
              "totalUnitCost": 2000,
              "description": "Lemonade",
              "itemUnitCount": 2
          },
          {
              "upc": "245875",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Coffee",
              "itemUnitCount": 1
          },
          {
              "upc": "245884",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Soap",
              "itemUnitCount": 1
          },
          {
              "upc": "245886",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Carrot",
              "itemUnitCount": 1
          },
          {
              "upc": "245868",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Pizza",
              "itemUnitCount": 1
          },
          {
              "upc": "245872",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Wine",
              "itemUnitCount": 1
          }
      ]
  }
}
{
  "analyseBasketResults": {
      "basket": {
          "type": "ENRICHED",
          "summary": {
              "totalItems": 6,
              "totalBasketValue": 5410,
              "totalDiscountAmount": {
                  "promotions": 1590
              },
              "qualifiesResults": [
                  {
                      "instanceId": "101824930-1",
                      "totalMatchingUnits": null,
                      "totalMatchingSpend": 1000,
                      "totalOverallMatchingSpend": null
                  },
                  {
                      "instanceId": "101824928-1",
                      "totalMatchingUnits": null,
                      "totalMatchingSpend": 1000,
                      "totalOverallMatchingSpend": null
                  }
              ],
              "adjustmentResults": [
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824930",
                      "instanceId": "101824930-1",
                      "relatedAccountIds": [],
                      "success": null,
                      "type": "createRedeem",
                      "multiItem": [],
                      "value": 490,
                      "isUnredeemable": false,
                      "targetedAccountId": null,
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 3,
                      "totalRewardUnits": 6,
                      "totalDiscountAmount": 490
                  }
              ],
              "results": {
                  "points": {
                      "spend": 0,
                      "debit": 0,
                      "refund": 0,
                      "totalPointsTaken": 0,
                      "earn": 440,
                      "credit": 1500,
                      "totalPointsGiven": 1940,
                      "totalMonetaryValue": 0
                  },
                  "tiers": null
              },
              "adjudicationResults": [
                  {
                      "resourceType": "SCHEME",
                      "resourceId": "1743751",
                      "instanceId": "1743751-1",
                      "success": null,
                      "type": "earn",
                      "value": null,
                      "balances": {
                          "current": 440
                      },
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": "4770682810",
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 4
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824928",
                      "instanceId": "101824928-1",
                      "success": null,
                      "type": "redeem",
                      "value": 400,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770682809"
                      ],
                      "targetedAccountId": "4770682809",
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 6,
                      "totalRewardUnits": 12
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824928",
                      "instanceId": "101824928-1",
                      "success": null,
                      "type": "credit",
                      "value": null,
                      "balances": {
                          "current": 400
                      },
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770682809"
                      ],
                      "targetedAccountId": "4770682810",
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 6
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100560999",
                      "instanceId": "100560999-1",
                      "success": null,
                      "type": "createRedeem",
                      "value": 0,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": null,
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 7,
                      "totalRewardUnits": 0
                  }
              ]
          },
          "contents": [
              {
                  "upc": "245874",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 2000,
                  "totalUnitCost": 2000,
                  "description": "Lemonade",
                  "itemUnitCount": 2,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 200
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 183
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 165
                      },
                      {
                          "instanceId": "100561737-1",
                          "value": 600
                      }
                  ],
                  "adjudicationResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100561737",
                          "instanceId": "100561737-1",
                          "success": null,
                          "type": "createRedeem",
                          "value": 600,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": null,
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 8,
                          "totalRewardUnits": 2
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100561737",
                          "instanceId": "100561737-1",
                          "success": null,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 600
                          },
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": "4770682810",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 8
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100561737-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245875",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Coffee",
                  "itemUnitCount": 1,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 100
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 89
                      },
                      {
                          "instanceId": "100560017-1",
                          "value": 500
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 81
                      }
                  ],
                  "adjudicationResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560017",
                          "instanceId": "100560017-1",
                          "success": null,
                          "type": "redeem",
                          "value": 500,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770682806"
                          ],
                          "targetedAccountId": "4770682806",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 5,
                          "totalRewardUnits": 0
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560017",
                          "instanceId": "100560017-1",
                          "success": null,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 500
                          },
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770682806"
                          ],
                          "targetedAccountId": "4770682810",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 5
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100560017-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245884",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 800,
                  "totalUnitCost": 1000,
                  "description": "Soap",
                  "itemUnitCount": 1,
                  "qualifiesResults": [
                      {
                          "instanceId": "100560018-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560018",
                          "instanceId": "100560018-1",
                          "relatedAccountIds": [],
                          "success": null,
                          "type": "createRedeem",
                          "multiItem": [
                              "245884"
                          ],
                          "value": 200,
                          "isUnredeemable": false,
                          "targetedAccountId": null,
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 2,
                          "totalRewardUnits": 1,
                          "totalDiscountAmount": 200
                      }
                  ],
                  "itemUnitDiscount": 200,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 80
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 71
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 65
                      }
                  ]
              },
              {
                  "upc": "245886",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 100,
                  "totalUnitCost": 1000,
                  "description": "Carrot",
                  "itemUnitCount": 1,
                  "qualifiesResults": [
                      {
                          "instanceId": "100560020-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560020",
                          "instanceId": "100560020-1",
                          "relatedAccountIds": [
                              "4770682807"
                          ],
                          "success": null,
                          "type": "redeem",
                          "multiItem": [],
                          "value": 900,
                          "isUnredeemable": false,
                          "targetedAccountId": "4770682807",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 1,
                          "totalRewardUnits": 1,
                          "totalDiscountAmount": 900
                      }
                  ],
                  "itemUnitDiscount": 900,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 10
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 8
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 8
                      }
                  ]
              },
              {
                  "upc": "245868",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Pizza",
                  "itemUnitCount": 1,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 100
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 89
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 81
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100560999-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245872",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Wine",
                  "itemUnitCount": 1
              }
          ],
          "analysedDateTime": "2025-11-03T21:06:30+00:00"
      },
      "discount": [
          {
              "accountId": "4770682807",
              "walletId": "248999311",
              "type": "ECOUPON",
              "clientType": "OFFER",
              "campaignId": "100560020",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Carrots for $1",
              "offerId": "1435365",
              "offerName": "VARIABLE_AMOUNT_OFF_PRODUCTS",
              "reward": {
                  "basket": null,
                  "pointSpendRates": [],
                  "product": {
                      "AFabulousRetailer": {
                          "collections": [
                              {
                                  "maximumNumberOfUnits": 1,
                                  "minimumNumberOfUnits": 1,
                                  "points": null,
                                  "products": {
                                      "allRequired": false,
                                      "excluded": {
                                          "skus": [],
                                          "items": []
                                      },
                                      "included": {
                                          "groups": null,
                                          "items": [
                                              "245886"
                                          ],
                                          "skus": [],
                                          "tags": null
                                      }
                                  },
                                  "value": {
                                      "interval": null,
                                      "standard": {
                                          "allFree": false,
                                          "discountAmount": null,
                                          "finalAmount": 100,
                                          "percentageAmount": null
                                      }
                                  }
                              }
                          ],
                          "logicalOperator": "OR"
                      }
                  },
                  "standard": null,
                  "treatAs": null
              }
          },
          {
              "accountId": null,
              "walletId": "248999311",
              "type": "ECOUPON",
              "clientType": "OFFER",
              "campaignId": "100560018",
              "campaignName": "NS POS Connect Demo Open - Soap for $2 off",
              "offerId": "1435363",
              "offerName": "FIXED_AMOUNT_OFF_PRODUCTS",
              "reward": {
                  "basket": null,
                  "pointSpendRates": [],
                  "product": {
                      "AFabulousRetailer": {
                          "collections": [
                              {
                                  "maximumNumberOfUnits": 1,
                                  "minimumNumberOfUnits": 1,
                                  "points": null,
                                  "products": {
                                      "allRequired": false,
                                      "excluded": {
                                          "skus": [],
                                          "items": []
                                      },
                                      "included": {
                                          "groups": null,
                                          "items": [
                                              "245884"
                                          ],
                                          "skus": [],
                                          "tags": null
                                      }
                                  },
                                  "value": {
                                      "interval": null,
                                      "standard": {
                                          "allFree": false,
                                          "discountAmount": 200,
                                          "finalAmount": null,
                                          "percentageAmount": null
                                      }
                                  }
                              }
                          ],
                          "logicalOperator": "OR"
                      }
                  },
                  "standard": null,
                  "treatAs": null
              }
          },
          {
              "accountId": null,
              "walletId": "248999311",
              "type": "ECOUPON",
              "clientType": "OFFER",
              "campaignId": "101824930",
              "campaignName": "NS POS Connect Demo Open - Spend at least $10 and get 10% off",
              "offerId": "1958889",
              "offerName": "FIXED_PERCENTAGE_OFF_BASKET",
              "reward": {
                  "basket": null,
                  "pointSpendRates": [],
                  "standard": {
                      "value": {
                          "percentageAmount": 10,
                          "discountAmount": null
                      },
                      "points": null,
                      "tax": null,
                      "product": null
                  },
                  "product": null,
                  "treatAs": null
              }
          }
      ],
      "points": [
          {
              "resourceType": "SCHEME",
              "resourceId": "1743751",
              "walletId": "248999311",
              "operationType": "earn",
              "value": 440,
              "accountId": "4770682810",
              "relatedSchemeId": "1743751",
              "details": null,
              "totalMatchingUnits": null
          },
          {
              "resourceType": "CAMPAIGN",
              "resourceId": "100560017",
              "operationType": "credit",
              "value": 500,
              "relatedSchemeId": "1743751",
              "accountId": "4770682810",
              "walletId": "248999311",
              "details": {
                  "appliedAnalyseBasketType": "FIXED_POINTS_PRODUCTS"
              }
          },
          {
              "resourceType": "CAMPAIGN",
              "resourceId": "101824928",
              "operationType": "credit",
              "value": 400,
              "relatedSchemeId": "1743751",
              "accountId": "4770682810",
              "walletId": "248999311",
              "details": {
                  "appliedAnalyseBasketType": "VARIABLE_POINTS_BASKET"
              }
          },
          {
              "resourceType": "CAMPAIGN",
              "resourceId": "100561737",
              "operationType": "credit",
              "value": 600,
              "relatedSchemeId": "1743751",
              "accountId": "4770682810",
              "walletId": "248999311",
              "details": {
                  "appliedAnalyseBasketType": "VARIABLE_POINTS_PRODUCTS"
              }
          }
      ],
      "unusedAccounts": [
          {
              "resourceType": "ACCOUNT",
              "resourceId": "4770682808",
              "reasonMessage": "Basket did not match qualifier",
              "reasonCode": "QNM1"
          }
      ]
  },
  "wallet": {
      "walletId": "248999311",
      "friendlyName": null,
      "status": "ACTIVE",
      "type": "CONSUMER",
      "state": "DEFAULT",
      "meta": null,
      "dateCreated": "2025-11-03T21:01:20+00:00",
      "lastUpdated": "2025-11-03T21:01:20+00:00",
      "relationships": null
  },
  "identity": {
      "identityId": "201094997",
      "walletId": "248999311",
      "type": "CUSTOMER_ID",
      "friendlyName": null,
      "value": "1111111111111111_Nov3b",
      "safeValue": null,
      "secret": null,
      "dates": {
          "start": "2025-11-03T21:01:20+00:00",
          "end": null
      },
      "meta": null,
      "state": "DEFAULT",
      "status": "ACTIVE",
      "dateCreated": "2025-11-03T21:01:20+00:00",
      "lastUpdated": "2025-11-03T21:01:20+00:00",
      "mobileWallet": "https://sb.uk.mypass.is/identity/142378/248999311/201094997/5858b0088a009fa793c0d60ba6708919dee9226aafab2025b5969f293a0cce23"
  },
  "accounts": [
      {
          "accountId": null,
          "walletId": "248999311",
          "campaignId": "100560018",
          "campaign": {
              "campaignId": 100560018,
              "campaignTypeId": 117,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Open - Soap for $2 off",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560018",
              "relationships": [],
              "dateCreated": "2024-10-28T15:45:06+00:00",
              "lastUpdated": "2024-10-28T15:57:10+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T21:06:30+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:06:30+00:00",
          "lastUpdated": "2025-11-03T21:06:30+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435363",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Open - Soap for $2 off",
              "campaignReference": "100560018"
          }
      },
      {
          "accountId": null,
          "walletId": "248999311",
          "campaignId": "101824930",
          "campaign": {
              "campaignId": 101824930,
              "campaignTypeId": 101,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Open - Spend at least $10 and get 10% off",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "101824930",
              "relationships": [],
              "dateCreated": "2025-11-03T17:03:00+00:00",
              "lastUpdated": "2025-11-03T17:04:45+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T21:06:30+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:06:30+00:00",
          "lastUpdated": "2025-11-03T21:06:30+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1958889",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Open - Spend at least $10 and get 10% off",
              "campaignReference": "101824930"
          }
      },
      {
          "accountId": null,
          "walletId": "248999311",
          "campaignId": "100560999",
          "campaign": {
              "campaignId": 100560999,
              "campaignTypeId": 58,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Alternative Reward Open -  Buy Pizza and get a coupon",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560999",
              "relationships": [],
              "dateCreated": "2024-10-28T18:54:19+00:00",
              "lastUpdated": "2024-10-28T18:54:50+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T21:06:30+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:06:30+00:00",
          "lastUpdated": "2025-11-03T21:06:30+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435580",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Alternative Reward Open -  Buy Pizza and get a coupon",
              "campaignReference": "100560999"
          }
      },
      {
          "accountId": null,
          "walletId": "248999311",
          "campaignId": "100561737",
          "campaign": {
              "campaignId": 100561737,
              "campaignTypeId": 114,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Open - Get 300 pts for each Lemonade",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100561737",
              "relationships": [],
              "dateCreated": "2024-10-28T20:08:48+00:00",
              "lastUpdated": "2024-10-30T17:33:39+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T21:06:30+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:06:30+00:00",
          "lastUpdated": "2025-11-03T21:06:30+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435726",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Open - Get 300 pts for each Lemonade",
              "campaignReference": "100561737"
          }
      },
      {
          "accountId": "4770682806",
          "walletId": "248999311",
          "campaignId": "100560017",
          "campaign": {
              "campaignId": 100560017,
              "campaignTypeId": 102,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Buy Coffee and get 500 pts",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560017",
              "relationships": {
                  "OBJECTIVE_OF": {
                      "CAMPAIGN": [
                          {
                              "campaignId": "101198128",
                              "dateCreated": "2024-10-28T15:40:13+00:00"
                          }
                      ]
                  }
              },
              "dateCreated": "2024-10-28T15:40:13+00:00",
              "lastUpdated": "2025-10-30T19:27:31+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "LOCKED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T21:01:20+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:01:20+00:00",
          "lastUpdated": "2025-11-03T21:01:20+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435362",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Buy Coffee and get 500 pts",
              "campaignReference": "100560017"
          }
      },
      {
          "accountId": "4770682807",
          "walletId": "248999311",
          "campaignId": "100560020",
          "campaign": {
              "campaignId": 100560020,
              "campaignTypeId": 117,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Carrots for $1",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560020",
              "relationships": {
                  "OBJECTIVE_OF": {
                      "CAMPAIGN": [
                          {
                              "campaignId": "101198128",
                              "dateCreated": "2024-10-28T15:46:47+00:00"
                          }
                      ]
                  }
              },
              "dateCreated": "2024-10-28T15:46:47+00:00",
              "lastUpdated": "2025-04-14T14:22:28+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "LOCKED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T21:01:20+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:01:20+00:00",
          "lastUpdated": "2025-11-03T21:01:20+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435365",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Carrots for $1",
              "campaignReference": "100560020"
          }
      },
      {
          "accountId": "4770682808",
          "walletId": "248999311",
          "campaignId": "100561823",
          "campaign": {
              "campaignId": 100561823,
              "campaignTypeId": 102,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted - Buy t-shirt and get 600 pts",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100561823",
              "relationships": [],
              "dateCreated": "2024-10-28T20:17:26+00:00",
              "lastUpdated": "2025-04-14T14:22:10+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T21:01:20+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:01:20+00:00",
          "lastUpdated": "2025-11-03T21:01:20+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435727",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted - Buy t-shirt and get 600 pts",
              "campaignReference": "100561823"
          }
      },
      {
          "accountId": "4770682809",
          "walletId": "248999311",
          "campaignId": "101824928",
          "campaign": {
              "campaignId": 101824928,
              "campaignTypeId": 111,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted - Get 100 points for every $10 basket spend",
              "accountTypeId": 1,
              "startDate": "2025-01-01T00:00:00+00:00",
              "endDate": "2026-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "101824928",
              "relationships": [],
              "dateCreated": "2025-11-03T16:49:46+00:00",
              "lastUpdated": "2025-11-03T16:51:33+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "LOCKED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T21:01:20+00:00",
              "end": "2026-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:01:20+00:00",
          "lastUpdated": "2025-11-03T21:01:20+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1958887",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted - Get 100 points for every $10 basket spend",
              "campaignReference": "101824928"
          }
      },
      {
          "accountId": "4770682810",
          "walletId": "248999311",
          "campaignId": "1743751",
          "campaign": {
              "campaignId": 1743751,
              "campaignTypeId": 7,
              "campaignMode": "OPEN",
              "campaignName": "Retail Points",
              "accountTypeId": 7,
              "startDate": "2023-01-01T00:00:00+00:00",
              "endDate": "9999-12-30T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "RETAILPOINTS",
              "relationships": [],
              "dateCreated": "2023-11-28T18:27:32+00:00",
              "lastUpdated": "2024-12-24T19:58:16+00:00"
          },
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T21:01:20+00:00",
              "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T21:01:20+00:00",
          "lastUpdated": "2025-11-03T21:01:20+00:00",
          "overrides": [],
          "balances": {
              "current": 0,
              "usable": 0,
              "locked": 0,
              "lifetime": 0,
              "lifetimeSpend": 0,
              "lifetimeSpendValue": 0,
              "pending": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "tierMembership": null,
              "properties": {
                  "allowNegativeBalance": {
                      "enabled": true
                  },
                  "autotopup": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "credit": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "debit": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "details": {
                      "alternativeDescription": "",
                      "alternativeName": "",
                      "description": "",
                      "printMessage": "",
                      "screenMessage": ""
                  },
                  "earn": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "earnRates": {
                      "OnboardingPlayground": {
                          "default": {
                              "description": null,
                              "maximumQuantityPerProduct": null,
                              "name": null,
                              "product": null,
                              "rates": [
                                  {
                                      "amount": 10,
                                      "bonus": null,
                                      "ceiling": null,
                                      "floor": null,
                                      "offset": 0,
                                      "step": 100
                                  }
                              ],
                              "reference": null,
                              "roundPoints": {
                                  "active": false
                              },
                              "type": "STANDARD"
                          }
                      },
                      "OnboardingPlayground-AFabulousRetailer": {
                          "default": {
                              "description": null,
                              "maximumQuantityPerProduct": null,
                              "name": null,
                              "product": {
                                  "collections": [
                                      {
                                          "products": {
                                              "allRequired": false,
                                              "excluded": {
                                                  "groups": null,
                                                  "items": [
                                                      "245872"
                                                  ],
                                                  "skus": null,
                                                  "tags": null
                                              },
                                              "included": null
                                          }
                                      }
                                  ],
                                  "logicalOperator": "OR"
                              },
                              "rates": [
                                  {
                                      "amount": 10,
                                      "bonus": null,
                                      "ceiling": null,
                                      "floor": null,
                                      "offset": 0,
                                      "step": 100
                                  }
                              ],
                              "reference": null,
                              "roundPoints": {
                                  "active": false
                              },
                              "type": "STANDARD"
                          }
                      }
                  },
                  "exchange": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "expiryPoints": {
                      "enabled": true,
                      "rule": {
                          "periodCount": 120,
                          "periodType": "MONTH",
                          "rounding": "ABSOLUTE",
                          "type": "CUTOFFDATE"
                      },
                      "useLegacyRefundableBalanceAfter": false
                  },
                  "goodwill": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null,
                      "restrictions": [
                          {
                              "period": "",
                              "singleValue": 0,
                              "transactions": 0,
                              "value": 0
                          }
                      ]
                  },
                  "householdSharing": {
                      "enabled": true
                  },
                  "lock": null,
                  "pointsLimit": {
                      "exceed": false,
                      "limit": null,
                      "perPeriodRestrictions": null
                  },
                  "redemptionRates": {
                      "OnboardingPlayground": [
                          {
                              "bonus": 0,
                              "ceiling": 500000,
                              "floor": 10000,
                              "pointsBack": 0,
                              "rate": 0.1,
                              "step": 10000
                          }
                      ]
                  },
                  "spend": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  }
              },
              "pointsExpiry": null,
              "enrichmentType": "POINTS",
              "schemeName": "Retail Points",
              "schemeReference": "RETAILPOINTS"
          }
      }
  ],
  "additionalEntities": null,
  "walletTransactions": [],
  "accountTransactions": [],
  "basketAdjudicationResult": null,
  "spendAdjudicationResults": null,
  "transactionCapabilities": {
      "loyalty": {
          "spend": true,
          "earn": true
      }
  }
}
Expand to see Wallet Settle request and response payloads for the original purchase
{
  "identity": {
      "identityValue": "1111111111111111_Nov3b"
  },
  "reference": "20251103080000-111-01-1111",
  "location": {
      "incomingIdentifier": "111",
      "parentIncomingIdentifier": "AFabulousRetailer"
  },
  "mode": "ACTIVE",
  "basket": {
      "type": "ENRICHED",
      "summary": {
          "totalItems": 6,
          "totalBasketValue": 5410,
          "totalDiscountAmount": {
              "promotions": 1590
          },
          "qualifiesResults": [
              {
                  "instanceId": "101824930-1",
                  "totalMatchingUnits": null,
                  "totalMatchingSpend": 1000,
                  "totalOverallMatchingSpend": null
              },
              {
                  "instanceId": "101824928-1",
                  "totalMatchingUnits": null,
                  "totalMatchingSpend": 1000,
                  "totalOverallMatchingSpend": null
              }
          ],
          "adjustmentResults": [
              {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "101824930",
                  "instanceId": "101824930-1",
                  "relatedAccountIds": [],
                  "success": null,
                  "type": "createRedeem",
                  "multiItem": [],
                  "value": 490,
                  "isUnredeemable": false,
                  "targetedAccountId": null,
                  "targetedWalletId": "248999311",
                  "totalMatchingUnits": null,
                  "playOrderPosition": 3,
                  "totalRewardUnits": 6,
                  "totalDiscountAmount": 490
              }
          ],
          "results": {
              "points": {
                  "spend": 0,
                  "debit": 0,
                  "refund": 0,
                  "totalPointsTaken": 0,
                  "earn": 440,
                  "credit": 1500,
                  "totalPointsGiven": 1940,
                  "totalMonetaryValue": 0
              },
              "tiers": null
          },
          "adjudicationResults": [
              {
                  "resourceType": "SCHEME",
                  "resourceId": "1743751",
                  "instanceId": "1743751-1",
                  "success": null,
                  "type": "earn",
                  "value": null,
                  "balances": {
                      "current": 440
                  },
                  "isRefundable": true,
                  "isUnredeemable": false,
                  "relatedAccountIds": [],
                  "targetedAccountId": "4770682810",
                  "targetedWalletId": "248999311",
                  "totalMatchingUnits": null,
                  "playOrderPosition": 4
              },
              {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "101824928",
                  "instanceId": "101824928-1",
                  "success": null,
                  "type": "redeem",
                  "value": 400,
                  "balances": null,
                  "isRefundable": true,
                  "isUnredeemable": true,
                  "relatedAccountIds": [
                      "4770682809"
                  ],
                  "targetedAccountId": "4770682809",
                  "targetedWalletId": "248999311",
                  "totalMatchingUnits": null,
                  "playOrderPosition": 6,
                  "totalRewardUnits": 12
              },
              {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "101824928",
                  "instanceId": "101824928-1",
                  "success": null,
                  "type": "credit",
                  "value": null,
                  "balances": {
                      "current": 400
                  },
                  "isRefundable": true,
                  "isUnredeemable": true,
                  "relatedAccountIds": [
                      "4770682809"
                  ],
                  "targetedAccountId": "4770682810",
                  "targetedWalletId": "248999311",
                  "totalMatchingUnits": null,
                  "playOrderPosition": 6
              },
              {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "100560999",
                  "instanceId": "100560999-1",
                  "success": null,
                  "type": "createRedeem",
                  "value": 0,
                  "balances": null,
                  "isRefundable": true,
                  "isUnredeemable": false,
                  "relatedAccountIds": [],
                  "targetedAccountId": null,
                  "targetedWalletId": "248999311",
                  "totalMatchingUnits": null,
                  "playOrderPosition": 7,
                  "totalRewardUnits": 0
              }
          ]
      },
      "contents": [
          {
              "upc": "245874",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 2000,
              "totalUnitCost": 2000,
              "description": "Lemonade",
              "itemUnitCount": 2,
              "contributionResults": [
                  {
                      "instanceId": "101824930-1",
                      "value": 200
                  },
                  {
                      "instanceId": "1743751-1",
                      "value": 183
                  },
                  {
                      "instanceId": "101824928-1",
                      "value": 165
                  },
                  {
                      "instanceId": "100561737-1",
                      "value": 600
                  }
              ],
              "adjudicationResults": [
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100561737",
                      "instanceId": "100561737-1",
                      "success": null,
                      "type": "createRedeem",
                      "value": 600,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": null,
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": 1,
                      "playOrderPosition": 8,
                      "totalRewardUnits": 2
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100561737",
                      "instanceId": "100561737-1",
                      "success": null,
                      "type": "credit",
                      "value": null,
                      "balances": {
                          "current": 600
                      },
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": "4770682810",
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 8
                  }
              ],
              "qualifiesResults": [
                  {
                      "instanceId": "100561737-1",
                      "totalMatchingUnits": 1,
                      "totalMatchingSpend": 1,
                      "totalOverallMatchingSpend": null
                  }
              ]
          },
          {
              "upc": "245875",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Coffee",
              "itemUnitCount": 1,
              "contributionResults": [
                  {
                      "instanceId": "101824930-1",
                      "value": 100
                  },
                  {
                      "instanceId": "1743751-1",
                      "value": 89
                  },
                  {
                      "instanceId": "100560017-1",
                      "value": 500
                  },
                  {
                      "instanceId": "101824928-1",
                      "value": 81
                  }
              ],
              "adjudicationResults": [
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100560017",
                      "instanceId": "100560017-1",
                      "success": null,
                      "type": "redeem",
                      "value": 500,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770682806"
                      ],
                      "targetedAccountId": "4770682806",
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": 1,
                      "playOrderPosition": 5,
                      "totalRewardUnits": 0
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100560017",
                      "instanceId": "100560017-1",
                      "success": null,
                      "type": "credit",
                      "value": null,
                      "balances": {
                          "current": 500
                      },
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770682806"
                      ],
                      "targetedAccountId": "4770682810",
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 5
                  }
              ],
              "qualifiesResults": [
                  {
                      "instanceId": "100560017-1",
                      "totalMatchingUnits": 1,
                      "totalMatchingSpend": 1,
                      "totalOverallMatchingSpend": null
                  }
              ]
          },
          {
              "upc": "245884",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 800,
              "totalUnitCost": 1000,
              "description": "Soap",
              "itemUnitCount": 1,
              "qualifiesResults": [
                  {
                      "instanceId": "100560018-1",
                      "totalMatchingUnits": 1,
                      "totalMatchingSpend": 1,
                      "totalOverallMatchingSpend": null
                  }
              ],
              "adjustmentResults": [
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100560018",
                      "instanceId": "100560018-1",
                      "relatedAccountIds": [],
                      "success": null,
                      "type": "createRedeem",
                      "multiItem": [
                          "245884"
                      ],
                      "value": 200,
                      "isUnredeemable": false,
                      "targetedAccountId": null,
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": 1,
                      "playOrderPosition": 2,
                      "totalRewardUnits": 1,
                      "totalDiscountAmount": 200
                  }
              ],
              "itemUnitDiscount": 200,
              "contributionResults": [
                  {
                      "instanceId": "101824930-1",
                      "value": 80
                  },
                  {
                      "instanceId": "1743751-1",
                      "value": 71
                  },
                  {
                      "instanceId": "101824928-1",
                      "value": 65
                  }
              ]
          },
          {
              "upc": "245886",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 100,
              "totalUnitCost": 1000,
              "description": "Carrot",
              "itemUnitCount": 1,
              "qualifiesResults": [
                  {
                      "instanceId": "100560020-1",
                      "totalMatchingUnits": 1,
                      "totalMatchingSpend": 1,
                      "totalOverallMatchingSpend": null
                  }
              ],
              "adjustmentResults": [
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100560020",
                      "instanceId": "100560020-1",
                      "relatedAccountIds": [
                          "4770682807"
                      ],
                      "success": null,
                      "type": "redeem",
                      "multiItem": [],
                      "value": 900,
                      "isUnredeemable": false,
                      "targetedAccountId": "4770682807",
                      "targetedWalletId": "248999311",
                      "totalMatchingUnits": 1,
                      "playOrderPosition": 1,
                      "totalRewardUnits": 1,
                      "totalDiscountAmount": 900
                  }
              ],
              "itemUnitDiscount": 900,
              "contributionResults": [
                  {
                      "instanceId": "101824930-1",
                      "value": 10
                  },
                  {
                      "instanceId": "1743751-1",
                      "value": 8
                  },
                  {
                      "instanceId": "101824928-1",
                      "value": 8
                  }
              ]
          },
          {
              "upc": "245868",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Pizza",
              "itemUnitCount": 1,
              "contributionResults": [
                  {
                      "instanceId": "101824930-1",
                      "value": 100
                  },
                  {
                      "instanceId": "1743751-1",
                      "value": 89
                  },
                  {
                      "instanceId": "101824928-1",
                      "value": 81
                  }
              ],
              "qualifiesResults": [
                  {
                      "instanceId": "100560999-1",
                      "totalMatchingUnits": 1,
                      "totalMatchingSpend": 1,
                      "totalOverallMatchingSpend": null
                  }
              ]
          },
          {
              "upc": "245872",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Wine",
              "itemUnitCount": 1
          }
      ],
      "analysedDateTime": "2025-11-03T21:06:30+00:00"
  }
}
{
  "walletTransactions": [
      {
          "walletTransactionId": "533568633",
          "parentWalletTransactionId": "0",
          "walletId": "248999311",
          "reference": "20251103080000-111-01-1111",
          "transactionDateTime": "2025-11-03T21:06:30+00:00",
          "transactionDateTimeOffset": "+00:00",
          "identityId": "201094997",
          "identity": {
              "identityId": "201094997",
              "walletId": "248999311",
              "type": "CUSTOMER_ID",
              "friendlyName": null,
              "value": "1111111111111111_Nov3b",
              "safeValue": null,
              "secret": null,
              "dates": {
                  "start": "2025-11-03T21:01:20+00:00",
                  "end": null
              },
              "meta": [],
              "state": "DEFAULT",
              "status": "ACTIVE",
              "dateCreated": "2025-11-03T21:01:20+00:00",
              "lastUpdated": "2025-11-03T21:01:20+00:00",
              "mobileWallet": "https://sb.uk.mypass.is/identity/142378/248999311/201094997/5858b0088a009fa793c0d60ba6708919dee9226aafab2025b5969f293a0cce23"
          },
          "type": "SETTLE",
          "status": "SETTLED",
          "meta": null,
          "state": "ORIGINAL",
          "expiryDate": null,
          "accounts": [
              {
                  "accountId": "4770682894",
                  "accountTransactionId": "9432378732"
              },
              {
                  "accountId": "4770682894",
                  "accountTransactionId": "9432378733"
              },
              {
                  "accountId": "4770682895",
                  "accountTransactionId": "9432378734"
              },
              {
                  "accountId": "4770682895",
                  "accountTransactionId": "9432378735"
              },
              {
                  "accountId": "4770682896",
                  "accountTransactionId": "9432378736"
              },
              {
                  "accountId": "4770682896",
                  "accountTransactionId": "9432378737"
              },
              {
                  "accountId": "4770682897",
                  "accountTransactionId": "9432378738"
              },
              {
                  "accountId": "4770682897",
                  "accountTransactionId": "9432378739"
              },
              {
                  "accountId": "4770682809",
                  "accountTransactionId": "9432378740"
              },
              {
                  "accountId": "4770682806",
                  "accountTransactionId": "9432378741"
              },
              {
                  "accountId": "4770682807",
                  "accountTransactionId": "9432378742"
              },
              {
                  "accountId": "4770682810",
                  "accountTransactionId": "9432378743"
              },
              {
                  "accountId": "4770682810",
                  "accountTransactionId": "9432378744"
              }
          ],
          "basket": {
              "contents": [
                  {
                      "upc": "245874",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 2000,
                      "totalUnitCost": 2000,
                      "description": "Lemonade",
                      "itemUnitCount": 2,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 200
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 183
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 165
                          },
                          {
                              "instanceId": "100561737-1",
                              "value": 600
                          }
                      ],
                      "adjudicationResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "success": true,
                              "type": "redeem",
                              "value": 600,
                              "balances": null,
                              "isRefundable": true,
                              "isUnredeemable": false,
                              "relatedAccountIds": [
                                  "4770682895"
                              ],
                              "targetedAccountId": "4770682895",
                              "targetedWalletId": "248999311",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 8,
                              "totalRewardUnits": 2
                          },
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "success": true,
                              "type": "credit",
                              "value": null,
                              "balances": {
                                  "current": 600
                              },
                              "isRefundable": true,
                              "isUnredeemable": false,
                              "relatedAccountIds": [
                                  "4770682895"
                              ],
                              "targetedAccountId": "4770682810",
                              "targetedWalletId": "248999311",
                              "totalMatchingUnits": null,
                              "playOrderPosition": 8
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100561737-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245875",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Coffee",
                      "itemUnitCount": 1,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 100
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 89
                          },
                          {
                              "instanceId": "100560017-1",
                              "value": 500
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 81
                          }
                      ],
                      "adjudicationResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560017",
                              "instanceId": "100560017-1",
                              "success": true,
                              "type": "redeem",
                              "value": 500,
                              "balances": null,
                              "isRefundable": true,
                              "isUnredeemable": true,
                              "relatedAccountIds": [
                                  "4770682806"
                              ],
                              "targetedAccountId": "4770682806",
                              "targetedWalletId": "248999311",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 5,
                              "totalRewardUnits": 0
                          },
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560017",
                              "instanceId": "100560017-1",
                              "success": true,
                              "type": "credit",
                              "value": null,
                              "balances": {
                                  "current": 500
                              },
                              "isRefundable": true,
                              "isUnredeemable": true,
                              "relatedAccountIds": [
                                  "4770682806"
                              ],
                              "targetedAccountId": "4770682810",
                              "targetedWalletId": "248999311",
                              "totalMatchingUnits": null,
                              "playOrderPosition": 5
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100560017-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245884",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 800,
                      "totalUnitCost": 1000,
                      "description": "Soap",
                      "itemUnitCount": 1,
                      "qualifiesResults": [
                          {
                              "instanceId": "100560018-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ],
                      "adjustmentResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560018",
                              "instanceId": "100560018-1",
                              "relatedAccountIds": [
                                  "4770682897"
                              ],
                              "success": true,
                              "type": "redeem",
                              "multiItem": [
                                  "245884"
                              ],
                              "value": 200,
                              "isUnredeemable": false,
                              "targetedAccountId": "4770682897",
                              "targetedWalletId": "248999311",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 2,
                              "totalRewardUnits": 1,
                              "totalDiscountAmount": 200
                          }
                      ],
                      "itemUnitDiscount": 200,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 80
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 71
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 65
                          }
                      ]
                  },
                  {
                      "upc": "245886",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 100,
                      "totalUnitCost": 1000,
                      "description": "Carrot",
                      "itemUnitCount": 1,
                      "qualifiesResults": [
                          {
                              "instanceId": "100560020-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ],
                      "adjustmentResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560020",
                              "instanceId": "100560020-1",
                              "relatedAccountIds": [
                                  "4770682807"
                              ],
                              "success": true,
                              "type": "redeem",
                              "multiItem": [],
                              "value": 900,
                              "isUnredeemable": false,
                              "targetedAccountId": "4770682807",
                              "targetedWalletId": "248999311",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 1,
                              "totalRewardUnits": 1,
                              "totalDiscountAmount": 900
                          }
                      ],
                      "itemUnitDiscount": 900,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 10
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 8
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 8
                          }
                      ]
                  },
                  {
                      "upc": "245868",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Pizza",
                      "itemUnitCount": 1,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 100
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 89
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 81
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100560999-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245872",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Wine",
                      "itemUnitCount": 1
                  }
              ],
              "summary": {
                  "totalItems": 6,
                  "totalBasketValue": 5410,
                  "totalDiscountAmount": {
                      "promotions": 1590
                  },
                  "qualifiesResults": [
                      {
                          "instanceId": "101824930-1",
                          "totalMatchingUnits": null,
                          "totalMatchingSpend": 1000,
                          "totalOverallMatchingSpend": null
                      },
                      {
                          "instanceId": "101824928-1",
                          "totalMatchingUnits": null,
                          "totalMatchingSpend": 1000,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824930",
                          "instanceId": "101824930-1",
                          "relatedAccountIds": [
                              "4770682896"
                          ],
                          "success": true,
                          "type": "redeem",
                          "multiItem": [],
                          "value": 490,
                          "isUnredeemable": false,
                          "targetedAccountId": "4770682896",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 3,
                          "totalRewardUnits": 6,
                          "totalDiscountAmount": 490
                      }
                  ],
                  "results": {
                      "points": {
                          "spend": 0,
                          "debit": 0,
                          "refund": 0,
                          "totalPointsTaken": 0,
                          "earn": 440,
                          "credit": 1500,
                          "totalPointsGiven": 1940,
                          "totalMonetaryValue": 0
                      },
                      "tiers": null
                  },
                  "adjudicationResults": [
                      {
                          "resourceType": "SCHEME",
                          "resourceId": "1743751",
                          "instanceId": "1743751-1",
                          "success": true,
                          "type": "earn",
                          "value": null,
                          "balances": {
                              "current": 440
                          },
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": "4770682810",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 4
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824928",
                          "instanceId": "101824928-1",
                          "success": true,
                          "type": "redeem",
                          "value": 400,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770682809"
                          ],
                          "targetedAccountId": "4770682809",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 6,
                          "totalRewardUnits": 12
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824928",
                          "instanceId": "101824928-1",
                          "success": true,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 400
                          },
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770682809"
                          ],
                          "targetedAccountId": "4770682810",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 6
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560999",
                          "instanceId": "100560999-1",
                          "success": true,
                          "type": "redeem",
                          "value": 0,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [
                              "4770682894"
                          ],
                          "targetedAccountId": "4770682894",
                          "targetedWalletId": "248999311",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 7,
                          "totalRewardUnits": 0
                      }
                  ],
                  "expectedPoints": [
                      {
                          "schemeId": "1743751",
                          "earn": 440,
                          "credit": 1500,
                          "isPending": false
                      }
                  ]
              },
              "payment": null
          },
          "channel": "api",
          "location": {
              "storeId": "111",
              "storeParentId": "AFabulousRetailer"
          },
          "dateCreated": "2025-11-03T21:06:30+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      }
  ],
  "accountTransactions": [
      {
          "accountTransactionId": "9432378732",
          "parentAccountTransactionId": "",
          "accountId": "4770682894",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378733",
          "parentAccountTransactionId": "",
          "accountId": "4770682894",
          "event": "REDEEM",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378734",
          "parentAccountTransactionId": "",
          "accountId": "4770682895",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378735",
          "parentAccountTransactionId": "",
          "accountId": "4770682895",
          "event": "REDEEM",
          "value": 600,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378736",
          "parentAccountTransactionId": "",
          "accountId": "4770682896",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378737",
          "parentAccountTransactionId": "",
          "accountId": "4770682896",
          "event": "REDEEM",
          "value": 490,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378738",
          "parentAccountTransactionId": "",
          "accountId": "4770682897",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378739",
          "parentAccountTransactionId": "",
          "accountId": "4770682897",
          "event": "REDEEM",
          "value": 200,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378740",
          "parentAccountTransactionId": "",
          "accountId": "4770682809",
          "event": "REDEEM",
          "value": 400,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378741",
          "parentAccountTransactionId": "",
          "accountId": "4770682806",
          "event": "REDEEM",
          "value": 500,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378742",
          "parentAccountTransactionId": "",
          "accountId": "4770682807",
          "event": "REDEEM",
          "value": 900,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378743",
          "parentAccountTransactionId": "",
          "accountId": "4770682810",
          "event": "EARN",
          "value": 440,
          "source": 1,
          "balancesBefore": {
              "current": 0,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 440,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      },
      {
          "accountTransactionId": "9432378744",
          "parentAccountTransactionId": "",
          "accountId": "4770682810",
          "event": "CREDIT",
          "value": 1500,
          "source": 1,
          "balancesBefore": {
              "current": 440,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 1940,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T21:08:55+00:00",
          "lastUpdated": "2025-11-03T21:08:55+00:00"
      }
  ]
}
Expand to see the wallet transaction for the original purchase
  {
            "walletTransactionId": "533568633",
            "parentWalletTransactionId": "0",
            "walletId": "248999311",
            "reference": "20251103080000-111-01-1111",
            "transactionDateTime": "2025-11-03T21:06:30+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "201094997",
            "identity": null,
            "type": "SETTLE",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4770682894",
                    "accountTransactionId": "9432378732"
                },
                {
                    "accountId": "4770682894",
                    "accountTransactionId": "9432378733"
                },
                {
                    "accountId": "4770682895",
                    "accountTransactionId": "9432378734"
                },
                {
                    "accountId": "4770682895",
                    "accountTransactionId": "9432378735"
                },
                {
                    "accountId": "4770682896",
                    "accountTransactionId": "9432378736"
                },
                {
                    "accountId": "4770682896",
                    "accountTransactionId": "9432378737"
                },
                {
                    "accountId": "4770682897",
                    "accountTransactionId": "9432378738"
                },
                {
                    "accountId": "4770682897",
                    "accountTransactionId": "9432378739"
                },
                {
                    "accountId": "4770682809",
                    "accountTransactionId": "9432378740"
                },
                {
                    "accountId": "4770682806",
                    "accountTransactionId": "9432378741"
                },
                {
                    "accountId": "4770682807",
                    "accountTransactionId": "9432378742"
                },
                {
                    "accountId": "4770682810",
                    "accountTransactionId": "9432378743"
                },
                {
                    "accountId": "4770682810",
                    "accountTransactionId": "9432378744"
                }
            ],
            "basket": {
                "contents": [
                    {
                        "upc": "245874",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 2000,
                        "totalUnitCost": 2000,
                        "description": "Lemonade",
                        "itemUnitCount": 2,
                        "contributionResults": [
                            {
                                "instanceId": "101824930-1",
                                "value": 200
                            },
                            {
                                "instanceId": "1743751-1",
                                "value": 183
                            },
                            {
                                "instanceId": "101824928-1",
                                "value": 165
                            },
                            {
                                "instanceId": "100561737-1",
                                "value": 600
                            }
                        ],
                        "adjudicationResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100561737",
                                "instanceId": "100561737-1",
                                "success": true,
                                "type": "redeem",
                                "value": 600,
                                "balances": null,
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4770682895"
                                ],
                                "targetedAccountId": "4770682895",
                                "targetedWalletId": "248999311",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 8,
                                "totalRewardUnits": 2
                            },
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100561737",
                                "instanceId": "100561737-1",
                                "success": true,
                                "type": "credit",
                                "value": null,
                                "balances": {
                                    "current": 600
                                },
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4770682895"
                                ],
                                "targetedAccountId": "4770682810",
                                "targetedWalletId": "248999311",
                                "totalMatchingUnits": null,
                                "playOrderPosition": 8
                            }
                        ],
                        "qualifiesResults": [
                            {
                                "instanceId": "100561737-1",
                                "totalMatchingUnits": 1,
                                "totalMatchingSpend": 1,
                                "totalOverallMatchingSpend": null
                            }
                        ]
                    },
                    {
                        "upc": "245875",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Coffee",
                        "itemUnitCount": 1,
                        "contributionResults": [
                            {
                                "instanceId": "101824930-1",
                                "value": 100
                            },
                            {
                                "instanceId": "1743751-1",
                                "value": 89
                            },
                            {
                                "instanceId": "100560017-1",
                                "value": 500
                            },
                            {
                                "instanceId": "101824928-1",
                                "value": 81
                            }
                        ],
                        "adjudicationResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "redeem",
                                "value": 500,
                                "balances": null,
                                "isRefundable": true,
                                "isUnredeemable": true,
                                "relatedAccountIds": [
                                    "4770682806"
                                ],
                                "targetedAccountId": "4770682806",
                                "targetedWalletId": "248999311",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 5,
                                "totalRewardUnits": 0
                            },
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "credit",
                                "value": null,
                                "balances": {
                                    "current": 500
                                },
                                "isRefundable": true,
                                "isUnredeemable": true,
                                "relatedAccountIds": [
                                    "4770682806"
                                ],
                                "targetedAccountId": "4770682810",
                                "targetedWalletId": "248999311",
                                "totalMatchingUnits": null,
                                "playOrderPosition": 5
                            }
                        ],
                        "qualifiesResults": [
                            {
                                "instanceId": "100560017-1",
                                "totalMatchingUnits": 1,
                                "totalMatchingSpend": 1,
                                "totalOverallMatchingSpend": null
                            }
                        ]
                    },
                    {
                        "upc": "245884",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 800,
                        "totalUnitCost": 1000,
                        "description": "Soap",
                        "itemUnitCount": 1,
                        "qualifiesResults": [
                            {
                                "instanceId": "100560018-1",
                                "totalMatchingUnits": 1,
                                "totalMatchingSpend": 1,
                                "totalOverallMatchingSpend": null
                            }
                        ],
                        "adjustmentResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560018",
                                "instanceId": "100560018-1",
                                "relatedAccountIds": [
                                    "4770682897"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [
                                    "245884"
                                ],
                                "value": 200,
                                "isUnredeemable": false,
                                "targetedAccountId": "4770682897",
                                "targetedWalletId": "248999311",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 2,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 200
                            }
                        ],
                        "itemUnitDiscount": 200,
                        "contributionResults": [
                            {
                                "instanceId": "101824930-1",
                                "value": 80
                            },
                            {
                                "instanceId": "1743751-1",
                                "value": 71
                            },
                            {
                                "instanceId": "101824928-1",
                                "value": 65
                            }
                        ]
                    },
                    {
                        "upc": "245886",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 100,
                        "totalUnitCost": 1000,
                        "description": "Carrot",
                        "itemUnitCount": 1,
                        "qualifiesResults": [
                            {
                                "instanceId": "100560020-1",
                                "totalMatchingUnits": 1,
                                "totalMatchingSpend": 1,
                                "totalOverallMatchingSpend": null
                            }
                        ],
                        "adjustmentResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560020",
                                "instanceId": "100560020-1",
                                "relatedAccountIds": [
                                    "4770682807"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [],
                                "value": 900,
                                "isUnredeemable": false,
                                "targetedAccountId": "4770682807",
                                "targetedWalletId": "248999311",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 1,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 900
                            }
                        ],
                        "itemUnitDiscount": 900,
                        "contributionResults": [
                            {
                                "instanceId": "101824930-1",
                                "value": 10
                            },
                            {
                                "instanceId": "1743751-1",
                                "value": 8
                            },
                            {
                                "instanceId": "101824928-1",
                                "value": 8
                            }
                        ]
                    },
                    {
                        "upc": "245868",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Pizza",
                        "itemUnitCount": 1,
                        "contributionResults": [
                            {
                                "instanceId": "101824930-1",
                                "value": 100
                            },
                            {
                                "instanceId": "1743751-1",
                                "value": 89
                            },
                            {
                                "instanceId": "101824928-1",
                                "value": 81
                            }
                        ],
                        "qualifiesResults": [
                            {
                                "instanceId": "100560999-1",
                                "totalMatchingUnits": 1,
                                "totalMatchingSpend": 1,
                                "totalOverallMatchingSpend": null
                            }
                        ]
                    },
                    {
                        "upc": "245872",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Wine",
                        "itemUnitCount": 1
                    }
                ],
                "summary": {
                    "totalItems": 6,
                    "totalBasketValue": 5410,
                    "totalDiscountAmount": {
                        "promotions": 1590
                    },
                    "qualifiesResults": [
                        {
                            "instanceId": "101824930-1",
                            "totalMatchingUnits": null,
                            "totalMatchingSpend": 1000,
                            "totalOverallMatchingSpend": null
                        },
                        {
                            "instanceId": "101824928-1",
                            "totalMatchingUnits": null,
                            "totalMatchingSpend": 1000,
                            "totalOverallMatchingSpend": null
                        }
                    ],
                    "adjustmentResults": [
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "101824930",
                            "instanceId": "101824930-1",
                            "relatedAccountIds": [
                                "4770682896"
                            ],
                            "success": true,
                            "type": "redeem",
                            "multiItem": [],
                            "value": 490,
                            "isUnredeemable": false,
                            "targetedAccountId": "4770682896",
                            "targetedWalletId": "248999311",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 3,
                            "totalRewardUnits": 6,
                            "totalDiscountAmount": 490
                        }
                    ],
                    "results": {
                        "points": {
                            "spend": 0,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 0,
                            "earn": 440,
                            "credit": 1500,
                            "totalPointsGiven": 1940,
                            "totalMonetaryValue": 0
                        },
                        "tiers": null
                    },
                    "adjudicationResults": [
                        {
                            "resourceType": "SCHEME",
                            "resourceId": "1743751",
                            "instanceId": "1743751-1",
                            "success": true,
                            "type": "earn",
                            "value": null,
                            "balances": {
                                "current": 440
                            },
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [],
                            "targetedAccountId": "4770682810",
                            "targetedWalletId": "248999311",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 4
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "101824928",
                            "instanceId": "101824928-1",
                            "success": true,
                            "type": "redeem",
                            "value": 400,
                            "balances": null,
                            "isRefundable": true,
                            "isUnredeemable": true,
                            "relatedAccountIds": [
                                "4770682809"
                            ],
                            "targetedAccountId": "4770682809",
                            "targetedWalletId": "248999311",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 6,
                            "totalRewardUnits": 12
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "101824928",
                            "instanceId": "101824928-1",
                            "success": true,
                            "type": "credit",
                            "value": null,
                            "balances": {
                                "current": 400
                            },
                            "isRefundable": true,
                            "isUnredeemable": true,
                            "relatedAccountIds": [
                                "4770682809"
                            ],
                            "targetedAccountId": "4770682810",
                            "targetedWalletId": "248999311",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 6
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "100560999",
                            "instanceId": "100560999-1",
                            "success": true,
                            "type": "redeem",
                            "value": 0,
                            "balances": null,
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [
                                "4770682894"
                            ],
                            "targetedAccountId": "4770682894",
                            "targetedWalletId": "248999311",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 7,
                            "totalRewardUnits": 0
                        }
                    ],
                    "expectedPoints": [
                        {
                            "schemeId": "1743751",
                            "earn": 440,
                            "credit": 1500,
                            "isPending": false
                        }
                    ]
                },
                "payment": null
            },
            "channel": "api",
            "location": {
                "storeId": "111",
                "storeParentId": "AFabulousRetailer"
            },
            "dateCreated": "2025-11-03T21:06:30+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00"
        }
Expand to see all coupon accounts and points account after purchase
         {
            "accountId": "4770682806",
            "walletId": "248999311",
            "campaignId": "100560017",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682806/08c681e67ad1009"
        },
        {
            "accountId": "4770682807",
            "walletId": "248999311",
            "campaignId": "100560020",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682807/21134e90dc2f573"
        },
        {
            "accountId": "4770682808",
            "walletId": "248999311",
            "campaignId": "100561823",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T21:01:20+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682808/8b73b3d3ee84aef"
        },
        {
            "accountId": "4770682809",
            "walletId": "248999311",
            "campaignId": "101824928",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2026-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682809/144c1c17076f317"
        },
        {
            "accountId": "4770682810",
            "walletId": "248999311",
            "campaignId": "1743751",
            "type": "POINTS",
            "clientType": "RETAILPOINTS",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2038-01-19T03:14:07+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "current": 1940,
                "usable": 1940,
                "locked": 0,
                "lifetime": 1940,
                "lifetimeSpend": 0,
                "lifetimeSpendValue": 0,
                "pending": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682810/0fcdd554e9eb522"
        },
        {
            "accountId": "4770682894",
            "walletId": "248999311",
            "campaignId": "100560999",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:29+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682894/7af3f1c13082662"
        },
        {
            "accountId": "4770682895",
            "walletId": "248999311",
            "campaignId": "100561737",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:28+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682895/4f96eb77cfa6a12"
        },
        {
            "accountId": "4770682896",
            "walletId": "248999311",
            "campaignId": "101824930",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:27+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682896/d734d9e68ee7861"
        },
        {
            "accountId": "4770682897",
            "walletId": "248999311",
            "campaignId": "100560018",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:26+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682897/f29f7cb9202584f"
        }

Use Case - Gemma returns all items

The following includes request and response payloads for Gemma's fulls refund transaction:

Expand to see payload example
{
  "reference": "Full_20251103080000-111-01-1111",
  "originalTransaction": {
      "reference": "20251103080000-111-01-1111"
  },
  "location": {
      "incomingIdentifier": "111",
      "parentIncomingIdentifier": "AFabulousRetailer"
  },
  "basket": {
      "type": "STANDARD",
      "summary": {
          "totalItems": 6,
          "totalBasketValue": 7000
      },
      "contents": [
          {
              "upc": "245874",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 2000,
              "totalUnitCost": 2000,
              "description": "Lemonade",
              "itemUnitCount": 2
          },
          {
              "upc": "245875",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Coffee",
              "itemUnitCount": 1
          },
          {
              "upc": "245884",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Soap",
              "itemUnitCount": 1
          },
          {
              "upc": "245886",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Carrot",
              "itemUnitCount": 1
          },
          {
              "upc": "245868",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Pizza",
              "itemUnitCount": 1
          },
          {
              "upc": "245872",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Wine",
              "itemUnitCount": 1
          }
      ]
  }
}
{
  "walletTransactions": [
      {
          "walletTransactionId": "533589299",
          "parentWalletTransactionId": "533568633",
          "walletId": "248999311",
          "reference": "Full_20251103080000-111-01-1111",
          "transactionDateTime": "2025-11-03T22:40:01+00:00",
          "transactionDateTimeOffset": "+00:00",
          "identityId": null,
          "identity": null,
          "type": "REFUND",
          "status": "SETTLED",
          "meta": null,
          "state": "ORIGINAL",
          "expiryDate": null,
          "accounts": [
              {
                  "accountId": "4770682806",
                  "accountTransactionId": "9432564610"
              },
              {
                  "accountId": "4770682809",
                  "accountTransactionId": "9432564614"
              },
              {
                  "accountId": "4770682810",
                  "accountTransactionId": "9432564620"
              },
              {
                  "accountId": "4770682810",
                  "accountTransactionId": "9432564628"
              }
          ],
          "basket": {
              "contents": [
                  {
                      "upc": "245874",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 2000,
                      "totalUnitCost": 2000,
                      "description": "Lemonade",
                      "itemUnitCount": 2
                  },
                  {
                      "upc": "245875",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Coffee",
                      "itemUnitCount": 1
                  },
                  {
                      "upc": "245884",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Soap",
                      "itemUnitCount": 1
                  },
                  {
                      "upc": "245886",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Carrot",
                      "itemUnitCount": 1
                  },
                  {
                      "upc": "245868",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Pizza",
                      "itemUnitCount": 1
                  },
                  {
                      "upc": "245872",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Wine",
                      "itemUnitCount": 1
                  }
              ],
              "summary": {
                  "totalItems": 6,
                  "totalBasketValue": 7000,
                  "results": {
                      "points": {
                          "spend": 0,
                          "debit": 0,
                          "refund": 1940,
                          "totalPointsTaken": 1940,
                          "earn": 0,
                          "credit": 0,
                          "totalPointsGiven": 0,
                          "totalMonetaryValue": 0
                      }
                  }
              },
              "payment": null
          },
          "channel": "api",
          "location": {
              "storeId": "111",
              "storeParentId": "AFabulousRetailer"
          },
          "dateCreated": "2025-11-03T22:40:02+00:00",
          "lastUpdated": "2025-11-03T22:40:02+00:00"
      }
  ],
  "accountTransactions": [
      {
          "accountTransactionId": "9432564610",
          "parentAccountTransactionId": "9432378741",
          "accountId": "4770682806",
          "event": "UNREDEEM",
          "value": 500,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:40:01+00:00",
          "lastUpdated": "2025-11-03T22:40:01+00:00"
      },
      {
          "accountTransactionId": "9432564614",
          "parentAccountTransactionId": "9432378740",
          "accountId": "4770682809",
          "event": "UNREDEEM",
          "value": 400,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:40:01+00:00",
          "lastUpdated": "2025-11-03T22:40:01+00:00"
      },
      {
          "accountTransactionId": "9432564620",
          "parentAccountTransactionId": "9432378743",
          "accountId": "4770682810",
          "event": "REFUND_DEBIT",
          "value": 440,
          "source": 1,
          "balancesBefore": {
              "current": 1940,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 1500,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:40:01+00:00",
          "lastUpdated": "2025-11-03T22:40:01+00:00"
      },
      {
          "accountTransactionId": "9432564628",
          "parentAccountTransactionId": "9432378744",
          "accountId": "4770682810",
          "event": "REFUND_DEBIT",
          "value": 1500,
          "source": 1,
          "balancesBefore": {
              "current": 1500,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 0,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:40:01+00:00",
          "lastUpdated": "2025-11-03T22:40:01+00:00"
      }
  ]
}

Wallet Transaction after Full Refund

The original wallet transaction is now updated to accurately reflect zero basket contents, basket spend and rewards after the return. The original wallet transaction state has changed from "ORIGINAL" to "MODIFIED". A new wallet transaction for the refund is created to reflect the items that were returned.

Expand to see the original and refund wallet transactions
 {
            "walletTransactionId": "533568633",
            "parentWalletTransactionId": "0",
            "walletId": "248999311",
            "reference": "20251103080000-111-01-1111",
            "transactionDateTime": "2025-11-03T21:06:30+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "201094997",
            "identity": null,
            "type": "SETTLE",
            "status": "SETTLED",
            "meta": null,
            "state": "MODIFIED",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4770682894",
                    "accountTransactionId": "9432378732"
                },
                {
                    "accountId": "4770682894",
                    "accountTransactionId": "9432378733"
                },
                {
                    "accountId": "4770682895",
                    "accountTransactionId": "9432378734"
                },
                {
                    "accountId": "4770682895",
                    "accountTransactionId": "9432378735"
                },
                {
                    "accountId": "4770682896",
                    "accountTransactionId": "9432378736"
                },
                {
                    "accountId": "4770682896",
                    "accountTransactionId": "9432378737"
                },
                {
                    "accountId": "4770682897",
                    "accountTransactionId": "9432378738"
                },
                {
                    "accountId": "4770682897",
                    "accountTransactionId": "9432378739"
                },
                {
                    "accountId": "4770682807",
                    "accountTransactionId": "9432378742"
                }
            ],
            "basket": {
                "contents": null,
                "summary": {
                    "totalItems": 0,
                    "totalBasketValue": 0,
                    "totalQualifyingAmount": null,
                    "totalDiscountAmount": {
                        "promotions": 0,
                        "staff": null,
                        "general": null
                    },
                    "totalTaxAmount": null,
                    "fulfilledBaseEarn": null,
                    "expectedPoints": [
                        {
                            "schemeId": "1743751",
                            "earn": 440,
                            "credit": 1500,
                            "isPending": false
                        }
                    ],
                    "originalQualifiedAccounts": null,
                    "spendAdjudicationResults": null,
                    "results": {
                        "points": {
                            "spend": 0,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 0,
                            "earn": 0,
                            "credit": 0,
                            "totalPointsGiven": 0,
                            "totalMonetaryValue": 0
                        },
                        "pointsByScheme": null,
                        "tiers": null
                    },
                    "qualifiesResults": null,
                    "reporting": null,
                    "tierMembershipResults": null,
                    "redemptionChannel": null,
                    "adjudicationResults": null,
                    "adjustmentResults": null,
                    "bounceBackResults": null,
                    "tenderResults": null,
                    "adjustmentRules": null
                },
                "payment": null
            },
            "channel": "api",
            "location": {
                "storeId": "111",
                "storeParentId": "AFabulousRetailer"
            },
            "dateCreated": "2025-11-03T21:06:30+00:00",
            "lastUpdated": "2025-11-03T22:40:01+00:00"
        }
 {
            "walletTransactionId": "533589299",
            "parentWalletTransactionId": "533568633",
            "walletId": "248999311",
            "reference": "Full_20251103080000-111-01-1111",
            "transactionDateTime": "2025-11-03T22:40:01+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": null,
            "identity": null,
            "type": "REFUND",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4770682806",
                    "accountTransactionId": "9432564610"
                },
                {
                    "accountId": "4770682809",
                    "accountTransactionId": "9432564614"
                },
                {
                    "accountId": "4770682810",
                    "accountTransactionId": "9432564620"
                },
                {
                    "accountId": "4770682810",
                    "accountTransactionId": "9432564628"
                }
            ],
            "basket": {
                "contents": [
                    {
                        "upc": "245874",
                        "itemUnitCost": 1000,
                        "salesKey": "REFUND",
                        "totalUnitCostAfterDiscount": 2000,
                        "totalUnitCost": 2000,
                        "description": "Lemonade",
                        "itemUnitCount": 2
                    },
                    {
                        "upc": "245875",
                        "itemUnitCost": 1000,
                        "salesKey": "REFUND",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Coffee",
                        "itemUnitCount": 1
                    },
                    {
                        "upc": "245884",
                        "itemUnitCost": 1000,
                        "salesKey": "REFUND",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Soap",
                        "itemUnitCount": 1
                    },
                    {
                        "upc": "245886",
                        "itemUnitCost": 1000,
                        "salesKey": "REFUND",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Carrot",
                        "itemUnitCount": 1
                    },
                    {
                        "upc": "245868",
                        "itemUnitCost": 1000,
                        "salesKey": "REFUND",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Pizza",
                        "itemUnitCount": 1
                    },
                    {
                        "upc": "245872",
                        "itemUnitCost": 1000,
                        "salesKey": "REFUND",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Wine",
                        "itemUnitCount": 1
                    }
                ],
                "summary": {
                    "totalItems": 6,
                    "totalBasketValue": 7000,
                    "results": {
                        "points": {
                            "spend": 0,
                            "debit": 0,
                            "refund": 1940,
                            "totalPointsTaken": 1940,
                            "earn": 0,
                            "credit": 0,
                            "totalPointsGiven": 0,
                            "totalMonetaryValue": 0
                        }
                    }
                },
                "payment": null
            },
            "channel": "api",
            "location": {
                "storeId": "111",
                "storeParentId": "AFabulousRetailer"
            },
            "dateCreated": "2025-11-03T22:40:02+00:00",
            "lastUpdated": "2025-11-03T22:40:02+00:00"
        }

Accounts after Full Refund

The status of all targeted coupon accounts for "Unredeemable" campaigns have been updated from "USED" to "ACTIVE", since they were still in the eligible window of validity. All other coupon accounts, including those for open campaigns remain in the status of "USED".

The points account now reflects a balance of zero since all points were clawed back.

Expand to see all coupon accounts and points account after purchase
{
    "total": 9,
    "orderBy": [
        {
            "name": "accountId",
            "order": "ASC"
        }
    ],
    "limit": 100,
    "offset": 0,
    "results": [
        {
            "accountId": "4770682806",
            "walletId": "248999311",
            "campaignId": "100560017",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T22:40:01+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682806/08c681e67ad1009"
        },
        {
            "accountId": "4770682807",
            "walletId": "248999311",
            "campaignId": "100560020",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682807/21134e90dc2f573"
        },
        {
            "accountId": "4770682808",
            "walletId": "248999311",
            "campaignId": "100561823",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T21:01:20+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682808/8b73b3d3ee84aef"
        },
        {
            "accountId": "4770682809",
            "walletId": "248999311",
            "campaignId": "101824928",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2026-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T22:40:01+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682809/144c1c17076f317"
        },
        {
            "accountId": "4770682810",
            "walletId": "248999311",
            "campaignId": "1743751",
            "type": "POINTS",
            "clientType": "RETAILPOINTS",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:01:20+00:00",
                "end": "2038-01-19T03:14:07+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:01:20+00:00",
            "lastUpdated": "2025-11-03T22:40:01+00:00",
            "overrides": [],
            "balances": {
                "current": 0,
                "usable": 0,
                "locked": 0,
                "lifetime": 0,
                "lifetimeSpend": 0,
                "lifetimeSpendValue": 0,
                "pending": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682810/0fcdd554e9eb522"
        },
        {
            "accountId": "4770682894",
            "walletId": "248999311",
            "campaignId": "100560999",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:29+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682894/7af3f1c13082662"
        },
        {
            "accountId": "4770682895",
            "walletId": "248999311",
            "campaignId": "100561737",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:28+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682895/4f96eb77cfa6a12"
        },
        {
            "accountId": "4770682896",
            "walletId": "248999311",
            "campaignId": "101824930",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:27+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682896/d734d9e68ee7861"
        },
        {
            "accountId": "4770682897",
            "walletId": "248999311",
            "campaignId": "100560018",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-11-03T21:06:26+00:00",
                "end": "2025-11-03T21:08:55+00:00"
            },
            "meta": [],
            "dateCreated": "2025-11-03T21:08:55+00:00",
            "lastUpdated": "2025-11-03T21:08:55+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4770682897/f29f7cb9202584f"
        }
    ]
}

Summary of Rewards Clawed Back

After the full refund, all rewards are clawed back from Gemma:

  • Total Discount Reward reversed: £15.90
    • Targeted Coupon Account for the coffee campaign 100560017 (Unredeemable) has been updated from USED to ACTIVE status and can be used in future transactions.
  • Total Points Reward clawed back: 1940
    • Targeted Coupon Account for the basket points campaign 101824928 (Unredeemable) has been updated from USED to ACTIVE status and can be used in future transactions.
  • Alternative Reward of the coupon remains
    • A coupon for future use for redeeming the open Pizza offer that will award 1000 points for spending £10

Partial Refund

In a Partial Refund scenario, all rewards are first clawed back and eligible rewards are issued based on the remaining items in the basket. Therefore the following can be expected in account and wallet transactions once a partial refund is complete:

  • Coupon accounts being unredeemed for the old value first and then being redeemed again for the new value if applicable
  • A refund debit of the original base earn points and a credit of a new base earn value
  • A debit of points originally earned from offers and a credit of points from offers that were still applicable after the refund.

Original Transaction Data

The following includes request and response payloads for Gemma's original purchase transaction for the scenario presented earlier:

Expand to see the Wallet Open request and response payloads for the original purchase
{
"identity": {
    "identityValue": "1111111111111111_Nov3c"
},
"reference": "20251103080000-111-01-1112",
"lock": true,
"location": {
    "incomingIdentifier": "111",
    "parentIncomingIdentifier": "AFabulousRetailer"
},
"options": {
    "adjustBasket": {
        "includeOpenOffers": true,
        "enabled": true
    },
    "analyseBasket": {
        "includeOpenOffers": true,
        "enabled": true
    }
},
"basket": {
    "type": "STANDARD",
    "summary": {
        "totalItems": 6,
        "totalBasketValue": 7000
    },
    "contents": [
        {
            "upc": "245874",
            "itemUnitCost": 1000,
            "salesKey": "SALE",
            "totalUnitCostAfterDiscount": 2000,
            "totalUnitCost": 2000,
            "description": "Lemonade",
            "itemUnitCount": 2
        },
        {
            "upc": "245875",
            "itemUnitCost": 1000,
            "salesKey": "SALE",
            "totalUnitCostAfterDiscount": 1000,
            "totalUnitCost": 1000,
            "description": "Coffee",
            "itemUnitCount": 1
        },
        {
            "upc": "245884",
            "itemUnitCost": 1000,
            "salesKey": "SALE",
            "totalUnitCostAfterDiscount": 1000,
            "totalUnitCost": 1000,
            "description": "Soap",
            "itemUnitCount": 1
        },
        {
            "upc": "245886",
            "itemUnitCost": 1000,
            "salesKey": "SALE",
            "totalUnitCostAfterDiscount": 1000,
            "totalUnitCost": 1000,
            "description": "Carrot",
            "itemUnitCount": 1
        },
        {
            "upc": "245868",
            "itemUnitCost": 1000,
            "salesKey": "SALE",
            "totalUnitCostAfterDiscount": 1000,
            "totalUnitCost": 1000,
            "description": "Pizza",
            "itemUnitCount": 1
        },
        {
            "upc": "245872",
            "itemUnitCost": 1000,
            "salesKey": "SALE",
            "totalUnitCostAfterDiscount": 1000,
            "totalUnitCost": 1000,
            "description": "Wine",
            "itemUnitCount": 1
        }
    ]
}
}
{
  "analyseBasketResults": {
      "basket": {
          "type": "ENRICHED",
          "summary": {
              "totalItems": 6,
              "totalBasketValue": 5410,
              "totalDiscountAmount": {
                  "promotions": 1590
              },
              "qualifiesResults": [
                  {
                      "instanceId": "101824930-1",
                      "totalMatchingUnits": null,
                      "totalMatchingSpend": 1000,
                      "totalOverallMatchingSpend": null
                  },
                  {
                      "instanceId": "101824928-1",
                      "totalMatchingUnits": null,
                      "totalMatchingSpend": 1000,
                      "totalOverallMatchingSpend": null
                  }
              ],
              "adjustmentResults": [
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824930",
                      "instanceId": "101824930-1",
                      "relatedAccountIds": [],
                      "success": null,
                      "type": "createRedeem",
                      "multiItem": [],
                      "value": 490,
                      "isUnredeemable": false,
                      "targetedAccountId": null,
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 3,
                      "totalRewardUnits": 6,
                      "totalDiscountAmount": 490
                  }
              ],
              "results": {
                  "points": {
                      "spend": 0,
                      "debit": 0,
                      "refund": 0,
                      "totalPointsTaken": 0,
                      "earn": 440,
                      "credit": 1500,
                      "totalPointsGiven": 1940,
                      "totalMonetaryValue": 0
                  },
                  "tiers": null
              },
              "adjudicationResults": [
                  {
                      "resourceType": "SCHEME",
                      "resourceId": "1743751",
                      "instanceId": "1743751-1",
                      "success": null,
                      "type": "earn",
                      "value": null,
                      "balances": {
                          "current": 440
                      },
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": "4770765806",
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 4
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824928",
                      "instanceId": "101824928-1",
                      "success": null,
                      "type": "redeem",
                      "value": 400,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770765805"
                      ],
                      "targetedAccountId": "4770765805",
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 7,
                      "totalRewardUnits": 12
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824928",
                      "instanceId": "101824928-1",
                      "success": null,
                      "type": "credit",
                      "value": null,
                      "balances": {
                          "current": 400
                      },
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770765805"
                      ],
                      "targetedAccountId": "4770765806",
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 7
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100560999",
                      "instanceId": "100560999-1",
                      "success": null,
                      "type": "createRedeem",
                      "value": 0,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": null,
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 8,
                      "totalRewardUnits": 0
                  }
              ]
          },
          "contents": [
              {
                  "upc": "245874",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 2000,
                  "totalUnitCost": 2000,
                  "description": "Lemonade",
                  "itemUnitCount": 2,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 200
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 183
                      },
                      {
                          "instanceId": "100561737-1",
                          "value": 600
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 165
                      }
                  ],
                  "adjudicationResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100561737",
                          "instanceId": "100561737-1",
                          "success": null,
                          "type": "createRedeem",
                          "value": 600,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": null,
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 6,
                          "totalRewardUnits": 2
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100561737",
                          "instanceId": "100561737-1",
                          "success": null,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 600
                          },
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 6
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100561737-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245875",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Coffee",
                  "itemUnitCount": 1,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 100
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 89
                      },
                      {
                          "instanceId": "100560017-1",
                          "value": 500
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 81
                      }
                  ],
                  "adjudicationResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560017",
                          "instanceId": "100560017-1",
                          "success": null,
                          "type": "redeem",
                          "value": 500,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765802"
                          ],
                          "targetedAccountId": "4770765802",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 5,
                          "totalRewardUnits": 1
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560017",
                          "instanceId": "100560017-1",
                          "success": null,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 500
                          },
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765802"
                          ],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 5
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100560017-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245884",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 800,
                  "totalUnitCost": 1000,
                  "description": "Soap",
                  "itemUnitCount": 1,
                  "qualifiesResults": [
                      {
                          "instanceId": "100560018-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560018",
                          "instanceId": "100560018-1",
                          "relatedAccountIds": [],
                          "success": null,
                          "type": "createRedeem",
                          "multiItem": [
                              "245884"
                          ],
                          "value": 200,
                          "isUnredeemable": false,
                          "targetedAccountId": null,
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 1,
                          "totalRewardUnits": 1,
                          "totalDiscountAmount": 200
                      }
                  ],
                  "itemUnitDiscount": 200,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 80
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 71
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 65
                      }
                  ]
              },
              {
                  "upc": "245886",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 100,
                  "totalUnitCost": 1000,
                  "description": "Carrot",
                  "itemUnitCount": 1,
                  "qualifiesResults": [
                      {
                          "instanceId": "100560020-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560020",
                          "instanceId": "100560020-1",
                          "relatedAccountIds": [
                              "4770765803"
                          ],
                          "success": null,
                          "type": "redeem",
                          "multiItem": [],
                          "value": 900,
                          "isUnredeemable": false,
                          "targetedAccountId": "4770765803",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 2,
                          "totalRewardUnits": 1,
                          "totalDiscountAmount": 900
                      }
                  ],
                  "itemUnitDiscount": 900,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 10
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 8
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 8
                      }
                  ]
              },
              {
                  "upc": "245868",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Pizza",
                  "itemUnitCount": 1,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 100
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 89
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 81
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100560999-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245872",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Wine",
                  "itemUnitCount": 1
              }
          ],
          "analysedDateTime": "2025-11-03T22:48:48+00:00"
      },
      "discount": [
          {
              "accountId": null,
              "walletId": "249001230",
              "type": "ECOUPON",
              "clientType": "OFFER",
              "campaignId": "100560018",
              "campaignName": "NS POS Connect Demo Open - Soap for $2 off",
              "offerId": "1435363",
              "offerName": "FIXED_AMOUNT_OFF_PRODUCTS",
              "reward": {
                  "basket": null,
                  "pointSpendRates": [],
                  "product": {
                      "AFabulousRetailer": {
                          "collections": [
                              {
                                  "maximumNumberOfUnits": 1,
                                  "minimumNumberOfUnits": 1,
                                  "points": null,
                                  "products": {
                                      "allRequired": false,
                                      "excluded": {
                                          "skus": [],
                                          "items": []
                                      },
                                      "included": {
                                          "groups": null,
                                          "items": [
                                              "245884"
                                          ],
                                          "skus": [],
                                          "tags": null
                                      }
                                  },
                                  "value": {
                                      "interval": null,
                                      "standard": {
                                          "allFree": false,
                                          "discountAmount": 200,
                                          "finalAmount": null,
                                          "percentageAmount": null
                                      }
                                  }
                              }
                          ],
                          "logicalOperator": "OR"
                      }
                  },
                  "standard": null,
                  "treatAs": null
              }
          },
          {
              "accountId": "4770765803",
              "walletId": "249001230",
              "type": "ECOUPON",
              "clientType": "OFFER",
              "campaignId": "100560020",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Carrots for $1",
              "offerId": "1435365",
              "offerName": "VARIABLE_AMOUNT_OFF_PRODUCTS",
              "reward": {
                  "basket": null,
                  "pointSpendRates": [],
                  "product": {
                      "AFabulousRetailer": {
                          "collections": [
                              {
                                  "maximumNumberOfUnits": 1,
                                  "minimumNumberOfUnits": 1,
                                  "points": null,
                                  "products": {
                                      "allRequired": false,
                                      "excluded": {
                                          "skus": [],
                                          "items": []
                                      },
                                      "included": {
                                          "groups": null,
                                          "items": [
                                              "245886"
                                          ],
                                          "skus": [],
                                          "tags": null
                                      }
                                  },
                                  "value": {
                                      "interval": null,
                                      "standard": {
                                          "allFree": false,
                                          "discountAmount": null,
                                          "finalAmount": 100,
                                          "percentageAmount": null
                                      }
                                  }
                              }
                          ],
                          "logicalOperator": "OR"
                      }
                  },
                  "standard": null,
                  "treatAs": null
              }
          },
          {
              "accountId": null,
              "walletId": "249001230",
              "type": "ECOUPON",
              "clientType": "OFFER",
              "campaignId": "101824930",
              "campaignName": "NS POS Connect Demo Open - Spend at least $10 and get 10% off",
              "offerId": "1958889",
              "offerName": "FIXED_PERCENTAGE_OFF_BASKET",
              "reward": {
                  "basket": null,
                  "pointSpendRates": [],
                  "standard": {
                      "value": {
                          "percentageAmount": 10,
                          "discountAmount": null
                      },
                      "points": null,
                      "tax": null,
                      "product": null
                  },
                  "product": null,
                  "treatAs": null
              }
          }
      ],
      "points": [
          {
              "resourceType": "SCHEME",
              "resourceId": "1743751",
              "walletId": "249001230",
              "operationType": "earn",
              "value": 440,
              "accountId": "4770765806",
              "relatedSchemeId": "1743751",
              "details": null,
              "totalMatchingUnits": null
          },
          {
              "resourceType": "CAMPAIGN",
              "resourceId": "100560017",
              "operationType": "credit",
              "value": 500,
              "relatedSchemeId": "1743751",
              "accountId": "4770765806",
              "walletId": "249001230",
              "details": {
                  "appliedAnalyseBasketType": "FIXED_POINTS_PRODUCTS"
              }
          },
          {
              "resourceType": "CAMPAIGN",
              "resourceId": "100561737",
              "operationType": "credit",
              "value": 600,
              "relatedSchemeId": "1743751",
              "accountId": "4770765806",
              "walletId": "249001230",
              "details": {
                  "appliedAnalyseBasketType": "VARIABLE_POINTS_PRODUCTS"
              }
          },
          {
              "resourceType": "CAMPAIGN",
              "resourceId": "101824928",
              "operationType": "credit",
              "value": 400,
              "relatedSchemeId": "1743751",
              "accountId": "4770765806",
              "walletId": "249001230",
              "details": {
                  "appliedAnalyseBasketType": "VARIABLE_POINTS_BASKET"
              }
          }
      ],
      "unusedAccounts": [
          {
              "resourceType": "ACCOUNT",
              "resourceId": "4770765804",
              "reasonMessage": "Basket did not match qualifier",
              "reasonCode": "QNM1"
          }
      ]
  },
  "wallet": {
      "walletId": "249001230",
      "friendlyName": null,
      "status": "ACTIVE",
      "type": "CONSUMER",
      "state": "DEFAULT",
      "meta": null,
      "dateCreated": "2025-11-03T22:47:48+00:00",
      "lastUpdated": "2025-11-03T22:47:48+00:00",
      "relationships": null
  },
  "identity": {
      "identityId": "201095815",
      "walletId": "249001230",
      "type": "CUSTOMER_ID",
      "friendlyName": null,
      "value": "1111111111111111_Nov3c",
      "safeValue": null,
      "secret": null,
      "dates": {
          "start": "2025-11-03T22:47:48+00:00",
          "end": null
      },
      "meta": null,
      "state": "DEFAULT",
      "status": "ACTIVE",
      "dateCreated": "2025-11-03T22:47:48+00:00",
      "lastUpdated": "2025-11-03T22:47:48+00:00",
      "mobileWallet": "https://sb.uk.mypass.is/identity/142378/249001230/201095815/26780f7747bcdb741e37cc6a6f01e6a9d08e1ba54e8cb876b626eac0e90d9110"
  },
  "accounts": [
      {
          "accountId": null,
          "walletId": "249001230",
          "campaignId": "100560018",
          "campaign": {
              "campaignId": 100560018,
              "campaignTypeId": 117,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Open - Soap for $2 off",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560018",
              "relationships": [],
              "dateCreated": "2024-10-28T15:45:06+00:00",
              "lastUpdated": "2024-10-28T15:57:10+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T22:48:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:48:48+00:00",
          "lastUpdated": "2025-11-03T22:48:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435363",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Open - Soap for $2 off",
              "campaignReference": "100560018"
          }
      },
      {
          "accountId": null,
          "walletId": "249001230",
          "campaignId": "101824930",
          "campaign": {
              "campaignId": 101824930,
              "campaignTypeId": 101,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Open - Spend at least $10 and get 10% off",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "101824930",
              "relationships": [],
              "dateCreated": "2025-11-03T17:03:00+00:00",
              "lastUpdated": "2025-11-03T17:04:45+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T22:48:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:48:48+00:00",
          "lastUpdated": "2025-11-03T22:48:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1958889",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Open - Spend at least $10 and get 10% off",
              "campaignReference": "101824930"
          }
      },
      {
          "accountId": null,
          "walletId": "249001230",
          "campaignId": "100561737",
          "campaign": {
              "campaignId": 100561737,
              "campaignTypeId": 114,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Open - Get 300 pts for each Lemonade",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100561737",
              "relationships": [],
              "dateCreated": "2024-10-28T20:08:48+00:00",
              "lastUpdated": "2024-10-30T17:33:39+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T22:48:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:48:48+00:00",
          "lastUpdated": "2025-11-03T22:48:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435726",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Open - Get 300 pts for each Lemonade",
              "campaignReference": "100561737"
          }
      },
      {
          "accountId": null,
          "walletId": "249001230",
          "campaignId": "100560999",
          "campaign": {
              "campaignId": 100560999,
              "campaignTypeId": 58,
              "campaignMode": "OPEN",
              "campaignName": "NS POS Connect Demo Alternative Reward Open -  Buy Pizza and get a coupon",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560999",
              "relationships": [],
              "dateCreated": "2024-10-28T18:54:19+00:00",
              "lastUpdated": "2024-10-28T18:54:50+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": null,
          "dates": {
              "start": "2025-11-03T22:48:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:48:48+00:00",
          "lastUpdated": "2025-11-03T22:48:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435580",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Alternative Reward Open -  Buy Pizza and get a coupon",
              "campaignReference": "100560999"
          }
      },
      {
          "accountId": "4770765802",
          "walletId": "249001230",
          "campaignId": "100560017",
          "campaign": {
              "campaignId": 100560017,
              "campaignTypeId": 102,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Buy Coffee and get 500 pts",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560017",
              "relationships": {
                  "OBJECTIVE_OF": {
                      "CAMPAIGN": [
                          {
                              "campaignId": "101198128",
                              "dateCreated": "2024-10-28T15:40:13+00:00"
                          }
                      ]
                  }
              },
              "dateCreated": "2024-10-28T15:40:13+00:00",
              "lastUpdated": "2025-10-30T19:27:31+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "LOCKED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:47:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435362",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Buy Coffee and get 500 pts",
              "campaignReference": "100560017"
          }
      },
      {
          "accountId": "4770765803",
          "walletId": "249001230",
          "campaignId": "100560020",
          "campaign": {
              "campaignId": 100560020,
              "campaignTypeId": 117,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Carrots for $1",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100560020",
              "relationships": {
                  "OBJECTIVE_OF": {
                      "CAMPAIGN": [
                          {
                              "campaignId": "101198128",
                              "dateCreated": "2024-10-28T15:46:47+00:00"
                          }
                      ]
                  }
              },
              "dateCreated": "2024-10-28T15:46:47+00:00",
              "lastUpdated": "2025-04-14T14:22:28+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "LOCKED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:47:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435365",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted Unlimited - Carrots for $1",
              "campaignReference": "100560020"
          }
      },
      {
          "accountId": "4770765804",
          "walletId": "249001230",
          "campaignId": "100561823",
          "campaign": {
              "campaignId": 100561823,
              "campaignTypeId": 102,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted - Buy t-shirt and get 600 pts",
              "accountTypeId": 1,
              "startDate": "2024-01-01T00:00:00+00:00",
              "endDate": "2025-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "100561823",
              "relationships": [],
              "dateCreated": "2024-10-28T20:17:26+00:00",
              "lastUpdated": "2025-04-14T14:22:10+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:47:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1435727",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted - Buy t-shirt and get 600 pts",
              "campaignReference": "100561823"
          }
      },
      {
          "accountId": "4770765805",
          "walletId": "249001230",
          "campaignId": "101824928",
          "campaign": {
              "campaignId": 101824928,
              "campaignTypeId": 111,
              "campaignMode": "RESTRICTED",
              "campaignName": "NS POS Connect Demo Targeted - Get 100 points for every $10 basket spend",
              "accountTypeId": 1,
              "startDate": "2025-01-01T00:00:00+00:00",
              "endDate": "2026-12-31T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "101824928",
              "relationships": [],
              "dateCreated": "2025-11-03T16:49:46+00:00",
              "lastUpdated": "2025-11-03T16:51:33+00:00"
          },
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "LOCKED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2026-12-31T23:59:00+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:47:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "token": null,
              "qualifier": null,
              "reward": {
                  "offerId": "1958887",
                  "offerName": "CAMPAIGN OFFER (auto) v2",
                  "posReference": null
              },
              "custom": null,
              "restrictions": {
                  "limits": {
                      "lifetime": {
                          "limit": 1,
                          "used": 0,
                          "remaining": 1,
                          "lockedRedemptions": 0
                      }
                  }
              },
              "redemptionWindows": {},
              "enrichmentType": "COUPON",
              "campaignName": "NS POS Connect Demo Targeted - Get 100 points for every $10 basket spend",
              "campaignReference": "101824928"
          }
      },
      {
          "accountId": "4770765806",
          "walletId": "249001230",
          "campaignId": "1743751",
          "campaign": {
              "campaignId": 1743751,
              "campaignTypeId": 7,
              "campaignMode": "OPEN",
              "campaignName": "Retail Points",
              "accountTypeId": 7,
              "startDate": "2023-01-01T00:00:00+00:00",
              "endDate": "9999-12-30T23:59:00+00:00",
              "status": "ACTIVE",
              "sequenceKey": null,
              "reference": "RETAILPOINTS",
              "relationships": [],
              "dateCreated": "2023-11-28T18:27:32+00:00",
              "lastUpdated": "2024-12-24T19:58:16+00:00"
          },
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": null,
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:47:48+00:00",
          "overrides": [],
          "balances": {
              "current": 0,
              "usable": 0,
              "locked": 0,
              "lifetime": 0,
              "lifetimeSpend": 0,
              "lifetimeSpendValue": 0,
              "pending": 0
          },
          "relationships": null,
          "mobileWallet": null,
          "enriched": {
              "tierMembership": null,
              "properties": {
                  "allowNegativeBalance": {
                      "enabled": true
                  },
                  "autotopup": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "credit": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "debit": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "details": {
                      "alternativeDescription": "",
                      "alternativeName": "",
                      "description": "",
                      "printMessage": "",
                      "screenMessage": ""
                  },
                  "earn": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "earnRates": {
                      "OnboardingPlayground": {
                          "default": {
                              "description": null,
                              "maximumQuantityPerProduct": null,
                              "name": null,
                              "product": null,
                              "rates": [
                                  {
                                      "amount": 10,
                                      "bonus": null,
                                      "ceiling": null,
                                      "floor": null,
                                      "offset": 0,
                                      "step": 100
                                  }
                              ],
                              "reference": null,
                              "roundPoints": {
                                  "active": false
                              },
                              "type": "STANDARD"
                          }
                      },
                      "OnboardingPlayground-AFabulousRetailer": {
                          "default": {
                              "description": null,
                              "maximumQuantityPerProduct": null,
                              "name": null,
                              "product": {
                                  "collections": [
                                      {
                                          "products": {
                                              "allRequired": false,
                                              "excluded": {
                                                  "groups": null,
                                                  "items": [
                                                      "245872"
                                                  ],
                                                  "skus": null,
                                                  "tags": null
                                              },
                                              "included": null
                                          }
                                      }
                                  ],
                                  "logicalOperator": "OR"
                              },
                              "rates": [
                                  {
                                      "amount": 10,
                                      "bonus": null,
                                      "ceiling": null,
                                      "floor": null,
                                      "offset": 0,
                                      "step": 100
                                  }
                              ],
                              "reference": null,
                              "roundPoints": {
                                  "active": false
                              },
                              "type": "STANDARD"
                          }
                      }
                  },
                  "exchange": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  },
                  "expiryPoints": {
                      "enabled": true,
                      "rule": {
                          "periodCount": 120,
                          "periodType": "MONTH",
                          "rounding": "ABSOLUTE",
                          "type": "CUTOFFDATE"
                      },
                      "useLegacyRefundableBalanceAfter": false
                  },
                  "goodwill": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null,
                      "restrictions": [
                          {
                              "period": "",
                              "singleValue": 0,
                              "transactions": 0,
                              "value": 0
                          }
                      ]
                  },
                  "householdSharing": {
                      "enabled": true
                  },
                  "lock": null,
                  "pointsLimit": {
                      "exceed": false,
                      "limit": null,
                      "perPeriodRestrictions": null
                  },
                  "redemptionRates": {
                      "OnboardingPlayground": [
                          {
                              "bonus": 0,
                              "ceiling": 500000,
                              "floor": 10000,
                              "pointsBack": 0,
                              "rate": 0.1,
                              "step": 10000
                          }
                      ]
                  },
                  "spend": {
                      "defaultFunding": [],
                      "enabled": false,
                      "reasonCodes": null
                  }
              },
              "pointsExpiry": null,
              "enrichmentType": "POINTS",
              "schemeName": "Retail Points",
              "schemeReference": "RETAILPOINTS"
          }
      }
  ],
  "additionalEntities": null,
  "walletTransactions": [],
  "accountTransactions": [],
  "basketAdjudicationResult": null,
  "spendAdjudicationResults": null,
  "transactionCapabilities": {
      "loyalty": {
          "spend": true,
          "earn": true
      }
  }
}
Expand to see the Wallet Settle request and response payloads for the original purchase
{
"identity": {
    "identityValue": "1111111111111111_Nov3c"
},
"reference": "20251103080000-111-01-1112",
"lock": true,
"location": {
    "incomingIdentifier": "111",
    "parentIncomingIdentifier": "AFabulousRetailer"
},
  "mode": "ACTIVE",
    "basket": {
          "type": "ENRICHED",
          "summary": {
              "totalItems": 6,
              "totalBasketValue": 5410,
              "totalDiscountAmount": {
                  "promotions": 1590
              },
              "qualifiesResults": [
                  {
                      "instanceId": "101824930-1",
                      "totalMatchingUnits": null,
                      "totalMatchingSpend": 1000,
                      "totalOverallMatchingSpend": null
                  },
                  {
                      "instanceId": "101824928-1",
                      "totalMatchingUnits": null,
                      "totalMatchingSpend": 1000,
                      "totalOverallMatchingSpend": null
                  }
              ],
              "adjustmentResults": [
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824930",
                      "instanceId": "101824930-1",
                      "relatedAccountIds": [],
                      "success": null,
                      "type": "createRedeem",
                      "multiItem": [],
                      "value": 490,
                      "isUnredeemable": false,
                      "targetedAccountId": null,
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 3,
                      "totalRewardUnits": 6,
                      "totalDiscountAmount": 490
                  }
              ],
              "results": {
                  "points": {
                      "spend": 0,
                      "debit": 0,
                      "refund": 0,
                      "totalPointsTaken": 0,
                      "earn": 440,
                      "credit": 1500,
                      "totalPointsGiven": 1940,
                      "totalMonetaryValue": 0
                  },
                  "tiers": null
              },
              "adjudicationResults": [
                  {
                      "resourceType": "SCHEME",
                      "resourceId": "1743751",
                      "instanceId": "1743751-1",
                      "success": null,
                      "type": "earn",
                      "value": null,
                      "balances": {
                          "current": 440
                      },
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": "4770765806",
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 4
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824928",
                      "instanceId": "101824928-1",
                      "success": null,
                      "type": "redeem",
                      "value": 400,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770765805"
                      ],
                      "targetedAccountId": "4770765805",
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 7,
                      "totalRewardUnits": 12
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "101824928",
                      "instanceId": "101824928-1",
                      "success": null,
                      "type": "credit",
                      "value": null,
                      "balances": {
                          "current": 400
                      },
                      "isRefundable": true,
                      "isUnredeemable": true,
                      "relatedAccountIds": [
                          "4770765805"
                      ],
                      "targetedAccountId": "4770765806",
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 7
                  },
                  {
                      "resourceType": "CAMPAIGN",
                      "resourceId": "100560999",
                      "instanceId": "100560999-1",
                      "success": null,
                      "type": "createRedeem",
                      "value": 0,
                      "balances": null,
                      "isRefundable": true,
                      "isUnredeemable": false,
                      "relatedAccountIds": [],
                      "targetedAccountId": null,
                      "targetedWalletId": "249001230",
                      "totalMatchingUnits": null,
                      "playOrderPosition": 8,
                      "totalRewardUnits": 0
                  }
              ]
          },
          "contents": [
              {
                  "upc": "245874",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 2000,
                  "totalUnitCost": 2000,
                  "description": "Lemonade",
                  "itemUnitCount": 2,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 200
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 183
                      },
                      {
                          "instanceId": "100561737-1",
                          "value": 600
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 165
                      }
                  ],
                  "adjudicationResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100561737",
                          "instanceId": "100561737-1",
                          "success": null,
                          "type": "createRedeem",
                          "value": 600,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": null,
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 6,
                          "totalRewardUnits": 2
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100561737",
                          "instanceId": "100561737-1",
                          "success": null,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 600
                          },
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 6
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100561737-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245875",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Coffee",
                  "itemUnitCount": 1,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 100
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 89
                      },
                      {
                          "instanceId": "100560017-1",
                          "value": 500
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 81
                      }
                  ],
                  "adjudicationResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560017",
                          "instanceId": "100560017-1",
                          "success": null,
                          "type": "redeem",
                          "value": 500,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765802"
                          ],
                          "targetedAccountId": "4770765802",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 5,
                          "totalRewardUnits": 1
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560017",
                          "instanceId": "100560017-1",
                          "success": null,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 500
                          },
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765802"
                          ],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 5
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100560017-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245884",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 800,
                  "totalUnitCost": 1000,
                  "description": "Soap",
                  "itemUnitCount": 1,
                  "qualifiesResults": [
                      {
                          "instanceId": "100560018-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560018",
                          "instanceId": "100560018-1",
                          "relatedAccountIds": [],
                          "success": null,
                          "type": "createRedeem",
                          "multiItem": [
                              "245884"
                          ],
                          "value": 200,
                          "isUnredeemable": false,
                          "targetedAccountId": null,
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 1,
                          "totalRewardUnits": 1,
                          "totalDiscountAmount": 200
                      }
                  ],
                  "itemUnitDiscount": 200,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 80
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 71
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 65
                      }
                  ]
              },
              {
                  "upc": "245886",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 100,
                  "totalUnitCost": 1000,
                  "description": "Carrot",
                  "itemUnitCount": 1,
                  "qualifiesResults": [
                      {
                          "instanceId": "100560020-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560020",
                          "instanceId": "100560020-1",
                          "relatedAccountIds": [
                              "4770765803"
                          ],
                          "success": null,
                          "type": "redeem",
                          "multiItem": [],
                          "value": 900,
                          "isUnredeemable": false,
                          "targetedAccountId": "4770765803",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": 1,
                          "playOrderPosition": 2,
                          "totalRewardUnits": 1,
                          "totalDiscountAmount": 900
                      }
                  ],
                  "itemUnitDiscount": 900,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 10
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 8
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 8
                      }
                  ]
              },
              {
                  "upc": "245868",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Pizza",
                  "itemUnitCount": 1,
                  "contributionResults": [
                      {
                          "instanceId": "101824930-1",
                          "value": 100
                      },
                      {
                          "instanceId": "1743751-1",
                          "value": 89
                      },
                      {
                          "instanceId": "101824928-1",
                          "value": 81
                      }
                  ],
                  "qualifiesResults": [
                      {
                          "instanceId": "100560999-1",
                          "totalMatchingUnits": 1,
                          "totalMatchingSpend": 1,
                          "totalOverallMatchingSpend": null
                      }
                  ]
              },
              {
                  "upc": "245872",
                  "itemUnitCost": 1000,
                  "salesKey": "SALE",
                  "totalUnitCostAfterDiscount": 1000,
                  "totalUnitCost": 1000,
                  "description": "Wine",
                  "itemUnitCount": 1
              }
          ],
          "analysedDateTime": "2025-11-03T22:48:48+00:00"
      }
}
{
  "walletTransactions": [
      {
          "walletTransactionId": "533592943",
          "parentWalletTransactionId": "0",
          "walletId": "249001230",
          "reference": "20251103080000-111-01-1112",
          "transactionDateTime": "2025-11-03T22:48:48+00:00",
          "transactionDateTimeOffset": "+00:00",
          "identityId": "201095815",
          "identity": {
              "identityId": "201095815",
              "walletId": "249001230",
              "type": "CUSTOMER_ID",
              "friendlyName": null,
              "value": "1111111111111111_Nov3c",
              "safeValue": null,
              "secret": null,
              "dates": {
                  "start": "2025-11-03T22:47:48+00:00",
                  "end": null
              },
              "meta": [],
              "state": "DEFAULT",
              "status": "ACTIVE",
              "dateCreated": "2025-11-03T22:47:48+00:00",
              "lastUpdated": "2025-11-03T22:47:48+00:00",
              "mobileWallet": "https://sb.uk.mypass.is/identity/142378/249001230/201095815/26780f7747bcdb741e37cc6a6f01e6a9d08e1ba54e8cb876b626eac0e90d9110"
          },
          "type": "SETTLE",
          "status": "SETTLED",
          "meta": null,
          "state": "ORIGINAL",
          "expiryDate": null,
          "accounts": [
              {
                  "accountId": "4770784786",
                  "accountTransactionId": "9432640026"
              },
              {
                  "accountId": "4770784786",
                  "accountTransactionId": "9432640027"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9432640028"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9432640029"
              },
              {
                  "accountId": "4770784788",
                  "accountTransactionId": "9432640030"
              },
              {
                  "accountId": "4770784788",
                  "accountTransactionId": "9432640031"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9432640032"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9432640033"
              },
              {
                  "accountId": "4770765805",
                  "accountTransactionId": "9432640041"
              },
              {
                  "accountId": "4770765802",
                  "accountTransactionId": "9432640044"
              },
              {
                  "accountId": "4770765803",
                  "accountTransactionId": "9432640048"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9432640053"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9432640057"
              }
          ],
          "basket": {
              "contents": [
                  {
                      "upc": "245874",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 2000,
                      "totalUnitCost": 2000,
                      "description": "Lemonade",
                      "itemUnitCount": 2,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 200
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 183
                          },
                          {
                              "instanceId": "100561737-1",
                              "value": 600
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 165
                          }
                      ],
                      "adjudicationResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "success": true,
                              "type": "redeem",
                              "value": 600,
                              "balances": null,
                              "isRefundable": true,
                              "isUnredeemable": false,
                              "relatedAccountIds": [
                                  "4770784787"
                              ],
                              "targetedAccountId": "4770784787",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 6,
                              "totalRewardUnits": 2
                          },
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "success": true,
                              "type": "credit",
                              "value": null,
                              "balances": {
                                  "current": 600
                              },
                              "isRefundable": true,
                              "isUnredeemable": false,
                              "relatedAccountIds": [
                                  "4770784787"
                              ],
                              "targetedAccountId": "4770765806",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": null,
                              "playOrderPosition": 6
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100561737-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245875",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Coffee",
                      "itemUnitCount": 1,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 100
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 89
                          },
                          {
                              "instanceId": "100560017-1",
                              "value": 500
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 81
                          }
                      ],
                      "adjudicationResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560017",
                              "instanceId": "100560017-1",
                              "success": true,
                              "type": "redeem",
                              "value": 500,
                              "balances": null,
                              "isRefundable": true,
                              "isUnredeemable": true,
                              "relatedAccountIds": [
                                  "4770765802"
                              ],
                              "targetedAccountId": "4770765802",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 5,
                              "totalRewardUnits": 1
                          },
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560017",
                              "instanceId": "100560017-1",
                              "success": true,
                              "type": "credit",
                              "value": null,
                              "balances": {
                                  "current": 500
                              },
                              "isRefundable": true,
                              "isUnredeemable": true,
                              "relatedAccountIds": [
                                  "4770765802"
                              ],
                              "targetedAccountId": "4770765806",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": null,
                              "playOrderPosition": 5
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100560017-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245884",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 800,
                      "totalUnitCost": 1000,
                      "description": "Soap",
                      "itemUnitCount": 1,
                      "qualifiesResults": [
                          {
                              "instanceId": "100560018-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ],
                      "adjustmentResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560018",
                              "instanceId": "100560018-1",
                              "relatedAccountIds": [
                                  "4770784789"
                              ],
                              "success": true,
                              "type": "redeem",
                              "multiItem": [
                                  "245884"
                              ],
                              "value": 200,
                              "isUnredeemable": false,
                              "targetedAccountId": "4770784789",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 1,
                              "totalRewardUnits": 1,
                              "totalDiscountAmount": 200
                          }
                      ],
                      "itemUnitDiscount": 200,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 80
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 71
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 65
                          }
                      ]
                  },
                  {
                      "upc": "245886",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 100,
                      "totalUnitCost": 1000,
                      "description": "Carrot",
                      "itemUnitCount": 1,
                      "qualifiesResults": [
                          {
                              "instanceId": "100560020-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ],
                      "adjustmentResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560020",
                              "instanceId": "100560020-1",
                              "relatedAccountIds": [
                                  "4770765803"
                              ],
                              "success": true,
                              "type": "redeem",
                              "multiItem": [],
                              "value": 900,
                              "isUnredeemable": false,
                              "targetedAccountId": "4770765803",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 2,
                              "totalRewardUnits": 1,
                              "totalDiscountAmount": 900
                          }
                      ],
                      "itemUnitDiscount": 900,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 10
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 8
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 8
                          }
                      ]
                  },
                  {
                      "upc": "245868",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Pizza",
                      "itemUnitCount": 1,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 100
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 89
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 81
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100560999-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245872",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Wine",
                      "itemUnitCount": 1
                  }
              ],
              "summary": {
                  "totalItems": 6,
                  "totalBasketValue": 5410,
                  "totalDiscountAmount": {
                      "promotions": 1590
                  },
                  "qualifiesResults": [
                      {
                          "instanceId": "101824930-1",
                          "totalMatchingUnits": null,
                          "totalMatchingSpend": 1000,
                          "totalOverallMatchingSpend": null
                      },
                      {
                          "instanceId": "101824928-1",
                          "totalMatchingUnits": null,
                          "totalMatchingSpend": 1000,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824930",
                          "instanceId": "101824930-1",
                          "relatedAccountIds": [
                              "4770784788"
                          ],
                          "success": true,
                          "type": "redeem",
                          "multiItem": [],
                          "value": 490,
                          "isUnredeemable": false,
                          "targetedAccountId": "4770784788",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 3,
                          "totalRewardUnits": 6,
                          "totalDiscountAmount": 490
                      }
                  ],
                  "results": {
                      "points": {
                          "spend": 0,
                          "debit": 0,
                          "refund": 0,
                          "totalPointsTaken": 0,
                          "earn": 440,
                          "credit": 1500,
                          "totalPointsGiven": 1940,
                          "totalMonetaryValue": 0
                      },
                      "tiers": null
                  },
                  "adjudicationResults": [
                      {
                          "resourceType": "SCHEME",
                          "resourceId": "1743751",
                          "instanceId": "1743751-1",
                          "success": true,
                          "type": "earn",
                          "value": null,
                          "balances": {
                              "current": 440
                          },
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 4
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824928",
                          "instanceId": "101824928-1",
                          "success": true,
                          "type": "redeem",
                          "value": 400,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765805"
                          ],
                          "targetedAccountId": "4770765805",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 7,
                          "totalRewardUnits": 12
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824928",
                          "instanceId": "101824928-1",
                          "success": true,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 400
                          },
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765805"
                          ],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 7
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560999",
                          "instanceId": "100560999-1",
                          "success": true,
                          "type": "redeem",
                          "value": 0,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [
                              "4770784786"
                          ],
                          "targetedAccountId": "4770784786",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 8,
                          "totalRewardUnits": 0
                      }
                  ],
                  "expectedPoints": [
                      {
                          "schemeId": "1743751",
                          "earn": 440,
                          "credit": 1500,
                          "isPending": false
                      }
                  ]
              },
              "payment": null
          },
          "channel": "api",
          "location": {
              "storeId": "111",
              "storeParentId": "AFabulousRetailer"
          },
          "dateCreated": "2025-11-03T22:48:48+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      }
  ],
  "accountTransactions": [
      {
          "accountTransactionId": "9432640026",
          "parentAccountTransactionId": "",
          "accountId": "4770784786",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640027",
          "parentAccountTransactionId": "",
          "accountId": "4770784786",
          "event": "REDEEM",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640028",
          "parentAccountTransactionId": "",
          "accountId": "4770784787",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640029",
          "parentAccountTransactionId": "",
          "accountId": "4770784787",
          "event": "REDEEM",
          "value": 600,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640030",
          "parentAccountTransactionId": "",
          "accountId": "4770784788",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640031",
          "parentAccountTransactionId": "",
          "accountId": "4770784788",
          "event": "REDEEM",
          "value": 490,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640032",
          "parentAccountTransactionId": "",
          "accountId": "4770784789",
          "event": "CREATE",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640033",
          "parentAccountTransactionId": "",
          "accountId": "4770784789",
          "event": "REDEEM",
          "value": 200,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": null,
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640041",
          "parentAccountTransactionId": "",
          "accountId": "4770765805",
          "event": "REDEEM",
          "value": 400,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640044",
          "parentAccountTransactionId": "",
          "accountId": "4770765802",
          "event": "REDEEM",
          "value": 500,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640048",
          "parentAccountTransactionId": "",
          "accountId": "4770765803",
          "event": "REDEEM",
          "value": 900,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "numberOfRewards": 1,
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640053",
          "parentAccountTransactionId": "",
          "accountId": "4770765806",
          "event": "EARN",
          "value": 440,
          "source": 1,
          "balancesBefore": {
              "current": 0,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 440,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      },
      {
          "accountTransactionId": "9432640057",
          "parentAccountTransactionId": "",
          "accountId": "4770765806",
          "event": "CREDIT",
          "value": 1500,
          "source": 1,
          "balancesBefore": {
              "current": 440,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 1940,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      }
  ]
}
Expand to see the Wallet Transaction for the original purchase
   {
          "walletTransactionId": "533592943",
          "parentWalletTransactionId": "0",
          "walletId": "249001230",
          "reference": "20251103080000-111-01-1112",
          "transactionDateTime": "2025-11-03T22:48:48+00:00",
          "transactionDateTimeOffset": "+00:00",
          "identityId": "201095815",
          "identity": null,
          "type": "SETTLE",
          "status": "SETTLED",
          "meta": null,
          "state": "ORIGINAL",
          "expiryDate": null,
          "accounts": [
              {
                  "accountId": "4770784786",
                  "accountTransactionId": "9432640026"
              },
              {
                  "accountId": "4770784786",
                  "accountTransactionId": "9432640027"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9432640028"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9432640029"
              },
              {
                  "accountId": "4770784788",
                  "accountTransactionId": "9432640030"
              },
              {
                  "accountId": "4770784788",
                  "accountTransactionId": "9432640031"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9432640032"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9432640033"
              },
              {
                  "accountId": "4770765805",
                  "accountTransactionId": "9432640041"
              },
              {
                  "accountId": "4770765802",
                  "accountTransactionId": "9432640044"
              },
              {
                  "accountId": "4770765803",
                  "accountTransactionId": "9432640048"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9432640053"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9432640057"
              }
          ],
          "basket": {
              "contents": [
                  {
                      "upc": "245874",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 2000,
                      "totalUnitCost": 2000,
                      "description": "Lemonade",
                      "itemUnitCount": 2,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 200
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 183
                          },
                          {
                              "instanceId": "100561737-1",
                              "value": 600
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 165
                          }
                      ],
                      "adjudicationResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "success": true,
                              "type": "redeem",
                              "value": 600,
                              "balances": null,
                              "isRefundable": true,
                              "isUnredeemable": false,
                              "relatedAccountIds": [
                                  "4770784787"
                              ],
                              "targetedAccountId": "4770784787",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 6,
                              "totalRewardUnits": 2
                          },
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "success": true,
                              "type": "credit",
                              "value": null,
                              "balances": {
                                  "current": 600
                              },
                              "isRefundable": true,
                              "isUnredeemable": false,
                              "relatedAccountIds": [
                                  "4770784787"
                              ],
                              "targetedAccountId": "4770765806",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": null,
                              "playOrderPosition": 6
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100561737-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245875",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Coffee",
                      "itemUnitCount": 1,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 100
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 89
                          },
                          {
                              "instanceId": "100560017-1",
                              "value": 500
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 81
                          }
                      ],
                      "adjudicationResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560017",
                              "instanceId": "100560017-1",
                              "success": true,
                              "type": "redeem",
                              "value": 500,
                              "balances": null,
                              "isRefundable": true,
                              "isUnredeemable": true,
                              "relatedAccountIds": [
                                  "4770765802"
                              ],
                              "targetedAccountId": "4770765802",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 5,
                              "totalRewardUnits": 1
                          },
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560017",
                              "instanceId": "100560017-1",
                              "success": true,
                              "type": "credit",
                              "value": null,
                              "balances": {
                                  "current": 500
                              },
                              "isRefundable": true,
                              "isUnredeemable": true,
                              "relatedAccountIds": [
                                  "4770765802"
                              ],
                              "targetedAccountId": "4770765806",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": null,
                              "playOrderPosition": 5
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100560017-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245884",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 800,
                      "totalUnitCost": 1000,
                      "description": "Soap",
                      "itemUnitCount": 1,
                      "qualifiesResults": [
                          {
                              "instanceId": "100560018-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ],
                      "adjustmentResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560018",
                              "instanceId": "100560018-1",
                              "relatedAccountIds": [
                                  "4770784789"
                              ],
                              "success": true,
                              "type": "redeem",
                              "multiItem": [
                                  "245884"
                              ],
                              "value": 200,
                              "isUnredeemable": false,
                              "targetedAccountId": "4770784789",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 1,
                              "totalRewardUnits": 1,
                              "totalDiscountAmount": 200
                          }
                      ],
                      "itemUnitDiscount": 200,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 80
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 71
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 65
                          }
                      ]
                  },
                  {
                      "upc": "245886",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 100,
                      "totalUnitCost": 1000,
                      "description": "Carrot",
                      "itemUnitCount": 1,
                      "qualifiesResults": [
                          {
                              "instanceId": "100560020-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ],
                      "adjustmentResults": [
                          {
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560020",
                              "instanceId": "100560020-1",
                              "relatedAccountIds": [
                                  "4770765803"
                              ],
                              "success": true,
                              "type": "redeem",
                              "multiItem": [],
                              "value": 900,
                              "isUnredeemable": false,
                              "targetedAccountId": "4770765803",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 2,
                              "totalRewardUnits": 1,
                              "totalDiscountAmount": 900
                          }
                      ],
                      "itemUnitDiscount": 900,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 10
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 8
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 8
                          }
                      ]
                  },
                  {
                      "upc": "245868",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Pizza",
                      "itemUnitCount": 1,
                      "contributionResults": [
                          {
                              "instanceId": "101824930-1",
                              "value": 100
                          },
                          {
                              "instanceId": "1743751-1",
                              "value": 89
                          },
                          {
                              "instanceId": "101824928-1",
                              "value": 81
                          }
                      ],
                      "qualifiesResults": [
                          {
                              "instanceId": "100560999-1",
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null
                          }
                      ]
                  },
                  {
                      "upc": "245872",
                      "itemUnitCost": 1000,
                      "salesKey": "SALE",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Wine",
                      "itemUnitCount": 1
                  }
              ],
              "summary": {
                  "totalItems": 6,
                  "totalBasketValue": 5410,
                  "totalDiscountAmount": {
                      "promotions": 1590
                  },
                  "qualifiesResults": [
                      {
                          "instanceId": "101824930-1",
                          "totalMatchingUnits": null,
                          "totalMatchingSpend": 1000,
                          "totalOverallMatchingSpend": null
                      },
                      {
                          "instanceId": "101824928-1",
                          "totalMatchingUnits": null,
                          "totalMatchingSpend": 1000,
                          "totalOverallMatchingSpend": null
                      }
                  ],
                  "adjustmentResults": [
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824930",
                          "instanceId": "101824930-1",
                          "relatedAccountIds": [
                              "4770784788"
                          ],
                          "success": true,
                          "type": "redeem",
                          "multiItem": [],
                          "value": 490,
                          "isUnredeemable": false,
                          "targetedAccountId": "4770784788",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 3,
                          "totalRewardUnits": 6,
                          "totalDiscountAmount": 490
                      }
                  ],
                  "results": {
                      "points": {
                          "spend": 0,
                          "debit": 0,
                          "refund": 0,
                          "totalPointsTaken": 0,
                          "earn": 440,
                          "credit": 1500,
                          "totalPointsGiven": 1940,
                          "totalMonetaryValue": 0
                      },
                      "tiers": null
                  },
                  "adjudicationResults": [
                      {
                          "resourceType": "SCHEME",
                          "resourceId": "1743751",
                          "instanceId": "1743751-1",
                          "success": true,
                          "type": "earn",
                          "value": null,
                          "balances": {
                              "current": 440
                          },
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 4
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824928",
                          "instanceId": "101824928-1",
                          "success": true,
                          "type": "redeem",
                          "value": 400,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765805"
                          ],
                          "targetedAccountId": "4770765805",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 7,
                          "totalRewardUnits": 12
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "101824928",
                          "instanceId": "101824928-1",
                          "success": true,
                          "type": "credit",
                          "value": null,
                          "balances": {
                              "current": 400
                          },
                          "isRefundable": true,
                          "isUnredeemable": true,
                          "relatedAccountIds": [
                              "4770765805"
                          ],
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 7
                      },
                      {
                          "resourceType": "CAMPAIGN",
                          "resourceId": "100560999",
                          "instanceId": "100560999-1",
                          "success": true,
                          "type": "redeem",
                          "value": 0,
                          "balances": null,
                          "isRefundable": true,
                          "isUnredeemable": false,
                          "relatedAccountIds": [
                              "4770784786"
                          ],
                          "targetedAccountId": "4770784786",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 8,
                          "totalRewardUnits": 0
                      }
                  ],
                  "expectedPoints": [
                      {
                          "schemeId": "1743751",
                          "earn": 440,
                          "credit": 1500,
                          "isPending": false
                      }
                  ]
              },
              "payment": null
          },
          "channel": "api",
          "location": {
              "storeId": "111",
              "storeParentId": "AFabulousRetailer"
          },
          "dateCreated": "2025-11-03T22:48:48+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00"
      }
Expand to see all coupon accounts and points account after the original purchase
         {
          "accountId": "4770765802",
          "walletId": "249001230",
          "campaignId": "100560017",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765802/fc19df2a53df425"
      },
      {
          "accountId": "4770765803",
          "walletId": "249001230",
          "campaignId": "100560020",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765803/f8d5b307d7bb714"
      },
      {
          "accountId": "4770765804",
          "walletId": "249001230",
          "campaignId": "100561823",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:47:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765804/9e44fe1de45f9dc"
      },
      {
          "accountId": "4770765805",
          "walletId": "249001230",
          "campaignId": "101824928",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2026-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765805/998f5033fb262b4"
      },
      {
          "accountId": "4770765806",
          "walletId": "249001230",
          "campaignId": "1743751",
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "current": 1940,
              "usable": 1940,
              "locked": 0,
              "lifetime": 1940,
              "lifetimeSpend": 0,
              "lifetimeSpendValue": 0,
              "pending": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765806/63e683e3691c5cc"
      },
      {
          "accountId": "4770784786",
          "walletId": "249001230",
          "campaignId": "100560999",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:47+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784786/2b7b59350160b89"
      },
      {
          "accountId": "4770784787",
          "walletId": "249001230",
          "campaignId": "100561737",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:46+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784787/759801b42cfd31c"
      },
      {
          "accountId": "4770784788",
          "walletId": "249001230",
          "campaignId": "101824930",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:45+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784788/9222005572b62f1"
      },
      {
          "accountId": "4770784789",
          "walletId": "249001230",
          "campaignId": "100560018",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:44+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784789/4a1b6754cf0179c"
      }
  ]

Use Case - Gemma returns some items

Consider this scenario for all the items that Gemma had originally purchased. Gemma has decided to return the following items for a total refund of £20 out of the original total purchase of £70:

  • 1 of 2 bottles of lemonades for £10.00 each
  • 1 container of coffee for £10.00

The following includes request and response payloads for Gemma's partial refund transaction:

Expand to see the request and response payloads for the partial refund
{
  "reference": "Partial_20251106080000-111-01-1112",
  "originalTransaction": {
      "reference": "20251103080000-111-01-1112"
  },
  "location": {
      "incomingIdentifier": "111",
      "parentIncomingIdentifier": "AFabulousRetailer"
  },
  "basket": {
      "type": "STANDARD",
      "summary": {
          "totalItems": 6,
          "totalBasketValue": 7000
      },
      "contents": [
          {
              "upc": "245874",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Lemonade",
              "itemUnitCount": 1
          },
          {
              "upc": "245875",
              "itemUnitCost": 1000,
              "salesKey": "REFUND",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Coffee",
              "itemUnitCount": 1
          }
      ]
  }
}
{
  "walletTransactions": [
      {
          "walletTransactionId": "535766924",
          "parentWalletTransactionId": "533592943",
          "walletId": "249001230",
          "reference": "Partial_20251106080000-111-01-1112",
          "transactionDateTime": "2025-11-06T22:17:45+00:00",
          "transactionDateTimeOffset": "+00:00",
          "identityId": null,
          "identity": null,
          "type": "REFUND",
          "status": "SETTLED",
          "meta": null,
          "state": "ORIGINAL",
          "expiryDate": null,
          "accounts": [
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9454043215"
              },
              {
                  "accountId": "4770765802",
                  "accountTransactionId": "9454043217"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9454043222"
              },
              {
                  "accountId": "4770765803",
                  "accountTransactionId": "9454043225"
              },
              {
                  "accountId": "4770765805",
                  "accountTransactionId": "9454043229"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043236"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043241"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043245"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043247"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9454043251"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9454043253"
              },
              {
                  "accountId": "4770765803",
                  "accountTransactionId": "9454043257"
              }
          ],
          "basket": {
              "contents": [
                  {
                      "upc": "245874",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Lemonade",
                      "itemUnitCount": 1
                  },
                  {
                      "upc": "245875",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Coffee",
                      "itemUnitCount": 1
                  }
              ],
              "summary": {
                  "totalItems": 6,
                  "totalBasketValue": 7000,
                  "results": {
                      "points": {
                          "spend": 0,
                          "debit": 0,
                          "refund": 1940,
                          "totalPointsTaken": 1940,
                          "earn": 500,
                          "credit": 300,
                          "totalPointsGiven": 800,
                          "totalMonetaryValue": 0
                      }
                  }
              },
              "payment": null
          },
          "channel": "api",
          "location": {
              "storeId": "111",
              "storeParentId": "AFabulousRetailer"
          },
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      }
  ],
  "accountTransactions": [
      {
          "accountTransactionId": "9454043215",
          "parentAccountTransactionId": "9432640029",
          "accountId": "4770784787",
          "event": "UNREDEEM",
          "value": 600,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:45+00:00",
          "lastUpdated": "2025-11-06T22:17:45+00:00"
      },
      {
          "accountTransactionId": "9454043217",
          "parentAccountTransactionId": "9432640044",
          "accountId": "4770765802",
          "event": "UNREDEEM",
          "value": 500,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:45+00:00",
          "lastUpdated": "2025-11-06T22:17:45+00:00"
      },
      {
          "accountTransactionId": "9454043222",
          "parentAccountTransactionId": "9432640033",
          "accountId": "4770784789",
          "event": "UNREDEEM",
          "value": 200,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:45+00:00",
          "lastUpdated": "2025-11-06T22:17:45+00:00"
      },
      {
          "accountTransactionId": "9454043225",
          "parentAccountTransactionId": "9432640048",
          "accountId": "4770765803",
          "event": "UNREDEEM",
          "value": 900,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043229",
          "parentAccountTransactionId": "9432640041",
          "accountId": "4770765805",
          "event": "UNREDEEM",
          "value": 400,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043236",
          "parentAccountTransactionId": "9432640053",
          "accountId": "4770765806",
          "event": "REFUND_DEBIT",
          "value": 440,
          "source": 1,
          "balancesBefore": {
              "current": 1940,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 1500,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043241",
          "parentAccountTransactionId": "9432640057",
          "accountId": "4770765806",
          "event": "REFUND_DEBIT",
          "value": 1500,
          "source": 1,
          "balancesBefore": {
              "current": 1500,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 0,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043245",
          "parentAccountTransactionId": "",
          "accountId": "4770765806",
          "event": "EARN",
          "value": 500,
          "source": 1,
          "balancesBefore": {
              "current": 0,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 500,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043247",
          "parentAccountTransactionId": "",
          "accountId": "4770765806",
          "event": "CREDIT",
          "value": 300,
          "source": 1,
          "balancesBefore": {
              "current": 500,
              "lifetime": 0
          },
          "balancesAfter": {
              "current": 800,
              "lifetime": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043251",
          "parentAccountTransactionId": "",
          "accountId": "4770784787",
          "event": "REDEEM",
          "value": 300,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043253",
          "parentAccountTransactionId": "",
          "accountId": "4770784789",
          "event": "REDEEM",
          "value": 1000,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      },
      {
          "accountTransactionId": "9454043257",
          "parentAccountTransactionId": "",
          "accountId": "4770765803",
          "event": "REDEEM",
          "value": 0,
          "source": 1,
          "balancesBefore": {
              "available": 0,
              "refundable": 0
          },
          "balancesAfter": {
              "available": 0,
              "refundable": 0
          },
          "transactionDetails": {
              "merchant_store_id": "111",
              "merchant_store_parent_id": "AFabulousRetailer"
          },
          "properties": [],
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      }
  ]
}

Wallet Transaction after the Partial Refund

The original wallet transaction is now updated to accurately reflect the updated basket contents, basket spend and rewards after the return. The original wallet transaction state has changed from "ORIGINAL" to "MODIFIED". A new wallet transaction for the refund is created to reflect the items that were returned.

Expand to see the original and refund wallet transactions
{
          "walletTransactionId": "533592943",
          "parentWalletTransactionId": "0",
          "walletId": "249001230",
          "reference": "20251103080000-111-01-1112",
          "transactionDateTime": "2025-11-03T22:48:48+00:00",
          "transactionDateTimeOffset": "+00:00",
          "identityId": "201095815",
          "identity": null,
          "type": "SETTLE",
          "status": "SETTLED",
          "meta": null,
          "state": "MODIFIED",
          "expiryDate": null,
          "accounts": [
              {
                  "accountId": "4770784786",
                  "accountTransactionId": "9432640026"
              },
              {
                  "accountId": "4770784786",
                  "accountTransactionId": "9432640027"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9432640028"
              },
              {
                  "accountId": "4770784788",
                  "accountTransactionId": "9432640030"
              },
              {
                  "accountId": "4770784788",
                  "accountTransactionId": "9432640031"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9432640032"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043245"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043247"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9454043251"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9454043253"
              },
              {
                  "accountId": "4770765803",
                  "accountTransactionId": "9454043257"
              }
          ],
          "basket": {
              "contents": [
                  {
                      "sku": null,
                      "upc": "245874",
                      "salesKey": "SALE",
                      "description": "Lemonade",
                      "itemUnitCost": 1000,
                      "itemUnitMetric": null,
                      "itemUnitCount": 1,
                      "itemFulfilCount": null,
                      "itemUnitDiscount": null,
                      "totalUnitCost": 1000,
                      "totalUnitCostAfterDiscount": 1000,
                      "taxRate": null,
                      "taxAmount": null,
                      "qualifies": {
                          "points": true,
                          "discount": true
                      },
                      "relatedContents": null,
                      "qualifiesResults": [
                          {
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null,
                              "instanceId": "100561737-1"
                          }
                      ],
                      "contributionResults": [
                          {
                              "value": 200,
                              "instanceId": "101824930-1"
                          },
                          {
                              "value": 183,
                              "instanceId": "1743751-1"
                          },
                          {
                              "value": 600,
                              "instanceId": "100561737-1"
                          },
                          {
                              "value": 165,
                              "instanceId": "101824928-1"
                          },
                          {
                              "value": 100,
                              "instanceId": "1743751-1"
                          }
                      ],
                      "meta": null,
                      "redemptionPartnerIncomingIdentifier": null,
                      "outletIncomingIdentifier": null,
                      "adjudicationResults": [
                          {
                              "value": 300,
                              "isRefundable": true,
                              "balances": null,
                              "rewardType": null,
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "relatedAccountIds": [
                                  "4770784787"
                              ],
                              "success": true,
                              "type": "redeem",
                              "isUnredeemable": false,
                              "targetedAccountId": "4770784787",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": null,
                              "playOrderPosition": null,
                              "totalRewardUnits": null
                          },
                          {
                              "value": null,
                              "isRefundable": true,
                              "balances": {
                                  "current": 300
                              },
                              "rewardType": null,
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100561737",
                              "instanceId": "100561737-1",
                              "relatedAccountIds": [
                                  "4770784787"
                              ],
                              "success": true,
                              "type": "credit",
                              "isUnredeemable": false,
                              "targetedAccountId": "4770765806",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": null,
                              "playOrderPosition": null,
                              "totalRewardUnits": null
                          }
                      ],
                      "adjustmentResults": null,
                      "bounceBackResults": null,
                      "tenderResults": null,
                      "adjustmentRules": null
                  },
                  {
                      "sku": null,
                      "upc": "245884",
                      "salesKey": "SALE",
                      "description": "Soap",
                      "itemUnitCost": 1000,
                      "itemUnitMetric": null,
                      "itemUnitCount": 1,
                      "itemFulfilCount": null,
                      "itemUnitDiscount": -1000,
                      "totalUnitCost": 1000,
                      "totalUnitCostAfterDiscount": 2000,
                      "taxRate": null,
                      "taxAmount": null,
                      "qualifies": {
                          "points": true,
                          "discount": true
                      },
                      "relatedContents": null,
                      "qualifiesResults": [
                          {
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null,
                              "instanceId": "100560018-1"
                          },
                          {
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null,
                              "instanceId": "100560018-1"
                          }
                      ],
                      "contributionResults": [
                          {
                              "value": 80,
                              "instanceId": "101824930-1"
                          },
                          {
                              "value": 71,
                              "instanceId": "1743751-1"
                          },
                          {
                              "value": 65,
                              "instanceId": "101824928-1"
                          },
                          {
                              "value": 200,
                              "instanceId": "1743751-1"
                          }
                      ],
                      "meta": null,
                      "redemptionPartnerIncomingIdentifier": null,
                      "outletIncomingIdentifier": null,
                      "adjudicationResults": null,
                      "adjustmentResults": [
                          {
                              "totalDiscountAmount": -1000,
                              "multiItem": [
                                  "245884"
                              ],
                              "value": -1000,
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560018",
                              "instanceId": "100560018-1",
                              "relatedAccountIds": [
                                  "4770784789"
                              ],
                              "success": true,
                              "type": "redeem",
                              "isUnredeemable": false,
                              "targetedAccountId": "4770784789",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": -1,
                              "playOrderPosition": 1,
                              "totalRewardUnits": 1
                          }
                      ],
                      "bounceBackResults": null,
                      "tenderResults": null,
                      "adjustmentRules": null
                  },
                  {
                      "sku": null,
                      "upc": "245886",
                      "salesKey": "SALE",
                      "description": "Carrot",
                      "itemUnitCost": 1000,
                      "itemUnitMetric": null,
                      "itemUnitCount": 1,
                      "itemFulfilCount": null,
                      "itemUnitDiscount": 0,
                      "totalUnitCost": 1000,
                      "totalUnitCostAfterDiscount": 1000,
                      "taxRate": null,
                      "taxAmount": null,
                      "qualifies": {
                          "points": true,
                          "discount": true
                      },
                      "relatedContents": null,
                      "qualifiesResults": [
                          {
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null,
                              "instanceId": "100560020-1"
                          },
                          {
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null,
                              "instanceId": "100560020-1"
                          }
                      ],
                      "contributionResults": [
                          {
                              "value": 10,
                              "instanceId": "101824930-1"
                          },
                          {
                              "value": 8,
                              "instanceId": "1743751-1"
                          },
                          {
                              "value": 8,
                              "instanceId": "101824928-1"
                          },
                          {
                              "value": 100,
                              "instanceId": "1743751-1"
                          }
                      ],
                      "meta": null,
                      "redemptionPartnerIncomingIdentifier": null,
                      "outletIncomingIdentifier": null,
                      "adjudicationResults": null,
                      "adjustmentResults": [
                          {
                              "totalDiscountAmount": 0,
                              "multiItem": [],
                              "value": 0,
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560020",
                              "instanceId": "100560020-1",
                              "relatedAccountIds": [
                                  "4770765803"
                              ],
                              "success": true,
                              "type": "redeem",
                              "isUnredeemable": false,
                              "targetedAccountId": "4770765803",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": 1,
                              "playOrderPosition": 2,
                              "totalRewardUnits": 1
                          }
                      ],
                      "bounceBackResults": null,
                      "tenderResults": null,
                      "adjustmentRules": null
                  },
                  {
                      "sku": null,
                      "upc": "245868",
                      "salesKey": "SALE",
                      "description": "Pizza",
                      "itemUnitCost": 1000,
                      "itemUnitMetric": null,
                      "itemUnitCount": 1,
                      "itemFulfilCount": null,
                      "itemUnitDiscount": null,
                      "totalUnitCost": 1000,
                      "totalUnitCostAfterDiscount": 1000,
                      "taxRate": null,
                      "taxAmount": null,
                      "qualifies": {
                          "points": true,
                          "discount": true
                      },
                      "relatedContents": null,
                      "qualifiesResults": [
                          {
                              "totalMatchingUnits": 1,
                              "totalMatchingSpend": 1,
                              "totalOverallMatchingSpend": null,
                              "instanceId": "100560999-1"
                          }
                      ],
                      "contributionResults": [
                          {
                              "value": 100,
                              "instanceId": "101824930-1"
                          },
                          {
                              "value": 89,
                              "instanceId": "1743751-1"
                          },
                          {
                              "value": 81,
                              "instanceId": "101824928-1"
                          },
                          {
                              "value": 100,
                              "instanceId": "1743751-1"
                          }
                      ],
                      "meta": null,
                      "redemptionPartnerIncomingIdentifier": null,
                      "outletIncomingIdentifier": null,
                      "adjudicationResults": [
                          {
                              "value": 0,
                              "isRefundable": true,
                              "balances": null,
                              "rewardType": null,
                              "resourceType": "CAMPAIGN",
                              "resourceId": "100560999",
                              "instanceId": "100560999-1",
                              "relatedAccountIds": [
                                  "4770784786"
                              ],
                              "success": true,
                              "type": "redeem",
                              "isUnredeemable": false,
                              "targetedAccountId": "4770784786",
                              "targetedWalletId": "249001230",
                              "totalMatchingUnits": null,
                              "playOrderPosition": null,
                              "totalRewardUnits": null
                          }
                      ],
                      "adjustmentResults": null,
                      "bounceBackResults": null,
                      "tenderResults": null,
                      "adjustmentRules": null
                  },
                  {
                      "sku": null,
                      "upc": "245872",
                      "salesKey": "SALE",
                      "description": "Wine",
                      "itemUnitCost": 1000,
                      "itemUnitMetric": null,
                      "itemUnitCount": 1,
                      "itemFulfilCount": null,
                      "itemUnitDiscount": null,
                      "totalUnitCost": 1000,
                      "totalUnitCostAfterDiscount": 1000,
                      "taxRate": null,
                      "taxAmount": null,
                      "qualifies": {
                          "points": true,
                          "discount": true
                      },
                      "relatedContents": null,
                      "qualifiesResults": null,
                      "contributionResults": null,
                      "meta": null,
                      "redemptionPartnerIncomingIdentifier": null,
                      "outletIncomingIdentifier": null,
                      "adjudicationResults": null,
                      "adjustmentResults": null,
                      "bounceBackResults": null,
                      "tenderResults": null,
                      "adjustmentRules": null
                  }
              ],
              "summary": {
                  "totalItems": 0,
                  "totalBasketValue": 6000,
                  "totalQualifyingAmount": null,
                  "totalDiscountAmount": {
                      "promotions": -1000,
                      "staff": null,
                      "general": null
                  },
                  "totalTaxAmount": null,
                  "fulfilledBaseEarn": null,
                  "expectedPoints": [
                      {
                          "schemeId": "1743751",
                          "earn": 440,
                          "credit": 1500,
                          "isPending": false
                      }
                  ],
                  "originalQualifiedAccounts": null,
                  "spendAdjudicationResults": null,
                  "results": {
                      "points": {
                          "spend": 0,
                          "debit": 0,
                          "refund": 0,
                          "totalPointsTaken": 0,
                          "earn": 500,
                          "credit": 300,
                          "totalPointsGiven": 800,
                          "totalMonetaryValue": 0
                      },
                      "pointsByScheme": null,
                      "tiers": null
                  },
                  "qualifiesResults": null,
                  "reporting": null,
                  "tierMembershipResults": null,
                  "redemptionChannel": null,
                  "adjudicationResults": [
                      {
                          "value": null,
                          "isRefundable": true,
                          "balances": {
                              "current": 500
                          },
                          "rewardType": null,
                          "resourceType": "SCHEME",
                          "resourceId": "1743751",
                          "instanceId": "1743751-1",
                          "relatedAccountIds": [],
                          "success": true,
                          "type": "earn",
                          "isUnredeemable": false,
                          "targetedAccountId": "4770765806",
                          "targetedWalletId": "249001230",
                          "totalMatchingUnits": null,
                          "playOrderPosition": 3,
                          "totalRewardUnits": null
                      }
                  ],
                  "adjustmentResults": null,
                  "bounceBackResults": null,
                  "tenderResults": null,
                  "adjustmentRules": null
              },
              "payment": null
          },
          "channel": "api",
          "location": {
              "storeId": "111",
              "storeParentId": "AFabulousRetailer"
          },
          "dateCreated": "2025-11-03T22:48:48+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      }
{
          "walletTransactionId": "535766924",
          "parentWalletTransactionId": "533592943",
          "walletId": "249001230",
          "reference": "Partial_20251106080000-111-01-1112",
          "transactionDateTime": "2025-11-06T22:17:45+00:00",
          "transactionDateTimeOffset": "+00:00",
          "identityId": null,
          "identity": null,
          "type": "REFUND",
          "status": "SETTLED",
          "meta": null,
          "state": "ORIGINAL",
          "expiryDate": null,
          "accounts": [
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9454043215"
              },
              {
                  "accountId": "4770765802",
                  "accountTransactionId": "9454043217"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9454043222"
              },
              {
                  "accountId": "4770765803",
                  "accountTransactionId": "9454043225"
              },
              {
                  "accountId": "4770765805",
                  "accountTransactionId": "9454043229"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043236"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043241"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043245"
              },
              {
                  "accountId": "4770765806",
                  "accountTransactionId": "9454043247"
              },
              {
                  "accountId": "4770784787",
                  "accountTransactionId": "9454043251"
              },
              {
                  "accountId": "4770784789",
                  "accountTransactionId": "9454043253"
              },
              {
                  "accountId": "4770765803",
                  "accountTransactionId": "9454043257"
              }
          ],
          "basket": {
              "contents": [
                  {
                      "upc": "245874",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Lemonade",
                      "itemUnitCount": 1
                  },
                  {
                      "upc": "245875",
                      "itemUnitCost": 1000,
                      "salesKey": "REFUND",
                      "totalUnitCostAfterDiscount": 1000,
                      "totalUnitCost": 1000,
                      "description": "Coffee",
                      "itemUnitCount": 1
                  }
              ],
              "summary": {
                  "totalItems": 6,
                  "totalBasketValue": 7000,
                  "results": {
                      "points": {
                          "spend": 0,
                          "debit": 0,
                          "refund": 1940,
                          "totalPointsTaken": 1940,
                          "earn": 500,
                          "credit": 300,
                          "totalPointsGiven": 800,
                          "totalMonetaryValue": 0
                      }
                  }
              },
              "payment": null
          },
          "channel": "api",
          "location": {
              "storeId": "111",
              "storeParentId": "AFabulousRetailer"
          },
          "dateCreated": "2025-11-06T22:17:46+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00"
      }

Accounts after the Partial Refund

The status of all targeted coupon accounts for "Unredeemable" campaigns have been updated from "USED" to "ACTIVE", since they were still in the eligible window of validity. All other coupon accounts, including those for open campaigns remain in the status of "USED".

The points account now reflects an updated balance after points were clawed back.

Expand to see all coupon accounts and points account after the partial refund
      {
          "accountId": "4770765802",
          "walletId": "249001230",
          "campaignId": "100560017",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-06T22:17:45+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765802/fc19df2a53df425"
      },
      {
          "accountId": "4770765803",
          "walletId": "249001230",
          "campaignId": "100560020",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765803/f8d5b307d7bb714"
      },
      {
          "accountId": "4770765804",
          "walletId": "249001230",
          "campaignId": "100561823",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-03T22:47:48+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765804/9e44fe1de45f9dc"
      },
      {
          "accountId": "4770765805",
          "walletId": "249001230",
          "campaignId": "101824928",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2026-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765805/998f5033fb262b4"
      },
      {
          "accountId": "4770765806",
          "walletId": "249001230",
          "campaignId": "1743751",
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:47:48+00:00",
              "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:47:48+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00",
          "overrides": [],
          "balances": {
              "current": 800,
              "usable": 800,
              "locked": 0,
              "lifetime": 800,
              "lifetimeSpend": 0,
              "lifetimeSpendValue": 0,
              "pending": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770765806/63e683e3691c5cc"
      },
      {
          "accountId": "4770784786",
          "walletId": "249001230",
          "campaignId": "100560999",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:47+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784786/2b7b59350160b89"
      },
      {
          "accountId": "4770784787",
          "walletId": "249001230",
          "campaignId": "100561737",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:46+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784787/759801b42cfd31c"
      },
      {
          "accountId": "4770784788",
          "walletId": "249001230",
          "campaignId": "101824930",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:45+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-03T22:54:29+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784788/9222005572b62f1"
      },
      {
          "accountId": "4770784789",
          "walletId": "249001230",
          "campaignId": "100560018",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
              "start": "2025-11-03T22:48:44+00:00",
              "end": "2025-11-03T22:54:29+00:00"
          },
          "meta": [],
          "dateCreated": "2025-11-03T22:54:29+00:00",
          "lastUpdated": "2025-11-06T22:17:46+00:00",
          "overrides": [],
          "balances": {
              "available": 0,
              "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4770784789/4a1b6754cf0179c"
      }

Summary of Rewards Clawed Back

After Gemma's partial refund, below is a summary of the updated rewards issued to her wallet:

  • Total Discount Reward reversed: £15.90
    • Targeted Coupon Account for the coffee campaign 100560017 (Unredeemable) has been updated from USED to ACTIVE status and can be used in future transactions.
  • Total Points Reward clawed back: 1940
    • Targeted Coupon Account for the basket points campaign 101824928 (Unredeemable) has been updated from USED to ACTIVE status and can be used in future transactions.
  • Alternative Reward of the coupon remains
    • A coupon for future use for redeeming the open Pizza offer that will award 1000 points for spending £10

Minimum Recommended Fields for Refund

Below is a list of minimum recommended fields for the Wallet Refund API for a typical POS Connect integration. Refer to Wallet Refund API documentation for field definitions and additional attributes if necessary.

Request

Expand to see the list of minimum recommended fields for a Refund Request

Header

FieldRecommended
X-POSCONNECT-TRANSACTION-DATETIMEyes

Body

FieldRecommended
originalTransactionyes
originalTransaction.referenceyes
referenceyes
locationyes
location.incomingIdentifieryes
location.parentIncomingIdentifieryes
basketyes
basket.typeyes
basket.summaryyes
basket.summary.totalItemsyes
basket.summary.totalBasketValueyes
basket.contentsyes
basket.contents.upcyes
basket.contents.saleskeyyes
basket.contents.descriptionyes
basket.contents.itemUnitCostyes
basket.contents.itemUnitCountyes
basket.contents.totalUnitCostyes
basket.contents.totalUnitCostAfterDiscountyes