POS Connect Best Practices: Settle

Overview

This documentation will cover:

  1. Settle Integration Flow
  2. A sample purchase transaction use case
  3. Minimum recommended fields for the Wallet Settle API request

References

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

Settle Integration Flow

Within a consumer's purchase journey at POS, after the basket items are adjudicated, the transaction is ready to be settled. At this points a couple of actions occur in parallel:

  1. The consumer makes payment and receives a receipt.
  2. Wallet Settle API is made to complete the transaction in AIR asynchronously to redeem coupons, debit/credit of points and creation/update of wallet transaction(s).
📘

Asynchronous API call

A consumer does not have to wait until Wallet Settle API call is completed. This can happen in the background even after the consumer has left the location of the purchase (in store or online). This is to avoid holding up a consumer longer than necessary.

Use Case - Gemma is shopped out and feeling Fabulous

Gemma is happy with the adjudication results and would like to complete her transaction. She optionally spends her points, makes payment and receives the items along with a receipt. On the receipt she can see all the points she has earned, points spent (if any), the coupons she has redeemed, the discounts she has received and a coupon she is looking forward to use next time. She is shopped out, feeling fabulous and is ready to get on with her exciting day.

📘

Wallet Transaction Reference

reference for each wallet transaction should should be a unique string. It is recommended to populate this string using <YYYYMMDDHHMMS>-<storeNo>-<laneNumber>-<transactionNo> for e.g. 20241103080000-111-01-1111 so that a transaction can easily be tracked back to it's source for troubleshooting an issue.

Settle without Spend

In the background, the following Wallet Settle API request and response are produced in the case where she does not spend any points towards her transaction:

Expand to see payload example
{
    "mode": "ACTIVE",
    "identity": {
        "identityValue": "bd77e7b7992494a944e2017862c0d5e8"
    },
    "reference": "20241103080000-111-01-1120",
    "location": {
        "incomingIdentifier": "111",
        "parentIncomingIdentifier": "AFabulousRetailer"
    },
    "basket": {
        "type": "ENRICHED",
        "summary": {
            "totalItems": 6,
            "totalBasketValue": 5900,
            "results": {
                "points": {
                    "spend": 0,
                    "debit": 0,
                    "refund": 0,
                    "totalPointsTaken": 0,
                    "earn": 490,
                    "credit": 1100,
                    "totalPointsGiven": 1590,
                    "totalMonetaryValue": 0
                },
                "tiers": null
            },
            "totalDiscountAmount": {
                "promotions": 1100
            },
            "adjudicationResults": [
                {
                    "resourceType": "SCHEME",
                    "resourceId": "1743751",
                    "instanceId": "1743751-1",
                    "success": null,
                    "type": "earn",
                    "value": null,
                    "balances": {
                        "current": 490
                    },
                    "isRefundable": true,
                    "isUnredeemable": false,
                    "relatedAccountIds": [],
                    "targetedAccountId": "4131304660",
                    "targetedWalletId": "217190198",
                    "totalMatchingUnits": null,
                    "playOrderPosition": 3
                },
                {
                    "resourceType": "CAMPAIGN",
                    "resourceId": "100560999",
                    "instanceId": "100560999-1",
                    "success": null,
                    "type": "createRedeem",
                    "value": 0,
                    "balances": null,
                    "isRefundable": true,
                    "isUnredeemable": false,
                    "relatedAccountIds": [],
                    "targetedAccountId": null,
                    "targetedWalletId": "217190198",
                    "totalMatchingUnits": null,
                    "playOrderPosition": 5,
                    "totalRewardUnits": 0
                }
            ]
        },
        "contents": [
            {
                "upc": "245874",
                "itemUnitCost": 1000,
                "salesKey": "SALE",
                "totalUnitCostAfterDiscount": 2000,
                "totalUnitCost": 2000,
                "description": "Lemonade",
                "itemUnitCount": 2,
                "contributionResults": [
                    {
                        "instanceId": "1743751-1",
                        "value": 200
                    },
                    {
                        "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": "217190198",
                        "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": "4131304660",
                        "targetedWalletId": "217190198",
                        "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": "1743751-1",
                        "value": 100
                    },
                    {
                        "instanceId": "100560017-1",
                        "value": 500
                    }
                ],
                "adjudicationResults": [
                    {
                        "resourceType": "CAMPAIGN",
                        "resourceId": "100560017",
                        "instanceId": "100560017-1",
                        "success": null,
                        "type": "redeem",
                        "value": 500,
                        "balances": null,
                        "isRefundable": true,
                        "isUnredeemable": false,
                        "relatedAccountIds": [
                            "4131304657"
                        ],
                        "targetedAccountId": "4131304657",
                        "targetedWalletId": "217190198",
                        "totalMatchingUnits": 1,
                        "playOrderPosition": 4,
                        "totalRewardUnits": 0
                    },
                    {
                        "resourceType": "CAMPAIGN",
                        "resourceId": "100560017",
                        "instanceId": "100560017-1",
                        "success": null,
                        "type": "credit",
                        "value": null,
                        "balances": {
                            "current": 500
                        },
                        "isRefundable": true,
                        "isUnredeemable": false,
                        "relatedAccountIds": [
                            "4131304657"
                        ],
                        "targetedAccountId": "4131304660",
                        "targetedWalletId": "217190198",
                        "totalMatchingUnits": null,
                        "playOrderPosition": 4
                    }
                ],
                "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": "217190198",
                        "totalMatchingUnits": 1,
                        "playOrderPosition": 2,
                        "totalRewardUnits": 1,
                        "totalDiscountAmount": 200
                    }
                ],
                "itemUnitDiscount": 200,
                "contributionResults": [
                    {
                        "instanceId": "1743751-1",
                        "value": 80
                    }
                ]
            },
            {
                "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": [
                            "4131304658"
                        ],
                        "success": null,
                        "type": "redeem",
                        "multiItem": [],
                        "value": 900,
                        "isUnredeemable": false,
                        "targetedAccountId": "4131304658",
                        "targetedWalletId": "217190198",
                        "totalMatchingUnits": 1,
                        "playOrderPosition": 1,
                        "totalRewardUnits": 1,
                        "totalDiscountAmount": 900
                    }
                ],
                "itemUnitDiscount": 900,
                "contributionResults": [
                    {
                        "instanceId": "1743751-1",
                        "value": 10
                    }
                ]
            },
            {
                "upc": "245868",
                "itemUnitCost": 1000,
                "salesKey": "SALE",
                "totalUnitCostAfterDiscount": 1000,
                "totalUnitCost": 1000,
                "description": "Pizza",
                "itemUnitCount": 1,
                "contributionResults": [
                    {
                        "instanceId": "1743751-1",
                        "value": 100
                    }
                ],
                "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-02-22T22:19:47+00:00"
    }
}
{
    "walletTransactions": [
        {
            "walletTransactionId": "445816968",
            "parentWalletTransactionId": "0",
            "walletId": "217190198",
            "reference": "20241103080000-111-01-1120",
            "transactionDateTime": "2025-02-22T22:19:47+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "188245105",
            "identity": {
                "identityId": "188245105",
                "walletId": "217190198",
                "type": "CUSTOMER_ID",
                "friendlyName": null,
                "value": "bd77e7b7992494a944e2017862c0d5e8",
                "safeValue": null,
                "secret": null,
                "dates": {
                    "start": "2025-02-22T22:18:24+00:00",
                    "end": null
                },
                "meta": [],
                "state": "DEFAULT",
                "status": "ACTIVE",
                "dateCreated": "2025-02-22T22:18:24+00:00",
                "lastUpdated": "2025-02-22T22:18:24+00:00",
                "mobileWallet": "https://sb.uk.mypass.is/identity/142378/217190198/188245105/afcb3abd2f72944fd0ba5dcded548f2afda773b577857498aa755bacefe31465"
            },
            "type": "SETTLE",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4131304664",
                    "accountTransactionId": "8023748041"
                },
                {
                    "accountId": "4131304664",
                    "accountTransactionId": "8023748042"
                },
                {
                    "accountId": "4131304665",
                    "accountTransactionId": "8023748043"
                },
                {
                    "accountId": "4131304665",
                    "accountTransactionId": "8023748044"
                },
                {
                    "accountId": "4131304666",
                    "accountTransactionId": "8023748045"
                },
                {
                    "accountId": "4131304666",
                    "accountTransactionId": "8023748046"
                },
                {
                    "accountId": "4131304657",
                    "accountTransactionId": "8023748047"
                },
                {
                    "accountId": "4131304658",
                    "accountTransactionId": "8023748048"
                },
                {
                    "accountId": "4131304660",
                    "accountTransactionId": "8023748049"
                },
                {
                    "accountId": "4131304660",
                    "accountTransactionId": "8023748050"
                }
            ],
            "basket": {
                "contents": [
                    {
                        "upc": "245874",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 2000,
                        "totalUnitCost": 2000,
                        "description": "Lemonade",
                        "itemUnitCount": 2,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 200
                            },
                            {
                                "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": [
                                    "4131304665"
                                ],
                                "targetedAccountId": "4131304665",
                                "targetedWalletId": "217190198",
                                "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": [
                                    "4131304665"
                                ],
                                "targetedAccountId": "4131304660",
                                "targetedWalletId": "217190198",
                                "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": "1743751-1",
                                "value": 100
                            },
                            {
                                "instanceId": "100560017-1",
                                "value": 500
                            }
                        ],
                        "adjudicationResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "redeem",
                                "value": 500,
                                "balances": null,
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304657"
                                ],
                                "targetedAccountId": "4131304657",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 4,
                                "totalRewardUnits": 0
                            },
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "credit",
                                "value": null,
                                "balances": {
                                    "current": 500
                                },
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304657"
                                ],
                                "targetedAccountId": "4131304660",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": null,
                                "playOrderPosition": 4
                            }
                        ],
                        "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": [
                                    "4131304666"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [
                                    "245884"
                                ],
                                "value": 200,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304666",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 2,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 200
                            }
                        ],
                        "itemUnitDiscount": 200,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 80
                            }
                        ]
                    },
                    {
                        "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": [
                                    "4131304658"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [],
                                "value": 900,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304658",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 1,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 900
                            }
                        ],
                        "itemUnitDiscount": 900,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 10
                            }
                        ]
                    },
                    {
                        "upc": "245868",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Pizza",
                        "itemUnitCount": 1,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 100
                            }
                        ],
                        "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": 5900,
                    "results": {
                        "points": {
                            "spend": 0,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 0,
                            "earn": 490,
                            "credit": 1100,
                            "totalPointsGiven": 1590,
                            "totalMonetaryValue": 0
                        },
                        "tiers": null
                    },
                    "totalDiscountAmount": {
                        "promotions": 1100
                    },
                    "adjudicationResults": [
                        {
                            "resourceType": "SCHEME",
                            "resourceId": "1743751",
                            "instanceId": "1743751-1",
                            "success": true,
                            "type": "earn",
                            "value": null,
                            "balances": {
                                "current": 490
                            },
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [],
                            "targetedAccountId": "4131304660",
                            "targetedWalletId": "217190198",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 3
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "100560999",
                            "instanceId": "100560999-1",
                            "success": true,
                            "type": "redeem",
                            "value": 0,
                            "balances": null,
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [
                                "4131304664"
                            ],
                            "targetedAccountId": "4131304664",
                            "targetedWalletId": "217190198",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 5,
                            "totalRewardUnits": 0
                        }
                    ],
                    "expectedPoints": [
                        {
                            "schemeId": "1743751",
                            "earn": 490,
                            "credit": 1100,
                            "isPending": false
                        }
                    ]
                },
                "payment": null
            },
            "channel": "api",
            "location": {
                "storeId": "111",
                "storeParentId": "AFabulousRetailer"
            },
            "dateCreated": "2025-02-22T22:19:47+00:00",
            "lastUpdated": "2025-02-22T22:20:39+00:00"
        }
    ],
    "accountTransactions": [
        {
            "accountTransactionId": "8023748041",
            "parentAccountTransactionId": "",
            "accountId": "4131304664",
            "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-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00"
        },
        {
            "accountTransactionId": "8023748042",
            "parentAccountTransactionId": "",
            "accountId": "4131304664",
            "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-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00"
        },
        {
            "accountTransactionId": "8023748043",
            "parentAccountTransactionId": "",
            "accountId": "4131304665",
            "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-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00"
        },
        {
            "accountTransactionId": "8023748044",
            "parentAccountTransactionId": "",
            "accountId": "4131304665",
            "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-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00"
        },
        {
            "accountTransactionId": "8023748045",
            "parentAccountTransactionId": "",
            "accountId": "4131304666",
            "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-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00"
        },
        {
            "accountTransactionId": "8023748046",
            "parentAccountTransactionId": "",
            "accountId": "4131304666",
            "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-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00"
        },
        {
            "accountTransactionId": "8023748047",
            "parentAccountTransactionId": "",
            "accountId": "4131304657",
            "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-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00"
        },
        {
            "accountTransactionId": "8023748048",
            "parentAccountTransactionId": "",
            "accountId": "4131304658",
            "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-02-22T22:20:39+00:00",
            "lastUpdated": "2025-02-22T22:20:39+00:00"
        },
        {
            "accountTransactionId": "8023748049",
            "parentAccountTransactionId": "",
            "accountId": "4131304660",
            "event": "EARN",
            "value": 490,
            "source": 1,
            "balancesBefore": {
                "current": 25000,
                "lifetime": 0
            },
            "balancesAfter": {
                "current": 25490,
                "lifetime": 0
            },
            "transactionDetails": {
                "merchant_store_id": "111",
                "merchant_store_parent_id": "AFabulousRetailer"
            },
            "properties": [],
            "dateCreated": "2025-02-22T22:20:39+00:00",
            "lastUpdated": "2025-02-22T22:20:39+00:00"
        },
        {
            "accountTransactionId": "8023748050",
            "parentAccountTransactionId": "",
            "accountId": "4131304660",
            "event": "CREDIT",
            "value": 1100,
            "source": 1,
            "balancesBefore": {
                "current": 25490,
                "lifetime": 0
            },
            "balancesAfter": {
                "current": 26590,
                "lifetime": 0
            },
            "transactionDetails": {
                "merchant_store_id": "111",
                "merchant_store_parent_id": "AFabulousRetailer"
            },
            "properties": [],
            "dateCreated": "2025-02-22T22:20:39+00:00",
            "lastUpdated": "2025-02-22T22:20:39+00:00"
        }
    ]
}

These actions have taken place in EE AIR:

