-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
statements.go
24 lines (22 loc) · 1.14 KB
/
statements.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package webhook
// MCCYInstitutionStatementPayload
// This webhook allows you to download a statement for all accounts associated with your institution
type MCCYInstitutionStatementPayload struct {
URI string `json:"Uri" validate:"required"`
ValidUntilDate string `json:"ValidUntilDate" validate:"required"`
Year int `json:"Year" validate:"required"`
Month int `json:"Month" validate:"required"`
Currency string `json:"Currency" validate:"required"`
Format string `json:"Format" validate:"required"`
}
// MCCYAccountStatementPayload
// This webhook allows you to download a statement for a specific account associated with your institution
type MCCYAccountStatementPayload struct {
URI string `json:"Uri" validate:"required"`
ValidUntilDate string `json:"ValidUntilDate" validate:"required"`
Year int `json:"Year" validate:"required"`
Month int `json:"Month" validate:"required"`
Currency string `json:"Currency" validate:"required"`
Format string `json:"Format" validate:"required"`
AccountIBAN string `json:"AccountIban" validate:"required"`
}