You've already forked monobank-firefly3-bot
Initial
This commit is contained in:
32
monobank/api/client_info/models/client_info_response.go
Normal file
32
monobank/api/client_info/models/client_info_response.go
Normal file
@ -0,0 +1,32 @@
|
||||
package models
|
||||
|
||||
type ClientInfo struct {
|
||||
ClientID string `json:"clientId"`
|
||||
Name string `json:"name"`
|
||||
WebHookURL string `json:"webHookUrl"`
|
||||
Permissions string `json:"permissions"`
|
||||
Accounts []Account `json:"accounts_list"`
|
||||
Jars []Jar `json:"jars"`
|
||||
}
|
||||
|
||||
type Account struct {
|
||||
ID string `json:"id"`
|
||||
SendID string `json:"sendId"`
|
||||
Balance int `json:"balance"`
|
||||
CreditLimit int `json:"creditLimit"`
|
||||
Type string `json:"type"`
|
||||
CurrencyCode int `json:"currencyCode"`
|
||||
CashbackType string `json:"cashbackType"`
|
||||
MaskedPan []string `json:"maskedPan"`
|
||||
Iban string `json:"iban"`
|
||||
}
|
||||
|
||||
type Jar struct {
|
||||
ID string `json:"id"`
|
||||
SendID string `json:"sendId"`
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
CurrencyCode int `json:"currencyCode"`
|
||||
Balance int `json:"balance"`
|
||||
Goal int `json:"goal"`
|
||||
}
|
Reference in New Issue
Block a user