@@ -34,6 +34,21 @@ export type TransactionPaymentParticipant = {
34
34
routingNumber ?: string
35
35
}
36
36
37
+ export type TransactionBoletoMetadataResponse = {
38
+ /** Digitable line of the boleto */
39
+ digitableLine : string | null
40
+ /** Barcode of the boleto */
41
+ barcode : string | null
42
+ /** Base amount of the boleto */
43
+ baseAmount : number | null
44
+ /** Penalty amount of the boleto */
45
+ penaltyAmount : number | null
46
+ /** Interest amount of the boleto */
47
+ interestAmount : number | null
48
+ /** Discount amount of the boleto */
49
+ discountAmount : number | null
50
+ }
51
+
37
52
export type TransactionPaymentData = {
38
53
/** The identity of the sender of the transfer */
39
54
payer ?: TransactionPaymentParticipant
@@ -51,6 +66,8 @@ export type TransactionPaymentData = {
51
66
referenceNumber ?: string
52
67
/** The payer description / motive of the transfer */
53
68
reason ?: string
69
+ /** Additional data related to boleto transaction */
70
+ boletoMetadata : TransactionBoletoMetadataResponse | null
54
71
}
55
72
56
73
export type TransactionMerchantData = {
@@ -121,4 +138,6 @@ export type Transaction = {
121
138
merchant ?: TransactionMerchantData
122
139
/** Category ID of the transaction */
123
140
categoryId : string | null
141
+ /** Operation type of the transaction */
142
+ operationType : string | null
124
143
}
0 commit comments