Products
Investment (V1)
1min
Example responses
JSON
1{
2 "code":200,
3 "msg":"ok",
4 "report_time":"2020-07-15 18:36:55",
5 "data":{
6 "enquiry_cpf":"12345678901",
7 "user_consent":"Yes",
8 "allow_autoupdate":"Yes",
9 "connection_key":"gPuKXrCJU0kUDQO65J4k",
10 "connection_id":"f45c899f-11eb-231f-97c4-4b2c16484587",
11 "institution_id":"102",
12 "report_type":"investment",
13 "report_id":"4b2c1648-231f-11eb-97c4-f45c899f4594",
14 "report_version":"V1",
15 "investmentInfo":{
16 "personalInfo":{
17 "cpf_verified":"12345678901",
18 "name":"Usuario anonimo",
19 "birthday":"1990-01-01 00:00:00",
20 "cellphone":"(11) 987654321",
21 "home_phone":"(11) 987654321",
22 "email":"[email protected]",
23 "id_type":"CH",
24 "id_number":"01010101010",
25 "gender":"Masculino",
26 "fathers_name":"Joao Silva",
27 "marital_status":"SOLTEIRO(A)",
28 "spouse_name":"n/a",
29 "profession":"IT",
30 "title":"CTO",
31 "company":"Company",
32 "correspondenceAddress":{
33 "postcode":"00000000",
34 "address":"Rua Brasil",
35 "address_number":"66",
36 "neighborhood":"Neighborhood",
37 "complement":"n/a",
38 "city":"SAO PAULO",
39 "state":"SP",
40 "country":"BR"
41 },
42 "suitability":"Agressivo"
43 },
44 "accountInfo":{
45 "institution":"XP",
46 "bacen_name":"XP INVESTIMENTOS CORRETORA DE CÂMBIO,TÍTULOS E VALORES MOBILIÁRIOS S/A",
47 "bacen_id":"102",
48 "agency":"0001",
49 "account_number":"1234567",
50 "total_balance":20275.35,
51 "account_balance":3000.47,
52 "investment_balance":17274.88,
53 "savings_balance":0
54 },
55 "investmentDetail":[
56 {
57 "investment_type":"Renda Fixa Privada",
58 "investment_type_balance":13909.4,
59 "productInfo":[
60 {
61 "product_type":"Inflação",
62 "product_id":"CDB Fibra - JUL/2021",
63 "bank_issuer":"BANCO FIBRA SA",
64 "fund_type":"CERTIFICADO DE DEPÓSITO BANCÁRIO",
65 "index":"IPC-A",
66 "index_rate":"+ 6.65%",
67 "spread":"",
68 "issue_date":"2017-07-14 00:00:00",
69 "due_date":"2021-07-14 00:00:00",
70 "liquidity_date":"2021-07-14 00:00:00",
71 "custody":"CETIP",
72 "ISIN":"-",
73 "balance":13909.4,
74 "position": 1
75 }
76 ]
77 },
78 {
79 "investment_type":"Renda Variável",
80 "investment_type_balance":2757.29,
81 "productInfo":[
82 {
83 "product_type":"Ações",
84 "product_id":"ITUB4",
85 "balance":2757.29,
86 "quantity":100,
87 "profitability":0.1305,
88 "average_price":24.39,
89 "position": 1
90 }
91 ]
92 },
93 {
94 "investment_type":"Fundos de Investimentos",
95 "investment_type_balance":512.79,
96 "productInfo":[
97 {
98 "product_type":"Renda variável",
99 "product_id":"Trend Ibovespa Balanceado FIM",
100 "balance":512.79,
101 "quantity":467.95,
102 "profitability":0.0124,
103 "average_price":1.07,
104 "position": 1
105 }
106 ]
107 },
108 {
109 "investment_type":"Tesouro direto e Títulos Públicos",
110 "investment_type_balance":95.4,
111 "productInfo":[
112 {
113 "product_type":"Tesouro Direto",
114 "product_id":"Tesouro IPCA+ 2035",
115 "due_date":"2035-05-15 00:00:00",
116 "balance":95.4,
117 "position": 1,
118 "index_rate": "",
119 "market_info": ""
120 }
121 ]
122 }
123 ]
124 }
125 }
126}
Updated 04 Dec 2023
Did this page help you?