GetAccountBalanceList
GetAccountBalanceList
API Method = GetAccountBalanceList
The "GetAccountBalanceList" endpoint is a feature we provide to our customers for efficiently accessing batch account balances. Through this service, customers can retrieve a list of accounts, yielding the balance of all listed accounts.
Important: Each request can retrieve a list with up to 100 accounts.
{
"Method": "GetAccountBalanceList",
"PartnerId": 308,
"BusinessUnitId": 480,
"Accounts": [
{
"TaxNumber": "01698768014",
"Bank": "450",
"BankBranch": "4453",
"BankAccount": "71547",
"BankAccountDigit": "2"
},
{
"TaxNumber": "07282568006",
"Bank": "450",
"BankBranch": "4453",
"BankAccount": "71522",
"BankAccountDigit": "1"
}
]
}
{
"Success": "true",
"Message": "ISI0001 - Método executado com sucesso",
"AccountList": [
{
"TaxNumber": "01698768014",
"Bank": "450",
"BankBranch": "4453",
"BankAccount": "71547",
"BankAccountDigit": "2"
"Balance": 1405.00,
"BlockedBalance": 100.00
},
{
"TaxNumber": "07282568006",
"Bank": "341",
"BankBranch": "4453",
"BankAccount": "71522",
"BankAccountDigit": "1"
"Balance": 3305.00,
"BlockedBalance": 10.00
}
]
}
Definition of request fields
Field | Type | Description |
---|---|---|
Method | String | Method name |
PartnerId | String | Information provided by FitBank |
BusinessUnitId | Integer | Information provided by FitBank |
TaxNumber | String | Taxnumber account holder |
Accounts | - | Object |
TaxNumber | String | Taxnumber account holder |
Bank | String | Bank Code (Ex.: “450”) |
BankBranch | String | Bank Agency Code (Ex.: “0001”) |
BankAccount | String | Bank Account (Ex.: “146492”) |
BankAccountDigit | String | Account Digit (Ex.: “1”) |
Definition of response fields
Field | Type | Description |
---|---|---|
Method | String | Method name |
PartnerId | String | Information provided by FitBank |
BusinessUnitId | Integer | Information provided by FitBank |
TaxNumber | String | Taxnumber account holder |
Accounts | - | Object |
TaxNumber | String | Taxnumber account holder |
Bank | String | Bank Code (Ex.: “450”) |
BankBranch | String | Bank Agency Code (Ex.: “0001”) |
BankAccount | String | Bank Account (Ex.: “146492”) |
BankAccountDigit | String | Account Digit (Ex.: “1”) |
Balance | String | Account Balance |
BlockedBalance | String | Blocked balance in the account |
Error scenarios responses
- If more than 100 accounts are inserted in a single request, the following exception will be returned:
{
"Success": false,
"Message": "EXC0024 - O número de contas consultadas não deve ser superior a 100"
"Validation": []
}
- If none of the entries in the list is properly filled, such as if any field is inadequately filled, the following exception will be returned:
{
"Success": false,
"Message": "ISE0014 - Informações enviadas estão inválidas. Veja a propriedade Validation do json para mais detalhes."
"Validation": [
{
"Key": "TaxNumber",
"Value": [
"O campo TaxNumber é obrigatório."
]
}
]
}
Updated 8 months ago