Is the Bank Number Valid?
Learn how businesses using bank standing orders can verify a customer's bank account details with the Is Bank Number Valid API function.
When should this function be used?
This function is intended for businesses that work with bank standing orders. Businesses that want to verify whether a customer's bank account details are valid can use it for this purpose.
It is important to emphasize that the function does not check the account balance. It only verifies the validity of the account number and bank details.
Below is a link to the function in JSON.
Request method: GET.
https://secure.cardcom.solutions/api/v11/RecuringPayments/IsBankNumberValid
The following parameters must be passed to the Is Bank Number Valid function.
Legend:
Red parameter — required
Bold parameter — recommended
Parameter that is neither red nor bold — optional
| No. | Parameter | Example values | Description |
| 1 | apiUserName | "test2025" | API username. |
| 2 | apiPassword | "test5000$" | API password. |
| 3 | Bank | 32 | Bank number. |
| 4 | Snif | 5 | Bank branch number. |
| 5 | Account | "205734" | Bank account number. |
Response from Is Bank Number Valid
| No. | Parameter | Example values | Description |
| 1 | ResponseCode | 0 | 0 — the operation was successful. Any other value indicates an error — a development error. |
| 2 | Description | "The transaction was completed successfully" | Description of the response. If a different response is received, the operation was not successful. |
Below is sample code for the function together with the response.
GET request to check whether the bank details are valid:
{
"apiUserName": "test2025",
"apiPassword": "test5000$",
"Bank": 5,
"Snif": 577,
"Account": "306518"
}
Response received after the request:
{
"ResponseCode": 0,
"Description": "Valid"
}