import "code.pfad.fr/swift/bank"
package bank retrieves bank details from an IBAN (for supported countries).
type Details struct {
Name string // Full name of the bank (always present)
PostCode string // Optional
City string // Optional
Street string // Optional
}
Details of a bank
GetDetails returns the details of a bank (call swift.IBAN.Bank to get the bank from an IBAN). If the details are unknown, an empty struct is returned. Supported country codes:
at.go bank.go be.go bg.go ch.go cz.go de.go es.go fr.go gr.go ie.go lu.go mc.go nl.go