PRODUCTS
...
categorized_creditcard_l2
CPF encoded
V1.1
2min
JSON
1{
2 "code": 200,
3 "message": "OK",
4 "requestId": "112334",
5 "productName": "pf_categorized_creditcard_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 "creditCards": [
30 {
31 "brandName": "Organização A",
32 "bacenName": "Organização A",
33 "companyCnpj": "21128159000166",
34 "civilName": "Mike",
35 "name": "Cartão Universitário",
36 "productType": "OUTROS",
37 "creditCardNetwork": "VISA",
38 "paymentMethods": [
39 {
40 "identificationNumber": "4453",
41 "isMultipleCreditCard": true
42 }
43 ],
44 "isActive": true,
45 "limits": {
46 "isLimitFlexible": true,
47 "limitAmount": {
48 "amount": "1000.0400",
49 "currency": "BRL",
50 "limitAmountReason": ""
51 },
52 "usedAmount": {
53 "amount": "1000.0400",
54 "currency": "BRL"
55 },
56 "availableAmount": {
57 "amount": "1000.0400",
58 "currency": "BRL"
59 }
60 },
61 "openStatement":
62 {
63 "billMonth": "2021-05",
64 "billingDate": "2021-05-10",
65 "dueDate": "2021-05-21",
66 "billTotalAmount": {
67 "amount": "1000.0400",
68 "currency": "BRL"
69 },
70 "transactionDetails": [
71 {
72 "transactionDate": "2021-05-01",
73 "transactionDateTime": "2016-01-29T12:29:03.374Z",
74 "brazilianAmount": {
75 "amount": "1000.0400",
76 "currency": "BRL"
77 },
78 "transactionName": "PGTO",
79 "identificationNumber": "4453",
80 "transactionId": "TXpRMU9UQTROMWhZV2xSU1FUazJSMDl",
81 "transactionType": "CASHBACK",
82 "billPostDate": "2021-05-01",
83 "creditDebitType": "DEBITO",
84 "feeType": "ANUIDADE",
85 "otherCreditsType": "",
86 "payeeMCC": 5137,
87 "paymentType": "A_VISTA",
88 "chargeIdentificator": "12",
89 "chargeNumber": 12,
90 "category": "Renda",
91 "subcategory": "Renda ativa"
92 }
93 ]
94 }
95 ,
96 "closedStatements": [
97 {
98 "billMonth": "2021-04",
99 "billingDate": "2021-04-10",
100 "dueDate": "2021-04-21",
101 "billMinimumAmount": {
102 "amount": "1000.0400",
103 "currency": "BRL"
104 },
105 "billTotalAmount": {
106 "amount": "1000.0400",
107 "currency": "BRL"
108 },
109 "billPayments": [
110 {
111 "amount": "1000.0400",
112 "currency": "BRL",
113 "paymentDate": "2021-04-01",
114 "valueType": "VALOR_PAGAMENTO_FATURA_PARCELADO",
115 "paymentMode": "DEBITO_CONTA_CORRENTE"
116 }
117 ],
118 "transactionDetails": [
119 {
120 "transactionDate": "2021-04-01",
121 "transactionDateTime": "2016-01-29T12:29:03.374Z",
122 "brazilianAmount": {
123 "amount": "1000.0400",
124 "currency": "BRL"
125 },
126 "transactionName": "PGTO",
127 "identificationNumber": "4453",
128 "transactionId": "TXpRMU9UQTROMWhZV2xSU1FUazJSMDl",
129 "transactionType": "CASHBACK",
130 "billPostDate": "2021-04-01",
131 "creditDebitType": "DEBITO",
132 "feeType": "ANUIDADE",
133 "otherCreditsType": "",
134 "payeeMCC": 5137,
135 "paymentType": "A_VISTA",
136 "chargeIdentificator": "12",
137 "chargeNumber": 12,
138 "category": "Renda",
139 "subcategory": "Renda ativa"
140 }
141 ]
142 }
143 ]
144 }
145 ],
146 "externalInfo": {
147 "myTraceId": "yourtraceid-1",
148 "myUUID": "youruuid-1"
149 }
150}
Just add category and subcategory key in transactions array key base on V1.
The JSON scheme is similar to the pf_categorized_creditcard_l2, and the productName key is pj_categorized_creditcard_l2.
JSON
1{
2 "code": 200,
3 "message": "OK",
4 "requestId": "112334",
5 "productName": "pj_categorized_creditcard_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 "creditCards": [
30 {
31 "brandName": "Organização A",
32 "bacenName": "Organização A",
33 "companyCnpj": "21128159000166",
34 "companyName":"Luiza e Benjamin Assessoria Jurídica Ltda",
35 "tradeName":"Mundo da Eletronica",
36 "cnpjNumber":"50685362006773",
37 "civilName": "Mike",
38 "name": "Cartão Universitário",
39 "productType": "OUTROS",
40 "creditCardNetwork": "VISA",
41 "paymentMethods": [
42 {
43 "identificationNumber": "4453",
44 "isMultipleCreditCard": true
45 }
46 ],
47 "isActive": true,
48 "limits": {
49 "isLimitFlexible": true,
50 "limitAmount": {
51 "amount": "1000.0400",
52 "currency": "BRL",
53 "limitAmountReason": ""
54 },
55 "usedAmount": {
56 "amount": "1000.0400",
57 "currency": "BRL"
58 },
59 "availableAmount": {
60 "amount": "1000.0400",
61 "currency": "BRL"
62 }
63 },
64 "openStatement":
65 {
66 "billMonth": "2021-05",
67 "billingDate": "2021-05-10",
68 "dueDate": "2021-05-21",
69 "billTotalAmount": {
70 "amount": "1000.0400",
71 "currency": "BRL"
72 },
73 "transactionDetails": [
74 {
75 "transactionDate": "2021-05-01",
76 "transactionDateTime": "2016-01-29T12:29:03.374Z",
77 "brazilianAmount": {
78 "amount": "1000.0400",
79 "currency": "BRL"
80 },
81 "transactionName": "PGTO",
82 "identificationNumber": "4453",
83 "transactionId": "TXpRMU9UQTROMWhZV2xSU1FUazJSMDl",
84 "transactionType": "CASHBACK",
85 "billPostDate": "2021-05-01",
86 "creditDebitType": "DEBITO",
87 "feeType": "ANUIDADE",
88 "otherCreditsType": "",
89 "payeeMCC": 5137,
90 "paymentType": "A_VISTA",
91 "chargeIdentificator": "12",
92 "chargeNumber": 12,
93 "category": "Renda",
94 "subcategory": "Renda ativa"
95 }
96 ]
97 }
98 ,
99 "closedStatements": [
100 {
101 "billMonth": "2021-04",
102 "billingDate": "2021-04-10",
103 "dueDate": "2021-04-21",
104 "billMinimumAmount": {
105 "amount": "1000.0400",
106 "currency": "BRL"
107 },
108 "billTotalAmount": {
109 "amount": "1000.0400",
110 "currency": "BRL"
111 },
112 "billPayments": [
113 {
114 "amount": "1000.0400",
115 "currency": "BRL",
116 "paymentDate": "2021-04-01",
117 "valueType": "VALOR_PAGAMENTO_FATURA_PARCELADO",
118 "paymentMode": "DEBITO_CONTA_CORRENTE"
119 }
120 ],
121 "transactionDetails": [
122 {
123 "transactionDate": "2021-04-01",
124 "transactionDateTime": "2016-01-29T12:29:03.374Z",
125 "brazilianAmount": {
126 "amount": "1000.0400",
127 "currency": "BRL"
128 },
129 "transactionName": "PGTO",
130 "identificationNumber": "4453",
131 "transactionId": "TXpRMU9UQTROMWhZV2xSU1FUazJSMDl",
132 "transactionType": "CASHBACK",
133 "billPostDate": "2021-04-01",
134 "creditDebitType": "DEBITO",
135 "feeType": "ANUIDADE",
136 "otherCreditsType": "",
137 "payeeMCC": 5137,
138 "paymentType": "A_VISTA",
139 "chargeIdentificator": "12",
140 "chargeNumber": 12,
141 "category": "Renda",
142 "subcategory": "Renda ativa"
143 }
144 ]
145 }
146 ]
147 }
148 ],
149 "externalInfo": {
150 "myTraceId": "yourtraceid-1",
151 "myUUID": "youruuid-1"
152 }
153}
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?