Validate Account Number: Portugal
Country Name:
Portugal
ISO Code: PT
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
4n
1234
field2
Branch Code
4n
1234
field3
Account number
11n
12345678901
field4
Check Digits
2n
12
countryId
The ISO Country Code
2a
PT
2) When you have Bank code, Branch code, Account number & Check digits as one variable the 21 digit Portuguese electronic transmission format or Traditional representation can be used:
i) 1111 2222 33333333333
44 etc
Field
Explanation
Format
Example
keycode
Your Validate keycode
field1
Account Structure
26n
ii) 111122223333333333344
iii) 1111-2222-3333/3333.333-44
field2
Not Used
field3
Not Used
field4
Not Used
countryId
The ISO Country Code
2a
PT
Note
countrySpec is not used for this country, use an empty string "".
Returned
data
An object array 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 |