Skip to content

Commit ee978fe

Browse files
authored
fixed ID (#23)
1 parent 2159d8e commit ee978fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

types.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ package monobank
33
import "github.com/vtopc/epoch"
44

55
// ClientInfo - client/user info
6-
// https://api.monobank.ua/docs/#/definitions/UserInfo
6+
// Personal API - https://api.monobank.ua/docs/#/definitions/UserInfo
7+
// Corporate API - https://api.monobank.ua/docs/corporate.html#/definitions/UserInfo
78
type ClientInfo struct {
8-
ID string `json:"id"`
9+
ID string `json:"clientId"`
910
Name string `json:"name"`
1011
WebHookURL string `json:"webHookUrl"`
1112
Accounts Accounts `json:"accounts"`

0 commit comments

Comments
 (0)