@eagleeye-solutions/integration-events-common
Version:
Eagle Eye CDP connector common functionality
1,114 lines • 73 kB
JSON
{
"headers": {
"eventName": "POSCONNECT.WALLET.SETTLE",
"eventDate": "2025-01-22T21:21:49.340962",
"eesEnvironmentType": "sandbox-uk",
"eesSubsystemId": "pos.sandbox.uk.eagleeye.com",
"callerIp": "35.244.190.158",
"unitId": "197332",
"unitFriendlyName": "Apply Digital",
"clientId": "mgtgpt5ewhj5fwvdm6d1",
"clientIdFriendlyName": "api",
"eesEventId": "bb608240-ff62-49ed-ba79-146b26d5280c",
"eesMasterEventId": "Z5FhbWjxkV272a0pGeCfXgAAAOM",
"externalMessageId": "",
"eesApiVersion": "7.6"
},
"request": {
"resource": "\/connect\/wallet\/settle",
"method": "POST",
"body": "{\n \"walletId\": \"216245571\",\n \"reference\": \"TransactionReferenceJan22abc333\",\n \"location\": {\n \"incomingIdentifier\": \"outlet1\",\n \"parentIncomingIdentifier\": \"banner1\"\n },\n \"mode\": \"ACTIVE\",\n \"walletTransactions\": [\n {\n \"link\": true,\n \"reference\": \"NSSpendTestabc123\",\n \"walletId\": \"216245571\",\n \"operationType\": \"SETTLE\"\n }\n ],\n \"basket\": {\n \"type\": \"ENRICHED\",\n \"summary\": {\n \"totalItems\": 6,\n \"totalBasketValue\": 7000,\n \"results\": {\n \"points\": {\n \"spend\": 0,\n \"debit\": 0,\n \"refund\": 0,\n \"totalPointsTaken\": 0,\n \"earn\": 70,\n \"credit\": 600,\n \"totalPointsGiven\": 670,\n \"totalMonetaryValue\": 0\n },\n \"tiers\": null\n },\n \"adjudicationResults\": [\n {\n \"resourceType\": \"SCHEME\",\n \"resourceId\": \"100620987\",\n \"instanceId\": \"100620987-1\",\n \"success\": null,\n \"type\": \"earn\",\n \"value\": null,\n \"balances\": {\n \"current\": 70\n },\n \"isRefundable\": true,\n \"isUnredeemable\": false,\n \"relatedAccountIds\": [],\n \"targetedAccountId\": \"4083750463\",\n \"targetedWalletId\": \"216245571\",\n \"totalMatchingUnits\": null,\n \"playOrderPosition\": 1\n },\n {\n \"resourceType\": \"CAMPAIGN\",\n \"resourceId\": \"100641543\",\n \"instanceId\": \"100641543-1\",\n \"success\": null,\n \"type\": \"redeem\",\n \"value\": 200,\n \"balances\": null,\n \"isRefundable\": true,\n \"isUnredeemable\": false,\n \"relatedAccountIds\": [\n \"4083750461\"\n ],\n \"targetedAccountId\": \"4083750461\",\n \"targetedWalletId\": \"216245571\",\n \"totalMatchingUnits\": null,\n \"playOrderPosition\": 3,\n \"totalRewardUnits\": 0\n },\n {\n \"resourceType\": \"CAMPAIGN\",\n \"resourceId\": \"100641543\",\n \"instanceId\": \"100641543-1\",\n \"success\": null,\n \"type\": \"credit\",\n \"value\": null,\n \"balances\": {\n \"current\": 200\n },\n \"isRefundable\": true,\n \"isUnredeemable\": false,\n \"relatedAccountIds\": [\n \"4083750461\"\n ],\n \"targetedAccountId\": \"4083750463\",\n \"targetedWalletId\": \"216245571\",\n \"totalMatchingUnits\": null,\n \"playOrderPosition\": 3\n }\n ],\n \"qualifiesResults\": [\n {\n \"instanceId\": \"100641543-1\",\n \"totalMatchingUnits\": null,\n \"totalMatchingSpend\": 5000,\n \"totalOverallMatchingSpend\": null\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\": \"100620987-1\",\n \"value\": 20\n },\n {\n \"instanceId\": \"100641543-1\",\n \"value\": 60\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\": \"100620987-1\",\n \"value\": 10\n },\n {\n \"instanceId\": \"100641542-1\",\n \"value\": 100\n },\n {\n \"instanceId\": \"100641543-1\",\n \"value\": 28\n }\n ],\n \"adjudicationResults\": [\n {\n \"resourceType\": \"CAMPAIGN\",\n \"resourceId\": \"100641542\",\n \"instanceId\": \"100641542-1\",\n \"success\": null,\n \"type\": \"redeem\",\n \"value\": 100,\n \"balances\": null,\n \"isRefundable\": true,\n \"isUnredeemable\": false,\n \"relatedAccountIds\": [\n \"4083750460\"\n ],\n \"targetedAccountId\": \"4083750460\",\n \"targetedWalletId\": \"216245571\",\n \"totalMatchingUnits\": 1,\n \"playOrderPosition\": 2,\n \"totalRewardUnits\": 0\n },\n {\n \"resourceType\": \"CAMPAIGN\",\n \"resourceId\": \"100641542\",\n \"instanceId\": \"100641542-1\",\n \"success\": null,\n \"type\": \"credit\",\n \"value\": null,\n \"balances\": {\n \"current\": 100\n },\n \"isRefundable\": true,\n \"isUnredeemable\": false,\n \"relatedAccountIds\": [\n \"4083750460\"\n ],\n \"targetedAccountId\": \"4083750463\",\n \"targetedWalletId\": \"216245571\",\n \"totalMatchingUnits\": null,\n \"playOrderPosition\": 2\n }\n ],\n \"qualifiesResults\": [\n {\n \"instanceId\": \"100641542-1\",\n \"totalMatchingUnits\": 1,\n \"totalMatchingSpend\": 1,\n \"totalOverallMatchingSpend\": null\n }\n ]\n },\n {\n \"upc\": \"245887\",\n \"itemUnitCost\": 1000,\n \"salesKey\": \"SALE\",\n \"totalUnitCostAfterDiscount\": 1000,\n \"totalUnitCost\": 1000,\n \"description\": \"Oranges\",\n \"itemUnitCount\": 1,\n \"contributionResults\": [\n {\n \"instanceId\": \"100620987-1\",\n \"value\": 10\n },\n {\n \"instanceId\": \"100641543-1\",\n \"value\": 28\n },\n {\n \"instanceId\": \"100641544-1\",\n \"value\": 300\n }\n ],\n \"adjudicationResults\": [\n {\n \"resourceType\": \"CAMPAIGN\",\n \"resourceId\": \"100641544\",\n \"instanceId\": \"100641544-1\",\n \"success\": null,\n \"type\": \"redeem\",\n \"value\": 300,\n \"balances\": null,\n \"isRefundable\": true,\n \"isUnredeemable\": false,\n \"relatedAccountIds\": [\n \"4083750462\"\n ],\n \"targetedAccountId\": \"4083750462\",\n \"targetedWalletId\": \"216245571\",\n \"totalMatchingUnits\": 1,\n \"playOrderPosition\": 4,\n \"totalRewardUnits\": 0\n },\n {\n \"resourceType\": \"CAMPAIGN\",\n \"resourceId\": \"100641544\",\n \"instanceId\": \"100641544-1\",\n \"success\": null,\n \"type\": \"credit\",\n \"value\": null,\n \"balances\": {\n \"current\": 300\n },\n \"isRefundable\": true,\n \"isUnredeemable\": false,\n \"relatedAccountIds\": [\n \"4083750462\"\n ],\n \"targetedAccountId\": \"4083750463\",\n \"targetedWalletId\": \"216245571\",\n \"totalMatchingUnits\": null,\n \"playOrderPosition\": 4\n }\n ],\n \"qualifiesResults\": [\n {\n \"instanceId\": \"100641544-1\",\n \"totalMatchingUnits\": 1,\n \"totalMatchingSpend\": 1,\n \"totalOverallMatchingSpend\": null\n }\n ]\n },\n {\n \"upc\": \"245886\",\n \"itemUnitCost\": 1000,\n \"salesKey\": \"SALE\",\n \"totalUnitCostAfterDiscount\": 1000,\n \"totalUnitCost\": 1000,\n \"description\": \"Carrot\",\n \"itemUnitCount\": 1,\n \"contributionResults\": [\n {\n \"instanceId\": \"100620987-1\",\n \"value\": 10\n },\n {\n \"instanceId\": \"100641543-1\",\n \"value\": 28\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\": \"100620987-1\",\n \"value\": 10\n },\n {\n \"instanceId\": \"100641543-1\",\n \"value\": 28\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 \"contributionResults\": [\n {\n \"instanceId\": \"100620987-1\",\n \"value\": 10\n },\n {\n \"instanceId\": \"100641543-1\",\n \"value\": 28\n }\n ]\n }\n ],\n \"analysedDateTime\": \"2025-01-22T20:45:30+00:00\"\n }\n}",
"contentType": "application\/json",
"customHeaders": []
},
"response": {
"code": 200,
"body": "{\"walletTransactions\":[{\"walletTransactionId\":\"437907485\",\"parentWalletTransactionId\":\"0\",\"walletId\":\"216245571\",\"reference\":\"TransactionReferenceJan22abc333\",\"transactionDateTime\":\"2025-01-22T21:10:56+00:00\",\"transactionDateTimeOffset\":\"+00:00\",\"identityId\":\"186980856\",\"identity\":{\"identityId\":\"186980856\",\"walletId\":\"216245571\",\"type\":\"CUSTOMER_ID\",\"friendlyName\":null,\"value\":\"1111111111111122\",\"safeValue\":null,\"secret\":null,\"dates\":{\"start\":\"2025-01-22T20:44:59+00:00\",\"end\":null},\"meta\":[],\"state\":\"DEFAULT\",\"status\":\"ACTIVE\",\"dateCreated\":\"2025-01-22T20:44:59+00:00\",\"lastUpdated\":\"2025-01-22T20:44:59+00:00\",\"mobileWallet\":\"https:\\\/\\\/sb.uk.mypass.is\\\/identity\\\/197332\\\/216245571\\\/186980856\\\/3f81e0754ed7774aa1e527c88646526d2c0dd75e5e450abe47f550fcc4a68b63\"},\"type\":\"SETTLE\",\"status\":\"SETTLED\",\"meta\":null,\"state\":\"ORIGINAL\",\"expiryDate\":null,\"accounts\":[{\"accountId\":\"4083750461\",\"accountTransactionId\":\"7877376217\"},{\"accountId\":\"4083750460\",\"accountTransactionId\":\"7877376218\"},{\"accountId\":\"4083750462\",\"accountTransactionId\":\"7877376219\"},{\"accountId\":\"4083750463\",\"accountTransactionId\":\"7877376220\"},{\"accountId\":\"4083750463\",\"accountTransactionId\":\"7877376221\"}],\"basket\":{\"contents\":[{\"upc\":\"245874\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":2000,\"totalUnitCost\":2000,\"description\":\"Lemonade\",\"itemUnitCount\":2,\"contributionResults\":[{\"instanceId\":\"100620987-1\",\"value\":20},{\"instanceId\":\"100641543-1\",\"value\":60}]},{\"upc\":\"245875\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":1000,\"totalUnitCost\":1000,\"description\":\"Coffee\",\"itemUnitCount\":1,\"contributionResults\":[{\"instanceId\":\"100620987-1\",\"value\":10},{\"instanceId\":\"100641542-1\",\"value\":100},{\"instanceId\":\"100641543-1\",\"value\":28}],\"adjudicationResults\":[{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100641542\",\"instanceId\":\"100641542-1\",\"success\":true,\"type\":\"redeem\",\"value\":100,\"balances\":null,\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4083750460\"],\"targetedAccountId\":\"4083750460\",\"targetedWalletId\":\"216245571\",\"totalMatchingUnits\":1,\"playOrderPosition\":2,\"totalRewardUnits\":0},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100641542\",\"instanceId\":\"100641542-1\",\"success\":true,\"type\":\"credit\",\"value\":null,\"balances\":{\"current\":100},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4083750460\"],\"targetedAccountId\":\"4083750463\",\"targetedWalletId\":\"216245571\",\"totalMatchingUnits\":null,\"playOrderPosition\":2}],\"qualifiesResults\":[{\"instanceId\":\"100641542-1\",\"totalMatchingUnits\":1,\"totalMatchingSpend\":1,\"totalOverallMatchingSpend\":null}]},{\"upc\":\"245887\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":1000,\"totalUnitCost\":1000,\"description\":\"Oranges\",\"itemUnitCount\":1,\"contributionResults\":[{\"instanceId\":\"100620987-1\",\"value\":10},{\"instanceId\":\"100641543-1\",\"value\":28},{\"instanceId\":\"100641544-1\",\"value\":300}],\"adjudicationResults\":[{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100641544\",\"instanceId\":\"100641544-1\",\"success\":true,\"type\":\"redeem\",\"value\":300,\"balances\":null,\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4083750462\"],\"targetedAccountId\":\"4083750462\",\"targetedWalletId\":\"216245571\",\"totalMatchingUnits\":1,\"playOrderPosition\":4,\"totalRewardUnits\":0},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100641544\",\"instanceId\":\"100641544-1\",\"success\":true,\"type\":\"credit\",\"value\":null,\"balances\":{\"current\":300},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4083750462\"],\"targetedAccountId\":\"4083750463\",\"targetedWalletId\":\"216245571\",\"totalMatchingUnits\":null,\"playOrderPosition\":4}],\"qualifiesResults\":[{\"instanceId\":\"100641544-1\",\"totalMatchingUnits\":1,\"totalMatchingSpend\":1,\"totalOverallMatchingSpend\":null}]},{\"upc\":\"245886\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":1000,\"totalUnitCost\":1000,\"description\":\"Carrot\",\"itemUnitCount\":1,\"contributionResults\":[{\"instanceId\":\"100620987-1\",\"value\":10},{\"instanceId\":\"100641543-1\",\"value\":28}]},{\"upc\":\"245868\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":1000,\"totalUnitCost\":1000,\"description\":\"Pizza\",\"itemUnitCount\":1,\"contributionResults\":[{\"instanceId\":\"100620987-1\",\"value\":10},{\"instanceId\":\"100641543-1\",\"value\":28}]},{\"upc\":\"245872\",\"itemUnitCost\":1000,\"salesKey\":\"SALE\",\"totalUnitCostAfterDiscount\":1000,\"totalUnitCost\":1000,\"description\":\"Wine\",\"itemUnitCount\":1,\"contributionResults\":[{\"instanceId\":\"100620987-1\",\"value\":10},{\"instanceId\":\"100641543-1\",\"value\":28}]}],\"summary\":{\"totalItems\":6,\"totalBasketValue\":7000,\"results\":{\"points\":{\"spend\":0,\"debit\":0,\"refund\":0,\"totalPointsTaken\":0,\"earn\":70,\"credit\":600,\"totalPointsGiven\":670,\"totalMonetaryValue\":0},\"tiers\":null},\"adjudicationResults\":[{\"resourceType\":\"SCHEME\",\"resourceId\":\"100620987\",\"instanceId\":\"100620987-1\",\"success\":true,\"type\":\"earn\",\"value\":null,\"balances\":{\"current\":70},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[],\"targetedAccountId\":\"4083750463\",\"targetedWalletId\":\"216245571\",\"totalMatchingUnits\":null,\"playOrderPosition\":1},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100641543\",\"instanceId\":\"100641543-1\",\"success\":true,\"type\":\"redeem\",\"value\":200,\"balances\":null,\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4083750461\"],\"targetedAccountId\":\"4083750461\",\"targetedWalletId\":\"216245571\",\"totalMatchingUnits\":null,\"playOrderPosition\":3,\"totalRewardUnits\":0},{\"resourceType\":\"CAMPAIGN\",\"resourceId\":\"100641543\",\"instanceId\":\"100641543-1\",\"success\":true,\"type\":\"credit\",\"value\":null,\"balances\":{\"current\":200},\"isRefundable\":true,\"isUnredeemable\":false,\"relatedAccountIds\":[\"4083750461\"],\"targetedAccountId\":\"4083750463\",\"targetedWalletId\":\"216245571\",\"totalMatchingUnits\":null,\"playOrderPosition\":3}],\"qualifiesResults\":[{\"instanceId\":\"100641543-1\",\"totalMatchingUnits\":null,\"totalMatchingSpend\":5000,\"totalOverallMatchingSpend\":null}],\"expectedPoints\":[{\"schemeId\":\"100620987\",\"earn\":70,\"credit\":600,\"isPending\":false}]},\"payment\":null},\"channel\":\"api\",\"location\":{\"storeId\":\"outlet1\",\"storeParentId\":\"banner1\"},\"dateCreated\":\"2025-01-22T21:10:56+00:00\",\"lastUpdated\":\"2025-01-22T21:21:49+00:00\"},{\"walletTransactionId\":\"437908084\",\"parentWalletTransactionId\":\"437907485\",\"walletId\":\"216245571\",\"reference\":\"NSSpendTestabc123\",\"transactionDateTime\":\"2025-01-22T21:12:34+00:00\",\"transactionDateTimeOffset\":\"+00:00\",\"identityId\":\"186980856\",\"identity\":null,\"type\":\"SPEND\",\"status\":\"SETTLED\",\"meta\":null,\"state\":\"ORIGINAL\",\"expiryDate\":null,\"accounts\":[{\"accountId\":\"4083750463\",\"accountTransactionId\":\"7877348820\"},{\"accountId\":\"4083750463\",\"accountTransactionId\":\"7877376222\"}],\"basket\":{\"contents\":null,\"summary\":{\"totalItems\":null,\"totalBasketValue\":null,\"totalQualifyingAmount\":null,\"totalDiscountAmount\":null,\"totalTaxAmount\":null,\"fulfilledBaseEarn\":null,\"expectedPoints\":null,\"originalQualifiedAccounts\":null,\"spendAdjudicationResults\":{\"pointsValue\":20000,\"pointsRemainder\":0,\"monetaryValue\":20000,\"balanceAfter\":{\"current\":5670,\"usable\":5670,\"locked\":0,\"lifetime\":25670,\"lifetimeSpend\":20000,\"lifetimeSpendValue\":20000,\"pending\":0},\"appliedTier\":{\"bonus\":0,\"ceiling\":999999,\"floor\":1,\"pointsBack\":0,\"rate\":1,\"step\":1},\"operations\":[{\"resourceType\":\"SCHEME\",\"resourceId\":\"100620987\",\"accountId\":\"4083750463\",\"walletId\":\"216245571\",\"operationType\":\"spend\",\"value\":20000,\"details\":null,\"balances\":{\"current\":20000,\"lifetime_spend\":20000,\"lifetime_spend_value\":20000}}],\"analysedDateTime\":\"2025-01-22T21:08:19+00:00\",\"excludedProducts\":[]},\"results\":{\"points\":{\"spend\":20000,\"debit\":0,\"refund\":0,\"totalPointsTaken\":20000,\"earn\":0,\"credit\":0,\"totalPointsGiven\":0,\"totalMonetaryValue\":20000},\"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\":\"outlet1\",\"storeParentId\":\"banner1\"},\"dateCreated\":\"2025-01-22T21:12:34+00:00\",\"lastUpdated\":\"2025-01-22T21:21:50+00:00\"}],\"accountTransactions\":[{\"accountTransactionId\":\"7877376217\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4083750461\",\"event\":\"REDEEM\",\"value\":200,\"source\":1,\"balancesBefore\":{\"available\":0,\"refundable\":0},\"balancesAfter\":{\"available\":0,\"refundable\":0},\"transactionDetails\":{\"numberOfRewards\":1,\"merchant_store_id\":\"outlet1\",\"merchant_store_parent_id\":\"banner1\"},\"properties\":[],\"dateCreated\":\"2025-01-22T21:21:49+00:00\",\"lastUpdated\":\"2025-01-22T21:21:49+00:00\"},{\"accountTransactionId\":\"7877376218\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4083750460\",\"event\":\"REDEEM\",\"value\":100,\"source\":1,\"balancesBefore\":{\"available\":0,\"refundable\":0},\"balancesAfter\":{\"available\":0,\"refundable\":0},\"transactionDetails\":{\"numberOfRewards\":1,\"merchant_store_id\":\"outlet1\",\"merchant_store_parent_id\":\"banner1\"},\"properties\":[],\"dateCreated\":\"2025-01-22T21:21:49+00:00\",\"lastUpdated\":\"2025-01-22T21:21:49+00:00\"},{\"accountTransactionId\":\"7877376219\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4083750462\",\"event\":\"REDEEM\",\"value\":300,\"source\":1,\"balancesBefore\":{\"available\":0,\"refundable\":0},\"balancesAfter\":{\"available\":0,\"refundable\":0},\"transactionDetails\":{\"numberOfRewards\":1,\"merchant_store_id\":\"outlet1\",\"merchant_store_parent_id\":\"banner1\"},\"properties\":[],\"dateCreated\":\"2025-01-22T21:21:49+00:00\",\"lastUpdated\":\"2025-01-22T21:21:49+00:00\"},{\"accountTransactionId\":\"7877376220\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4083750463\",\"event\":\"EARN\",\"value\":70,\"source\":1,\"balancesBefore\":{\"current\":25670,\"lifetime\":0},\"balancesAfter\":{\"current\":25740,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"outlet1\",\"merchant_store_parent_id\":\"banner1\"},\"properties\":[],\"dateCreated\":\"2025-01-22T21:21:49+00:00\",\"lastUpdated\":\"2025-01-22T21:21:49+00:00\"},{\"accountTransactionId\":\"7877376221\",\"parentAccountTransactionId\":\"\",\"accountId\":\"4083750463\",\"event\":\"CREDIT\",\"value\":600,\"source\":1,\"balancesBefore\":{\"current\":25740,\"lifetime\":0},\"balancesAfter\":{\"current\":26340,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"outlet1\",\"merchant_store_parent_id\":\"banner1\"},\"properties\":[],\"dateCreated\":\"2025-01-22T21:21:49+00:00\",\"lastUpdated\":\"2025-01-22T21:21:49+00:00\"},{\"accountTransactionId\":\"7877376222\",\"parentAccountTransactionId\":\"7877348820\",\"accountId\":\"4083750463\",\"event\":\"SPEND\",\"value\":20000,\"source\":1,\"balancesBefore\":{\"current\":26340,\"lifetime\":0},\"balancesAfter\":{\"current\":6340,\"lifetime\":0},\"transactionDetails\":{\"merchant_store_id\":\"outlet1\",\"merchant_store_parent_id\":\"banner1\",\"balances\":\"{\\\"CURRENT\\\":20000,\\\"LIFETIME_SPEND\\\":20000,\\\"LIFETIME_SPEND_VALUE\\\":20000,\\\"USABLE\\\":20000}\"},\"properties\":[],\"dateCreated\":\"2025-01-22T21:21:50+00:00\",\"lastUpdated\":\"2025-01-22T21:21:50+00:00\"}]}",
"contentType": "application\/json;charset=utf-8"
},
"atomicOperations": [
{
"objectType": "walletTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"walletTransactionId": "437907485",
"parentWalletTransactionId": "0",
"walletId": "216245571",
"reference": "TransactionReferenceJan22abc333",
"transactionDateTime": "2025-01-22T21:10:56+00:00",
"transactionDateTimeOffset": "+00:00",
"identityId": "186980856",
"identity": null,
"type": "SETTLE",
"status": "SETTLED",
"meta": null,
"state": "ORIGINAL",
"expiryDate": null,
"accounts": [],
"basket": {
"contents": null,
"summary": null,
"payment": null
},
"channel": "api",
"location": {
"storeId": null,
"storeParentId": null
},
"dateCreated": "2025-01-22T21:10:56+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00"
}
},
{
"objectType": "walletAccountTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"accountTransactionId": "7877376217",
"parentAccountTransactionId": "",
"accountId": "4083750461",
"account": {
"accountId": "4083750461",
"walletId": "216245571",
"campaignId": "100641543",
"type": "ECOUPON",
"clientType": "OFFER",
"status": "USED",
"state": "LOADED",
"dates": {
"start": "2025-01-22T20:44:59+00:00",
"end": "2025-12-31T23:59:00+00:00"
},
"meta": [],
"dateCreated": "2025-01-22T20:44:59+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00",
"overrides": [],
"balances": {
"available": 0,
"refundable": 0
},
"relationships": [],
"mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750461\/f909e011253dff5"
},
"event": "REDEEM",
"value": 200,
"source": 1,
"balancesBefore": {
"available": 0,
"refundable": 0
},
"balancesAfter": {
"available": 0,
"refundable": 0
},
"transactionDetails": {
"numberOfRewards": 1,
"merchant_store_id": "outlet1",
"merchant_store_parent_id": "banner1"
},
"properties": [],
"dateCreated": "2025-01-22T21:21:49+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00"
}
},
{
"objectType": "walletAccountTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"accountTransactionId": "7877376218",
"parentAccountTransactionId": "",
"accountId": "4083750460",
"account": {
"accountId": "4083750460",
"walletId": "216245571",
"campaignId": "100641542",
"type": "ECOUPON",
"clientType": "OFFER",
"status": "USED",
"state": "LOADED",
"dates": {
"start": "2025-01-22T20:44:59+00:00",
"end": "2025-12-31T23:59:00+00:00"
},
"meta": [],
"dateCreated": "2025-01-22T20:44:59+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00",
"overrides": [],
"balances": {
"available": 0,
"refundable": 0
},
"relationships": [],
"mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750460\/3c77a48403ef2ac"
},
"event": "REDEEM",
"value": 100,
"source": 1,
"balancesBefore": {
"available": 0,
"refundable": 0
},
"balancesAfter": {
"available": 0,
"refundable": 0
},
"transactionDetails": {
"numberOfRewards": 1,
"merchant_store_id": "outlet1",
"merchant_store_parent_id": "banner1"
},
"properties": [],
"dateCreated": "2025-01-22T21:21:49+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00"
}
},
{
"objectType": "walletAccountTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"accountTransactionId": "7877376219",
"parentAccountTransactionId": "",
"accountId": "4083750462",
"account": {
"accountId": "4083750462",
"walletId": "216245571",
"campaignId": "100641544",
"type": "ECOUPON",
"clientType": "OFFER",
"status": "USED",
"state": "LOADED",
"dates": {
"start": "2025-01-22T20:44:59+00:00",
"end": "2025-12-31T23:59:00+00:00"
},
"meta": [],
"dateCreated": "2025-01-22T20:44:59+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00",
"overrides": [],
"balances": {
"available": 0,
"refundable": 0
},
"relationships": [],
"mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750462\/a4fa24b3a013592"
},
"event": "REDEEM",
"value": 300,
"source": 1,
"balancesBefore": {
"available": 0,
"refundable": 0
},
"balancesAfter": {
"available": 0,
"refundable": 0
},
"transactionDetails": {
"numberOfRewards": 1,
"merchant_store_id": "outlet1",
"merchant_store_parent_id": "banner1"
},
"properties": [],
"dateCreated": "2025-01-22T21:21:49+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00"
}
},
{
"objectType": "walletAccountTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"accountTransactionId": "7877376220",
"parentAccountTransactionId": "",
"accountId": "4083750463",
"account": {
"accountId": "4083750463",
"walletId": "216245571",
"campaignId": "100620987",
"type": "POINTS",
"clientType": "RETAILPOINTS",
"status": "ACTIVE",
"state": "LOADED",
"dates": {
"start": "2025-01-22T20:45:00+00:00",
"end": "2038-01-19T03:14:07+00:00"
},
"meta": [],
"dateCreated": "2025-01-22T20:45:00+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00",
"overrides": [],
"balances": {
"current": 25740,
"usable": 5740,
"locked": 20000,
"lifetime": 25740,
"pending": 0,
"lifetimeSpend": 0,
"lifetimeSpendValue": 0
},
"relationships": [],
"mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750463\/09136f8886d943f"
},
"event": "EARN",
"value": 70,
"source": 1,
"balancesBefore": {
"current": 25670,
"lifetime": 0
},
"balancesAfter": {
"current": 25740,
"lifetime": 0
},
"transactionDetails": {
"merchant_store_id": "outlet1",
"merchant_store_parent_id": "banner1"
},
"properties": [],
"dateCreated": "2025-01-22T21:21:49+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00"
}
},
{
"objectType": "walletAccountTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"accountTransactionId": "7877376221",
"parentAccountTransactionId": "",
"accountId": "4083750463",
"account": {
"accountId": "4083750463",
"walletId": "216245571",
"campaignId": "100620987",
"type": "POINTS",
"clientType": "RETAILPOINTS",
"status": "ACTIVE",
"state": "LOADED",
"dates": {
"start": "2025-01-22T20:45:00+00:00",
"end": "2038-01-19T03:14:07+00:00"
},
"meta": [],
"dateCreated": "2025-01-22T20:45:00+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00",
"overrides": [],
"balances": {
"current": 26340,
"usable": 6340,
"locked": 20000,
"lifetime": 26340,
"pending": 0,
"lifetimeSpend": 0,
"lifetimeSpendValue": 0
},
"relationships": [],
"mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750463\/09136f8886d943f"
},
"event": "CREDIT",
"value": 600,
"source": 1,
"balancesBefore": {
"current": 25740,
"lifetime": 0
},
"balancesAfter": {
"current": 26340,
"lifetime": 0
},
"transactionDetails": {
"merchant_store_id": "outlet1",
"merchant_store_parent_id": "banner1"
},
"properties": [],
"dateCreated": "2025-01-22T21:21:49+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00"
}
},
{
"objectType": "walletTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"walletTransactionId": "437907485",
"parentWalletTransactionId": "0",
"walletId": "216245571",
"reference": "TransactionReferenceJan22abc333",
"transactionDateTime": "2025-01-22T21:10:56+00:00",
"transactionDateTimeOffset": "+00:00",
"identityId": "186980856",
"identity": null,
"type": "SETTLE",
"status": "SETTLED",
"meta": null,
"state": "ORIGINAL",
"expiryDate": null,
"accounts": [
{
"accountId": "4083750461",
"accountTransactionId": "7877376217"
},
{
"accountId": "4083750460",
"accountTransactionId": "7877376218"
},
{
"accountId": "4083750462",
"accountTransactionId": "7877376219"
},
{
"accountId": "4083750463",
"accountTransactionId": "7877376220"
},
{
"accountId": "4083750463",
"accountTransactionId": "7877376221"
}
],
"basket": {
"contents": [
{
"upc": "245874",
"itemUnitCost": 1000,
"salesKey": "SALE",
"totalUnitCostAfterDiscount": 2000,
"totalUnitCost": 2000,
"description": "Lemonade",
"itemUnitCount": 2,
"contributionResults": [
{
"instanceId": "100620987-1",
"value": 20
},
{
"instanceId": "100641543-1",
"value": 60
}
]
},
{
"upc": "245875",
"itemUnitCost": 1000,
"salesKey": "SALE",
"totalUnitCostAfterDiscount": 1000,
"totalUnitCost": 1000,
"description": "Coffee",
"itemUnitCount": 1,
"contributionResults": [
{
"instanceId": "100620987-1",
"value": 10
},
{
"instanceId": "100641542-1",
"value": 100
},
{
"instanceId": "100641543-1",
"value": 28
}
],
"adjudicationResults": [
{
"resourceType": "CAMPAIGN",
"resourceId": "100641542",
"instanceId": "100641542-1",
"success": true,
"type": "redeem",
"value": 100,
"balances": null,
"isRefundable": true,
"isUnredeemable": false,
"relatedAccountIds": [
"4083750460"
],
"targetedAccountId": "4083750460",
"targetedWalletId": "216245571",
"totalMatchingUnits": 1,
"playOrderPosition": 2,
"totalRewardUnits": 0
},
{
"resourceType": "CAMPAIGN",
"resourceId": "100641542",
"instanceId": "100641542-1",
"success": true,
"type": "credit",
"value": null,
"balances": {
"current": 100
},
"isRefundable": true,
"isUnredeemable": false,
"relatedAccountIds": [
"4083750460"
],
"targetedAccountId": "4083750463",
"targetedWalletId": "216245571",
"totalMatchingUnits": null,
"playOrderPosition": 2
}
],
"qualifiesResults": [
{
"instanceId": "100641542-1",
"totalMatchingUnits": 1,
"totalMatchingSpend": 1,
"totalOverallMatchingSpend": null
}
]
},
{
"upc": "245887",
"itemUnitCost": 1000,
"salesKey": "SALE",
"totalUnitCostAfterDiscount": 1000,
"totalUnitCost": 1000,
"description": "Oranges",
"itemUnitCount": 1,
"contributionResults": [
{
"instanceId": "100620987-1",
"value": 10
},
{
"instanceId": "100641543-1",
"value": 28
},
{
"instanceId": "100641544-1",
"value": 300
}
],
"adjudicationResults": [
{
"resourceType": "CAMPAIGN",
"resourceId": "100641544",
"instanceId": "100641544-1",
"success": true,
"type": "redeem",
"value": 300,
"balances": null,
"isRefundable": true,
"isUnredeemable": false,
"relatedAccountIds": [
"4083750462"
],
"targetedAccountId": "4083750462",
"targetedWalletId": "216245571",
"totalMatchingUnits": 1,
"playOrderPosition": 4,
"totalRewardUnits": 0
},
{
"resourceType": "CAMPAIGN",
"resourceId": "100641544",
"instanceId": "100641544-1",
"success": true,
"type": "credit",
"value": null,
"balances": {
"current": 300
},
"isRefundable": true,
"isUnredeemable": false,
"relatedAccountIds": [
"4083750462"
],
"targetedAccountId": "4083750463",
"targetedWalletId": "216245571",
"totalMatchingUnits": null,
"playOrderPosition": 4
}
],
"qualifiesResults": [
{
"instanceId": "100641544-1",
"totalMatchingUnits": 1,
"totalMatchingSpend": 1,
"totalOverallMatchingSpend": null
}
]
},
{
"upc": "245886",
"itemUnitCost": 1000,
"salesKey": "SALE",
"totalUnitCostAfterDiscount": 1000,
"totalUnitCost": 1000,
"description": "Carrot",
"itemUnitCount": 1,
"contributionResults": [
{
"instanceId": "100620987-1",
"value": 10
},
{
"instanceId": "100641543-1",
"value": 28
}
]
},
{
"upc": "245868",
"itemUnitCost": 1000,
"salesKey": "SALE",
"totalUnitCostAfterDiscount": 1000,
"totalUnitCost": 1000,
"description": "Pizza",
"itemUnitCount": 1,
"contributionResults": [
{
"instanceId": "100620987-1",
"value": 10
},
{
"instanceId": "100641543-1",
"value": 28
}
]
},
{
"upc": "245872",
"itemUnitCost": 1000,
"salesKey": "SALE",
"totalUnitCostAfterDiscount": 1000,
"totalUnitCost": 1000,
"description": "Wine",
"itemUnitCount": 1,
"contributionResults": [
{
"instanceId": "100620987-1",
"value": 10
},
{
"instanceId": "100641543-1",
"value": 28
}
]
}
],
"summary": {
"totalItems": 6,
"totalBasketValue": 7000,
"results": {
"points": {
"spend": 0,
"debit": 0,
"refund": 0,
"totalPointsTaken": 0,
"earn": 70,
"credit": 600,
"totalPointsGiven": 670,
"totalMonetaryValue": 0
},
"tiers": null
},
"adjudicationResults": [
{
"resourceType": "SCHEME",
"resourceId": "100620987",
"instanceId": "100620987-1",
"success": true,
"type": "earn",
"value": null,
"balances": {
"current": 70
},
"isRefundable": true,
"isUnredeemable": false,
"relatedAccountIds": [],
"targetedAccountId": "4083750463",
"targetedWalletId": "216245571",
"totalMatchingUnits": null,
"playOrderPosition": 1
},
{
"resourceType": "CAMPAIGN",
"resourceId": "100641543",
"instanceId": "100641543-1",
"success": true,
"type": "redeem",
"value": 200,
"balances": null,
"isRefundable": true,
"isUnredeemable": false,
"relatedAccountIds": [
"4083750461"
],
"targetedAccountId": "4083750461",
"targetedWalletId": "216245571",
"totalMatchingUnits": null,
"playOrderPosition": 3,
"totalRewardUnits": 0
},
{
"resourceType": "CAMPAIGN",
"resourceId": "100641543",
"instanceId": "100641543-1",
"success": true,
"type": "credit",
"value": null,
"balances": {
"current": 200
},
"isRefundable": true,
"isUnredeemable": false,
"relatedAccountIds": [
"4083750461"
],
"targetedAccountId": "4083750463",
"targetedWalletId": "216245571",
"totalMatchingUnits": null,
"playOrderPosition": 3
}
],
"qualifiesResults": [
{
"instanceId": "100641543-1",
"totalMatchingUnits": null,
"totalMatchingSpend": 5000,
"totalOverallMatchingSpend": null
}
],
"expectedPoints": [
{
"schemeId": "100620987",
"earn": 70,
"credit": 600,
"isPending": false
}
]
},
"payment": null
},
"channel": "api",
"location": {
"storeId": "outlet1",
"storeParentId": "banner1"
},
"dateCreated": "2025-01-22T21:10:56+00:00",
"lastUpdated": "2025-01-22T21:21:49+00:00"
}
},
{
"objectType": "walletAccountTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"accountTransactionId": "7877376222",
"parentAccountTransactionId": "7877348820",
"accountId": "4083750463",
"account": {
"accountId": "4083750463",
"walletId": "216245571",
"campaignId": "100620987",
"type": "POINTS",
"clientType": "RETAILPOINTS",
"status": "ACTIVE",
"state": "LOADED",
"dates": {
"start": "2025-01-22T20:45:00+00:00",
"end": "2038-01-19T03:14:07+00:00"
},
"meta": [],
"dateCreated": "2025-01-22T20:45:00+00:00",
"lastUpdated": "2025-01-22T21:21:50+00:00",
"overrides": [],
"balances": {
"current": 6340,
"usable": 6340,
"locked": 0,
"lifetime": 26340,
"lifetimeSpend": 20000,
"lifetimeSpendValue": 20000,
"pending": 0
},
"relationships": [],
"mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750463\/09136f8886d943f"
},
"event": "SPEND",
"value": 20000,
"source": 1,
"balancesBefore": {
"current": 26340,
"lifetime": 0
},
"balancesAfter": {
"current": 6340,
"lifetime": 0
},
"transactionDetails": {
"merchant_store_id": "outlet1",
"merchant_store_parent_id": "banner1",
"balances": "{\"CURRENT\":20000,\"LIFETIME_SPEND\":20000,\"LIFETIME_SPEND_VALUE\":20000,\"USABLE\":20000}"
},
"properties": [],
"dateCreated": "2025-01-22T21:21:50+00:00",
"lastUpdated": "2025-01-22T21:21:50+00:00"
}
},
{
"objectType": "walletTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"walletTransactionId": "437908084",
"parentWalletTransactionId": "437907485",
"walletId": "216245571",
"reference": "NSSpendTestabc123",
"transactionDateTime": "2025-01-22T21:12:34+00:00",
"transactionDateTimeOffset": "+00:00",
"identityId": "186980856",
"identity": null,
"type": "SPEND",
"status": "ACTIVE",
"meta": null,
"state": "ORIGINAL",
"expiryDate": null,
"accounts": [
{
"accountId": "4083750463",
"accountTransactionId": "7877348820"
},
{
"accountId": "4083750463",
"accountTransactionId": "7877376222"
}
],
"basket": {
"contents": null,
"summary": {
"totalItems": null,
"totalBasketValue": null,
"totalQualifyingAmount": null,
"totalDiscountAmount": null,
"totalTaxAmount": null,
"fulfilledBaseEarn": null,
"expectedPoints": null,
"originalQualifiedAccounts": null,
"spendAdjudicationResults": {
"pointsValue": 20000,
"pointsRemainder": 0,
"monetaryValue": 20000,
"balanceAfter": {
"current": 5670,
"usable": 5670,
"locked": 0,
"lifetime": 25670,
"lifetimeSpend": 20000,
"lifetimeSpendValue": 20000,
"pending": 0
},
"appliedTier": {
"bonus": 0,
"ceiling": 999999,
"floor": 1,
"pointsBack": 0,
"rate": 1,
"step": 1
},
"operations": [
{
"resourceType": "SCHEME",
"resourceId": "100620987",
"accountId": "4083750463",
"walletId": "216245571",
"operationType": "spend",
"value": 20000,
"details": null,
"balances": {
"current": 20000,
"lifetime_spend": 20000,
"lifetime_spend_value": 20000
}
}
],
"analysedDateTime": "2025-01-22T21:08:19+00:00",
"excludedProducts": []
},
"results": {
"points": {
"spend": 20000,
"debit": 0,
"refund": 0,
"totalPointsTaken": 20000,
"earn": 0,
"credit": 0,
"totalPointsGiven": 0,
"totalMonetaryValue": 20000
},
"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": "outlet1",
"storeParentId": "banner1"
},
"dateCreated": "2025-01-22T21:12:34+00:00",
"lastUpdated": "2025-01-22T21:21:50+00:00"
}
},
{
"objectType": "walletTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"walletTransactionId": "437908084",
"parentWalletTransactionId": "437907485",
"walletId": "216245571",
"reference": "NSSpendTestabc123",
"transactionDateTime": "2025-01-22T21:12:34+00:00",
"transactionDateTimeOffset": "+00:00",
"identityId": "186980856",
"identity": null,
"type": "SPEND",
"status": "SETTLED",
"meta": null,
"state": "ORIGINAL",
"expiryDate": null,
"accounts": [
{
"accountId": "4083750463",
"accountTransactionId": "7877348820"
},
{
"accountId": "4083750463",
"accountTransactionId": "7877376222"
}
],
"basket": {
"contents": null,
"summary": {
"totalItems": null,
"totalBasketValue": null,
"totalQualifyingAmount": null,
"totalDiscountAmount": null,
"totalTaxAmount": null,
"fulfilledBaseEarn": null,
"expectedPoints": null,
"originalQualifiedAccounts": null,
"spendAdjudicationResults": {
"pointsValue": 20000,
"pointsRemainder": 0,
"monetaryValue": 20000,
"balanceAfter": {
"current": 5670,
"usable": 5670,
"locked": 0,
"lifetime": 25670,
"lifetimeSpend": 20000,
"lifetimeSpendValue": 20000,
"pending": 0
},
"appliedTier": {
"bonus": 0,
"ceiling": 999999,
"floor": 1,
"pointsBack": 0,
"rate": 1,
"step": 1
},
"operations": [
{
"resourceType": "SCHEME",
"resourceId": "100620987",
"accountId": "4083750463",
"walletId": "216245571",
"operationType": "spend",
"value": 20000,
"details": null,
"balances": {
"current": 20000,
"lifetime_spend": 20000,
"lifetime_spend_value": 20000
}
}
],
"analysedDateTime": "2025-01-22T21:08:19+00:00",
"excludedProducts": []
},
"results": {
"points": {
"spend": 20000,
"debit": 0,
"refund": 0,
"totalPointsTaken": 20000,
"earn": 0,
"credit": 0,
"totalPointsGiven": 0,
"totalMonetaryValue": 20000
},
"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": "outlet1",
"storeParentId": "banner1"
},
"dateCreated": "2025-01-22T21:12:34+00:00",
"lastUpdated": "2025-01-22T21:21:50+00:00"
}
},
{
"objectType": "walletTransactionEntity",
"operationType": "UPDATE",
"objectValue": {
"walletTransactionId": "437908084",
"parentWalletTransactionId": "437907485",
"walletId": "216245571",
"reference": "NSSpendTestabc123",
"transactionDateTime": "2025-01-22T21:12:34+00:00",
"transactionDateTimeOffset": "+00:00",
"identityId": "186980856",
"identity": null,
"type": "SPEND",
"status": "SETTLED",
"meta": null,
"state": "ORIGINAL",
"expiryDate": null,
"accounts": [
{
"accountId": "4083750463",
"accountTransactionId": "7877348820"
},
{
"accountId": "4083750463",
"accountTransactionId": "7877376222"
}
],
"basket": {
"contents": null,
"summary": {
"totalItems": null,
"totalBasketValue": null,
"totalQualifyingAmount": null,
"totalDiscountAmount": null,
"totalTaxAmount": null,
"fulfilledBaseEarn": null,
"expectedPoints": null,
"originalQualifiedAccounts": null,
"spendAdjudicationResults": {
"pointsValue": 20000,
"pointsRemainder": 0,
"monetaryValue": 20000,
"balanceAfter": {
"current": 5670,
"usable": 5670,
"locked": 0,
"lifetime": 25670,
"lifetimeSpend": 20000,
"lifetimeSpendValue": 20000,
"pending": 0
},
"appliedTier": {
"bonus": 0,
"ceiling": 999999,
"floor": 1,
"pointsBack": 0,
"rate": 1,
"step": 1
},
"operations": [
{
"resourceType": "SCHEME",
"resourceId": "100620987",
"accountId": "4083750463",
"walletId": "216245571",
"operationType": "spend",
"value": 20000,
"details": null,
"balances": {
"current": 20000,
"lifetime_spend": 20000,
"lifetime_spend_value": 20000
}
}
],
"analysedDateTime": "2025-01-22T21:08:19+00:00",
"excludedProducts": []
},
"results": {
"points": {
"spend": 20000,
"debit": 0,
"refund": 0,
"totalPointsTaken": 20000,
"earn": 0,
"credit": 0,
"totalPointsGiven": 0,
"totalMonetaryValue": 20000
},
"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": "outlet1",
"storeParentId": "banner1"
},
"dateCreated": "2025-01-22T21:12:34+00:00",
"lastUpdated": "2025-01-22T21:21:50+00:00"
}
}
],
"enrichmentData": {
"walletEntity_216245571": {
"identities": [
{
"identityId": "186980856",
"walletId": "216245571",
"type": "CUSTOMER_ID",
"value": "1111111111111122",
"state": "DEFAULT",
"status": "ACTIVE"
},
{
"identityId": "186980857",
"walletId": "216245571",
"type": "CARD",
"value": "2222222222222211",
"state": "DEFAULT",
"status": "ACTIVE"
},
{
"identityId": "186980858",
"walletId": "216245571",
"type": "MOBILE",
"value": "+1(416)-111-1122",
"state": "DEFAULT",
"status": "ACTIVE"
}
]
}
}
}