跳到主要内容

获取账户信息

列出基金的账户,包括余额、状态以及每个账户支持的转账类型。

适用范围
角色主机所需权限
管理人manager-api读取
顾问consultant-apiView accounts

各主机的 Base URL:环境(主机)。

Request​

ENDPOINT
/cash_account/fund_class/FUND_CLASS_KEY/accounts
MÉTODO
GET

Query Params​

字段类型描述
limitint每页条目数。默认:10。最大:50。
pageint页码(从零开始)。默认:0。

Response​

STATUS
200
Response 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​

字段类型描述
dataarrayAccount 对象列表
limitint每页获取的对象数量上限
pageint所获取的页码
is_last_pageboolean指示所获取的页是否为最后一页

Account​

字段类型描述字符数
account_keystring账户在系统中的唯一标识 key36
account_typestring账户类型最多 50
financial_institutionJSON金融机构对象-
account_statusstring账户状态最多 50
account_numberstring账号最多 50
account_digitstring账户校验位1
account_branchstring账户所属分行最多 50
accounting_identificationint账户的序号标识-
balanceint账户当前余额-
ownerJSON账户所有人对象-
owner_document_numberstring账户所有人的证件号14 或 18
blocked_balanceint冻结余额,以分为单位-
account_configurationJSON账户已启用的功能:pix、wire_transfer(TED)和 statement(对账单),各为 true/false-
billingsarray账户费用。在此列表中始终为空-
authorized_agentsJSON获授权操作该账户的代理方。有值时返回-
注意

余额以分为单位,例如:1234 = R$ 12,34。

Financial institution​

字段类型描述字符数
ispbstring巴西支付系统标识(ISPB)8
codestring金融机构代码3
namestring金融机构名称最多 255

Owner​

字段类型描述字符数
namestring账户所有人名称最多 255
document_numberstring账户所有人的证件号14 或 18

错误​

状态码代码触发条件
404CSH000005该 fund_class_key 不存在。
403CSH000048该基金不属于您的角色。

认证、权限和主机相关错误:参见 API 错误。