Event

webhook_api.v1.Event

type Event

webhook_api.v1.Event

FieldTypeDescription
event_typeEventType enum
FieldNumberDescription
EVENT_TYPE_UNSPECIFIED0Type of event.Event Type Unspecified.
EVENT_TYPE_WALLET_CREATED1Type of event.Event Type Wallet Created.
EVENT_TYPE_PROMISSORY_RECEIVED2Type of event.Event Type Promissory File Received.
EVENT_TYPE_PING3Type of event.Event Type Ping.
EVENT_TYPE_CONTRACT_PROPOSAL_COMPLETED4Type of event.Event Type Contract Proposal Completed.
EVENT_TYPE_CONTRACT_PAYMENT_COMPLETED5Type of event.Event Type Contract Payment Completed.
signaturestringEvent signature.
event_idstringEvent ID.
delivery_datestringDelivery date of the event.
owner_idstringOwner ID
payloadoneof
FieldTypeDescription
wallet_created_payloadCreateWalletPayloadEvent Payload for creation of wallet.
promissory_received_payloadPromissoryReceivedPayloadEvent Payload for receiving promissory.
ping_payloadPingPayloadEvent Payload for pinging.
contract_proposal_completed_payloadContractProposalCompletedPayloadEvent Payload for contract proposal completed.
contract_payment_completed_payloadContractPaymentCompletedPayloadEvent Payload for contract payment completed.
created_datestringTimestamp when wallet was created.
{
  "event_type": 0,
  "signature": "SignatureLenVariesByAlgorithm",
  "event_id": "EVENT_ID",
  "delivery_date": "2007-01-02T15:04:05Z",
  "owner_id": "eyJwtHeader.eyJwtPayload.Secret",
  "payload": {
    "wallet_created_payload": {
      "name": "NAME",
      "did": "did:method-name:zDIDMultibase58Encoded",
      "created": "2006-01-02T15:04:05Z"
    }
  },
  "created_date": "2006-01-02T15:04:05Z"
}