3.28. Get bank accounts
Connection URL
TEST URL | http://nap.dev.icash.bg/clientapi/v1/get-bank-accounts |
( AL ) PRODUCTION URL | https://v1.icash.al/clientapi/v1/get-bank-accounts |
( BG ) PRODUCTION URL | https://v5.icash.bg/clientapi/v1/get-bank-accounts |
POST Request params
Param | Description | Field type | Required |
api_key | API Key | String | YES |
nonce | Nonce | Integer | YES |
signature | Signature | String | YES |
ses | Session indentificator | String | YES |
JSON response on success
Param | Description | Field type | Required |
nonce | Nonce from request | Integer | YES |
status | Request status | Integer
1 – successful |
YES |
data | List of bank accounts | Array of Item |
Structure of type “Item”
Param | Description | Field type | Required |
id | Indentificator | Integer | YES |
name | Name | String | YES |
Example:
{ „nonce“:“1637871682″, „status“:1, „data“:[ { „BankAccountID“:1, „BankAccountBankName“:“Test Banka“, „BankAccountBranchName“:“Tirane“, „BankAccountIBAN“:“1111111111111111″, „BankAccountBIC“:“BIC22222222″, „BankAccountCurrencyCode“:“ALL“, „BankAccountCityID“:5460, „BankAccountCityName“:“Ballshi“, „BankAccountAddress“:“rruga nr 1″, „BankAccountCreateUserID“:1, „BankAccountCreateDate“:“2020-11-09 11:51:35″, „BankAccountActive“:0 },{ „BankAccountID“:2, „BankAccountBankName“:“Test 2″, „BankAccountBranchName“:“Tirane“, „BankAccountIBAN“:“Al123455645644″, „BankAccountBIC“:“12345″, „BankAccountCurrencyCode“:“ALL“, „BankAccountCityID“:5368, „BankAccountCityName“:“Tirane“, „BankAccountAddress“:““, „BankAccountCreateUserID“:1, „BankAccountCreateDate“:“2020-12-07 11:27:15″, „BankAccountActive“:1 }, ] } |
JSON response on unsuccess
Param | Description | Field type | Required |
nonce | Nonce from request | Integer | YES |
status | Request status | Integer
0 – unsuccess request |
YES |
error_message | Error Description | String | YES |
Example response unsuccess:
{ „nonce“: „1552990901“, „status“: 0, „error_message“: „Session expired“ } |