Wallet Change EDRs

Purpose

Wallet change EDRs are generated for each transition between states in an wallet lifecycle.

Example

{
  "type": "wallet-change",
  "node-name": "marc",
  "event-timestamp": "2023-03-26T18:56:07.682796200Z",
  "correlation-info": {
    "slee-session-id": "14a6be43-1e76-48e8-b31c-398005142b76",
    "slee-event-id": "1",
    "ocs-inner-intent": {
      "intention": "ACCOUNT_LIFECYCLE"
    }
  },
  "source-info": {
    "source-service": "localhost:55348",
    "source-system": "n2ocs",
    "source-endpoint": "localhost:10800",
    "source-subsystem": "http-api"
  },
  "status-message": "Transition via Action",
  "status-code": 200,
  "account-id": "AATestAccount35a74087-e8b6-4720-93c3-a2b662a9ed41",
  "wallet-info-initial": {
    "account-id": "AATestAccount35a74087-e8b6-4720-93c3-a2b662a9ed41",
    "account-state": "preuse-actions-state"
  },
  "wallet-info-current": {
    "account-id": "AATestAccount35a74087-e8b6-4720-93c3-a2b662a9ed41",
    "account-state": "active-actions-state"
  }
}

Fields

Field Type Presence Description
account-id String Always The unique ID of the wallet.
wallet-info-current Object Conditional The wallet’s information - specifically the lifecycle information after the lifecycle change event. If this is null, the wallet has been removed from the OCS.
wallet-info-initial Object Conditional The wallet’s information - specifically the lifecycle information before the lifecycle change event. If this is null, the wallet’s lifecycle is newly added to the wallet. Normally this means the wallet has just been created on the OCS.