Webhook

webhook_api.v1.Webhook

type Webhook

webhook_api.v1.Webhook

FieldTypeDescription
idstringWebhook ID.
owner_idstringOwner ID.
namestringWebhook Name.
webhook_urlstringWebhook URL.
supported_eventsEventType enum
FieldNumberDescription
EVENT_TYPE_UNSPECIFIED0List of supported Events.Event Type Unspecified.
EVENT_TYPE_WALLET_CREATED1List of supported Events.Event Type Wallet Created.
EVENT_TYPE_PROMISSORY_RECEIVED2List of supported Events.Event Type Promissory File Received.
EVENT_TYPE_PING3List of supported Events.Event Type Ping.
EVENT_TYPE_CONTRACT_PROPOSAL_COMPLETED4List of supported Events.Event Type Contract Proposal Completed.
EVENT_TYPE_CONTRACT_PAYMENT_COMPLETED5List of supported Events.Event Type Contract Payment Completed.
delivery_methodDeliveryMethodType enum
FieldNumberDescription
DELIVERY_METHOD_TYPE_UNSPECIFIED0Specification of Delivery method.Delivery Method Unspecified.
DELIVERY_METHOD_TYPE_HTTP1Specification of Delivery method.Delivery Method using HTTP.
DELIVERY_METHOD_TYPE_GRPC2Specification of Delivery method.Delivery Method using GRPC.
{
  "id": "ID1",
  "owner_id": "eyJwtHeader.eyJwtPayload.Secret1",
  "name": "NAME1",
  "webhook_url": "WEBHOOK_URL1",
  "supported_events": [
    0,
    1
  ],
  "delivery_method": 0
}