diff --git a/snipcart/webhook.go b/snipcart/webhook.go index fa3f6c8..b7becc0 100644 --- a/snipcart/webhook.go +++ b/snipcart/webhook.go @@ -38,6 +38,10 @@ type TaxContent struct { Metadata any `json:"metadata"` } +type TaxWebhook struct { + Content TaxContent `json:"content"` +} + type Tax struct { Name string `json:"name"` Amount float64 `json:"amount"`