@eagleeye-solutions/integration-events-common
Version:
Eagle Eye CDP connector common functionality
2 lines (1 loc) • 3.98 kB
JSON
{ "headers": { "eventName": "WALLET.ACCOUNT.CREATE.CAMPAIGN", "eventDate": "2025-01-22T20:08:37.976600", "eesEnvironmentType": "sandbox-uk", "eesSubsystemId": "wallet.sandbox.uk.eagleeye.com", "callerIp": "35.244.186.249", "unitId": "197332", "unitFriendlyName": "Apply Digital", "clientId": "mgtgpt5ewhj5fwvdm6d1", "clientIdFriendlyName": "api", "eesEventId": "ea5d756e-b8fb-4bc0-896d-1cec42141c1d", "eesMasterEventId": "Z5FQRQ_FnfCQKzpCsPuB1wAAAkY", "externalMessageId": null, "eesApiVersion": "2.0" }, "request": { "resource": "\/wallet\/216245437\/campaign\/100641679\/account", "method": "POST", "body": "{\n \"status\": \"ACTIVE\",\n \"state\": \"LOADED\"\n}", "contentType": "application\/json", "customHeaders": [] }, "response": { "code": 201, "body": { "accountId": "4083750088", "walletId": "216245437", "campaignId": "100641679", "type": "ECOUPON", "clientType": "OFFER", "status": "ACTIVE", "state": "LOADED", "dates": { "start": "2025-01-22T20:08:38+00:00", "end": "2025-12-31T23:59:00+00:00" }, "meta": [], "dateCreated": "2025-01-22T20:08:38+00:00", "lastUpdated": "2025-01-22T20:08:38+00:00", "overrides": [], "balances": { "available": 0, "refundable": 0 }, "relationships": [], "mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750088\/f0b211b44f23c78" }, "contentType": "application\/json;charset=utf-8" }, "atomicOperations": [{ "objectType": "walletAccountTransactionEntity", "operationType": "CREATE", "objectValue": { "accountTransactionId": "7877320303", "parentAccountTransactionId": null, "accountId": "4083750088", "account": { "accountId": "4083750088", "walletId": "216245437", "campaignId": "100641679", "type": "ECOUPON", "clientType": "OFFER", "status": "ACTIVE", "state": "LOADED", "dates": { "start": "2025-01-22T20:08:38+00:00", "end": "2025-12-31T23:59:00+00:00" }, "meta": [], "dateCreated": "2025-01-22T20:08:38+00:00", "lastUpdated": "2025-01-22T20:08:38+00:00", "overrides": [], "balances": { "available": 0, "refundable": 0 }, "relationships": [], "mobileWallet": "https:\/\/sb.uk.mypass.is\/a\/4083750088\/f0b211b44f23c78" }, "event": "CREATE", "value": 0, "source": 1, "balancesBefore": { "available": 0, "refundable": 0 }, "balancesAfter": { "available": 0, "refundable": 0 }, "transactionDetails": [], "properties": [], "dateCreated": "2025-01-22T20:08:38+00:00", "lastUpdated": "2025-01-22T20:08:38+00:00" } }], "enrichmentData": { "walletEntity_216245437": { "identities": [{ "identityId": "186980781", "walletId": "216245437", "type": "CUSTOMER_ID", "friendlyName": null, "value": "3333333333333333", "safeValue": null, "secret": null, "dates": { "start": "2025-01-22T20:06:42+00:00", "end": null }, "meta": [], "state": "DEFAULT", "status": "ACTIVE", "dateCreated": "2025-01-22T20:06:42+00:00", "lastUpdated": "2025-01-22T20:06:42+00:00", "mobileWallet": "https:\/\/sb.uk.mypass.is\/identity\/197332\/216245437\/186980781\/6fe27bd3b394be59a05b5a8f61eed5fe564db392079da4d4e44034392b038ec0" }, { "identityId": "186980782", "walletId": "216245437", "type": "CARD", "friendlyName": null, "value": "4444444444444444", "safeValue": null, "secret": null, "dates": { "start": "2025-01-22T20:06:42+00:00", "end": null }, "meta": [], "state": "DEFAULT", "status": "ACTIVE", "dateCreated": "2025-01-22T20:06:42+00:00", "lastUpdated": "2025-01-22T20:06:42+00:00", "mobileWallet": "https:\/\/sb.uk.mypass.is\/identity\/197332\/216245437\/186980782\/629ce555e677a482d9d1dcdc4c88838dc6597c2de54e9092fee929192b6604c7" }, { "identityId": "186980783", "walletId": "216245437", "type": "MOBILE", "friendlyName": null, "value": "+1(416)-222-2222", "safeValue": null, "secret": null, "dates": { "start": "2025-01-22T20:06:42+00:00", "end": null }, "meta": [], "state": "DEFAULT", "status": "ACTIVE", "dateCreated": "2025-01-22T20:06:42+00:00", "lastUpdated": "2025-01-22T20:06:42+00:00", "mobileWallet": "https:\/\/sb.uk.mypass.is\/identity\/197332\/216245437\/186980783\/f959d097998f3d498518a559349500f9e3ac5d4e527afb89bd81fd2081c1621f" }] } } }