Products
Investment (V1)
1min
Example responses
JSON
{
"code":200,
"msg":"ok",
"report_time":"2020-07-15 18:36:55",
"data":{
"enquiry_cpf":"12345678901",
"user_consent":"Yes",
"allow_autoupdate":"Yes",
"connection_key":"gPuKXrCJU0kUDQO65J4k",
"connection_id":"f45c899f-11eb-231f-97c4-4b2c16484587",
"institution_id":"102",
"report_type":"investment",
"report_id":"4b2c1648-231f-11eb-97c4-f45c899f4594",
"report_version":"V1",
"investmentInfo":{
"personalInfo":{
"cpf_verified":"12345678901",
"name":"Usuario anonimo",
"birthday":"1990-01-01 00:00:00",
"cellphone":"(11) 987654321",
"home_phone":"(11) 987654321",
"email":"[email protected]",
"id_type":"CH",
"id_number":"01010101010",
"gender":"Masculino",
"fathers_name":"Joao Silva",
"marital_status":"SOLTEIRO(A)",
"spouse_name":"n/a",
"profession":"IT",
"title":"CTO",
"company":"Company",
"correspondenceAddress":{
"postcode":"00000000",
"address":"Rua Brasil",
"address_number":"66",
"neighborhood":"Neighborhood",
"complement":"n/a",
"city":"SAO PAULO",
"state":"SP",
"country":"BR"
},
"suitability":"Agressivo"
},
"accountInfo":{
"institution":"XP",
"bacen_name":"XP INVESTIMENTOS CORRETORA DE CÂMBIO,TÍTULOS E VALORES MOBILIÁRIOS S/A",
"bacen_id":"102",
"agency":"0001",
"account_number":"1234567",
"total_balance":20275.35,
"account_balance":3000.47,
"investment_balance":17274.88,
"savings_balance":0
},
"investmentDetail":[
{
"investment_type":"Renda Fixa Privada",
"investment_type_balance":13909.4,
"productInfo":[
{
"product_type":"Inflação",
"product_id":"CDB Fibra - JUL/2021",
"bank_issuer":"BANCO FIBRA SA",
"fund_type":"CERTIFICADO DE DEPÓSITO BANCÁRIO",
"index":"IPC-A",
"index_rate":"+ 6.65%",
"spread":"",
"issue_date":"2017-07-14 00:00:00",
"due_date":"2021-07-14 00:00:00",
"liquidity_date":"2021-07-14 00:00:00",
"custody":"CETIP",
"ISIN":"-",
"balance":13909.4,
"position": 1
}
]
},
{
"investment_type":"Renda Variável",
"investment_type_balance":2757.29,
"productInfo":[
{
"product_type":"Ações",
"product_id":"ITUB4",
"balance":2757.29,
"quantity":100,
"profitability":0.1305,
"average_price":24.39,
"position": 1
}
]
},
{
"investment_type":"Fundos de Investimentos",
"investment_type_balance":512.79,
"productInfo":[
{
"product_type":"Renda variável",
"product_id":"Trend Ibovespa Balanceado FIM",
"balance":512.79,
"quantity":467.95,
"profitability":0.0124,
"average_price":1.07,
"position": 1
}
]
},
{
"investment_type":"Tesouro direto e Títulos Públicos",
"investment_type_balance":95.4,
"productInfo":[
{
"product_type":"Tesouro Direto",
"product_id":"Tesouro IPCA+ 2035",
"due_date":"2035-05-15 00:00:00",
"balance":95.4,
"position": 1,
"index_rate": "",
"market_info": ""
}
]
}
]
}
}
}
Updated 04 Dec 2023
Did this page help you?