Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountValidatorController ¶
func AccountValidatorController(parser models.Parser, limiter *middlewares.Limiter) service.WebController
Create a new account validator controller
Types ¶
type ValidityResponse ¶
type ValidityResponse struct { // The bank account sort code SortCode string `json:"sort_code"` // The bank account number AccountNumber string `json:"account_number"` // The validity of the given bank account Valid bool `json:"is_valid"` }
Tell in JSON if a bank account is valid
Click to show internal directories.
Click to hide internal directories.