Documentation ¶
Index ¶
Constants ¶
View Source
const APIURL = "https://api.ibanapi.com/v1/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceResponse ¶
type BalanceResponse struct { Result int `json:"result"` Message string `json:"message"` Data *balanceData `json:"data,omitempty"` }
func GetBalance ¶
func GetBalance(apiKey string) (*BalanceResponse, error)
type Data ¶
type Data struct { CountryCode string `json:"country_code"` IsoAlpha3 string `json:"iso_alpha3"` CountryName string `json:"country_name"` CurrencyCode string `json:"currency_code"` SepaMember string `json:"sepa_member"` Sepa *Sepa `json:"sepa,omitempty"` BBAN string `json:"bban"` BankAccount string `json:"bank_account"` Bank *Bank `json:"bank"` }
type IBANResponse ¶
type IBANResponse struct { Result int `json:"result"` Message string `json:"message"` Validations []*Validation `json:"validations,omitempty"` Expremntal int `json:"expremental,omitempty"` Data *Data `json:"data,omitempty"` }
func ValidateIBAN ¶
func ValidateIBAN(apiKey, iban string) (*IBANResponse, error)
func ValidateIBANBasic ¶
func ValidateIBANBasic(apiKey, iban string) (*IBANResponse, error)
type Validation ¶
Click to show internal directories.
Click to hide internal directories.