Compare commits

...

2 Commits

Author SHA1 Message Date
Sinh 0dadf9f683 Merge branch 'kiotviet' into develop 2023-10-12 15:49:51 +07:00
Sinh 430e07b7d0 add webhook model 2023-10-12 15:43:49 +07:00
1 changed files with 5 additions and 0 deletions

View File

@ -55,3 +55,8 @@ type UpdatePayload struct {
Payload interface{} `json:"payload"`
Opts []*options.UpdateOptions `json:"opts"`
}
type WebhookPayloadV2 struct {
Path string `json:"path"` // request URL path from external
Data string `json:"data"` // request body
}