Validate Account Number: Tunisia
Country Name:
Tunisia
ISO Code: TN
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
2n
12
field2
Branch Code
3n
123
field3
Account number
13n
1234567890123
field4
Check Digits
2n
12
countryId
The ISO Country Code
2a
TN
2) When you have Bank code, Branch code, Account number & Check Digits as one variable the 20 digit Tunisian electronic transmission format or Traditional representation can be used:
i) 1111 2222 33 4444444444
etc
Field
Explanation
Format
Example
keycode
Your Validate keycode
field1
Account Structure
20n
ii) 11112222334444444444
iii) 1111-2222-33-4444444444
field2
Not Used
field3
Not Used
field4
Not Used
countryId
The ISO Country Code
2a
TN
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 |