Retrieving Account Information
Lists the fund's accounts, with balance, status and the transfer types each one accepts.
Available on
| Profile | Host | Required permission |
|---|---|---|
| Manager | manager-api | Read |
| Consultant | consultant-api | View accounts |
Base URL for each host: Environments (Hosts).
Request
ENDPOINT
/cash_account/fund_class/FUND_CLASS_KEY/accountsMETHOD
GETQuery Params
| Field | Type | Description |
|---|---|---|
limit | int | Items per page. Default: 10. Maximum: 50. |
page | int | Page number (starting at zero). Default: 0. |
Response
STATUS
200Response Body
{
"data":[
{
"account_key":"fdbe66e9-4b1d-4254-8473-523b8d3587be",
"account_type":"checking_account",
"financial_institution":{
"ispb":"32402502",
"code":"329",
"name":"QI Sociedade de Crédito Direto"
},
"account_status":"open",
"account_number":"999999",
"account_digit":"9",
"account_branch":"0001",
"accounting_identification":1,
"balance":0,
"blocked_balance":0,
"owner":{
"name":"FUNDO DE INVESTIMENTO EM DIREITOS CREDITORIOS",
"document_number":"11.222.333/0001-81"
},
"owner_document_number":"11.222.333/0001-81",
"account_configuration":{
"pix":true,
"wire_transfer":true,
"statement":true
},
"billings":[]
},
{
"account_key":"e40dd24e-4341-4736-a868-f3e767dd6c31",
"account_type":"checking_account",
"financial_institution":{
"ispb":"32402502",
"code":"329",
"name":"QI Sociedade de Crédito Direto"
},
"account_status":"open",
"account_number":"77777",
"account_digit":"7",
"account_branch":"0001",
"accounting_identification":2,
"balance":0,
"blocked_balance":0,
"owner":{
"name":"FUNDO DE INVESTIMENTO EM DIREITOS CREDITORIOS",
"document_number":"11.222.333/0001-81"
},
"owner_document_number":"11.222.333/0001-81",
"account_configuration":{
"pix":true,
"wire_transfer":true,
"statement":true
},
"billings":[]
}
],
"limit":10,
"page":0,
"is_last_page":true
}
Response Fields
| Field | Type | Description |
|---|---|---|
data | array | List of Account objects |
limit | int | Limit of objects retrieved per page |
page | int | Number of the retrieved page |
is_last_page | boolean | Indicates whether the retrieved page is the last one |
Account
| Field | Type | Description | Characters |
|---|---|---|---|
account_key | string | Unique identifier key of the account in the system | 36 |
account_type | string | Account type | Up to 50 |
financial_institution | JSON | Financial institution object | - |
account_status | string | Account status | Up to 50 |
account_number | string | Account number | Up to 50 |
account_digit | string | Account digit | 1 |
account_branch | string | Account branch | Up to 50 |
accounting_identification | int | Account ordinal identifier | - |
balance | int | Current account balance | - |
owner | JSON | Owner object | - |
owner_document_number | string | Owner's document | 14 or 18 |
blocked_balance | int | Blocked balance, in cents | - |
account_configuration | JSON | Features enabled on the account: pix, wire_transfer (TED) and statement, each true/false | - |
billings | array | Account fees. Always empty in this listing | - |
authorized_agents | JSON | Agents authorized to operate the account. Present when available | - |
Attention
The balance is provided in cents, e.g.: 1234 = R$ 12.34.
Financial institution
| Field | Type | Description | Characters |
|---|---|---|---|
ispb | string | Brazilian Payment System Identifier | 8 |
code | string | Financial institution code | 3 |
name | string | Financial institution name | Up to 255 |
Owner
| Field | Type | Description | Characters |
|---|---|---|---|
name | string | Owner's name | up to 255 |
document_number | string | Owner's document | 14 or 18 |
Errors
| Status | Code | When it happens |
|---|---|---|
| 404 | CSH000005 | The fund_class_key does not exist. |
| 403 | CSH000048 | The fund does not belong to your profile. |
Authentication, permission and host errors: see API Errors.