Validate Account Number: Serbia
Country Name:
Serbia
ISO Code: RS
Syntax:
validateAccount(string keycode, string field1,string field2,string field3,string field4,string countryId,string countrySpec)
Field
Explanation
Format
Example
keycode
Your Validate keycode
field1
Bank Code
3n
123
field2
Account number
13n
1234567890123
1234567*
field3
Check Digits
2n
12
field4
Not used
countryId
The ISO Country Code
2a
RS
* Account numbers of less than 13 digits will be automatically left padded with zeros (0).
2) When you have Bank code, Account number & Check digits as one variable the 18 digit Serbian electronic transmission format or Traditional representation can be used:
i)
111222222222222233 etc
Field
Explanation
Format
Example
keycode
Your Validate keycode
field1
Account Structure
18n
ii) 111-2222222222222-33
iii) 111 2222222222222
33
field2
Not Used
field3
Not Used
field4
Not Used
countryId
The ISO Country Code
2a
RS
Note
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 |