You've already forked monobank-firefly3-bot
Add personal accounts support, fix multiple transactions store
This commit is contained in:
7
monobank/api/statement/models/statement_request.go
Normal file
7
monobank/api/statement/models/statement_request.go
Normal file
@ -0,0 +1,7 @@
|
||||
package models
|
||||
|
||||
type StatementRequest struct {
|
||||
Account string `json:"account"`
|
||||
From int `json:"from"`
|
||||
To int `json:"to"`
|
||||
}
|
22
monobank/api/statement/models/statement_response.go
Normal file
22
monobank/api/statement/models/statement_response.go
Normal file
@ -0,0 +1,22 @@
|
||||
package models
|
||||
|
||||
type Statement struct {
|
||||
ID string `json:"id"`
|
||||
Time int `json:"time"`
|
||||
Description string `json:"description"`
|
||||
Mcc int `json:"mcc"`
|
||||
OriginalMcc int `json:"originalMcc"`
|
||||
Hold bool `json:"hold"`
|
||||
Amount int `json:"amount"`
|
||||
OperationAmount int `json:"operationAmount"`
|
||||
CurrencyCode int `json:"currencyCode"`
|
||||
CommissionRate int `json:"commissionRate"`
|
||||
CashbackAmount int `json:"cashbackAmount"`
|
||||
Balance int `json:"balance"`
|
||||
Comment string `json:"comment"`
|
||||
ReceiptID string `json:"receiptId"`
|
||||
InvoiceID string `json:"invoiceId"`
|
||||
CounterEdrpou string `json:"counterEdrpou"`
|
||||
CounterIban string `json:"counterIban"`
|
||||
CounterName string `json:"counterName"`
|
||||
}
|
Reference in New Issue
Block a user