PRODUCTS
...
categorized_savings_l2
CPF encoded
V1.1
2min
JSON
1{
2 "code": 200,
3 "message": "OK",
4 "requestId": "112334",
5 "productName": "pf_categorized_savings_l2",
6 "productVersion": "V1.1",
7 "productReportId": "4b2c1648-231f-11eb-97c4-f45c899f4587",
8 "productReportTime": "2019-12-23T06:10:43",
9 "enquiryCpf":"cly0AXWVPlVJMk-3P1qFQ5i3UgY-t0mIkn3xNPAWxW4DusQWC6wKP6WKTKunzSqy2oVpKd2p7_liKxGXpV7wQ3a62M4g",
10 "links": [
11 {
12 "linkId": "gPuKXrCJU05J4k",
13 "institutionCode": "033",
14 "consents": [
15 {
16 "consentId": "f55c899f-11eb-231f-97c4-4b2c16484587",
17 "permissions": {
18 "REGISTRATION_ALL": {
19 "permissionsGranted": true,
20 "accountIds": [
21 "123456"
22 ]
23 }
24 }
25 }
26 ]
27 }
28 ],
29 "savingsAccounts": [
30 {
31 "brandName": "Organização A",
32 "bacenName": "Organização A",
33 "compeCode": "001",
34 "companyCnpj":"50685362006773",
35 "branchCode": "6272",
36 "number": "94088392",
37 "checkDigit": "4",
38 "subtype": "INDIVIDUAL",
39 "civilName": "Mike",
40 "balances": {
41 "availableAmount": {
42 "amount": "1000.0400",
43 "currency": "BRL"
44 },
45 "blockedAmount": {
46 "amount": "1000.0400",
47 "currency": "BRL"
48 },
49 "automaticallyInvestedAmount": {
50 "amount": "1000.0400",
51 "currency": "BRL"
52 }
53 },
54 "transactionDetails": [
55 {
56 "transactionDate": "2021-01-07",
57 "transactionDateTime": "2016-01-29T12:29:03.374Z",
58 "transactionId": "TXpRMU9UQTROMWhZV2xSU1FUazJSMDl",
59 "completedAuthorisedPaymentType": "TRANSACAO_EFETIVADA",
60 "creditDebitType": "DEBITO",
61 "transactionAmount": {
62 "amount": "1000.0400",
63 "currency": "BRL"
64 },
65 "transactionName": "TRANSFCWAR5TXHCX5I9IDBHML8082N8NEO30M6LNNG7ANAYIJYRM00ZBZPU8",
66 "partiePersonType": "PESSOA_NATURAL",
67 "partieCompeCode": "001",
68 "partieBranchCode": "6272",
69 "partieNumber": "12345678909",
70 "partieCheckDigit": "4",
71 "postTransactionBalance": "100.00",
72 "type": "PIX",
73 "category": "Renda",
74 "subcategory": "Renda ativa"
75 }
76 ]
77 }
78 ],
79 "externalInfo": {
80 "myTraceId": "yourtraceid-1",
81 "myUUID": "youruuid-1"
82 }
83}
Just add category and subcategory key in transactions array key base on V1.
The JSON scheme is similar to the pf_categorized_checking_l2, and the productName key is pj_categorized_savings_l2.
JSON
1{
2 "code": 200,
3 "message": "OK",
4 "requestId": "112334",
5 "productName": "pj_categorized_savings_l2",
6 "productVersion": "V1.1",
7 "productReportId": "4b2c1648-231f-11eb-97c4-f45c899f4587",
8 "productReportTime": "2019-12-23T06:10:43",
9 "enquiryCpf":"cly0AXWVPlVJMk-3P1qFQ5i3UgY-t0mIkn3xNPAWxW4DusQWC6wKP6WKTKunzSqy2oVpKd2p7_liKxGXpV7wQ3a62M4g",
10 "links": [
11 {
12 "linkId": "gPuKXrCJU05J4k",
13 "institutionCode": "033",
14 "consents": [
15 {
16 "consentId": "f55c899f-11eb-231f-97c4-4b2c16484587",
17 "permissions": {
18 "REGISTRATION_ALL": {
19 "permissionsGranted": true,
20 "accountIds": [
21 "123456"
22 ]
23 }
24 }
25 }
26 ]
27 }
28 ],
29 "savingsAccounts": [
30 {
31 "brandName": "Organização A",
32 "bacenName": "Organização A",
33 "compeCode": "001",
34 "companyCnpj":"50685362006773",
35 "branchCode": "6272",
36 "number": "94088392",
37 "checkDigit": "4",
38 "companyName": "Luiza e Benjamin Assessoria Jurídica Ltda",
39 "tradeName": "Mundo da Eletronica",
40 "cnpjNumber":"50685362006773",
41 "civilName": "Mike",
42 "balances": {
43 "availableAmount": {
44 "amount": "1000.0400",
45 "currency": "BRL"
46 },
47 "blockedAmount": {
48 "amount": "1000.0400",
49 "currency": "BRL"
50 },
51 "automaticallyInvestedAmount": {
52 "amount": "1000.0400",
53 "currency": "BRL"
54 }
55 },
56 "transactionDetails": [
57 {
58 "transactionDate": "2021-01-07",
59 "transactionDateTime": "2016-01-29T12:29:03.374Z",
60 "transactionId": "TXpRMU9UQTROMWhZV2xSU1FUazJSMDl",
61 "completedAuthorisedPaymentType": "TRANSACAO_EFETIVADA",
62 "creditDebitType": "DEBITO",
63 "transactionAmount": {
64 "amount": "1000.0400",
65 "currency": "BRL"
66 },
67 "transactionName": "TRANSFCWAR5TXHCX5I9IDBHML8082N8NEO30M6LNNG7ANAYIJYRM00ZBZPU8",
68 "partiePersonType": "PESSOA_NATURAL",
69 "partieCompeCode": "001",
70 "partieBranchCode": "6272",
71 "partieNumber": "67890854360",
72 "partieCheckDigit": "4",
73 "postTransactionBalance": "100.00",
74 "type": "PIX",
75 "category": "Renda",
76 "subcategory": "Renda ativa"
77 }
78 ]
79 }
80 ],
81 "externalInfo": {
82 "myTraceId": "yourtraceid-1",
83 "myUUID": "youruuid-1"
84 }
85}
For detailed schemes in the product, please refer to the official documentation of Open Finance Brazil.
Updated 11 Oct 2024
Did this page help you?