获取账户信息
Request
ENDPOINT
/cash_account/fund_class/FUND_CLASS_KEY/accountsMÉTODO
GETResponse
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,
"owner":{
"name":"FUNDO DE INVESTIMENTO EM DIREITOS CREDITORIOS",
"document_number":"16.958.441/0001-30"
},
"owner_document_number":"16.958.441/0001-30"
},
{
"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,
"owner":{
"name":"FUNDO DE INVESTIMENTO EM DIREITOS CREDITORIOS",
"document_number":"16.958.441/0001-30"
},
"owner_document_number":"16.958.441/0001-30"
}
],
"limit":10,
"page":0,
"is_last_page":true
}
}
Response Fields
| 字段 | 类型 | 描述 |
|---|---|---|
data | array | Account 对象列表 |
limit | int | 每页返回对象数量上限 |
page | int | 已返回页码 |
is_last_page | boolean | 表示已返回页面 是否为最后一页 |
Account
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
account_key | string | 系统中账户唯一标识键 | 36 |
account_type | string | 账户类型 | 最多50 |
financial_institution | JSON | 金融机构对象 | - |
account_status | string | 账户状态 | 最多50 |
account_number | string | 账户号码 | 最多50 |
account_digit | string | 账户校验位 | 1 |
account_branch | string | 支行编号 | 最多50 |
accounting_identification | int | 账户序列标识符 | - |
balance | int | 当前账户余额 | - |
owner | JSON | 持有人对象 | - |
owner_document_number | string | 持有人证件号 | 14或18 |
注意
余额通过将元和分拼接提供,例 如:1234 = R$ 12,34
Financial institution
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
ispb | string | 巴西支付系统标识符 | 8 |
code | string | 金融机构代码 | 3 |
name | string | 金融机构名称 | 最多255 |
Owner
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
name | string | 持有人姓名 | 最多255 |
document_number | string | 持有人证件号 | 14或18 |