Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
breakoutModewide
languagejson
{  
  messageType: 'credentialIssueFailed';  // optional constant.
  serviceDid: string;  //  Public DID of the service which issues the credential, the same as in the query path.
  subscriberConnectDid: string;  // User connection DID, whose attempt to receive credentials was rejected.
  errorMessage: string; // Error message to be logged in the dashboard event log (can be technical).
  subscriberErorrMessage?: string; // // Optional. Error message to be shown to the user as a popup in the ProofSpace App.
  credentials?: WebhookCredentialValuesDTO[];  // Optional. Array of credentials that failed to be issued (the same as in Interaction Webhook above).
  subscriberEventId: string; // Event ID which has been previously received in Interaction Webhook (actionEventId), if we want to fail issuing credential in this event.
  actionParams?: Array<NameValueDTO>;  // Optional. Set of parameters which identify the interaction instance. 
                                       // Used when we have more than one instance of interaction specified by actionTemplate and need to select one.
  integrationOutput:{    // Optional. Interaction extension info, which contains:
    integrationId,       // Extension ID.
    logData,             // Log information to be shown on the dashboard for the event.
  } 
}

...

Code Block
breakoutModewide
languagejson
{  
  messageType: 'credentialIssueFailed';  // optional constant.
  serviceDid: string;  //  Public DID of the service which issues the credential, the same as in the query path.
  subscriberConnectDid: string;  // User connection DID, whose attempt to receive credentials was rejected.
  errorMessage: string; // Error message to be logged in the dashboard event log (can be technical).
  subscriberErorrMessage?: string; // // Optional. Error message to be shown to the user as a popup in the ProofSpace App.
  credentials?: WebhookCredentialValuesDTO[];  // Optional. Array of credentials that failed to be issued (the same as in Interaction Webhook above).
  actionTemplate: string,  // Action ID from the dashboard to identify the interaction.
  actionParams?: Array<NameValueDTO>;  // Optional. Set of parameters which identify the interaction instance. 
                                       // Used when we have more than one instance of interaction specified by actionTemplate and need to select one.
  integrationOutput:{    // Optional. Interaction extension info, which contains:
    integrationId,       // Extension ID.
    logData,             // Log information to be shown on the dashboard for the event.
  } 
}

...