1. A wallet Transaction is created and settled for Gemma's purchase. Expand to see payload.
 {
            "walletTransactionId": "445816968",
            "parentWalletTransactionId": "0",
            "walletId": "217190198",
            "reference": "20241103080000-111-01-1120",
            "transactionDateTime": "2025-02-22T22:19:47+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "188245105",
            "identity": null,
            "type": "SETTLE",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4131304664",
                    "accountTransactionId": "8023748041"
                },
                {
                    "accountId": "4131304664",
                    "accountTransactionId": "8023748042"
                },
                {
                    "accountId": "4131304665",
                    "accountTransactionId": "8023748043"
                },
                {
                    "accountId": "4131304665",
                    "accountTransactionId": "8023748044"
                },
                {
                    "accountId": "4131304666",
                    "accountTransactionId": "8023748045"
                },
                {
                    "accountId": "4131304666",
                    "accountTransactionId": "8023748046"
                },
                {
                    "accountId": "4131304657",
                    "accountTransactionId": "8023748047"
                },
                {
                    "accountId": "4131304658",
                    "accountTransactionId": "8023748048"
                },
                {
                    "accountId": "4131304660",
                    "accountTransactionId": "8023748049"
                },
                {
                    "accountId": "4131304660",
                    "accountTransactionId": "8023748050"
                }
            ],
            "basket": {
                "contents": [
                    {
                        "upc": "245874",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 2000,
                        "totalUnitCost": 2000,
                        "description": "Lemonade",
                        "itemUnitCount": 2,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 200
                            },
                            {
                                "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": [
                                    "4131304665"
                                ],
                                "targetedAccountId": "4131304665",
                                "targetedWalletId": "217190198",
                                "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": [
                                    "4131304665"
                                ],
                                "targetedAccountId": "4131304660",
                                "targetedWalletId": "217190198",
                                "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": "1743751-1",
                                "value": 100
                            },
                            {
                                "instanceId": "100560017-1",
                                "value": 500
                            }
                        ],
                        "adjudicationResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "redeem",
                                "value": 500,
                                "balances": null,
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304657"
                                ],
                                "targetedAccountId": "4131304657",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 4,
                                "totalRewardUnits": 0
                            },
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "credit",
                                "value": null,
                                "balances": {
                                    "current": 500
                                },
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304657"
                                ],
                                "targetedAccountId": "4131304660",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": null,
                                "playOrderPosition": 4
                            }
                        ],
                        "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": [
                                    "4131304666"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [
                                    "245884"
                                ],
                                "value": 200,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304666",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 2,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 200
                            }
                        ],
                        "itemUnitDiscount": 200,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 80
                            }
                        ]
                    },
                    {
                        "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": [
                                    "4131304658"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [],
                                "value": 900,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304658",
                                "targetedWalletId": "217190198",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 1,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 900
                            }
                        ],
                        "itemUnitDiscount": 900,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 10
                            }
                        ]
                    },
                    {
                        "upc": "245868",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Pizza",
                        "itemUnitCount": 1,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 100
                            }
                        ],
                        "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": 5900,
                    "results": {
                        "points": {
                            "spend": 0,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 0,
                            "earn": 490,
                            "credit": 1100,
                            "totalPointsGiven": 1590,
                            "totalMonetaryValue": 0
                        },
                        "tiers": null
                    },
                    "totalDiscountAmount": {
                        "promotions": 1100
                    },
                    "adjudicationResults": [
                        {
                            "resourceType": "SCHEME",
                            "resourceId": "1743751",
                            "instanceId": "1743751-1",
                            "success": true,
                            "type": "earn",
                            "value": null,
                            "balances": {
                                "current": 490
                            },
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [],
                            "targetedAccountId": "4131304660",
                            "targetedWalletId": "217190198",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 3
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "100560999",
                            "instanceId": "100560999-1",
                            "success": true,
                            "type": "redeem",
                            "value": 0,
                            "balances": null,
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [
                                "4131304664"
                            ],
                            "targetedAccountId": "4131304664",
                            "targetedWalletId": "217190198",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 5,
                            "totalRewardUnits": 0
                        }
                    ],
                    "expectedPoints": [
                        {
                            "schemeId": "1743751",
                            "earn": 490,
                            "credit": 1100,
                            "isPending": false
                        }
                    ]
                },
                "payment": null
            },
            "channel": "api",
            "location": {
                "storeId": "111",
                "storeParentId": "AFabulousRetailer"
            },
            "dateCreated": "2025-02-22T22:19:47+00:00",
            "lastUpdated": "2025-02-22T22:20:39+00:00"
        }
