diff --git a/model_web_hook_response.go b/model_web_hook_response.go index 88a535d..18bcf18 100644 --- a/model_web_hook_response.go +++ b/model_web_hook_response.go @@ -2,5 +2,10 @@ package monobank type WebHookResponse struct { Type string `json:"type"` // "StatementItem" - Data StatementItemsInner `json:"data"` + Data WebHookResponseData `json:"data"` +} + +type WebHookResponseData struct { + Account string `json:"account"` + StatementItem StatementItemsInner `json:"statementItem"` }