From 4b43c759233d86f6b53c1304b6870f25fbc8ddd4 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 13 Apr 2020 13:07:50 -0700 Subject: [PATCH] Add `Description` on `WebhookEndpoint` --- webhookendpoint.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webhookendpoint.go b/webhookendpoint.go index f1b6b6bbb6..4b54e974a3 100644 --- a/webhookendpoint.go +++ b/webhookendpoint.go @@ -7,6 +7,7 @@ import "encoding/json" type WebhookEndpointParams struct { Params `form:"*"` Connect *bool `form:"connect"` + Description *string `form:"description"` Disabled *bool `form:"disabled"` EnabledEvents []*string `form:"enabled_events"` URL *string `form:"url"` @@ -32,6 +33,7 @@ type WebhookEndpoint struct { Connect bool `json:"connect"` Created int64 `json:"created"` Deleted bool `json:"deleted"` + Description string `json:"description"` EnabledEvents []string `json:"enabled_events"` ID string `json:"id"` Livemode bool `json:"livemode"`