2. Points are awarded to her points account and her balance is increased by 1590 points. Expand to see payload.
 {
            "accountId": "4131304660",
            "walletId": "217190198",
            "campaignId": "1743751",
            "type": "POINTS",
            "clientType": "RETAILPOINTS",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:18:24+00:00",
                "end": "2038-01-19T03:14:07+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:18:24+00:00",
            "lastUpdated": "2025-02-22T22:20:39+00:00",
            "overrides": [],
            "balances": {
                "current": 26590,
                "usable": 26590,
                "locked": 0,
                "lifetime": 26590,
                "lifetimeSpend": 0,
                "lifetimeSpendValue": 0,
                "pending": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304660/fcc8fe9441d0ccc"
        }
3. Two targeted coupons are redeemed and three coupons for open campaigns were created and redeemed. Expand to see payload.
        {
            "accountId": "4131304657",
            "walletId": "217190198",
            "campaignId": "100560017",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:18:24+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:18:24+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304657/00f61b11addc476"
        },
        {
            "accountId": "4131304658",
            "walletId": "217190198",
            "campaignId": "100560020",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:18:24+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:18:24+00:00",
            "lastUpdated": "2025-02-22T22:20:39+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304658/4597663656130d8"
        },
        {
            "accountId": "4131304664",
            "walletId": "217190198",
            "campaignId": "100560999",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:19:46+00:00",
                "end": "2025-02-22T22:20:38+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304664/24e167e3208e792"
        },
        {
            "accountId": "4131304665",
            "walletId": "217190198",
            "campaignId": "100561737",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:19:45+00:00",
                "end": "2025-02-22T22:20:38+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304665/3d75f99f75477ce"
        },
        {
            "accountId": "4131304666",
            "walletId": "217190198",
            "campaignId": "100560018",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:19:44+00:00",
                "end": "2025-02-22T22:20:38+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:20:38+00:00",
            "lastUpdated": "2025-02-22T22:20:38+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304666/03ae12a132e45b3"
        }
4. Event(s) are generated and sent to the recipient system(s). Expand to see payload.
{
  "headers": {
    "eventName": "POSCONNECT.WALLET.SETTLE",
    "eventDate": "2025-02-22T22:20:38.632802",
    "eesEnvironmentType": "sandbox-uk",
    "eesSubsystemId": "pos.sandbox.uk.eagleeye.com",
    "callerIp": "35.244.190.158",
    "unitId": "142378",
    "unitFriendlyName": "Onboarding Playground",
    "clientId": "removed for security",
    "clientIdFriendlyName": "api",
    "eesEventId": "1a81283c-7e6c-4b9b-9788-64f0ba75f000",
    "eesMasterEventId": "Z7pNtmodDzpOSULUrW4b7gAAAYY",
    "externalMessageId": "",
    "eesApiVersion": "7.6"
  },
  "request": {
    "resource": "/connect/wallet/settle",
    "method": "POST",
    "body": "{\n    \"mode\": \"ACTIVE\",\n    \"identity\": {\n        \"identityValue\": \"bd77e7b7992494a944e2017862c0d5e8\"\n    },\n    \"reference\": \"20241103080000-111-01-1120\",\n    \"location\": {\n        \"incomingIdentifier\": \"111\",\n        \"parentIncomingIdentifier\": \"AFabulousRetailer\"\n    },\n    \"basket\": {\n        \"type\": \"ENRICHED\",\n        \"summary\": {\n            \"totalItems\": 6,\n            \"totalBasketValue\": 5900,\n            \"results\": {\n                \"points\": {\n                    \"spend\": 0,\n                    \"debit\": 0,\n                    \"refund\": 0,\n                    \"totalPointsTaken\": 0,\n                    \"earn\": 490,\n                    \"credit\": 1100,\n                    \"totalPointsGiven\": 1590,\n                    \"totalMonetaryValue\": 0\n                },\n                \"tiers\": null\n            },\n            \"totalDiscountAmount\": {\n                \"promotions\": 1100\n            },\n            \"adjudicationResults\": [\n                {\n                    \"resourceType\": \"SCHEME\",\n                    \"resourceId\": \"1743751\",\n                    \"instanceId\": \"1743751-1\",\n                    \"success\": null,\n                    \"type\": \"earn\",\n                    \"value\": null,\n                    \"balances\": {\n                        \"current\": 490\n                    },\n                    \"isRefundable\": true,\n                    \"isUnredeemable\": false,\n                    \"relatedAccountIds\": [],\n                    \"targetedAccountId\": \"4131304660\",\n                    \"targetedWalletId\": \"217190198\",\n                    \"totalMatchingUnits\": null,\n                    \"playOrderPosition\": 3\n                },\n                {\n                    \"resourceType\": \"CAMPAIGN\",\n                    \"resourceId\": \"100560999\",\n                    \"instanceId\": \"100560999-1\",\n                    \"success\": null,\n                    \"type\": \"createRedeem\",\n                    \"value\": 0,\n                    \"balances\": null,\n                    \"isRefundable\": true,\n                    \"isUnredeemable\": false,\n                    \"relatedAccountIds\": [],\n                    \"targetedAccountId\": null,\n                    \"targetedWalletId\": \"217190198\",\n                    \"totalMatchingUnits\": null,\n                    \"playOrderPosition\": 5,\n                    \"totalRewardUnits\": 0\n                }\n            ]\n        },\n        \"contents\": [\n            {\n                \"upc\": \"245874\",\n                \"itemUnitCost\": 1000,\n                \"salesKey\": \"SALE\",\n                \"totalUnitCostAfterDiscount\": 2000,\n                \"totalUnitCost\": 2000,\n                \"description\": \"Lemonade\",\n                \"itemUnitCount\": 2,\n                \"contributionResults\": [\n                    {\n                        \"instanceId\": \"1743751-1\",\n                        \"value\": 200\n                    },\n                    {\n                        \"instanceId\": \"100561737-1\",\n                        \"value\": 600\n                    }\n                ],\n                \"adjudicationResults\": [\n                    {\n                        \"resourceType\": \"CAMPAIGN\",\n                        \"resourceId\": \"100561737\",\n                        \"instanceId\": \"100561737-1\",\n                        \"success\": null,\n                        \"type\": \"createRedeem\",\n                        \"value\": 600,\n                        \"balances\": null,\n                        \"isRefundable\": true,\n                        \"isUnredeemable\": false,\n                        \"relatedAccountIds\": [],\n                        \"targetedAccountId\": null,\n                        \"targetedWalletId\": \"217190198\",\n                        \"totalMatchingUnits\": 1,\n                        \"playOrderPosition\": 6,\n                        \"totalRewardUnits\": 2\n                    },\n                    {\n                        \"resourceType\": \"CAMPAIGN\",\n                        \"resourceId\": \"100561737\",\n                        \"instanceId\": \"100561737-1\",\n                        \"success\": null,\n                        \"type\": \"credit\",\n                        \"value\": null,\n                        \"balances\": {\n                            \"current\": 600\n                        },\n                        \"isRefundable\": true,\n                        \"isUnredeemable\": false,\n                        \"relatedAccountIds\": [],\n                        \"targetedAccountId\": \"4131304660\",\n                        \"targetedWalletId\": \"217190198\",\n                        \"totalMatchingUnits\": null,\n                        \"playOrderPosition\": 6\n                    }\n                ],\n                \"qualifiesResults\": [\n                    {\n                        \"instanceId\": \"100561737-1\",\n                        \"totalMatchingUnits\": 1,\n                        \"totalMatchingSpend\": 1,\n                        \"totalOverallMatchingSpend\": null\n                    }\n                ]\n            },\n            {\n                \"upc\": \"245875\",\n                \"itemUnitCost\": 1000,\n                \"salesKey\": \"SALE\",\n                \"totalUnitCostAfterDiscount\": 1000,\n                \"totalUnitCost\": 1000,\n                \"description\": \"Coffee\",\n                \"itemUnitCount\": 1,\n                \"contributionResults\": [\n                    {\n                        \"instanceId\": \"1743751-1\",\n                        \"value\": 100\n                    },\n                    {\n                        \"instanceId\": \"100560017-1\",\n                        \"value\": 500\n                    }\n                ],\n                \"adjudicationResults\": [\n                    {\n                        \"resourceType\": \"CAMPAIGN\",\n                        \"resourceId\": \"100560017\",\n                        \"instanceId\": \"100560017-1\",\n                        \"success\": null,\n                        \"type\": \"redeem\",\n                        \"value\": 500,\n                        \"balances\": null,\n                        \"isRefundable\": true,\n                        \"isUnredeemable\": false,\n                        \"relatedAccountIds\": [\n                            \"4131304657\"\n                        ],\n                        \"targetedAccountId\": \"4131304657\",\n                        \"targetedWalletId\": \"217190198\",\n                        \"totalMatchingUnits\": 1,\n                        \"playOrderPosition\": 4,\n                        \"totalRewardUnits\": 0\n                    },\n                    {\n                        \"resourceType\": \"CAMPAIGN\",\n                        \"resourceId\": \"100560017\",\n                        \"instanceId\": \"100560017-1\",\n                        \"success\": null,\n                        \"type\": \"credit\",\n                        \"value\": null,\n                        \"balances\": {\n                            \"current\": 500\n                        },\n                        \"isRefundable\": true,\n                        \"isUnredeemable\": false,\n                        \"relatedAccountIds\": [\n                            \"4131304657\"\n                        ],\n                        \"targetedAccountId\": \"4131304660\",\n                        \"targetedWalletId\": \"217190198\",\n                        \"totalMatchingUnits\": null,\n                        \"playOrderPosition\": 4\n                    }\n                ],\n                \"qualifiesResults\": [\n                    {\n                        \"instanceId\": \"100560017-1\",\n                        \"totalMatchingUnits\": 1,\n                        \"totalMatchingSpend\": 1,\n                        \"totalOverallMatchingSpend\": null\n                    }\n                ]\n            },\n            {\n                \"upc\": \"245884\",\n                \"itemUnitCost\": 1000,\n                \"salesKey\": \"SALE\",\n                \"totalUnitCostAfterDiscount\": 800,\n                \"totalUnitCost\": 1000,\n                \"description\": \"Soap\",\n                \"itemUnitCount\": 1,\n                \"qualifiesResults\": [\n                    {\n                        \"instanceId\": \"100560018-1\",\n                        \"totalMatchingUnits\": 1,\n                        \"totalMatchingSpend\": 1,\n                        \"totalOverallMatchingSpend\": null\n                    }\n                ],\n                \"adjustmentResults\": [\n                    {\n                        \"resourceType\": \"CAMPAIGN\",\n                        \"resourceId\": \"100560018\",\n                        \"instanceId\": \"100560018-1\",\n                        \"relatedAccountIds\": [],\n                        \"success\": null,\n                        \"type\": \"createRedeem\",\n                        \"multiItem\": [\n                            \"245884\"\n                        ],\n                        \"value\": 200,\n                        \"isUnredeemable\": false,\n                        \"targetedAccountId\": null,\n                        \"targetedWalletId\": \"217190198\",\n                        \"totalMatchingUnits\": 1,\n                        \"playOrderPosition\": 2,\n                        \"totalRewardUnits\": 1,\n                        \"totalDiscountAmount\": 200\n                    }\n                ],\n                \"itemUnitDiscount\": 200,\n                \"contributionResults\": [\n                    {\n                        \"instanceId\": \"1743751-1\",\n                        \"value\": 80\n                    }\n                ]\n            },\n            {\n                \"upc\": \"245886\",\n                \"itemUnitCost\": 1000,\n                \"salesKey\": \"SALE\",\n                \"totalUnitCostAfterDiscount\": 100,\n                \"totalUnitCost\": 1000,\n                \"description\": \"Carrot\",\n                \"itemUnitCount\": 1,\n                \"qualifiesResults\": [\n                    {\n                        \"instanceId\": \"100560020-1\",\n                        \"totalMatchingUnits\": 1,\n                        \"totalMatchingSpend\": 1,\n                        \"totalOverallMatchingSpend\": null\n                    }\n                ],\n                \"adjustmentResults\": [\n                    {\n                        \"resourceType\": \"CAMPAIGN\",\n                        \"resourceId\": \"100560020\",\n                        \"instanceId\": \"100560020-1\",\n                        \"relatedAccountIds\": [\n                            \"4131304658\"\n                        ],\n                        \"success\": null,\n                        \"type\": \"redeem\",\n                        \"multiItem\": [],\n                        \"value\": 900,\n                        \"isUnredeemable\": false,\n                        \"targetedAccountId\": \"4131304658\",\n                        \"targetedWalletId\": \"217190198\",\n                        \"totalMatchingUnits\": 1,\n                        \"playOrderPosition\": 1,\n                        \"totalRewardUnits\": 1,\n                        \"totalDiscountAmount\": 900\n                    }\n                ],\n                \"itemUnitDiscount\": 900,\n                \"contributionResults\": [\n                    {\n                        \"instanceId\": \"1743751-1\",\n                        \"value\": 10\n                    }\n                ]\n            },\n            {\n                \"upc\": \"245868\",\n                \"itemUnitCost\": 1000,\n                \"salesKey\": \"SALE\",\n                \"totalUnitCostAfterDiscount\": 1000,\n                \"totalUnitCost\": 1000,\n                \"description\": \"Pizza\",\n                \"itemUnitCount\": 1,\n                \"contributionResults\": [\n                    {\n                        \"instanceId\": \"1743751-1\",\n                        \"value\": 100\n                    }\n                ],\n                \"qualifiesResults\": [\n                    {\n                        \"instanceId\": \"100560999-1\",\n                        \"totalMatchingUnits\": 1,\n                        \"totalMatchingSpend\": 1,\n                        \"totalOverallMatchingSpend\": null\n                    }\n                ]\n            },\n            {\n                \"upc\": \"245872\",\n                \"itemUnitCost\": 1000,\n                \"salesKey\": \"SALE\",\n                \"totalUnitCostAfterDiscount\": 1000,\n                \"totalUnitCost\": 1000,\n                \"description\": \"Wine\",\n                \"itemUnitCount\": 1\n            }\n        ],\n        \"analysedDateTime\": \"2025-02-22T22:19:47+00:00\"\n    }\n}",
    "contentType": "application/json",
    "customHeaders": []
  },
  "response": {
    "code": 200,
    "body": "{\"walletTransactions\":[{\"walletTransactionId\":\"445816968\",\"parentWalletTransactionId\":\"0\",\"walletId\":\"217190198\",\"reference\":\"20241103080000-111-01-1120\",\"transactionDateTime\":\"2025-02-22T22:19:47+00:00\",\"transactionDateTimeOffset\":\"+00:00\",\"identityId\":\"188245105\",\"identity\":{\"identityId\":\"188245105\",\"walletId\":\"217190198\",\"type\":\"CUSTOMER_ID\",\"friendlyName\":null,\"value\":\"bd77e7b7992494a944e2017862c0d5e8\",\"safeValue\":null,\"secret\":null,\"dates\":{\"start\":\"2025-02-22T22:18:24+00:00\",\"end\":null},\"meta\":[],\"state\":\"DEFAULT\",\"status\":\"ACTIVE\",\"dateCreated\":\"2025-02-22T22:18:24+00:00\",\"lastUpdated\":\"2025-02-22T22:18:24+00:00\",\"mobileWallet\":\"https:\\/\\/sb.uk.mypass.is\\/identity\\/142378\\/217190198\\/188245105\\/afcb3abd2f72944fd0ba5dcded548f2afda773b577857498aa755bacefe31465\"},\"type\":\"SETTLE\",\"status\":\"SETTLED\",\"meta\":null,\"state\":\"ORIGINAL\",\"expiryDate\":null,\"accounts\":[{\"accountId\":\"4131304664\",\"accountTransactionId\":\"8023748041\"},{\"accountId\":\"4131304664\",\"accountTransactionId\":\"8023748042\"},{\"accountId\":\"4131304665\",\"accountTransactionId\":\"8023748043\"},{\"accountId\":\"4131304665\",\"accountTransactionId\":\"8023748044\"},{\"accountId\":\"4131304666\",\"accountTransactionId\":\"8023748045\"},{\"accountId\":\"4131304666\",\"accountTransactionId\":\"8023748046\"},{\"accountId\":\"4131304657\",\"accountTransactionId\":\"8023748047\"},{\"accountId\":\"4131304658\",\"accountTransactionId\":\"8023748048\"},{\"accountId\":\"4131304660\",\"accountTransactionId\":\"8023748049\"},{\"accountId\":\"4131304660\",\"accountTransactionId\":\"8023748050\"}],\"basket\":{\"contents\":[{\"upc\":\"245874\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":2000,\"totalUnitCost\":2000,\"description\":\"Lemonade\",\"itemUnitCount\":2,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":200},{\"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\":[\"4131304665\"],\"targetedAccountId\":\"4131304665\",\"targetedWalletId\":\"217190198\",\"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\":[\"4131304665\"],\"targetedAccountId\":\"4131304660\",\"targetedWalletId\":\"217190198\",\"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\":\"1743751-1\",\"value\":100},{\"instanceId\":\"100560017-1\",\"value\":500}],\"adjudicationResults\":[{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100560017\",\"instanceId\":\"100560017-1\",\"success\":true,\"type\":\"redeem\",\"value\":500,\"balances\":null,\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4131304657\"],\"targetedAccountId\":\"4131304657\",\"targetedWalletId\":\"217190198\",\"totalMatchingUnits\":1,\"playOrderPosition\":4,\"totalRewardUnits\":0},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100560017\",\"instanceId\":\"100560017-1\",\"success\":true,\"type\":\"credit\",\"value\":null,\"balances\":{\"current\":500},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4131304657\"],\"targetedAccountId\":\"4131304660\",\"targetedWalletId\":\"217190198\",\"totalMatchingUnits\":null,\"playOrderPosition\":4}],\"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\":[\"4131304666\"],\"success\":true,\"type\":\"redeem\",\"multiItem\":[\"245884\"],\"value\":200,\"isUnredeemable\":false,\"targetedAccountId\":\"4131304666\",\"targetedWalletId\":\"217190198\",\"totalMatchingUnits\":1,\"playOrderPosition\":2,\"totalRewardUnits\":1,\"totalDiscountAmount\":200}],\"itemUnitDiscount\":200,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":80}]},{\"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\":[\"4131304658\"],\"success\":true,\"type\":\"redeem\",\"multiItem\":[],\"value\":900,\"isUnredeemable\":false,\"targetedAccountId\":\"4131304658\",\"targetedWalletId\":\"217190198\",\"totalMatchingUnits\":1,\"playOrderPosition\":1,\"totalRewardUnits\":1,\"totalDiscountAmount\":900}],\"itemUnitDiscount\":900,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":10}]},{\"upc\":\"245868\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":1000,\"totalUnitCost\":1000,\"description\":\"Pizza\",\"itemUnitCount\":1,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":100}],\"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\":5900,\"results\":{\"points\":{\"spend\":0,\"debit\":0,\"refund\":0,\"totalPointsTaken\":0,\"earn\":490,\"credit\":1100,\"totalPointsGiven\":1590,\"totalMonetaryValue\":0},\"tiers\":null},\"totalDiscountAmount\":{\"promotions\":1100},\"adjudicationResults\":[{\"resourceType\":\"SCHEME\",\"resourceId\":\"1743751\",\"instanceId\":\"1743751-1\",\"success\":true,\"type\":\"earn\",\"value\":null,\"balances\":{\"current\":490},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[],\"targetedAccountId\":\"4131304660\",\"targetedWalletId\":\"217190198\",\"totalMatchingUnits\":null,\"playOrderPosition\":3},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100560999\",\"instanceId\":\"100560999-1\",\"success\":true,\"type\":\"redeem\",\"value\":0,\"balances\":null,\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4131304664\"],\"targetedAccountId\":\"4131304664\",\"targetedWalletId\":\"217190198\",\"totalMatchingUnits\":null,\"playOrderPosition\":5,\"totalRewardUnits\":0}],\"expectedPoints\":[{\"schemeId\":\"1743751\",\"earn\":490,\"credit\":1100,\"isPending\":false}]},\"payment\":null},\"channel\":\"api\",\"location\":{\"storeId\":\"111\",\"storeParentId\":\"AFabulousRetailer\"},\"dateCreated\":\"2025-02-22T22:19:47+00:00\",\"lastUpdated\":\"2025-02-22T22:20:39+00:00\"}],\"accountTransactions\":[{\"accountTransactionId\":\"8023748041\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304664\",\"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-02-22T22:20:38+00:00\",\"lastUpdated\":\"2025-02-22T22:20:38+00:00\"},{\"accountTransactionId\":\"8023748042\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304664\",\"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-02-22T22:20:38+00:00\",\"lastUpdated\":\"2025-02-22T22:20:38+00:00\"},{\"accountTransactionId\":\"8023748043\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304665\",\"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-02-22T22:20:38+00:00\",\"lastUpdated\":\"2025-02-22T22:20:38+00:00\"},{\"accountTransactionId\":\"8023748044\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304665\",\"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-02-22T22:20:38+00:00\",\"lastUpdated\":\"2025-02-22T22:20:38+00:00\"},{\"accountTransactionId\":\"8023748045\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304666\",\"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-02-22T22:20:38+00:00\",\"lastUpdated\":\"2025-02-22T22:20:38+00:00\"},{\"accountTransactionId\":\"8023748046\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304666\",\"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-02-22T22:20:38+00:00\",\"lastUpdated\":\"2025-02-22T22:20:38+00:00\"},{\"accountTransactionId\":\"8023748047\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304657\",\"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-02-22T22:20:38+00:00\",\"lastUpdated\":\"2025-02-22T22:20:38+00:00\"},{\"accountTransactionId\":\"8023748048\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304658\",\"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-02-22T22:20:39+00:00\",\"lastUpdated\":\"2025-02-22T22:20:39+00:00\"},{\"accountTransactionId\":\"8023748049\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304660\",\"event\":\"EARN\",\"value\":490,\"source\":1,\"balancesBefore\":{\"current\":25000,\"lifetime\":0},\"balancesAfter\":{\"current\":25490,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"111\",\"merchant_store_parent_id\":\"AFabulousRetailer\"},\"properties\":[],\"dateCreated\":\"2025-02-22T22:20:39+00:00\",\"lastUpdated\":\"2025-02-22T22:20:39+00:00\"},{\"accountTransactionId\":\"8023748050\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304660\",\"event\":\"CREDIT\",\"value\":1100,\"source\":1,\"balancesBefore\":{\"current\":25490,\"lifetime\":0},\"balancesAfter\":{\"current\":26590,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"111\",\"merchant_store_parent_id\":\"AFabulousRetailer\"},\"properties\":[],\"dateCreated\":\"2025-02-22T22:20:39+00:00\",\"lastUpdated\":\"2025-02-22T22:20:39+00:00\"}]}",
    "contentType": "application/json;charset=utf-8"
  },
  "atomicOperations": [
    {
      "objectType": "walletTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "walletTransactionId": "445816968",
        "parentWalletTransactionId": "0",
        "walletId": "217190198",
        "reference": "20241103080000-111-01-1120",
        "transactionDateTime": "2025-02-22T22:19:47+00:00",
        "transactionDateTimeOffset": "+00:00",
        "identityId": "188245105",
        "identity": null,
        "type": "SETTLE",
        "status": "SETTLED",
        "meta": null,
        "state": "ORIGINAL",
        "expiryDate": null,
        "accounts": [
          {
            "accountId": "4131304658",
            "accountTransactionId": "0"
          },
          {
            "accountId": "4131304657",
            "accountTransactionId": "0"
          }
        ],
        "basket": {
          "contents": null,
          "summary": null,
          "payment": null
        },
        "channel": "api",
        "location": {
          "storeId": null,
          "storeParentId": null
        },
        "dateCreated": "2025-02-22T22:19:47+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00"
      }
    },
    {
      "objectType": "walletAccountEntity",
      "operationType": "CREATE",
      "objectValue": {
        "accountId": "4131304664",
        "walletId": "217190198",
        "campaignId": "100560999",
        "type": "ECOUPON",
        "clientType": "OFFER",
        "status": "USED",
        "state": "LOADED",
        "dates": {
          "start": "2025-02-22T22:19:46+00:00",
          "end": "2025-02-22T22:20:38+00:00"
        },
        "meta": null,
        "dateCreated": "2025-02-22T22:20:38+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00",
        "overrides": [],
        "balances": {
          "available": 0,
          "refundable": 0
        },
        "relationships": [],
        "mobileWallet": null
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748042",
        "parentAccountTransactionId": "",
        "accountId": "4131304664",
        "account": {
          "accountId": "4131304664",
          "walletId": "217190198",
          "campaignId": "100560999",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:19:46+00:00",
            "end": "2025-02-22T22:20:38+00:00"
          },
          "meta": null,
          "dateCreated": "2025-02-22T22:20:38+00:00",
          "lastUpdated": "2025-02-22T22:20:38+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": null
        },
        "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-02-22T22:20:38+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00"
      }
    },
    {
      "objectType": "walletAccountEntity",
      "operationType": "CREATE",
      "objectValue": {
        "accountId": "4131304665",
        "walletId": "217190198",
        "campaignId": "100561737",
        "type": "ECOUPON",
        "clientType": "OFFER",
        "status": "USED",
        "state": "LOADED",
        "dates": {
          "start": "2025-02-22T22:19:45+00:00",
          "end": "2025-02-22T22:20:38+00:00"
        },
        "meta": null,
        "dateCreated": "2025-02-22T22:20:38+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00",
        "overrides": [],
        "balances": {
          "available": 0,
          "refundable": 0
        },
        "relationships": [],
        "mobileWallet": null
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748044",
        "parentAccountTransactionId": "",
        "accountId": "4131304665",
        "account": {
          "accountId": "4131304665",
          "walletId": "217190198",
          "campaignId": "100561737",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:19:45+00:00",
            "end": "2025-02-22T22:20:38+00:00"
          },
          "meta": null,
          "dateCreated": "2025-02-22T22:20:38+00:00",
          "lastUpdated": "2025-02-22T22:20:38+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": null
        },
        "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-02-22T22:20:38+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00"
      }
    },
    {
      "objectType": "walletAccountEntity",
      "operationType": "CREATE",
      "objectValue": {
        "accountId": "4131304666",
        "walletId": "217190198",
        "campaignId": "100560018",
        "type": "ECOUPON",
        "clientType": "OFFER",
        "status": "USED",
        "state": "LOADED",
        "dates": {
          "start": "2025-02-22T22:19:44+00:00",
          "end": "2025-02-22T22:20:38+00:00"
        },
        "meta": null,
        "dateCreated": "2025-02-22T22:20:38+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00",
        "overrides": [],
        "balances": {
          "available": 0,
          "refundable": 0
        },
        "relationships": [],
        "mobileWallet": null
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748046",
        "parentAccountTransactionId": "",
        "accountId": "4131304666",
        "account": {
          "accountId": "4131304666",
          "walletId": "217190198",
          "campaignId": "100560018",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:19:44+00:00",
            "end": "2025-02-22T22:20:38+00:00"
          },
          "meta": null,
          "dateCreated": "2025-02-22T22:20:38+00:00",
          "lastUpdated": "2025-02-22T22:20:38+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": null
        },
        "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-02-22T22:20:38+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748047",
        "parentAccountTransactionId": "",
        "accountId": "4131304657",
        "account": {
          "accountId": "4131304657",
          "walletId": "217190198",
          "campaignId": "100560017",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:18:24+00:00",
            "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:18:24+00:00",
          "lastUpdated": "2025-02-22T22:20:38+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304657/00f61b11addc476"
        },
        "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-02-22T22:20:38+00:00",
        "lastUpdated": "2025-02-22T22:20:38+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748048",
        "parentAccountTransactionId": "",
        "accountId": "4131304658",
        "account": {
          "accountId": "4131304658",
          "walletId": "217190198",
          "campaignId": "100560020",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:18:24+00:00",
            "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:18:24+00:00",
          "lastUpdated": "2025-02-22T22:20:39+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304658/4597663656130d8"
        },
        "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-02-22T22:20:39+00:00",
        "lastUpdated": "2025-02-22T22:20:39+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748049",
        "parentAccountTransactionId": "",
        "accountId": "4131304660",
        "account": {
          "accountId": "4131304660",
          "walletId": "217190198",
          "campaignId": "1743751",
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:18:24+00:00",
            "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:18:24+00:00",
          "lastUpdated": "2025-02-22T22:20:39+00:00",
          "overrides": [],
          "balances": {
            "current": 25490,
            "usable": 25490,
            "lifetime": 25490,
            "pending": 0,
            "locked": 0,
            "lifetimeSpend": 0,
            "lifetimeSpendValue": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304660/fcc8fe9441d0ccc"
        },
        "event": "EARN",
        "value": 490,
        "source": 1,
        "balancesBefore": {
          "current": 25000,
          "lifetime": 0
        },
        "balancesAfter": {
          "current": 25490,
          "lifetime": 0
        },
        "transactionDetails": {
          "merchant_store_id": "111",
          "merchant_store_parent_id": "AFabulousRetailer"
        },
        "properties": [],
        "dateCreated": "2025-02-22T22:20:39+00:00",
        "lastUpdated": "2025-02-22T22:20:39+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748050",
        "parentAccountTransactionId": "",
        "accountId": "4131304660",
        "account": {
          "accountId": "4131304660",
          "walletId": "217190198",
          "campaignId": "1743751",
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:18:24+00:00",
            "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:18:24+00:00",
          "lastUpdated": "2025-02-22T22:20:39+00:00",
          "overrides": [],
          "balances": {
            "current": 26590,
            "usable": 26590,
            "lifetime": 26590,
            "pending": 0,
            "locked": 0,
            "lifetimeSpend": 0,
            "lifetimeSpendValue": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304660/fcc8fe9441d0ccc"
        },
        "event": "CREDIT",
        "value": 1100,
        "source": 1,
        "balancesBefore": {
          "current": 25490,
          "lifetime": 0
        },
        "balancesAfter": {
          "current": 26590,
          "lifetime": 0
        },
        "transactionDetails": {
          "merchant_store_id": "111",
          "merchant_store_parent_id": "AFabulousRetailer"
        },
        "properties": [],
        "dateCreated": "2025-02-22T22:20:39+00:00",
        "lastUpdated": "2025-02-22T22:20:39+00:00"
      }
    },
    {
      "objectType": "walletTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "walletTransactionId": "445816968",
        "parentWalletTransactionId": "0",
        "walletId": "217190198",
        "reference": "20241103080000-111-01-1120",
        "transactionDateTime": "2025-02-22T22:19:47+00:00",
        "transactionDateTimeOffset": "+00:00",
        "identityId": "188245105",
        "identity": null,
        "type": "SETTLE",
        "status": "SETTLED",
        "meta": null,
        "state": "ORIGINAL",
        "expiryDate": null,
        "accounts": [
          {
            "accountId": "4131304664",
            "accountTransactionId": "8023748041"
          },
          {
            "accountId": "4131304664",
            "accountTransactionId": "8023748042"
          },
          {
            "accountId": "4131304665",
            "accountTransactionId": "8023748043"
          },
          {
            "accountId": "4131304665",
            "accountTransactionId": "8023748044"
          },
          {
            "accountId": "4131304666",
            "accountTransactionId": "8023748045"
          },
          {
            "accountId": "4131304666",
            "accountTransactionId": "8023748046"
          },
          {
            "accountId": "4131304657",
            "accountTransactionId": "8023748047"
          },
          {
            "accountId": "4131304658",
            "accountTransactionId": "8023748048"
          },
          {
            "accountId": "4131304660",
            "accountTransactionId": "8023748049"
          },
          {
            "accountId": "4131304660",
            "accountTransactionId": "8023748050"
          }
        ],
        "basket": {
          "contents": [
            {
              "upc": "245874",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 2000,
              "totalUnitCost": 2000,
              "description": "Lemonade",
              "itemUnitCount": 2,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 200
                },
                {
                  "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": [
                    "4131304665"
                  ],
                  "targetedAccountId": "4131304665",
                  "targetedWalletId": "217190198",
                  "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": [
                    "4131304665"
                  ],
                  "targetedAccountId": "4131304660",
                  "targetedWalletId": "217190198",
                  "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": "1743751-1",
                  "value": 100
                },
                {
                  "instanceId": "100560017-1",
                  "value": 500
                }
              ],
              "adjudicationResults": [
                {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "100560017",
                  "instanceId": "100560017-1",
                  "success": true,
                  "type": "redeem",
                  "value": 500,
                  "balances": null,
                  "isRefundable": true,
                  "isUnredeemable": false,
                  "relatedAccountIds": [
                    "4131304657"
                  ],
                  "targetedAccountId": "4131304657",
                  "targetedWalletId": "217190198",
                  "totalMatchingUnits": 1,
                  "playOrderPosition": 4,
                  "totalRewardUnits": 0
                },
                {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "100560017",
                  "instanceId": "100560017-1",
                  "success": true,
                  "type": "credit",
                  "value": null,
                  "balances": {
                    "current": 500
                  },
                  "isRefundable": true,
                  "isUnredeemable": false,
                  "relatedAccountIds": [
                    "4131304657"
                  ],
                  "targetedAccountId": "4131304660",
                  "targetedWalletId": "217190198",
                  "totalMatchingUnits": null,
                  "playOrderPosition": 4
                }
              ],
              "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": [
                    "4131304666"
                  ],
                  "success": true,
                  "type": "redeem",
                  "multiItem": [
                    "245884"
                  ],
                  "value": 200,
                  "isUnredeemable": false,
                  "targetedAccountId": "4131304666",
                  "targetedWalletId": "217190198",
                  "totalMatchingUnits": 1,
                  "playOrderPosition": 2,
                  "totalRewardUnits": 1,
                  "totalDiscountAmount": 200
                }
              ],
              "itemUnitDiscount": 200,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 80
                }
              ]
            },
            {
              "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": [
                    "4131304658"
                  ],
                  "success": true,
                  "type": "redeem",
                  "multiItem": [],
                  "value": 900,
                  "isUnredeemable": false,
                  "targetedAccountId": "4131304658",
                  "targetedWalletId": "217190198",
                  "totalMatchingUnits": 1,
                  "playOrderPosition": 1,
                  "totalRewardUnits": 1,
                  "totalDiscountAmount": 900
                }
              ],
              "itemUnitDiscount": 900,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 10
                }
              ]
            },
            {
              "upc": "245868",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Pizza",
              "itemUnitCount": 1,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 100
                }
              ],
              "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": 5900,
            "results": {
              "points": {
                "spend": 0,
                "debit": 0,
                "refund": 0,
                "totalPointsTaken": 0,
                "earn": 490,
                "credit": 1100,
                "totalPointsGiven": 1590,
                "totalMonetaryValue": 0
              },
              "tiers": null
            },
            "totalDiscountAmount": {
              "promotions": 1100
            },
            "adjudicationResults": [
              {
                "resourceType": "SCHEME",
                "resourceId": "1743751",
                "instanceId": "1743751-1",
                "success": true,
                "type": "earn",
                "value": null,
                "balances": {
                  "current": 490
                },
                "isRefundable": true,
                "isUnredeemable": false,
                "relatedAccountIds": [],
                "targetedAccountId": "4131304660",
                "targetedWalletId": "217190198",
                "totalMatchingUnits": null,
                "playOrderPosition": 3
              },
              {
                "resourceType": "CAMPAIGN",
                "resourceId": "100560999",
                "instanceId": "100560999-1",
                "success": true,
                "type": "redeem",
                "value": 0,
                "balances": null,
                "isRefundable": true,
                "isUnredeemable": false,
                "relatedAccountIds": [
                  "4131304664"
                ],
                "targetedAccountId": "4131304664",
                "targetedWalletId": "217190198",
                "totalMatchingUnits": null,
                "playOrderPosition": 5,
                "totalRewardUnits": 0
              }
            ],
            "expectedPoints": [
              {
                "schemeId": "1743751",
                "earn": 490,
                "credit": 1100,
                "isPending": false
              }
            ]
          },
          "payment": null
        },
        "channel": "api",
        "location": {
          "storeId": "111",
          "storeParentId": "AFabulousRetailer"
        },
        "dateCreated": "2025-02-22T22:19:47+00:00",
        "lastUpdated": "2025-02-22T22:20:39+00:00"
      }
    }
  ]
}

