@eagleeye-solutions/integration-events-common
Version:
Eagle Eye CDP connector common functionality
225 lines (224 loc) • 9.32 kB
JSON
{
"headers": {
"eventName": "SERVICE.WALLET.CREATE",
"eventDate": "2025-01-22T20:06:42.312093",
"eesEnvironmentType": "sandbox-uk",
"eesSubsystemId": "wallet.sandbox.uk.eagleeye.com",
"callerIp": "35.244.186.249",
"unitId": "197332",
"unitFriendlyName": "Apply Digital",
"clientId": "mgtgpt5ewhj5fwvdm6d1",
"clientIdFriendlyName": "api",
"eesEventId": "1ec2b562-01aa-4dc3-86bc-16d3f3b8a537",
"eesMasterEventId": "Z5FP0jYg95K6ZfFfI1HdCQAAADI",
"externalMessageId": null,
"eesApiVersion": "2.0"
},
"request": {
"resource": "\/services\/wallet",
"method": "POST",
"body": "{\n \"state\": \"DEFAULT\",\n \"status\": \"ACTIVE\",\n \"type\": \"CONSUMER\",\n \"identities\": [\n {\n \"state\": \"DEFAULT\",\n \"status\": \"ACTIVE\",\n \"type\": \"CUSTOMER_ID\",\n \"value\": \"3333333333333333\"\n },\n {\n \"state\": \"DEFAULT\",\n \"status\": \"ACTIVE\",\n \"type\": \"CARD\",\n \"value\": \"4444444444444444\"\n },\n {\n \"state\": \"DEFAULT\",\n \"status\": \"ACTIVE\",\n \"type\": \"MOBILE\",\n \"value\": \"+1(416)-222-2222\"\n }\n ]\n}",
"contentType": "application\/json",
"customHeaders": []
},
"response": {
"code": 201,
"body": {
"walletId": "216245437",
"friendlyName": null,
"status": "ACTIVE",
"type": "CONSUMER",
"state": "DEFAULT",
"meta": [],
"dateCreated": "2025-01-22T20:06:42+00:00",
"lastUpdated": "2025-01-22T20:06:42+00:00",
"relationships": {
"parent": [],
"child": [],
"associate": [],
"donor": []
},
"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"
}
]
},
"contentType": "application\/json;charset=utf-8"
},
"atomicOperations": [
{
"objectType": "walletEntity",
"operationType": "CREATE",
"objectValue": {
"walletId": "216245437",
"friendlyName": null,
"status": "ACTIVE",
"type": "CONSUMER",
"state": "DEFAULT",
"meta": [],
"dateCreated": "2025-01-22T20:06:42+00:00",
"lastUpdated": "2025-01-22T20:06:42+00:00",
"relationships": {
"parent": [],
"child": [],
"associate": [],
"donor": []
}
}
},
{
"objectType": "walletIdentityEntity",
"operationType": "CREATE",
"objectValue": {
"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"
}
},
{
"objectType": "walletIdentityEntity",
"operationType": "CREATE",
"objectValue": {
"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"
}
},
{
"objectType": "walletIdentityEntity",
"operationType": "CREATE",
"objectValue": {
"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"
}
}
],
"enrichmentData": {
"walletEntity_216245437": {
"identities": [
{
"identityId": "186980781",
"walletId": "216245437",
"type": "CUSTOMER_ID",
"value": "3333333333333333",
"state": "DEFAULT",
"status": "ACTIVE"
},
{
"identityId": "186980782",
"walletId": "216245437",
"type": "CARD",
"value": "4444444444444444",
"state": "DEFAULT",
"status": "ACTIVE"
},
{
"identityId": "186980783",
"walletId": "216245437",
"type": "MOBILE",
"value": "+1(416)-222-2222",
"state": "DEFAULT",
"status": "ACTIVE"
}
]
}
}
}