Documentation ¶
Overview ¶
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* SWIFTRef API * * SWIFTRef API * * API version: 1.6.0 * Contact: developer-support@swift.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccountNumbersApiGetAccountNumberValidityV2Opts
- type AccountNumbersApiService
- type Address
- type Address2
- type BasicAuth
- type BbansApiGetIbanFromBbanV2Opts
- type BbansApiService
- type BicsApiGetBicDetailsV2Opts
- type BicsApiGetBicValidityV2Opts
- type BicsApiGetLeiFromBicV2Opts
- type BicsApiGetNationalIdsFromBicV2Opts
- type BicsApiGetSepaReachabilityFromBicV2Opts
- type BicsApiGetSsisFromBicV2Opts
- type BicsApiService
- func (a *BicsApiService) GetBicDetailsV2(ctx context.Context, bic string, localVarOptionals *BicsApiGetBicDetailsV2Opts) (InlineResponse2005, *http.Response, error)
- func (a *BicsApiService) GetBicValidityV2(ctx context.Context, bic string, ...) (InlineResponse2006, *http.Response, error)
- func (a *BicsApiService) GetLeiFromBicV2(ctx context.Context, bic string, localVarOptionals *BicsApiGetLeiFromBicV2Opts) (InlineResponse2007, *http.Response, error)
- func (a *BicsApiService) GetNationalIdsFromBicV2(ctx context.Context, bic string, ...) (InlineResponse2009, *http.Response, error)
- func (a *BicsApiService) GetSepaReachabilityFromBicV2(ctx context.Context, bic string, sepaScheme string, ...) (InlineResponse20010, *http.Response, error)
- func (a *BicsApiService) GetSsisFromBicV2(ctx context.Context, bic string, currencyCode string, ...) (InlineResponse20011, *http.Response, error)
- type Configuration
- type ContactDetails
- type CorrespondentBic
- type Country
- type CountryCodesApiGetCountryCodeDetailsV2Opts
- type CountryCodesApiGetCountryCodeValidityV2Opts
- type CountryCodesApiService
- type CountryCurrencies
- type Currency
- type CurrencyCodesApiGetCurrencyCodeDetailsV2Opts
- type CurrencyCodesApiGetCurrencyCodeValidityV2Opts
- type CurrencyCodesApiService
- func (a *CurrencyCodesApiService) GetCurrencyCodeDetailsV2(ctx context.Context, currencyCode string, ...) (InlineResponse20018, *http.Response, error)
- func (a *CurrencyCodesApiService) GetCurrencyCodeValidityV2(ctx context.Context, currencyCode string, ...) (InlineResponse20017, *http.Response, error)
- type CurrencyCountries
- type GenericSwaggerError
- type IbanNationalIdsApiGetBicFromIbanNationalIdV2Opts
- type IbanNationalIdsApiService
- type IbansApiGetBicFromIbanV2Opts
- type IbansApiGetIbanDetailsV2Opts
- type IbansApiGetIbanValidityV2Opts
- type IbansApiService
- func (a *IbansApiService) GetBicFromIbanV2(ctx context.Context, iban string, ...) (InlineResponse2001, *http.Response, error)
- func (a *IbansApiService) GetIbanDetailsV2(ctx context.Context, iban string, ...) (InlineResponse2002, *http.Response, error)
- func (a *IbansApiService) GetIbanValidityV2(ctx context.Context, iban string, ...) (InlineResponse200, *http.Response, error)
- type InlineResponse200
- type InlineResponse2001
- type InlineResponse20010
- type InlineResponse20011
- type InlineResponse20012
- type InlineResponse20013
- type InlineResponse20014
- type InlineResponse20015
- type InlineResponse20016
- type InlineResponse20017
- type InlineResponse20018
- type InlineResponse20019
- type InlineResponse2002
- type InlineResponse20020
- type InlineResponse20021
- type InlineResponse2003
- type InlineResponse2004
- type InlineResponse2005
- type InlineResponse2006
- type InlineResponse2007
- type InlineResponse2008
- type InlineResponse2009
- type IntermediaryBic
- type Lei
- type LeiAssociated
- type LeiEntityExpiration
- type LeiSuccessor
- type LeisApiGetBicFromLeiV2Opts
- type LeisApiGetLeiDetailsV2Opts
- type LeisApiGetLeiValidityV2Opts
- type LeisApiService
- func (a *LeisApiService) GetBicFromLeiV2(ctx context.Context, lei string, localVarOptionals *LeisApiGetBicFromLeiV2Opts) (InlineResponse2008, *http.Response, error)
- func (a *LeisApiService) GetLeiDetailsV2(ctx context.Context, lei string, localVarOptionals *LeisApiGetLeiDetailsV2Opts) (InlineResponse20020, *http.Response, error)
- func (a *LeisApiService) GetLeiValidityV2(ctx context.Context, lei string, ...) (InlineResponse20019, *http.Response, error)
- type NationalId
- type NationalIdDetails
- type NationalIdDetailsInLocalLanguage
- type NationalIdsApiGetBicsFromNationalIdV2Opts
- type NationalIdsApiGetNationalIdDetailsV2Opts
- type NationalIdsApiGetNationalIdValidityV2Opts
- type NationalIdsApiService
- func (a *NationalIdsApiService) GetBicsFromNationalIdV2(ctx context.Context, nationalId string, ...) (InlineResponse20014, *http.Response, error)
- func (a *NationalIdsApiService) GetNationalIdDetailsV2(ctx context.Context, nationalId string, ...) (InlineResponse20012, *http.Response, error)
- func (a *NationalIdsApiService) GetNationalIdValidityV2(ctx context.Context, nationalId string, ...) (InlineResponse20013, *http.Response, error)
- type SepaPaymentChannel
- type ShortStatus
- type Ssi
- type Status
- type StatusWithReliability
- type SwiftConnectivity
- type SwiftService
- type WithShortStatus
- type WithStatus
- type WithStatusWithReliability
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AccountNumbersApi *AccountNumbersApiService BbansApi *BbansApiService BicsApi *BicsApiService CountryCodesApi *CountryCodesApiService CurrencyCodesApi *CurrencyCodesApiService IbanNationalIdsApi *IbanNationalIdsApiService IbansApi *IbansApiService LeisApi *LeisApiService NationalIdsApi *NationalIdsApiService // contains filtered or unexported fields }
APIClient manages communication with the SWIFTRef API API v1.6.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AccountNumbersApiService ¶
type AccountNumbersApiService service
func (*AccountNumbersApiService) GetAccountNumberValidityV2 ¶
func (a *AccountNumbersApiService) GetAccountNumberValidityV2(ctx context.Context, accountNumber string, localVarOptionals *AccountNumbersApiGetAccountNumberValidityV2Opts) (InlineResponse20021, *http.Response, error)
type Address ¶
type Address struct { // An array of maximum 4 lines (strings) expressing the street address of the BIC, e.g. street name, house number, building name and floor, area AddressLines []string `json:"address_lines,omitempty"` // Numbered box in a post office, assigned to a person or organisation, where letters are kept until called for PostOfficeBox string `json:"post_office_box,omitempty"` // Name of a built-up area, with defined boundaries, and a local government TownName string `json:"town_name,omitempty"` // Identifies a subdivision of a country (for example, state, region, county) CountrySubdivision string `json:"country_subdivision,omitempty"` // Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail PostCode string `json:"post_code,omitempty"` // The country name in English of the institution/branch as indicated in the ISO 3166 list CountryName string `json:"country_name"` // The ISO 3166-1 alpha-2 code of the country of the institution/branch CountryCode string `json:"country_code"` }
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BbansApiService ¶
type BbansApiService service
func (*BbansApiService) GetIbanFromBbanV2 ¶
func (a *BbansApiService) GetIbanFromBbanV2(ctx context.Context, bban string, countryCode string, localVarOptionals *BbansApiGetIbanFromBbanV2Opts) (InlineResponse2004, *http.Response, error)
type BicsApiService ¶
type BicsApiService service
func (*BicsApiService) GetBicDetailsV2 ¶
func (a *BicsApiService) GetBicDetailsV2(ctx context.Context, bic string, localVarOptionals *BicsApiGetBicDetailsV2Opts) (InlineResponse2005, *http.Response, error)
func (*BicsApiService) GetBicValidityV2 ¶
func (a *BicsApiService) GetBicValidityV2(ctx context.Context, bic string, localVarOptionals *BicsApiGetBicValidityV2Opts) (InlineResponse2006, *http.Response, error)
func (*BicsApiService) GetLeiFromBicV2 ¶
func (a *BicsApiService) GetLeiFromBicV2(ctx context.Context, bic string, localVarOptionals *BicsApiGetLeiFromBicV2Opts) (InlineResponse2007, *http.Response, error)
func (*BicsApiService) GetNationalIdsFromBicV2 ¶
func (a *BicsApiService) GetNationalIdsFromBicV2(ctx context.Context, bic string, localVarOptionals *BicsApiGetNationalIdsFromBicV2Opts) (InlineResponse2009, *http.Response, error)
func (*BicsApiService) GetSepaReachabilityFromBicV2 ¶
func (a *BicsApiService) GetSepaReachabilityFromBicV2(ctx context.Context, bic string, sepaScheme string, localVarOptionals *BicsApiGetSepaReachabilityFromBicV2Opts) (InlineResponse20010, *http.Response, error)
func (*BicsApiService) GetSsisFromBicV2 ¶
func (a *BicsApiService) GetSsisFromBicV2(ctx context.Context, bic string, currencyCode string, localVarOptionals *BicsApiGetSsisFromBicV2Opts) (InlineResponse20011, *http.Response, error)
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type ContactDetails ¶
type ContactDetails struct { // Collection of information that identifies a phone number, as defined by telecom services PhoneNumber string `json:"phone_number,omitempty"` // Collection of information that identifies a FAX number, as defined by telecom services FaxNumber string `json:"fax_number,omitempty"` // Address for electronic mail (e-mail) EmailAddress string `json:"email_address,omitempty"` // Address for the Universal Resource Locator (URL), that is used over the www (HTTP) service WebAddress string `json:"web_address,omitempty"` }
type CorrespondentBic ¶
type Country ¶
type Country struct { // The ISO country name Name string `json:"name"` // The ISO 2-letters country code Iso2aCode string `json:"iso_2a_code"` // The ISO 3-letters country code Iso3aCode string `json:"iso_3a_code,omitempty"` // The ISO 3-digits country code Iso3nCode string `json:"iso_3n_code,omitempty"` // A list of currencies used by the country Currencies []CountryCurrencies `json:"currencies,omitempty"` }
type CountryCodesApiService ¶
type CountryCodesApiService service
func (*CountryCodesApiService) GetCountryCodeDetailsV2 ¶
func (a *CountryCodesApiService) GetCountryCodeDetailsV2(ctx context.Context, countryCode string, localVarOptionals *CountryCodesApiGetCountryCodeDetailsV2Opts) (InlineResponse20016, *http.Response, error)
func (*CountryCodesApiService) GetCountryCodeValidityV2 ¶
func (a *CountryCodesApiService) GetCountryCodeValidityV2(ctx context.Context, countryCode string, localVarOptionals *CountryCodesApiGetCountryCodeValidityV2Opts) (InlineResponse20015, *http.Response, error)
type CountryCurrencies ¶
type Currency ¶
type Currency struct { // The ISO currency name Name string `json:"name"` // The ISO 3-letters currency code Iso3aCode string `json:"iso_3a_code"` // The ISO 3-digits currency code Iso3nCode string `json:"iso_3n_code,omitempty"` // The number of fractional digits to use FractionalDigits int32 `json:"fractional_digits,omitempty"` // A list of countries where the currency is used Countries []CurrencyCountries `json:"countries,omitempty"` }
type CurrencyCodesApiService ¶
type CurrencyCodesApiService service
func (*CurrencyCodesApiService) GetCurrencyCodeDetailsV2 ¶
func (a *CurrencyCodesApiService) GetCurrencyCodeDetailsV2(ctx context.Context, currencyCode string, localVarOptionals *CurrencyCodesApiGetCurrencyCodeDetailsV2Opts) (InlineResponse20018, *http.Response, error)
func (*CurrencyCodesApiService) GetCurrencyCodeValidityV2 ¶
func (a *CurrencyCodesApiService) GetCurrencyCodeValidityV2(ctx context.Context, currencyCode string, localVarOptionals *CurrencyCodesApiGetCurrencyCodeValidityV2Opts) (InlineResponse20017, *http.Response, error)
type CurrencyCountries ¶
type CurrencyCountries struct { // The ISO country name Name string `json:"name"` // The ISO 2-letters country code Iso2aCode string `json:"iso_2a_code"` // The ISO 3-letters country code Iso3aCode string `json:"iso_3a_code,omitempty"` // The ISO 3-digits country code Iso3nCode string `json:"iso_3n_code,omitempty"` }
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type IbanNationalIdsApiService ¶
type IbanNationalIdsApiService service
func (*IbanNationalIdsApiService) GetBicFromIbanNationalIdV2 ¶
func (a *IbanNationalIdsApiService) GetBicFromIbanNationalIdV2(ctx context.Context, ibanNationalId string, countryCode string, localVarOptionals *IbanNationalIdsApiGetBicFromIbanNationalIdV2Opts) (InlineResponse2003, *http.Response, error)
type IbansApiService ¶
type IbansApiService service
func (*IbansApiService) GetBicFromIbanV2 ¶
func (a *IbansApiService) GetBicFromIbanV2(ctx context.Context, iban string, localVarOptionals *IbansApiGetBicFromIbanV2Opts) (InlineResponse2001, *http.Response, error)
func (*IbansApiService) GetIbanDetailsV2 ¶
func (a *IbansApiService) GetIbanDetailsV2(ctx context.Context, iban string, localVarOptionals *IbansApiGetIbanDetailsV2Opts) (InlineResponse2002, *http.Response, error)
func (*IbansApiService) GetIbanValidityV2 ¶
func (a *IbansApiService) GetIbanValidityV2(ctx context.Context, iban string, localVarOptionals *IbansApiGetIbanValidityV2Opts) (InlineResponse200, *http.Response, error)
type InlineResponse200 ¶
type InlineResponse2001 ¶
type InlineResponse20010 ¶
type InlineResponse20010 struct { Status *Status `json:"status,omitempty"` // SEPA CSM through which the BIC is reachable for the supplied SEPA scheme PaymentChannels []SepaPaymentChannel `json:"payment_channels"` // Adherence BIC11 of the reachable BIC AdherenceBic string `json:"adherence_bic,omitempty"` }
type InlineResponse20011 ¶
type InlineResponse20012 ¶
type InlineResponse20012 struct { Status *Status `json:"status,omitempty"` NationalIds []NationalIdDetailsInLocalLanguage `json:"national_ids"` }
type InlineResponse20013 ¶
type InlineResponse20013 struct { Status *Status `json:"status,omitempty"` // The National ID that was validated NationalId string `json:"national_id"` // The scheme under which the National ID is defined Scheme string `json:"scheme"` // Contains the code VNID (Valid National ID) if the National ID is valid in the provided scheme or country Validity string `json:"validity"` }
type InlineResponse20014 ¶
type InlineResponse20015 ¶
type InlineResponse20016 ¶
type InlineResponse20016 struct { // The ISO country name Name string `json:"name"` // The ISO 2-letters country code Iso2aCode string `json:"iso_2a_code"` // The ISO 3-letters country code Iso3aCode string `json:"iso_3a_code,omitempty"` // The ISO 3-digits country code Iso3nCode string `json:"iso_3n_code,omitempty"` // A list of currencies used by the country Currencies []CountryCurrencies `json:"currencies,omitempty"` Status *Status `json:"status,omitempty"` }
type InlineResponse20017 ¶
type InlineResponse20018 ¶
type InlineResponse20018 struct { // The ISO currency name Name string `json:"name"` // The ISO 3-letters currency code Iso3aCode string `json:"iso_3a_code"` // The ISO 3-digits currency code Iso3nCode string `json:"iso_3n_code,omitempty"` // The number of fractional digits to use FractionalDigits int32 `json:"fractional_digits,omitempty"` // A list of countries where the currency is used Countries []CurrencyCountries `json:"countries,omitempty"` Status *Status `json:"status,omitempty"` }
type InlineResponse20019 ¶
type InlineResponse2002 ¶
type InlineResponse2002 struct { Status *Status `json:"status,omitempty"` // The IBAN that was validated Iban string `json:"iban"` // The ISO 3166-1 alpha-2 code of the country of the institution/branch. CountryCode string `json:"country_code"` // The checksum extracted from the IBAN Checksum string `json:"checksum"` // The BANK ID extracted from the IBAN. Its structure (bank ID only or bank ID + branch ID) is as defined by the IBAN BIC LENGTH in the IBANSTRUCTURE file. BankId string `json:"bank_id"` // Unique and unambiguous identification of a branch of a financial institution. BranchId string `json:"branch_id,omitempty"` // The remainder of the IBAN including the account number. AccountNumber string `json:"account_number"` // The length of the IBAN Length int32 `json:"length"` }
type InlineResponse20020 ¶
type InlineResponse20020 struct { Lei string `json:"lei"` LegalName string `json:"legal_name"` Address *Address2 `json:"address,omitempty"` HeadQuartersAddress *Address2 `json:"head_quarters_address,omitempty"` LegalJurisdiction string `json:"legal_jurisdiction,omitempty"` LegalForm string `json:"legal_form,omitempty"` EntityLegalFormCode string `json:"entity_legal_form_code,omitempty"` EntityStatus string `json:"entity_status,omitempty"` InitialRegistrationDate string `json:"initial_registration_date,omitempty"` LastUpdateDate string `json:"last_update_date,omitempty"` RegistrationStatus string `json:"registration_status,omitempty"` Associated *LeiAssociated `json:"associated,omitempty"` EntityExpiration *LeiEntityExpiration `json:"entity_expiration,omitempty"` Successor *LeiSuccessor `json:"successor,omitempty"` Status *Status `json:"status,omitempty"` }
type InlineResponse20021 ¶
type InlineResponse2003 ¶
type InlineResponse2003 struct { Status *ShortStatus `json:"status,omitempty"` // The BIC associated with the IBAN national ID Bic string `json:"bic"` }
type InlineResponse2004 ¶
type InlineResponse2005 ¶
type InlineResponse2005 struct { Status *Status `json:"status,omitempty"` // The BIC of the institution on which more information is requested Bic string `json:"bic"` // Name by which a party is known and which is usually used to identify that party InstitutionName string `json:"institution_name"` // A free text description of the branch as provided by the financial institution to which it belongs; this is currently provided for entries with a BIC when the financial institution concerned wants to provide this extra information BranchInformation string `json:"branch_information,omitempty"` Address *Address `json:"address"` ContactDetails *ContactDetails `json:"contact_details,omitempty"` // Status of the entity in the office hierarchy OfficeType string `json:"office_type,omitempty"` // A list of 3-character codes and names of SWIFT FIN service codes (also called value added service codes) SwiftServices []SwiftService `json:"swift_services"` SwiftConnectivity *SwiftConnectivity `json:"swift_connectivity"` }
type InlineResponse2006 ¶
type InlineResponse2006 struct { Status *Status `json:"status,omitempty"` // The BIC that was validated Bic string `json:"bic"` // The code VBIC if the BIC is valid Validity string `json:"validity"` // A date in YYYY-MM-DD format to indicate explicitly on which date the BIC is confirmed to be valid; the timezone is always UTC, hence the \"Z\" suffix will always be present, in compliance with ISO 8601 / RFC 3339 EffectiveDate string `json:"effective_date"` }
type InlineResponse2007 ¶
type InlineResponse2008 ¶
type InlineResponse2009 ¶
type InlineResponse2009 struct { Status *Status `json:"status,omitempty"` NationalIds []NationalId `json:"national_ids"` }
type IntermediaryBic ¶
type Lei ¶
type Lei struct { Lei string `json:"lei"` LegalName string `json:"legal_name"` Address *Address2 `json:"address,omitempty"` HeadQuartersAddress *Address2 `json:"head_quarters_address,omitempty"` LegalJurisdiction string `json:"legal_jurisdiction,omitempty"` LegalForm string `json:"legal_form,omitempty"` EntityLegalFormCode string `json:"entity_legal_form_code,omitempty"` EntityStatus string `json:"entity_status,omitempty"` InitialRegistrationDate string `json:"initial_registration_date,omitempty"` LastUpdateDate string `json:"last_update_date,omitempty"` RegistrationStatus string `json:"registration_status,omitempty"` Associated *LeiAssociated `json:"associated,omitempty"` EntityExpiration *LeiEntityExpiration `json:"entity_expiration,omitempty"` Successor *LeiSuccessor `json:"successor,omitempty"` }
type LeiAssociated ¶
type LeiEntityExpiration ¶
type LeiSuccessor ¶
type LeisApiService ¶
type LeisApiService service
func (*LeisApiService) GetBicFromLeiV2 ¶
func (a *LeisApiService) GetBicFromLeiV2(ctx context.Context, lei string, localVarOptionals *LeisApiGetBicFromLeiV2Opts) (InlineResponse2008, *http.Response, error)
func (*LeisApiService) GetLeiDetailsV2 ¶
func (a *LeisApiService) GetLeiDetailsV2(ctx context.Context, lei string, localVarOptionals *LeisApiGetLeiDetailsV2Opts) (InlineResponse20020, *http.Response, error)
func (*LeisApiService) GetLeiValidityV2 ¶
func (a *LeisApiService) GetLeiValidityV2(ctx context.Context, lei string, localVarOptionals *LeisApiGetLeiValidityV2Opts) (InlineResponse20019, *http.Response, error)
type NationalId ¶
type NationalId struct { // The National ID (a synonym for clearing code, routing code, sort code, bank and branch ID) of the institution or branch Id string `json:"id"` // The type of National ID; if absent, it is the main National ID (MA), otherwise it is Foreign National ID (FN) or Alternative National ID (AN) Type_ string `json:"type,omitempty"` // The scheme under which the National ID is defined Scheme string `json:"scheme"` }
type NationalIdDetails ¶
type NationalIdDetails struct { // National ID for which details were requested Id string `json:"id"` // The scheme under which the National ID is defined Scheme string `json:"scheme"` // Name by which a party is known and which is usually used to identify that party InstitutionName string `json:"institution_name"` // A free text description of the branch as provided by the financial institution to which it belongs; this is currently provided for entries with a BIC when the financial institution concerned wants to provide this extra information BranchInformation string `json:"branch_information,omitempty"` Address *Address `json:"address,omitempty"` ContactDetails *ContactDetails `json:"contact_details,omitempty"` // Status of the entity in the office hierarchy OfficeType string `json:"office_type,omitempty"` }
type NationalIdDetailsInLocalLanguage ¶
type NationalIdDetailsInLocalLanguage struct { // National ID for which details were requested Id string `json:"id"` // The scheme under which the National ID is defined Scheme string `json:"scheme"` // Name by which a party is known and which is usually used to identify that party InstitutionName string `json:"institution_name"` // A free text description of the branch as provided by the financial institution to which it belongs; this is currently provided for entries with a BIC when the financial institution concerned wants to provide this extra information BranchInformation string `json:"branch_information,omitempty"` Address *Address `json:"address,omitempty"` ContactDetails *ContactDetails `json:"contact_details,omitempty"` // Status of the entity in the office hierarchy OfficeType string `json:"office_type,omitempty"` // ISO 639-2 code (three letters) of language LanguageIsoCode3 string `json:"language_iso_code_3,omitempty"` // ISO 15924 code (four letters) of language script LanguageScriptCode4 string `json:"language_script_code_4,omitempty"` }
type NationalIdsApiService ¶
type NationalIdsApiService service
func (*NationalIdsApiService) GetBicsFromNationalIdV2 ¶
func (a *NationalIdsApiService) GetBicsFromNationalIdV2(ctx context.Context, nationalId string, localVarOptionals *NationalIdsApiGetBicsFromNationalIdV2Opts) (InlineResponse20014, *http.Response, error)
func (*NationalIdsApiService) GetNationalIdDetailsV2 ¶
func (a *NationalIdsApiService) GetNationalIdDetailsV2(ctx context.Context, nationalId string, localVarOptionals *NationalIdsApiGetNationalIdDetailsV2Opts) (InlineResponse20012, *http.Response, error)
func (*NationalIdsApiService) GetNationalIdValidityV2 ¶
func (a *NationalIdsApiService) GetNationalIdValidityV2(ctx context.Context, nationalId string, localVarOptionals *NationalIdsApiGetNationalIdValidityV2Opts) (InlineResponse20013, *http.Response, error)
type SepaPaymentChannel ¶
type SepaPaymentChannel struct { // The id of the payment channel (SEPA-compliant CSM) Id string `json:"id"` // A payment channel has a member_type, the member_type has one of the codes DRCT, IDRC or UKWN MemberType string `json:"member_type"` // The BIC of the direct participant through which the indirectly reachable BIC can be reached; it may only be present if the payment channel's member is an indirect participant DirectParticipant string `json:"direct_participant,omitempty"` }
type ShortStatus ¶
type ShortStatus struct { // A repeat of the HTTP status code Http string `json:"http"` // An error code or status code, unique across all SWIFT APIs Code string `json:"code"` // Provided in case your application needs to display a short error message to a human end-user UserMessage string `json:"user_message,omitempty"` // A verbose description for a developer of the possible causes of the error and the possible fixes DeveloperMessage string `json:"developer_message,omitempty"` // A hyperlink to an explanation of the error for developers, possibly with further pointers to community input MoreInfo string `json:"more_info,omitempty"` }
type Ssi ¶
type Ssi struct { // The owner of the SSI Nostro Account OwnerBic string `json:"owner_bic"` // Name by which an institution is known and which is usually used to identify that institution InstitutionName string `json:"institution_name,omitempty"` // A free text description of the branch as provided by the financial institution to which it belongs; for the time being this will be provided only for entries with a BIC and only when the financial institution concerned wants to provide this extra information; the information is sourced from the BIC Directory BranchInformation string `json:"branch_information,omitempty"` Address *Address `json:"address,omitempty"` // The ISO 4217 currency code of the requested SSIs CurrencyCode string `json:"currency_code"` // Indicates whether there is a direct account relationship between the owner of the SSI and the correspondent; if false, then this means at least the first intermediary must be present Direct bool `json:"direct"` Correspondent *CorrespondentBic `json:"correspondent"` FirstIntermediary *IntermediaryBic `json:"first_intermediary,omitempty"` SecondIntermediary *IntermediaryBic `json:"second_intermediary,omitempty"` }
type Status ¶
type Status struct { // A repeat of the HTTP status code Http string `json:"http"` // An error code or status code, unique across all SWIFT APIs Code string `json:"code"` // Provided in case your application needs to display a short error message to a human end-user UserMessage string `json:"user_message"` // A verbose description for a developer of the possible causes of the error and the possible fixes DeveloperMessage string `json:"developer_message,omitempty"` // A hyperlink to an explanation of the error for developers, possibly with further pointers to community input MoreInfo string `json:"more_info,omitempty"` }
type StatusWithReliability ¶
type StatusWithReliability struct {
Reliability int32 `json:"reliability,omitempty"`
}
type SwiftConnectivity ¶
type SwiftConnectivity struct { // True if connected to SWIFT FIN, false otherwise Fin bool `json:"fin"` // True if used in at least one service on SWIFTNet InterAct, false otherwise Interact bool `json:"interact"` // True if used in at least one service on SWIFTNet FileAct, false otherwise Fileact bool `json:"fileact"` }
type SwiftService ¶
type WithShortStatus ¶
type WithShortStatus struct {
Status *ShortStatus `json:"status,omitempty"`
}
type WithStatus ¶
type WithStatus struct {
Status *Status `json:"status,omitempty"`
}
type WithStatusWithReliability ¶
type WithStatusWithReliability struct {
Status *StatusWithReliability `json:"status,omitempty"`
}
Source Files ¶
- api_account_numbers.go
- api_bbans.go
- api_bics.go
- api_country_codes.go
- api_currency_codes.go
- api_iban_national_ids.go
- api_ibans.go
- api_leis.go
- api_national_ids.go
- client.go
- configuration.go
- model_address.go
- model_address2.go
- model_contact_details.go
- model_correspondent_bic.go
- model_country.go
- model_country_currencies.go
- model_currency.go
- model_currency_countries.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_200_10.go
- model_inline_response_200_11.go
- model_inline_response_200_12.go
- model_inline_response_200_13.go
- model_inline_response_200_14.go
- model_inline_response_200_15.go
- model_inline_response_200_16.go
- model_inline_response_200_17.go
- model_inline_response_200_18.go
- model_inline_response_200_19.go
- model_inline_response_200_2.go
- model_inline_response_200_20.go
- model_inline_response_200_21.go
- model_inline_response_200_3.go
- model_inline_response_200_4.go
- model_inline_response_200_5.go
- model_inline_response_200_6.go
- model_inline_response_200_7.go
- model_inline_response_200_8.go
- model_inline_response_200_9.go
- model_intermediary_bic.go
- model_lei.go
- model_lei_associated.go
- model_lei_entity_expiration.go
- model_lei_successor.go
- model_national_id.go
- model_national_id_details.go
- model_national_id_details_in_local_language.go
- model_sepa_payment_channel.go
- model_short_status.go
- model_ssi.go
- model_status.go
- model_status_with_reliability.go
- model_swift_connectivity.go
- model_swift_service.go
- model_with_short_status.go
- model_with_status.go
- model_with_status_with_reliability.go
- response.go