15 lines
468 B
Go
15 lines
468 B
Go
package sendico
|
|
|
|
type accountListDTO struct {
|
|
Accounts []accountDTO `json:"accounts"`
|
|
ExternalSubjectAccounts bool `json:"externalSubjectAccounts"`
|
|
}
|
|
|
|
type createAccountDTO struct {
|
|
Currency string `json:"currency"`
|
|
Type string `json:"accountType"`
|
|
LedgerRole string `json:"role"`
|
|
AllowNegative bool `json:"allowNegative"`
|
|
Metadata map[string]string `json:"metadata"`
|
|
}
|