Settle with Spend

In the case where Gemma spends points towards her transaction, the Wallet Settle API will do two things in the background:

  1. Settle a purchase transaction
  2. Settle an existing active spend transaction and link it to the purchase transaction as a child

And the following request and response payloads are generated:

Expand to see payload example
{
    "mode": "ACTIVE",
    "identity": {
        "identityValue": "66c3b7bda01c8756b883390dca9fbb30"
    },
    "reference": "20241103080000-111-01-1121",
    "location": {
        "incomingIdentifier": "111",
        "parentIncomingIdentifier": "AFabulousRetailer"
    },
    "walletTransactions": [
        {
            "link": true,
            "reference": "20241103080000-111-01-1122",
            "walletId": "217190201",
            "operationType": "SETTLE"
        }
    ],
     "basket": {
            "type": "ENRICHED",
            "summary": {
                "totalItems": 6,
                "totalBasketValue": 5900,
                "results": {
                    "points": {
                        "spend": 0,
                        "debit": 0,
                        "refund": 0,
                        "totalPointsTaken": 0,
                        "earn": 490,
                        "credit": 1100,
                        "totalPointsGiven": 1590,
                        "totalMonetaryValue": 0
                    },
                    "tiers": null
                },
                "totalDiscountAmount": {
                    "promotions": 1100
                },
                "adjudicationResults": [
                    {
                        "resourceType": "SCHEME",
                        "resourceId": "1743751",
                        "instanceId": "1743751-1",
                        "success": null,
                        "type": "earn",
                        "value": null,
                        "balances": {
                            "current": 490
                        },
                        "isRefundable": true,
                        "isUnredeemable": false,
                        "relatedAccountIds": [],
                        "targetedAccountId": "4131304699",
                        "targetedWalletId": "217190201",
                        "totalMatchingUnits": null,
                        "playOrderPosition": 3
                    },
                    {
                        "resourceType": "CAMPAIGN",
                        "resourceId": "100560999",
                        "instanceId": "100560999-1",
                        "success": null,
                        "type": "createRedeem",
                        "value": 0,
                        "balances": null,
                        "isRefundable": true,
                        "isUnredeemable": false,
                        "relatedAccountIds": [],
                        "targetedAccountId": null,
                        "targetedWalletId": "217190201",
                        "totalMatchingUnits": null,
                        "playOrderPosition": 5,
                        "totalRewardUnits": 0
                    }
                ]
            },
            "contents": [
                {
                    "upc": "245874",
                    "itemUnitCost": 1000,
                    "salesKey": "SALE",
                    "totalUnitCostAfterDiscount": 2000,
                    "totalUnitCost": 2000,
                    "description": "Lemonade",
                    "itemUnitCount": 2,
                    "contributionResults": [
                        {
                            "instanceId": "1743751-1",
                            "value": 200
                        },
                        {
                            "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": "217190201",
                            "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": "4131304699",
                            "targetedWalletId": "217190201",
                            "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": "1743751-1",
                            "value": 100
                        },
                        {
                            "instanceId": "100560017-1",
                            "value": 500
                        }
                    ],
                    "adjudicationResults": [
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "100560017",
                            "instanceId": "100560017-1",
                            "success": null,
                            "type": "redeem",
                            "value": 500,
                            "balances": null,
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [
                                "4131304696"
                            ],
                            "targetedAccountId": "4131304696",
                            "targetedWalletId": "217190201",
                            "totalMatchingUnits": 1,
                            "playOrderPosition": 4,
                            "totalRewardUnits": 0
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "100560017",
                            "instanceId": "100560017-1",
                            "success": null,
                            "type": "credit",
                            "value": null,
                            "balances": {
                                "current": 500
                            },
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [
                                "4131304696"
                            ],
                            "targetedAccountId": "4131304699",
                            "targetedWalletId": "217190201",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 4
                        }
                    ],
                    "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": "217190201",
                            "totalMatchingUnits": 1,
                            "playOrderPosition": 2,
                            "totalRewardUnits": 1,
                            "totalDiscountAmount": 200
                        }
                    ],
                    "itemUnitDiscount": 200,
                    "contributionResults": [
                        {
                            "instanceId": "1743751-1",
                            "value": 80
                        }
                    ]
                },
                {
                    "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": [
                                "4131304697"
                            ],
                            "success": null,
                            "type": "redeem",
                            "multiItem": [],
                            "value": 900,
                            "isUnredeemable": false,
                            "targetedAccountId": "4131304697",
                            "targetedWalletId": "217190201",
                            "totalMatchingUnits": 1,
                            "playOrderPosition": 1,
                            "totalRewardUnits": 1,
                            "totalDiscountAmount": 900
                        }
                    ],
                    "itemUnitDiscount": 900,
                    "contributionResults": [
                        {
                            "instanceId": "1743751-1",
                            "value": 10
                        }
                    ]
                },
                {
                    "upc": "245868",
                    "itemUnitCost": 1000,
                    "salesKey": "SALE",
                    "totalUnitCostAfterDiscount": 1000,
                    "totalUnitCost": 1000,
                    "description": "Pizza",
                    "itemUnitCount": 1,
                    "contributionResults": [
                        {
                            "instanceId": "1743751-1",
                            "value": 100
                        }
                    ],
                    "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-02-22T22:34:52+00:00"
        }
}
{
    "walletTransactions": [
        {
            "walletTransactionId": "445816978",
            "parentWalletTransactionId": "0",
            "walletId": "217190201",
            "reference": "20241103080000-111-01-1121",
            "transactionDateTime": "2025-02-22T22:34:52+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "188245110",
            "identity": {
                "identityId": "188245110",
                "walletId": "217190201",
                "type": "CUSTOMER_ID",
                "friendlyName": null,
                "value": "66c3b7bda01c8756b883390dca9fbb30",
                "safeValue": null,
                "secret": null,
                "dates": {
                    "start": "2025-02-22T22:31:49+00:00",
                    "end": null
                },
                "meta": [],
                "state": "DEFAULT",
                "status": "ACTIVE",
                "dateCreated": "2025-02-22T22:31:49+00:00",
                "lastUpdated": "2025-02-22T22:31:49+00:00",
                "mobileWallet": "https://sb.uk.mypass.is/identity/142378/217190201/188245110/3950601b2edbea4619db57235155a50225bc8b11afe6da5ee6ea4fdb12ec953d"
            },
            "type": "SETTLE",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4131304714",
                    "accountTransactionId": "8023748147"
                },
                {
                    "accountId": "4131304714",
                    "accountTransactionId": "8023748148"
                },
                {
                    "accountId": "4131304715",
                    "accountTransactionId": "8023748149"
                },
                {
                    "accountId": "4131304715",
                    "accountTransactionId": "8023748150"
                },
                {
                    "accountId": "4131304716",
                    "accountTransactionId": "8023748151"
                },
                {
                    "accountId": "4131304716",
                    "accountTransactionId": "8023748152"
                },
                {
                    "accountId": "4131304696",
                    "accountTransactionId": "8023748153"
                },
                {
                    "accountId": "4131304697",
                    "accountTransactionId": "8023748154"
                },
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748155"
                },
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748156"
                }
            ],
            "basket": {
                "contents": [
                    {
                        "upc": "245874",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 2000,
                        "totalUnitCost": 2000,
                        "description": "Lemonade",
                        "itemUnitCount": 2,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 200
                            },
                            {
                                "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": [
                                    "4131304715"
                                ],
                                "targetedAccountId": "4131304715",
                                "targetedWalletId": "217190201",
                                "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": [
                                    "4131304715"
                                ],
                                "targetedAccountId": "4131304699",
                                "targetedWalletId": "217190201",
                                "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": "1743751-1",
                                "value": 100
                            },
                            {
                                "instanceId": "100560017-1",
                                "value": 500
                            }
                        ],
                        "adjudicationResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "redeem",
                                "value": 500,
                                "balances": null,
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304696"
                                ],
                                "targetedAccountId": "4131304696",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 4,
                                "totalRewardUnits": 0
                            },
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "credit",
                                "value": null,
                                "balances": {
                                    "current": 500
                                },
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304696"
                                ],
                                "targetedAccountId": "4131304699",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": null,
                                "playOrderPosition": 4
                            }
                        ],
                        "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": [
                                    "4131304716"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [
                                    "245884"
                                ],
                                "value": 200,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304716",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 2,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 200
                            }
                        ],
                        "itemUnitDiscount": 200,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 80
                            }
                        ]
                    },
                    {
                        "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": [
                                    "4131304697"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [],
                                "value": 900,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304697",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 1,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 900
                            }
                        ],
                        "itemUnitDiscount": 900,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 10
                            }
                        ]
                    },
                    {
                        "upc": "245868",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Pizza",
                        "itemUnitCount": 1,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 100
                            }
                        ],
                        "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": 5900,
                    "results": {
                        "points": {
                            "spend": 0,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 0,
                            "earn": 490,
                            "credit": 1100,
                            "totalPointsGiven": 1590,
                            "totalMonetaryValue": 0
                        },
                        "tiers": null
                    },
                    "totalDiscountAmount": {
                        "promotions": 1100
                    },
                    "adjudicationResults": [
                        {
                            "resourceType": "SCHEME",
                            "resourceId": "1743751",
                            "instanceId": "1743751-1",
                            "success": true,
                            "type": "earn",
                            "value": null,
                            "balances": {
                                "current": 490
                            },
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [],
                            "targetedAccountId": "4131304699",
                            "targetedWalletId": "217190201",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 3
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "100560999",
                            "instanceId": "100560999-1",
                            "success": true,
                            "type": "redeem",
                            "value": 0,
                            "balances": null,
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [
                                "4131304714"
                            ],
                            "targetedAccountId": "4131304714",
                            "targetedWalletId": "217190201",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 5,
                            "totalRewardUnits": 0
                        }
                    ],
                    "expectedPoints": [
                        {
                            "schemeId": "1743751",
                            "earn": 490,
                            "credit": 1100,
                            "isPending": false
                        }
                    ]
                },
                "payment": null
            },
            "channel": "api",
            "location": {
                "storeId": "111",
                "storeParentId": "AFabulousRetailer"
            },
            "dateCreated": "2025-02-22T22:34:52+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "walletTransactionId": "445816981",
            "parentWalletTransactionId": "445816978",
            "walletId": "217190201",
            "reference": "20241103080000-111-01-1122",
            "transactionDateTime": "2025-02-22T22:38:07+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "188245110",
            "identity": null,
            "type": "SPEND",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748128"
                },
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748157"
                }
            ],
            "basket": {
                "contents": null,
                "summary": {
                    "totalItems": null,
                    "totalBasketValue": null,
                    "totalQualifyingAmount": null,
                    "totalDiscountAmount": null,
                    "totalTaxAmount": null,
                    "fulfilledBaseEarn": null,
                    "expectedPoints": null,
                    "originalQualifiedAccounts": null,
                    "spendAdjudicationResults": {
                        "pointsValue": 20000,
                        "pointsRemainder": 5000,
                        "monetaryValue": 2000,
                        "balanceAfter": {
                            "current": 5000,
                            "usable": 5000,
                            "locked": 0,
                            "lifetime": 25000,
                            "lifetimeSpend": 20000,
                            "lifetimeSpendValue": 2000,
                            "pending": 0
                        },
                        "appliedTier": {
                            "bonus": 0,
                            "ceiling": 500000,
                            "floor": 10000,
                            "pointsBack": 0,
                            "rate": 0.1,
                            "step": 10000
                        },
                        "operations": [
                            {
                                "resourceType": "SCHEME",
                                "resourceId": "1743751",
                                "accountId": "4131304699",
                                "walletId": "217190201",
                                "operationType": "spend",
                                "value": 20000,
                                "details": null,
                                "balances": {
                                    "current": 20000,
                                    "lifetime_spend": 20000,
                                    "lifetime_spend_value": 2000
                                }
                            }
                        ],
                        "analysedDateTime": "2025-02-22T22:36:35+00:00",
                        "excludedProducts": []
                    },
                    "results": {
                        "points": {
                            "spend": 20000,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 20000,
                            "earn": 0,
                            "credit": 0,
                            "totalPointsGiven": 0,
                            "totalMonetaryValue": 2000
                        },
                        "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-02-22T22:38:07+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        }
    ],
    "accountTransactions": [
        {
            "accountTransactionId": "8023748147",
            "parentAccountTransactionId": "",
            "accountId": "4131304714",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748148",
            "parentAccountTransactionId": "",
            "accountId": "4131304714",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748149",
            "parentAccountTransactionId": "",
            "accountId": "4131304715",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748150",
            "parentAccountTransactionId": "",
            "accountId": "4131304715",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748151",
            "parentAccountTransactionId": "",
            "accountId": "4131304716",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748152",
            "parentAccountTransactionId": "",
            "accountId": "4131304716",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748153",
            "parentAccountTransactionId": "",
            "accountId": "4131304696",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748154",
            "parentAccountTransactionId": "",
            "accountId": "4131304697",
            "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-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748155",
            "parentAccountTransactionId": "",
            "accountId": "4131304699",
            "event": "EARN",
            "value": 490,
            "source": 1,
            "balancesBefore": {
                "current": 25000,
                "lifetime": 0
            },
            "balancesAfter": {
                "current": 25490,
                "lifetime": 0
            },
            "transactionDetails": {
                "merchant_store_id": "111",
                "merchant_store_parent_id": "AFabulousRetailer"
            },
            "properties": [],
            "dateCreated": "2025-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748156",
            "parentAccountTransactionId": "",
            "accountId": "4131304699",
            "event": "CREDIT",
            "value": 1100,
            "source": 1,
            "balancesBefore": {
                "current": 25490,
                "lifetime": 0
            },
            "balancesAfter": {
                "current": 26590,
                "lifetime": 0
            },
            "transactionDetails": {
                "merchant_store_id": "111",
                "merchant_store_parent_id": "AFabulousRetailer"
            },
            "properties": [],
            "dateCreated": "2025-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "accountTransactionId": "8023748157",
            "parentAccountTransactionId": "8023748128",
            "accountId": "4131304699",
            "event": "SPEND",
            "value": 20000,
            "source": 1,
            "balancesBefore": {
                "current": 26590,
                "lifetime": 0
            },
            "balancesAfter": {
                "current": 6590,
                "lifetime": 0
            },
            "transactionDetails": {
                "merchant_store_id": "111",
                "merchant_store_parent_id": "AFabulousRetailer",
                "balances": "{\"CURRENT\":20000,\"LIFETIME_SPEND\":20000,\"LIFETIME_SPEND_VALUE\":2000,\"USABLE\":20000}"
            },
            "properties": [],
            "dateCreated": "2025-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        }
    ]
}

These actions have taken place in EE AIR:

1. Two wallet transactions are updated with SETTLED status for Gemma's purchase transaction of type SETTLE and spend transaction of type SPEND. Expand to see payload.
{
            "walletTransactionId": "445816978",
            "parentWalletTransactionId": "0",
            "walletId": "217190201",
            "reference": "20241103080000-111-01-1121",
            "transactionDateTime": "2025-02-22T22:34:52+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "188245110",
            "identity": null,
            "type": "SETTLE",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4131304714",
                    "accountTransactionId": "8023748147"
                },
                {
                    "accountId": "4131304714",
                    "accountTransactionId": "8023748148"
                },
                {
                    "accountId": "4131304715",
                    "accountTransactionId": "8023748149"
                },
                {
                    "accountId": "4131304715",
                    "accountTransactionId": "8023748150"
                },
                {
                    "accountId": "4131304716",
                    "accountTransactionId": "8023748151"
                },
                {
                    "accountId": "4131304716",
                    "accountTransactionId": "8023748152"
                },
                {
                    "accountId": "4131304696",
                    "accountTransactionId": "8023748153"
                },
                {
                    "accountId": "4131304697",
                    "accountTransactionId": "8023748154"
                },
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748155"
                },
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748156"
                }
            ],
            "basket": {
                "contents": [
                    {
                        "upc": "245874",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 2000,
                        "totalUnitCost": 2000,
                        "description": "Lemonade",
                        "itemUnitCount": 2,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 200
                            },
                            {
                                "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": [
                                    "4131304715"
                                ],
                                "targetedAccountId": "4131304715",
                                "targetedWalletId": "217190201",
                                "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": [
                                    "4131304715"
                                ],
                                "targetedAccountId": "4131304699",
                                "targetedWalletId": "217190201",
                                "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": "1743751-1",
                                "value": 100
                            },
                            {
                                "instanceId": "100560017-1",
                                "value": 500
                            }
                        ],
                        "adjudicationResults": [
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "redeem",
                                "value": 500,
                                "balances": null,
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304696"
                                ],
                                "targetedAccountId": "4131304696",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 4,
                                "totalRewardUnits": 0
                            },
                            {
                                "resourceType": "CAMPAIGN",
                                "resourceId": "100560017",
                                "instanceId": "100560017-1",
                                "success": true,
                                "type": "credit",
                                "value": null,
                                "balances": {
                                    "current": 500
                                },
                                "isRefundable": true,
                                "isUnredeemable": false,
                                "relatedAccountIds": [
                                    "4131304696"
                                ],
                                "targetedAccountId": "4131304699",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": null,
                                "playOrderPosition": 4
                            }
                        ],
                        "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": [
                                    "4131304716"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [
                                    "245884"
                                ],
                                "value": 200,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304716",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 2,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 200
                            }
                        ],
                        "itemUnitDiscount": 200,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 80
                            }
                        ]
                    },
                    {
                        "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": [
                                    "4131304697"
                                ],
                                "success": true,
                                "type": "redeem",
                                "multiItem": [],
                                "value": 900,
                                "isUnredeemable": false,
                                "targetedAccountId": "4131304697",
                                "targetedWalletId": "217190201",
                                "totalMatchingUnits": 1,
                                "playOrderPosition": 1,
                                "totalRewardUnits": 1,
                                "totalDiscountAmount": 900
                            }
                        ],
                        "itemUnitDiscount": 900,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 10
                            }
                        ]
                    },
                    {
                        "upc": "245868",
                        "itemUnitCost": 1000,
                        "salesKey": "SALE",
                        "totalUnitCostAfterDiscount": 1000,
                        "totalUnitCost": 1000,
                        "description": "Pizza",
                        "itemUnitCount": 1,
                        "contributionResults": [
                            {
                                "instanceId": "1743751-1",
                                "value": 100
                            }
                        ],
                        "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": 5900,
                    "results": {
                        "points": {
                            "spend": 0,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 0,
                            "earn": 490,
                            "credit": 1100,
                            "totalPointsGiven": 1590,
                            "totalMonetaryValue": 0
                        },
                        "tiers": null
                    },
                    "totalDiscountAmount": {
                        "promotions": 1100
                    },
                    "adjudicationResults": [
                        {
                            "resourceType": "SCHEME",
                            "resourceId": "1743751",
                            "instanceId": "1743751-1",
                            "success": true,
                            "type": "earn",
                            "value": null,
                            "balances": {
                                "current": 490
                            },
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [],
                            "targetedAccountId": "4131304699",
                            "targetedWalletId": "217190201",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 3
                        },
                        {
                            "resourceType": "CAMPAIGN",
                            "resourceId": "100560999",
                            "instanceId": "100560999-1",
                            "success": true,
                            "type": "redeem",
                            "value": 0,
                            "balances": null,
                            "isRefundable": true,
                            "isUnredeemable": false,
                            "relatedAccountIds": [
                                "4131304714"
                            ],
                            "targetedAccountId": "4131304714",
                            "targetedWalletId": "217190201",
                            "totalMatchingUnits": null,
                            "playOrderPosition": 5,
                            "totalRewardUnits": 0
                        }
                    ],
                    "expectedPoints": [
                        {
                            "schemeId": "1743751",
                            "earn": 490,
                            "credit": 1100,
                            "isPending": false
                        }
                    ]
                },
                "payment": null
            },
            "channel": "api",
            "location": {
                "storeId": "111",
                "storeParentId": "AFabulousRetailer"
            },
            "dateCreated": "2025-02-22T22:34:52+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        },
        {
            "walletTransactionId": "445816981",
            "parentWalletTransactionId": "445816978",
            "walletId": "217190201",
            "reference": "20241103080000-111-01-1122",
            "transactionDateTime": "2025-02-22T22:38:07+00:00",
            "transactionDateTimeOffset": "+00:00",
            "identityId": "188245110",
            "identity": null,
            "type": "SPEND",
            "status": "SETTLED",
            "meta": null,
            "state": "ORIGINAL",
            "expiryDate": null,
            "accounts": [
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748128"
                },
                {
                    "accountId": "4131304699",
                    "accountTransactionId": "8023748157"
                }
            ],
            "basket": {
                "contents": null,
                "summary": {
                    "totalItems": null,
                    "totalBasketValue": null,
                    "totalQualifyingAmount": null,
                    "totalDiscountAmount": null,
                    "totalTaxAmount": null,
                    "fulfilledBaseEarn": null,
                    "expectedPoints": null,
                    "originalQualifiedAccounts": null,
                    "spendAdjudicationResults": {
                        "pointsValue": 20000,
                        "pointsRemainder": 5000,
                        "monetaryValue": 2000,
                        "balanceAfter": {
                            "current": 5000,
                            "usable": 5000,
                            "locked": 0,
                            "lifetime": 25000,
                            "lifetimeSpend": 20000,
                            "lifetimeSpendValue": 2000,
                            "pending": 0
                        },
                        "appliedTier": {
                            "bonus": 0,
                            "ceiling": 500000,
                            "floor": 10000,
                            "pointsBack": 0,
                            "rate": 0.1,
                            "step": 10000
                        },
                        "operations": [
                            {
                                "resourceType": "SCHEME",
                                "resourceId": "1743751",
                                "accountId": "4131304699",
                                "walletId": "217190201",
                                "operationType": "spend",
                                "value": 20000,
                                "details": null,
                                "balances": {
                                    "current": 20000,
                                    "lifetime_spend": 20000,
                                    "lifetime_spend_value": 2000
                                }
                            }
                        ],
                        "analysedDateTime": "2025-02-22T22:36:35+00:00",
                        "excludedProducts": []
                    },
                    "results": {
                        "points": {
                            "spend": 20000,
                            "debit": 0,
                            "refund": 0,
                            "totalPointsTaken": 20000,
                            "earn": 0,
                            "credit": 0,
                            "totalPointsGiven": 0,
                            "totalMonetaryValue": 2000
                        },
                        "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-02-22T22:38:07+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00"
        }
2. Points are credited for purchase (1,590)and debited for spend(20,000). Expand to see payload.
 {
            "accountId": "4131304699",
            "walletId": "217190201",
            "campaignId": "1743751",
            "type": "POINTS",
            "clientType": "RETAILPOINTS",
            "status": "ACTIVE",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:31:49+00:00",
                "end": "2038-01-19T03:14:07+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:31:49+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00",
            "overrides": [],
            "balances": {
                "current": 6590,
                "usable": 6590,
                "locked": 0,
                "lifetime": 26590,
                "lifetimeSpend": 20000,
                "lifetimeSpendValue": 2000,
                "pending": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304699/ee114a06f9f5553"
        }
3. Two targeted coupons are redeemed and three coupons for open campaigns were created and redeemed. Expand to see payload.
{
            "accountId": "4131304696",
            "walletId": "217190201",
            "campaignId": "100560017",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:31:49+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:31:49+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304696/0c83ed4086466a7"
        },
        {
            "accountId": "4131304697",
            "walletId": "217190201",
            "campaignId": "100560020",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:31:49+00:00",
                "end": "2025-12-31T23:59:00+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:31:49+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304697/bd2c109c5bc3c1a"
        },
        {
            "accountId": "4131304714",
            "walletId": "217190201",
            "campaignId": "100560999",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:34:51+00:00",
                "end": "2025-02-22T22:43:02+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304714/be8dbe551989bba"
        },
        {
            "accountId": "4131304715",
            "walletId": "217190201",
            "campaignId": "100561737",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:34:50+00:00",
                "end": "2025-02-22T22:43:02+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304715/ce65f88b52552da"
        },
        {
            "accountId": "4131304716",
            "walletId": "217190201",
            "campaignId": "100560018",
            "type": "ECOUPON",
            "clientType": "OFFER",
            "status": "USED",
            "state": "LOADED",
            "dates": {
                "start": "2025-02-22T22:34:49+00:00",
                "end": "2025-02-22T22:43:02+00:00"
            },
            "meta": [],
            "dateCreated": "2025-02-22T22:43:02+00:00",
            "lastUpdated": "2025-02-22T22:43:02+00:00",
            "overrides": [],
            "balances": {
                "available": 0,
                "refundable": 0
            },
            "relationships": [],
            "mobileWallet": "https://sb.uk.mypass.is/a/4131304716/aa21cde30f5e2a9"
        }
4. Event(s) are generated and sent to the recipient system(s). Expand to see payload.
{
  "headers": {
    "eventName": "POSCONNECT.WALLET.SETTLE",
    "eventDate": "2025-02-22T22:43:01.905478",
    "eesEnvironmentType": "sandbox-uk",
    "eesSubsystemId": "pos.sandbox.uk.eagleeye.com",
    "callerIp": "35.244.190.158",
    "unitId": "142378",
    "unitFriendlyName": "Onboarding Playground",
    "clientId": "removed for security",
    "clientIdFriendlyName": "api",
    "eesEventId": "24cbd418-be44-4ccc-b2ce-c2284fa867c1",
    "eesMasterEventId": "Z7pS9YeoklKfZi6DfI0SjAAAAno",
    "externalMessageId": "",
    "eesApiVersion": "7.6"
  },
  "request": {
    "resource": "/connect/wallet/settle",
    "method": "POST",
    "body": "{\n    \"mode\": \"ACTIVE\",\n    \"identity\": {\n        \"identityValue\": \"66c3b7bda01c8756b883390dca9fbb30\"\n    },\n    \"reference\": \"20241103080000-111-01-1121\",\n    \"location\": {\n        \"incomingIdentifier\": \"111\",\n        \"parentIncomingIdentifier\": \"AFabulousRetailer\"\n    },\n    \"walletTransactions\": [\n        {\n            \"link\": true,\n            \"reference\": \"20241103080000-111-01-1122\",\n            \"walletId\": \"217190201\",\n            \"operationType\": \"SETTLE\"\n        }\n    ],\n     \"basket\": {\n            \"type\": \"ENRICHED\",\n            \"summary\": {\n                \"totalItems\": 6,\n                \"totalBasketValue\": 5900,\n                \"results\": {\n                    \"points\": {\n                        \"spend\": 0,\n                        \"debit\": 0,\n                        \"refund\": 0,\n                        \"totalPointsTaken\": 0,\n                        \"earn\": 490,\n                        \"credit\": 1100,\n                        \"totalPointsGiven\": 1590,\n                        \"totalMonetaryValue\": 0\n                    },\n                    \"tiers\": null\n                },\n                \"totalDiscountAmount\": {\n                    \"promotions\": 1100\n                },\n                \"adjudicationResults\": [\n                    {\n                        \"resourceType\": \"SCHEME\",\n                        \"resourceId\": \"1743751\",\n                        \"instanceId\": \"1743751-1\",\n                        \"success\": null,\n                        \"type\": \"earn\",\n                        \"value\": null,\n                        \"balances\": {\n                            \"current\": 490\n                        },\n                        \"isRefundable\": true,\n                        \"isUnredeemable\": false,\n                        \"relatedAccountIds\": [],\n                        \"targetedAccountId\": \"4131304699\",\n                        \"targetedWalletId\": \"217190201\",\n                        \"totalMatchingUnits\": null,\n                        \"playOrderPosition\": 3\n                    },\n                    {\n                        \"resourceType\": \"CAMPAIGN\",\n                        \"resourceId\": \"100560999\",\n                        \"instanceId\": \"100560999-1\",\n                        \"success\": null,\n                        \"type\": \"createRedeem\",\n                        \"value\": 0,\n                        \"balances\": null,\n                        \"isRefundable\": true,\n                        \"isUnredeemable\": false,\n                        \"relatedAccountIds\": [],\n                        \"targetedAccountId\": null,\n                        \"targetedWalletId\": \"217190201\",\n                        \"totalMatchingUnits\": null,\n                        \"playOrderPosition\": 5,\n                        \"totalRewardUnits\": 0\n                    }\n                ]\n            },\n            \"contents\": [\n                {\n                    \"upc\": \"245874\",\n                    \"itemUnitCost\": 1000,\n                    \"salesKey\": \"SALE\",\n                    \"totalUnitCostAfterDiscount\": 2000,\n                    \"totalUnitCost\": 2000,\n                    \"description\": \"Lemonade\",\n                    \"itemUnitCount\": 2,\n                    \"contributionResults\": [\n                        {\n                            \"instanceId\": \"1743751-1\",\n                            \"value\": 200\n                        },\n                        {\n                            \"instanceId\": \"100561737-1\",\n                            \"value\": 600\n                        }\n                    ],\n                    \"adjudicationResults\": [\n                        {\n                            \"resourceType\": \"CAMPAIGN\",\n                            \"resourceId\": \"100561737\",\n                            \"instanceId\": \"100561737-1\",\n                            \"success\": null,\n                            \"type\": \"createRedeem\",\n                            \"value\": 600,\n                            \"balances\": null,\n                            \"isRefundable\": true,\n                            \"isUnredeemable\": false,\n                            \"relatedAccountIds\": [],\n                            \"targetedAccountId\": null,\n                            \"targetedWalletId\": \"217190201\",\n                            \"totalMatchingUnits\": 1,\n                            \"playOrderPosition\": 6,\n                            \"totalRewardUnits\": 2\n                        },\n                        {\n                            \"resourceType\": \"CAMPAIGN\",\n                            \"resourceId\": \"100561737\",\n                            \"instanceId\": \"100561737-1\",\n                            \"success\": null,\n                            \"type\": \"credit\",\n                            \"value\": null,\n                            \"balances\": {\n                                \"current\": 600\n                            },\n                            \"isRefundable\": true,\n                            \"isUnredeemable\": false,\n                            \"relatedAccountIds\": [],\n                            \"targetedAccountId\": \"4131304699\",\n                            \"targetedWalletId\": \"217190201\",\n                            \"totalMatchingUnits\": null,\n                            \"playOrderPosition\": 6\n                        }\n                    ],\n                    \"qualifiesResults\": [\n                        {\n                            \"instanceId\": \"100561737-1\",\n                            \"totalMatchingUnits\": 1,\n                            \"totalMatchingSpend\": 1,\n                            \"totalOverallMatchingSpend\": null\n                        }\n                    ]\n                },\n                {\n                    \"upc\": \"245875\",\n                    \"itemUnitCost\": 1000,\n                    \"salesKey\": \"SALE\",\n                    \"totalUnitCostAfterDiscount\": 1000,\n                    \"totalUnitCost\": 1000,\n                    \"description\": \"Coffee\",\n                    \"itemUnitCount\": 1,\n                    \"contributionResults\": [\n                        {\n                            \"instanceId\": \"1743751-1\",\n                            \"value\": 100\n                        },\n                        {\n                            \"instanceId\": \"100560017-1\",\n                            \"value\": 500\n                        }\n                    ],\n                    \"adjudicationResults\": [\n                        {\n                            \"resourceType\": \"CAMPAIGN\",\n                            \"resourceId\": \"100560017\",\n                            \"instanceId\": \"100560017-1\",\n                            \"success\": null,\n                            \"type\": \"redeem\",\n                            \"value\": 500,\n                            \"balances\": null,\n                            \"isRefundable\": true,\n                            \"isUnredeemable\": false,\n                            \"relatedAccountIds\": [\n                                \"4131304696\"\n                            ],\n                            \"targetedAccountId\": \"4131304696\",\n                            \"targetedWalletId\": \"217190201\",\n                            \"totalMatchingUnits\": 1,\n                            \"playOrderPosition\": 4,\n                            \"totalRewardUnits\": 0\n                        },\n                        {\n                            \"resourceType\": \"CAMPAIGN\",\n                            \"resourceId\": \"100560017\",\n                            \"instanceId\": \"100560017-1\",\n                            \"success\": null,\n                            \"type\": \"credit\",\n                            \"value\": null,\n                            \"balances\": {\n                                \"current\": 500\n                            },\n                            \"isRefundable\": true,\n                            \"isUnredeemable\": false,\n                            \"relatedAccountIds\": [\n                                \"4131304696\"\n                            ],\n                            \"targetedAccountId\": \"4131304699\",\n                            \"targetedWalletId\": \"217190201\",\n                            \"totalMatchingUnits\": null,\n                            \"playOrderPosition\": 4\n                        }\n                    ],\n                    \"qualifiesResults\": [\n                        {\n                            \"instanceId\": \"100560017-1\",\n                            \"totalMatchingUnits\": 1,\n                            \"totalMatchingSpend\": 1,\n                            \"totalOverallMatchingSpend\": null\n                        }\n                    ]\n                },\n                {\n                    \"upc\": \"245884\",\n                    \"itemUnitCost\": 1000,\n                    \"salesKey\": \"SALE\",\n                    \"totalUnitCostAfterDiscount\": 800,\n                    \"totalUnitCost\": 1000,\n                    \"description\": \"Soap\",\n                    \"itemUnitCount\": 1,\n                    \"qualifiesResults\": [\n                        {\n                            \"instanceId\": \"100560018-1\",\n                            \"totalMatchingUnits\": 1,\n                            \"totalMatchingSpend\": 1,\n                            \"totalOverallMatchingSpend\": null\n                        }\n                    ],\n                    \"adjustmentResults\": [\n                        {\n                            \"resourceType\": \"CAMPAIGN\",\n                            \"resourceId\": \"100560018\",\n                            \"instanceId\": \"100560018-1\",\n                            \"relatedAccountIds\": [],\n                            \"success\": null,\n                            \"type\": \"createRedeem\",\n                            \"multiItem\": [\n                                \"245884\"\n                            ],\n                            \"value\": 200,\n                            \"isUnredeemable\": false,\n                            \"targetedAccountId\": null,\n                            \"targetedWalletId\": \"217190201\",\n                            \"totalMatchingUnits\": 1,\n                            \"playOrderPosition\": 2,\n                            \"totalRewardUnits\": 1,\n                            \"totalDiscountAmount\": 200\n                        }\n                    ],\n                    \"itemUnitDiscount\": 200,\n                    \"contributionResults\": [\n                        {\n                            \"instanceId\": \"1743751-1\",\n                            \"value\": 80\n                        }\n                    ]\n                },\n                {\n                    \"upc\": \"245886\",\n                    \"itemUnitCost\": 1000,\n                    \"salesKey\": \"SALE\",\n                    \"totalUnitCostAfterDiscount\": 100,\n                    \"totalUnitCost\": 1000,\n                    \"description\": \"Carrot\",\n                    \"itemUnitCount\": 1,\n                    \"qualifiesResults\": [\n                        {\n                            \"instanceId\": \"100560020-1\",\n                            \"totalMatchingUnits\": 1,\n                            \"totalMatchingSpend\": 1,\n                            \"totalOverallMatchingSpend\": null\n                        }\n                    ],\n                    \"adjustmentResults\": [\n                        {\n                            \"resourceType\": \"CAMPAIGN\",\n                            \"resourceId\": \"100560020\",\n                            \"instanceId\": \"100560020-1\",\n                            \"relatedAccountIds\": [\n                                \"4131304697\"\n                            ],\n                            \"success\": null,\n                            \"type\": \"redeem\",\n                            \"multiItem\": [],\n                            \"value\": 900,\n                            \"isUnredeemable\": false,\n                            \"targetedAccountId\": \"4131304697\",\n                            \"targetedWalletId\": \"217190201\",\n                            \"totalMatchingUnits\": 1,\n                            \"playOrderPosition\": 1,\n                            \"totalRewardUnits\": 1,\n                            \"totalDiscountAmount\": 900\n                        }\n                    ],\n                    \"itemUnitDiscount\": 900,\n                    \"contributionResults\": [\n                        {\n                            \"instanceId\": \"1743751-1\",\n                            \"value\": 10\n                        }\n                    ]\n                },\n                {\n                    \"upc\": \"245868\",\n                    \"itemUnitCost\": 1000,\n                    \"salesKey\": \"SALE\",\n                    \"totalUnitCostAfterDiscount\": 1000,\n                    \"totalUnitCost\": 1000,\n                    \"description\": \"Pizza\",\n                    \"itemUnitCount\": 1,\n                    \"contributionResults\": [\n                        {\n                            \"instanceId\": \"1743751-1\",\n                            \"value\": 100\n                        }\n                    ],\n                    \"qualifiesResults\": [\n                        {\n                            \"instanceId\": \"100560999-1\",\n                            \"totalMatchingUnits\": 1,\n                            \"totalMatchingSpend\": 1,\n                            \"totalOverallMatchingSpend\": null\n                        }\n                    ]\n                },\n                {\n                    \"upc\": \"245872\",\n                    \"itemUnitCost\": 1000,\n                    \"salesKey\": \"SALE\",\n                    \"totalUnitCostAfterDiscount\": 1000,\n                    \"totalUnitCost\": 1000,\n                    \"description\": \"Wine\",\n                    \"itemUnitCount\": 1\n                }\n            ],\n            \"analysedDateTime\": \"2025-02-22T22:34:52+00:00\"\n        }\n}",
    "contentType": "application/json",
    "customHeaders": []
  },
  "response": {
    "code": 200,
    "body": "{\"walletTransactions\":[{\"walletTransactionId\":\"445816978\",\"parentWalletTransactionId\":\"0\",\"walletId\":\"217190201\",\"reference\":\"20241103080000-111-01-1121\",\"transactionDateTime\":\"2025-02-22T22:34:52+00:00\",\"transactionDateTimeOffset\":\"+00:00\",\"identityId\":\"188245110\",\"identity\":{\"identityId\":\"188245110\",\"walletId\":\"217190201\",\"type\":\"CUSTOMER_ID\",\"friendlyName\":null,\"value\":\"66c3b7bda01c8756b883390dca9fbb30\",\"safeValue\":null,\"secret\":null,\"dates\":{\"start\":\"2025-02-22T22:31:49+00:00\",\"end\":null},\"meta\":[],\"state\":\"DEFAULT\",\"status\":\"ACTIVE\",\"dateCreated\":\"2025-02-22T22:31:49+00:00\",\"lastUpdated\":\"2025-02-22T22:31:49+00:00\",\"mobileWallet\":\"https:\\/\\/sb.uk.mypass.is\\/identity\\/142378\\/217190201\\/188245110\\/3950601b2edbea4619db57235155a50225bc8b11afe6da5ee6ea4fdb12ec953d\"},\"type\":\"SETTLE\",\"status\":\"SETTLED\",\"meta\":null,\"state\":\"ORIGINAL\",\"expiryDate\":null,\"accounts\":[{\"accountId\":\"4131304714\",\"accountTransactionId\":\"8023748147\"},{\"accountId\":\"4131304714\",\"accountTransactionId\":\"8023748148\"},{\"accountId\":\"4131304715\",\"accountTransactionId\":\"8023748149\"},{\"accountId\":\"4131304715\",\"accountTransactionId\":\"8023748150\"},{\"accountId\":\"4131304716\",\"accountTransactionId\":\"8023748151\"},{\"accountId\":\"4131304716\",\"accountTransactionId\":\"8023748152\"},{\"accountId\":\"4131304696\",\"accountTransactionId\":\"8023748153\"},{\"accountId\":\"4131304697\",\"accountTransactionId\":\"8023748154\"},{\"accountId\":\"4131304699\",\"accountTransactionId\":\"8023748155\"},{\"accountId\":\"4131304699\",\"accountTransactionId\":\"8023748156\"}],\"basket\":{\"contents\":[{\"upc\":\"245874\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":2000,\"totalUnitCost\":2000,\"description\":\"Lemonade\",\"itemUnitCount\":2,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":200},{\"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\":[\"4131304715\"],\"targetedAccountId\":\"4131304715\",\"targetedWalletId\":\"217190201\",\"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\":[\"4131304715\"],\"targetedAccountId\":\"4131304699\",\"targetedWalletId\":\"217190201\",\"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\":\"1743751-1\",\"value\":100},{\"instanceId\":\"100560017-1\",\"value\":500}],\"adjudicationResults\":[{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100560017\",\"instanceId\":\"100560017-1\",\"success\":true,\"type\":\"redeem\",\"value\":500,\"balances\":null,\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4131304696\"],\"targetedAccountId\":\"4131304696\",\"targetedWalletId\":\"217190201\",\"totalMatchingUnits\":1,\"playOrderPosition\":4,\"totalRewardUnits\":0},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100560017\",\"instanceId\":\"100560017-1\",\"success\":true,\"type\":\"credit\",\"value\":null,\"balances\":{\"current\":500},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4131304696\"],\"targetedAccountId\":\"4131304699\",\"targetedWalletId\":\"217190201\",\"totalMatchingUnits\":null,\"playOrderPosition\":4}],\"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\":[\"4131304716\"],\"success\":true,\"type\":\"redeem\",\"multiItem\":[\"245884\"],\"value\":200,\"isUnredeemable\":false,\"targetedAccountId\":\"4131304716\",\"targetedWalletId\":\"217190201\",\"totalMatchingUnits\":1,\"playOrderPosition\":2,\"totalRewardUnits\":1,\"totalDiscountAmount\":200}],\"itemUnitDiscount\":200,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":80}]},{\"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\":[\"4131304697\"],\"success\":true,\"type\":\"redeem\",\"multiItem\":[],\"value\":900,\"isUnredeemable\":false,\"targetedAccountId\":\"4131304697\",\"targetedWalletId\":\"217190201\",\"totalMatchingUnits\":1,\"playOrderPosition\":1,\"totalRewardUnits\":1,\"totalDiscountAmount\":900}],\"itemUnitDiscount\":900,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":10}]},{\"upc\":\"245868\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":1000,\"totalUnitCost\":1000,\"description\":\"Pizza\",\"itemUnitCount\":1,\"contributionResults\":[{\"instanceId\":\"1743751-1\",\"value\":100}],\"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\":5900,\"results\":{\"points\":{\"spend\":0,\"debit\":0,\"refund\":0,\"totalPointsTaken\":0,\"earn\":490,\"credit\":1100,\"totalPointsGiven\":1590,\"totalMonetaryValue\":0},\"tiers\":null},\"totalDiscountAmount\":{\"promotions\":1100},\"adjudicationResults\":[{\"resourceType\":\"SCHEME\",\"resourceId\":\"1743751\",\"instanceId\":\"1743751-1\",\"success\":true,\"type\":\"earn\",\"value\":null,\"balances\":{\"current\":490},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[],\"targetedAccountId\":\"4131304699\",\"targetedWalletId\":\"217190201\",\"totalMatchingUnits\":null,\"playOrderPosition\":3},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100560999\",\"instanceId\":\"100560999-1\",\"success\":true,\"type\":\"redeem\",\"value\":0,\"balances\":null,\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4131304714\"],\"targetedAccountId\":\"4131304714\",\"targetedWalletId\":\"217190201\",\"totalMatchingUnits\":null,\"playOrderPosition\":5,\"totalRewardUnits\":0}],\"expectedPoints\":[{\"schemeId\":\"1743751\",\"earn\":490,\"credit\":1100,\"isPending\":false}]},\"payment\":null},\"channel\":\"api\",\"location\":{\"storeId\":\"111\",\"storeParentId\":\"AFabulousRetailer\"},\"dateCreated\":\"2025-02-22T22:34:52+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"walletTransactionId\":\"445816981\",\"parentWalletTransactionId\":\"445816978\",\"walletId\":\"217190201\",\"reference\":\"20241103080000-111-01-1122\",\"transactionDateTime\":\"2025-02-22T22:38:07+00:00\",\"transactionDateTimeOffset\":\"+00:00\",\"identityId\":\"188245110\",\"identity\":null,\"type\":\"SPEND\",\"status\":\"SETTLED\",\"meta\":null,\"state\":\"ORIGINAL\",\"expiryDate\":null,\"accounts\":[{\"accountId\":\"4131304699\",\"accountTransactionId\":\"8023748128\"},{\"accountId\":\"4131304699\",\"accountTransactionId\":\"8023748157\"}],\"basket\":{\"contents\":null,\"summary\":{\"totalItems\":null,\"totalBasketValue\":null,\"totalQualifyingAmount\":null,\"totalDiscountAmount\":null,\"totalTaxAmount\":null,\"fulfilledBaseEarn\":null,\"expectedPoints\":null,\"originalQualifiedAccounts\":null,\"spendAdjudicationResults\":{\"pointsValue\":20000,\"pointsRemainder\":5000,\"monetaryValue\":2000,\"balanceAfter\":{\"current\":5000,\"usable\":5000,\"locked\":0,\"lifetime\":25000,\"lifetimeSpend\":20000,\"lifetimeSpendValue\":2000,\"pending\":0},\"appliedTier\":{\"bonus\":0,\"ceiling\":500000,\"floor\":10000,\"pointsBack\":0,\"rate\":0.1,\"step\":10000},\"operations\":[{\"resourceType\":\"SCHEME\",\"resourceId\":\"1743751\",\"accountId\":\"4131304699\",\"walletId\":\"217190201\",\"operationType\":\"spend\",\"value\":20000,\"details\":null,\"balances\":{\"current\":20000,\"lifetime_spend\":20000,\"lifetime_spend_value\":2000}}],\"analysedDateTime\":\"2025-02-22T22:36:35+00:00\",\"excludedProducts\":[]},\"results\":{\"points\":{\"spend\":20000,\"debit\":0,\"refund\":0,\"totalPointsTaken\":20000,\"earn\":0,\"credit\":0,\"totalPointsGiven\":0,\"totalMonetaryValue\":2000},\"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-02-22T22:38:07+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"}],\"accountTransactions\":[{\"accountTransactionId\":\"8023748147\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304714\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748148\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304714\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748149\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304715\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748150\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304715\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748151\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304716\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748152\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304716\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748153\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304696\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748154\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304697\",\"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-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748155\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304699\",\"event\":\"EARN\",\"value\":490,\"source\":1,\"balancesBefore\":{\"current\":25000,\"lifetime\":0},\"balancesAfter\":{\"current\":25490,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"111\",\"merchant_store_parent_id\":\"AFabulousRetailer\"},\"properties\":[],\"dateCreated\":\"2025-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748156\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4131304699\",\"event\":\"CREDIT\",\"value\":1100,\"source\":1,\"balancesBefore\":{\"current\":25490,\"lifetime\":0},\"balancesAfter\":{\"current\":26590,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"111\",\"merchant_store_parent_id\":\"AFabulousRetailer\"},\"properties\":[],\"dateCreated\":\"2025-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"},{\"accountTransactionId\":\"8023748157\",\"parentAccountTransactionId\":\"8023748128\",\"accountId\":\"4131304699\",\"event\":\"SPEND\",\"value\":20000,\"source\":1,\"balancesBefore\":{\"current\":26590,\"lifetime\":0},\"balancesAfter\":{\"current\":6590,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"111\",\"merchant_store_parent_id\":\"AFabulousRetailer\",\"balances\":\"{\\\"CURRENT\\\":20000,\\\"LIFETIME_SPEND\\\":20000,\\\"LIFETIME_SPEND_VALUE\\\":2000,\\\"USABLE\\\":20000}\"},\"properties\":[],\"dateCreated\":\"2025-02-22T22:43:02+00:00\",\"lastUpdated\":\"2025-02-22T22:43:02+00:00\"}]}",
    "contentType": "application/json;charset=utf-8"
  },
  "atomicOperations": [
    {
      "objectType": "walletTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "walletTransactionId": "445816978",
        "parentWalletTransactionId": "0",
        "walletId": "217190201",
        "reference": "20241103080000-111-01-1121",
        "transactionDateTime": "2025-02-22T22:34:52+00:00",
        "transactionDateTimeOffset": "+00:00",
        "identityId": "188245110",
        "identity": null,
        "type": "SETTLE",
        "status": "SETTLED",
        "meta": null,
        "state": "ORIGINAL",
        "expiryDate": null,
        "accounts": [
          {
            "accountId": "4131304697",
            "accountTransactionId": "0"
          },
          {
            "accountId": "4131304696",
            "accountTransactionId": "0"
          }
        ],
        "basket": {
          "contents": null,
          "summary": null,
          "payment": null
        },
        "channel": "api",
        "location": {
          "storeId": null,
          "storeParentId": null
        },
        "dateCreated": "2025-02-22T22:34:52+00:00",
        "lastUpdated": "2025-02-22T22:43:01+00:00"
      }
    },
    {
      "objectType": "walletAccountEntity",
      "operationType": "CREATE",
      "objectValue": {
        "accountId": "4131304714",
        "walletId": "217190201",
        "campaignId": "100560999",
        "type": "ECOUPON",
        "clientType": "OFFER",
        "status": "USED",
        "state": "LOADED",
        "dates": {
          "start": "2025-02-22T22:34:51+00:00",
          "end": "2025-02-22T22:43:02+00:00"
        },
        "meta": null,
        "dateCreated": "2025-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00",
        "overrides": [],
        "balances": {
          "available": 0,
          "refundable": 0
        },
        "relationships": [],
        "mobileWallet": null
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748148",
        "parentAccountTransactionId": "",
        "accountId": "4131304714",
        "account": {
          "accountId": "4131304714",
          "walletId": "217190201",
          "campaignId": "100560999",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:34:51+00:00",
            "end": "2025-02-22T22:43:02+00:00"
          },
          "meta": null,
          "dateCreated": "2025-02-22T22:43:02+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": null
        },
        "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-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletAccountEntity",
      "operationType": "CREATE",
      "objectValue": {
        "accountId": "4131304715",
        "walletId": "217190201",
        "campaignId": "100561737",
        "type": "ECOUPON",
        "clientType": "OFFER",
        "status": "USED",
        "state": "LOADED",
        "dates": {
          "start": "2025-02-22T22:34:50+00:00",
          "end": "2025-02-22T22:43:02+00:00"
        },
        "meta": null,
        "dateCreated": "2025-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00",
        "overrides": [],
        "balances": {
          "available": 0,
          "refundable": 0
        },
        "relationships": [],
        "mobileWallet": null
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748150",
        "parentAccountTransactionId": "",
        "accountId": "4131304715",
        "account": {
          "accountId": "4131304715",
          "walletId": "217190201",
          "campaignId": "100561737",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:34:50+00:00",
            "end": "2025-02-22T22:43:02+00:00"
          },
          "meta": null,
          "dateCreated": "2025-02-22T22:43:02+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": null
        },
        "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-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletAccountEntity",
      "operationType": "CREATE",
      "objectValue": {
        "accountId": "4131304716",
        "walletId": "217190201",
        "campaignId": "100560018",
        "type": "ECOUPON",
        "clientType": "OFFER",
        "status": "USED",
        "state": "LOADED",
        "dates": {
          "start": "2025-02-22T22:34:49+00:00",
          "end": "2025-02-22T22:43:02+00:00"
        },
        "meta": null,
        "dateCreated": "2025-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00",
        "overrides": [],
        "balances": {
          "available": 0,
          "refundable": 0
        },
        "relationships": [],
        "mobileWallet": null
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748152",
        "parentAccountTransactionId": "",
        "accountId": "4131304716",
        "account": {
          "accountId": "4131304716",
          "walletId": "217190201",
          "campaignId": "100560018",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:34:49+00:00",
            "end": "2025-02-22T22:43:02+00:00"
          },
          "meta": null,
          "dateCreated": "2025-02-22T22:43:02+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": null
        },
        "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-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748153",
        "parentAccountTransactionId": "",
        "accountId": "4131304696",
        "account": {
          "accountId": "4131304696",
          "walletId": "217190201",
          "campaignId": "100560017",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:31:49+00:00",
            "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:31:49+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304696/0c83ed4086466a7"
        },
        "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-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748154",
        "parentAccountTransactionId": "",
        "accountId": "4131304697",
        "account": {
          "accountId": "4131304697",
          "walletId": "217190201",
          "campaignId": "100560020",
          "type": "ECOUPON",
          "clientType": "OFFER",
          "status": "USED",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:31:49+00:00",
            "end": "2025-12-31T23:59:00+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:31:49+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "available": 0,
            "refundable": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304697/bd2c109c5bc3c1a"
        },
        "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-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748155",
        "parentAccountTransactionId": "",
        "accountId": "4131304699",
        "account": {
          "accountId": "4131304699",
          "walletId": "217190201",
          "campaignId": "1743751",
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:31:49+00:00",
            "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:31:49+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "current": 25490,
            "usable": 5490,
            "locked": 20000,
            "lifetime": 25490,
            "pending": 0,
            "lifetimeSpend": 0,
            "lifetimeSpendValue": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304699/ee114a06f9f5553"
        },
        "event": "EARN",
        "value": 490,
        "source": 1,
        "balancesBefore": {
          "current": 25000,
          "lifetime": 0
        },
        "balancesAfter": {
          "current": 25490,
          "lifetime": 0
        },
        "transactionDetails": {
          "merchant_store_id": "111",
          "merchant_store_parent_id": "AFabulousRetailer"
        },
        "properties": [],
        "dateCreated": "2025-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748156",
        "parentAccountTransactionId": "",
        "accountId": "4131304699",
        "account": {
          "accountId": "4131304699",
          "walletId": "217190201",
          "campaignId": "1743751",
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:31:49+00:00",
            "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:31:49+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "current": 26590,
            "usable": 6590,
            "locked": 20000,
            "lifetime": 26590,
            "pending": 0,
            "lifetimeSpend": 0,
            "lifetimeSpendValue": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304699/ee114a06f9f5553"
        },
        "event": "CREDIT",
        "value": 1100,
        "source": 1,
        "balancesBefore": {
          "current": 25490,
          "lifetime": 0
        },
        "balancesAfter": {
          "current": 26590,
          "lifetime": 0
        },
        "transactionDetails": {
          "merchant_store_id": "111",
          "merchant_store_parent_id": "AFabulousRetailer"
        },
        "properties": [],
        "dateCreated": "2025-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "walletTransactionId": "445816978",
        "parentWalletTransactionId": "0",
        "walletId": "217190201",
        "reference": "20241103080000-111-01-1121",
        "transactionDateTime": "2025-02-22T22:34:52+00:00",
        "transactionDateTimeOffset": "+00:00",
        "identityId": "188245110",
        "identity": null,
        "type": "SETTLE",
        "status": "SETTLED",
        "meta": null,
        "state": "ORIGINAL",
        "expiryDate": null,
        "accounts": [
          {
            "accountId": "4131304714",
            "accountTransactionId": "8023748147"
          },
          {
            "accountId": "4131304714",
            "accountTransactionId": "8023748148"
          },
          {
            "accountId": "4131304715",
            "accountTransactionId": "8023748149"
          },
          {
            "accountId": "4131304715",
            "accountTransactionId": "8023748150"
          },
          {
            "accountId": "4131304716",
            "accountTransactionId": "8023748151"
          },
          {
            "accountId": "4131304716",
            "accountTransactionId": "8023748152"
          },
          {
            "accountId": "4131304696",
            "accountTransactionId": "8023748153"
          },
          {
            "accountId": "4131304697",
            "accountTransactionId": "8023748154"
          },
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748155"
          },
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748156"
          }
        ],
        "basket": {
          "contents": [
            {
              "upc": "245874",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 2000,
              "totalUnitCost": 2000,
              "description": "Lemonade",
              "itemUnitCount": 2,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 200
                },
                {
                  "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": [
                    "4131304715"
                  ],
                  "targetedAccountId": "4131304715",
                  "targetedWalletId": "217190201",
                  "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": [
                    "4131304715"
                  ],
                  "targetedAccountId": "4131304699",
                  "targetedWalletId": "217190201",
                  "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": "1743751-1",
                  "value": 100
                },
                {
                  "instanceId": "100560017-1",
                  "value": 500
                }
              ],
              "adjudicationResults": [
                {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "100560017",
                  "instanceId": "100560017-1",
                  "success": true,
                  "type": "redeem",
                  "value": 500,
                  "balances": null,
                  "isRefundable": true,
                  "isUnredeemable": false,
                  "relatedAccountIds": [
                    "4131304696"
                  ],
                  "targetedAccountId": "4131304696",
                  "targetedWalletId": "217190201",
                  "totalMatchingUnits": 1,
                  "playOrderPosition": 4,
                  "totalRewardUnits": 0
                },
                {
                  "resourceType": "CAMPAIGN",
                  "resourceId": "100560017",
                  "instanceId": "100560017-1",
                  "success": true,
                  "type": "credit",
                  "value": null,
                  "balances": {
                    "current": 500
                  },
                  "isRefundable": true,
                  "isUnredeemable": false,
                  "relatedAccountIds": [
                    "4131304696"
                  ],
                  "targetedAccountId": "4131304699",
                  "targetedWalletId": "217190201",
                  "totalMatchingUnits": null,
                  "playOrderPosition": 4
                }
              ],
              "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": [
                    "4131304716"
                  ],
                  "success": true,
                  "type": "redeem",
                  "multiItem": [
                    "245884"
                  ],
                  "value": 200,
                  "isUnredeemable": false,
                  "targetedAccountId": "4131304716",
                  "targetedWalletId": "217190201",
                  "totalMatchingUnits": 1,
                  "playOrderPosition": 2,
                  "totalRewardUnits": 1,
                  "totalDiscountAmount": 200
                }
              ],
              "itemUnitDiscount": 200,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 80
                }
              ]
            },
            {
              "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": [
                    "4131304697"
                  ],
                  "success": true,
                  "type": "redeem",
                  "multiItem": [],
                  "value": 900,
                  "isUnredeemable": false,
                  "targetedAccountId": "4131304697",
                  "targetedWalletId": "217190201",
                  "totalMatchingUnits": 1,
                  "playOrderPosition": 1,
                  "totalRewardUnits": 1,
                  "totalDiscountAmount": 900
                }
              ],
              "itemUnitDiscount": 900,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 10
                }
              ]
            },
            {
              "upc": "245868",
              "itemUnitCost": 1000,
              "salesKey": "SALE",
              "totalUnitCostAfterDiscount": 1000,
              "totalUnitCost": 1000,
              "description": "Pizza",
              "itemUnitCount": 1,
              "contributionResults": [
                {
                  "instanceId": "1743751-1",
                  "value": 100
                }
              ],
              "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": 5900,
            "results": {
              "points": {
                "spend": 0,
                "debit": 0,
                "refund": 0,
                "totalPointsTaken": 0,
                "earn": 490,
                "credit": 1100,
                "totalPointsGiven": 1590,
                "totalMonetaryValue": 0
              },
              "tiers": null
            },
            "totalDiscountAmount": {
              "promotions": 1100
            },
            "adjudicationResults": [
              {
                "resourceType": "SCHEME",
                "resourceId": "1743751",
                "instanceId": "1743751-1",
                "success": true,
                "type": "earn",
                "value": null,
                "balances": {
                  "current": 490
                },
                "isRefundable": true,
                "isUnredeemable": false,
                "relatedAccountIds": [],
                "targetedAccountId": "4131304699",
                "targetedWalletId": "217190201",
                "totalMatchingUnits": null,
                "playOrderPosition": 3
              },
              {
                "resourceType": "CAMPAIGN",
                "resourceId": "100560999",
                "instanceId": "100560999-1",
                "success": true,
                "type": "redeem",
                "value": 0,
                "balances": null,
                "isRefundable": true,
                "isUnredeemable": false,
                "relatedAccountIds": [
                  "4131304714"
                ],
                "targetedAccountId": "4131304714",
                "targetedWalletId": "217190201",
                "totalMatchingUnits": null,
                "playOrderPosition": 5,
                "totalRewardUnits": 0
              }
            ],
            "expectedPoints": [
              {
                "schemeId": "1743751",
                "earn": 490,
                "credit": 1100,
                "isPending": false
              }
            ]
          },
          "payment": null
        },
        "channel": "api",
        "location": {
          "storeId": "111",
          "storeParentId": "AFabulousRetailer"
        },
        "dateCreated": "2025-02-22T22:34:52+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletAccountTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "accountTransactionId": "8023748157",
        "parentAccountTransactionId": "8023748128",
        "accountId": "4131304699",
        "account": {
          "accountId": "4131304699",
          "walletId": "217190201",
          "campaignId": "1743751",
          "type": "POINTS",
          "clientType": "RETAILPOINTS",
          "status": "ACTIVE",
          "state": "LOADED",
          "dates": {
            "start": "2025-02-22T22:31:49+00:00",
            "end": "2038-01-19T03:14:07+00:00"
          },
          "meta": [],
          "dateCreated": "2025-02-22T22:31:49+00:00",
          "lastUpdated": "2025-02-22T22:43:02+00:00",
          "overrides": [],
          "balances": {
            "current": 6590,
            "usable": 6590,
            "locked": 0,
            "lifetime": 26590,
            "lifetimeSpend": 20000,
            "lifetimeSpendValue": 2000,
            "pending": 0
          },
          "relationships": [],
          "mobileWallet": "https://sb.uk.mypass.is/a/4131304699/ee114a06f9f5553"
        },
        "event": "SPEND",
        "value": 20000,
        "source": 1,
        "balancesBefore": {
          "current": 26590,
          "lifetime": 0
        },
        "balancesAfter": {
          "current": 6590,
          "lifetime": 0
        },
        "transactionDetails": {
          "merchant_store_id": "111",
          "merchant_store_parent_id": "AFabulousRetailer",
          "balances": "{\"CURRENT\":20000,\"LIFETIME_SPEND\":20000,\"LIFETIME_SPEND_VALUE\":2000,\"USABLE\":20000}"
        },
        "properties": [],
        "dateCreated": "2025-02-22T22:43:02+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "walletTransactionId": "445816981",
        "parentWalletTransactionId": "445816978",
        "walletId": "217190201",
        "reference": "20241103080000-111-01-1122",
        "transactionDateTime": "2025-02-22T22:38:07+00:00",
        "transactionDateTimeOffset": "+00:00",
        "identityId": "188245110",
        "identity": null,
        "type": "SPEND",
        "status": "ACTIVE",
        "meta": null,
        "state": "ORIGINAL",
        "expiryDate": null,
        "accounts": [
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748128"
          },
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748157"
          }
        ],
        "basket": {
          "contents": null,
          "summary": {
            "totalItems": null,
            "totalBasketValue": null,
            "totalQualifyingAmount": null,
            "totalDiscountAmount": null,
            "totalTaxAmount": null,
            "fulfilledBaseEarn": null,
            "expectedPoints": null,
            "originalQualifiedAccounts": null,
            "spendAdjudicationResults": {
              "pointsValue": 20000,
              "pointsRemainder": 5000,
              "monetaryValue": 2000,
              "balanceAfter": {
                "current": 5000,
                "usable": 5000,
                "locked": 0,
                "lifetime": 25000,
                "lifetimeSpend": 20000,
                "lifetimeSpendValue": 2000,
                "pending": 0
              },
              "appliedTier": {
                "bonus": 0,
                "ceiling": 500000,
                "floor": 10000,
                "pointsBack": 0,
                "rate": 0.1,
                "step": 10000
              },
              "operations": [
                {
                  "resourceType": "SCHEME",
                  "resourceId": "1743751",
                  "accountId": "4131304699",
                  "walletId": "217190201",
                  "operationType": "spend",
                  "value": 20000,
                  "details": null,
                  "balances": {
                    "current": 20000,
                    "lifetime_spend": 20000,
                    "lifetime_spend_value": 2000
                  }
                }
              ],
              "analysedDateTime": "2025-02-22T22:36:35+00:00",
              "excludedProducts": []
            },
            "results": {
              "points": {
                "spend": 20000,
                "debit": 0,
                "refund": 0,
                "totalPointsTaken": 20000,
                "earn": 0,
                "credit": 0,
                "totalPointsGiven": 0,
                "totalMonetaryValue": 2000
              },
              "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-02-22T22:38:07+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "walletTransactionId": "445816981",
        "parentWalletTransactionId": "445816978",
        "walletId": "217190201",
        "reference": "20241103080000-111-01-1122",
        "transactionDateTime": "2025-02-22T22:38:07+00:00",
        "transactionDateTimeOffset": "+00:00",
        "identityId": "188245110",
        "identity": null,
        "type": "SPEND",
        "status": "SETTLED",
        "meta": null,
        "state": "ORIGINAL",
        "expiryDate": null,
        "accounts": [
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748128"
          },
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748157"
          }
        ],
        "basket": {
          "contents": null,
          "summary": {
            "totalItems": null,
            "totalBasketValue": null,
            "totalQualifyingAmount": null,
            "totalDiscountAmount": null,
            "totalTaxAmount": null,
            "fulfilledBaseEarn": null,
            "expectedPoints": null,
            "originalQualifiedAccounts": null,
            "spendAdjudicationResults": {
              "pointsValue": 20000,
              "pointsRemainder": 5000,
              "monetaryValue": 2000,
              "balanceAfter": {
                "current": 5000,
                "usable": 5000,
                "locked": 0,
                "lifetime": 25000,
                "lifetimeSpend": 20000,
                "lifetimeSpendValue": 2000,
                "pending": 0
              },
              "appliedTier": {
                "bonus": 0,
                "ceiling": 500000,
                "floor": 10000,
                "pointsBack": 0,
                "rate": 0.1,
                "step": 10000
              },
              "operations": [
                {
                  "resourceType": "SCHEME",
                  "resourceId": "1743751",
                  "accountId": "4131304699",
                  "walletId": "217190201",
                  "operationType": "spend",
                  "value": 20000,
                  "details": null,
                  "balances": {
                    "current": 20000,
                    "lifetime_spend": 20000,
                    "lifetime_spend_value": 2000
                  }
                }
              ],
              "analysedDateTime": "2025-02-22T22:36:35+00:00",
              "excludedProducts": []
            },
            "results": {
              "points": {
                "spend": 20000,
                "debit": 0,
                "refund": 0,
                "totalPointsTaken": 20000,
                "earn": 0,
                "credit": 0,
                "totalPointsGiven": 0,
                "totalMonetaryValue": 2000
              },
              "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-02-22T22:38:07+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    },
    {
      "objectType": "walletTransactionEntity",
      "operationType": "UPDATE",
      "objectValue": {
        "walletTransactionId": "445816981",
        "parentWalletTransactionId": "445816978",
        "walletId": "217190201",
        "reference": "20241103080000-111-01-1122",
        "transactionDateTime": "2025-02-22T22:38:07+00:00",
        "transactionDateTimeOffset": "+00:00",
        "identityId": "188245110",
        "identity": null,
        "type": "SPEND",
        "status": "SETTLED",
        "meta": null,
        "state": "ORIGINAL",
        "expiryDate": null,
        "accounts": [
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748128"
          },
          {
            "accountId": "4131304699",
            "accountTransactionId": "8023748157"
          }
        ],
        "basket": {
          "contents": null,
          "summary": {
            "totalItems": null,
            "totalBasketValue": null,
            "totalQualifyingAmount": null,
            "totalDiscountAmount": null,
            "totalTaxAmount": null,
            "fulfilledBaseEarn": null,
            "expectedPoints": null,
            "originalQualifiedAccounts": null,
            "spendAdjudicationResults": {
              "pointsValue": 20000,
              "pointsRemainder": 5000,
              "monetaryValue": 2000,
              "balanceAfter": {
                "current": 5000,
                "usable": 5000,
                "locked": 0,
                "lifetime": 25000,
                "lifetimeSpend": 20000,
                "lifetimeSpendValue": 2000,
                "pending": 0
              },
              "appliedTier": {
                "bonus": 0,
                "ceiling": 500000,
                "floor": 10000,
                "pointsBack": 0,
                "rate": 0.1,
                "step": 10000
              },
              "operations": [
                {
                  "resourceType": "SCHEME",
                  "resourceId": "1743751",
                  "accountId": "4131304699",
                  "walletId": "217190201",
                  "operationType": "spend",
                  "value": 20000,
                  "details": null,
                  "balances": {
                    "current": 20000,
                    "lifetime_spend": 20000,
                    "lifetime_spend_value": 2000
                  }
                }
              ],
              "analysedDateTime": "2025-02-22T22:36:35+00:00",
              "excludedProducts": []
            },
            "results": {
              "points": {
                "spend": 20000,
                "debit": 0,
                "refund": 0,
                "totalPointsTaken": 20000,
                "earn": 0,
                "credit": 0,
                "totalPointsGiven": 0,
                "totalMonetaryValue": 2000
              },
              "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-02-22T22:38:07+00:00",
        "lastUpdated": "2025-02-22T22:43:02+00:00"
      }
    }
  ]
}

Minimum Recommended Fields for Wallet Settle API

Below is a list of minimum recommended fields for the Wallet Settle API for a typical POS Connect integration. Refer to Wallet Settle API documentation for field definitions and additional attributes should they be required.

Request

Expand to see the list of minimum recommended fields

Header

Field
X-POSCONNECT-TRANSACTION-DATETIME

Body

FieldMapping Guidance
identitySame as wallet open request
identity.identityValueSame as wallet open request
locationSame as wallet open request
location.incomingIdentifierSame as wallet open request
location.parentIncomingIdentifierSame as wallet open request
referencewallet transaction reference of the associated with the purchase, usually the same as the wallet Open Transaction reference
basketMap basket container from Wallet Open response
walletTransactionsOnly provide if one or more wallet transactions for e.g. SPEND needs to be settled along with the parent wallet transaction
walletTransactions.linkset to true so that SPEND transaction becomes linked to the parent purchase transaction
walletTransactions.referencewallet transaction reference of the associated transaction of type SPEND
walletTransactions.walletIdMap walletId from Wallet Open response
walletTransactions.operationTypeSETTLE