Switzerland
 
SOAP API > Validating Payments > Bank Account Numbers > validateAccount > Countries >
validateAccount: Switzerland 

Validate Account Number: Switzerland

Country Name: Switzerland
ISO Code: CH

Syntax:

validateAccount(string keycode, string field1,string field2,string field3,string field4,string countryId,string countrySpec)


Bank/branch code & Account number as separate variables:

 

 Field  Explanation  Format Example 
 keycode  Your Validate keycode    
 field1  Bank - branch code  3-5n  12345
 field2  Account number  1-16an  1234567890123456
 field3  Not Used

 

 field4  Not Used    
 countryId  The ISO Country Code  2a  CH

 

Note

 

There is no option to include both the bank/branch code and account number as field1.

 

 

countrySpec is not used for this country, use an empty string "".

 

Returned data

An object containing the following:

 Name  Description
 field1  field 1 from the original request
 field2  field 2 from the original request
 field3  field 3 from the original request
 field4  field 4 from the original request
 validity  String ‘Valid’ if the IBAN is valid.

 String ‘Invalid’ if the IBAN is not valid. 

 A Valid BIC is defined as a BIC that resolved to a real Bank branch office.

 bic  The full Bank Identification Code (BIC) of the account holding branch - if available
 branchTitle  The account holding branch title as defined by the bank
 institutionName  The parent financial institution of the account holding branch
 city  The city that the account holding branch is located
 address1  Address line 1 of the account holding branch
 address2  Address line 2 of the account holding branch
 address3  Address line 3 of the account holding branch
 address4  Address line 4 of the account holding branch
 postcode  The postcode/zipcode of the account holding branch
 country  The country that the account holding branch is located
 tel1  Telephone number 1 of the account holding branch
 tel2  Telephone number 2 of the account holding branch - often but not always the fax number
 errorCode  If an error occurs during processing the error number will be here.  See the error section for more details.
 errorText  If an error occurs during processing the error textually description will be here.  See the error section for more details.


 


 

 ©Copyright 2023 Paygate Solutions Limited