chargebee 3.32.0 → 3.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/CHANGELOG.md +196 -0
  2. package/cjs/environment.js +1 -1
  3. package/cjs/resources/api_endpoints.js +323 -2
  4. package/cjs/resources/webhook/eventType.js +14 -0
  5. package/cjs/schema/business_rule.schema.js +54 -0
  6. package/cjs/schema/business_ruleset.schema.js +68 -0
  7. package/cjs/schema/card.schema.js +3 -1
  8. package/cjs/schema/credit_note.schema.js +10 -4
  9. package/cjs/schema/customer.schema.js +81 -10
  10. package/cjs/schema/dispute.schema.js +104 -0
  11. package/cjs/schema/einvoice.schema.js +37 -0
  12. package/cjs/schema/email_log.schema.js +28 -0
  13. package/cjs/schema/estimate.schema.js +38 -9
  14. package/cjs/schema/event.schema.js +56 -0
  15. package/cjs/schema/export.schema.js +68 -12
  16. package/cjs/schema/feature.schema.js +2 -2
  17. package/cjs/schema/gift.schema.js +27 -1
  18. package/cjs/schema/hosted_page.schema.js +26 -6
  19. package/cjs/schema/index.js +6 -0
  20. package/cjs/schema/invoice.schema.js +74 -10
  21. package/cjs/schema/ledger_operation.schema.js +4 -0
  22. package/cjs/schema/meter.schema.js +1 -1
  23. package/cjs/schema/metered_feature.schema.js +1 -1
  24. package/cjs/schema/payment_intent.schema.js +27 -0
  25. package/cjs/schema/payment_schedule.schema.js +36 -0
  26. package/cjs/schema/payment_schedule_scheme.schema.js +23 -2
  27. package/cjs/schema/payment_source.schema.js +103 -1
  28. package/cjs/schema/pricing_page_session.schema.js +1 -0
  29. package/cjs/schema/promotional_grant.schema.js +2 -0
  30. package/cjs/schema/purchase.schema.js +14 -1
  31. package/cjs/schema/quote.schema.js +2 -2
  32. package/cjs/schema/ramp.schema.js +8 -0
  33. package/cjs/schema/subscription.schema.js +179 -16
  34. package/cjs/schema/transaction.schema.js +60 -2
  35. package/cjs/schema/webhook_endpoint.schema.js +28 -0
  36. package/esm/environment.js +1 -1
  37. package/esm/resources/api_endpoints.js +323 -2
  38. package/esm/resources/webhook/eventType.js +14 -0
  39. package/esm/schema/business_rule.schema.js +51 -0
  40. package/esm/schema/business_ruleset.schema.js +65 -0
  41. package/esm/schema/card.schema.js +3 -1
  42. package/esm/schema/credit_note.schema.js +10 -4
  43. package/esm/schema/customer.schema.js +81 -10
  44. package/esm/schema/dispute.schema.js +101 -0
  45. package/esm/schema/einvoice.schema.js +34 -0
  46. package/esm/schema/email_log.schema.js +25 -0
  47. package/esm/schema/estimate.schema.js +38 -9
  48. package/esm/schema/event.schema.js +56 -0
  49. package/esm/schema/export.schema.js +68 -12
  50. package/esm/schema/feature.schema.js +2 -2
  51. package/esm/schema/gift.schema.js +27 -1
  52. package/esm/schema/hosted_page.schema.js +26 -6
  53. package/esm/schema/index.js +6 -0
  54. package/esm/schema/invoice.schema.js +74 -10
  55. package/esm/schema/ledger_operation.schema.js +4 -0
  56. package/esm/schema/meter.schema.js +1 -1
  57. package/esm/schema/metered_feature.schema.js +1 -1
  58. package/esm/schema/omnichannel_subscription.schema.js +1 -1
  59. package/esm/schema/payment_intent.schema.js +27 -0
  60. package/esm/schema/payment_schedule.schema.js +33 -0
  61. package/esm/schema/payment_schedule_scheme.schema.js +22 -1
  62. package/esm/schema/payment_source.schema.js +103 -1
  63. package/esm/schema/pricing_page_session.schema.js +1 -0
  64. package/esm/schema/promotional_grant.schema.js +2 -0
  65. package/esm/schema/purchase.schema.js +14 -1
  66. package/esm/schema/quote.schema.js +2 -2
  67. package/esm/schema/ramp.schema.js +8 -0
  68. package/esm/schema/subscription.schema.js +179 -16
  69. package/esm/schema/subscription_entitlement.schema.js +2 -2
  70. package/esm/schema/transaction.schema.js +60 -2
  71. package/esm/schema/webhook_endpoint.schema.js +28 -0
  72. package/package.json +1 -1
  73. package/types/core.d.ts +86 -8
  74. package/types/index.d.ts +15 -0
  75. package/types/resources/AppliedBusinessRule.d.ts +15 -0
  76. package/types/resources/AppliedRule.d.ts +14 -0
  77. package/types/resources/ApplyRule.d.ts +28 -0
  78. package/types/resources/BusinessRule.d.ts +161 -0
  79. package/types/resources/BusinessRuleset.d.ts +165 -0
  80. package/types/resources/BusinessRulesetRule.d.ts +9 -0
  81. package/types/resources/Card.d.ts +1 -1
  82. package/types/resources/Content.d.ts +9 -0
  83. package/types/resources/Coupon.d.ts +2 -2
  84. package/types/resources/CreditNote.d.ts +12 -0
  85. package/types/resources/CustomDataSchema.d.ts +15 -0
  86. package/types/resources/Customer.d.ts +42 -5
  87. package/types/resources/Dispute.d.ts +65 -0
  88. package/types/resources/Einvoice.d.ts +64 -1
  89. package/types/resources/EmailLog.d.ts +45 -0
  90. package/types/resources/Estimate.d.ts +34 -5
  91. package/types/resources/Event.d.ts +15 -0
  92. package/types/resources/Gift.d.ts +29 -3
  93. package/types/resources/GrantBlock.d.ts +26 -7
  94. package/types/resources/HostedPage.d.ts +14 -3
  95. package/types/resources/Invoice.d.ts +42 -4
  96. package/types/resources/LedgerEntry.d.ts +4 -4
  97. package/types/resources/LedgerOperation.d.ts +15 -8
  98. package/types/resources/OmnichannelSubscriptionItem.d.ts +5 -1
  99. package/types/resources/PaymentIntent.d.ts +72 -5
  100. package/types/resources/PaymentSchedule.d.ts +38 -1
  101. package/types/resources/PaymentScheduleEstimate.d.ts +1 -0
  102. package/types/resources/PaymentScheduleScheme.d.ts +17 -1
  103. package/types/resources/PaymentSource.d.ts +31 -2
  104. package/types/resources/PricingPageSession.d.ts +1 -0
  105. package/types/resources/PromotionalGrant.d.ts +2 -0
  106. package/types/resources/Purchase.d.ts +14 -1
  107. package/types/resources/Quote.d.ts +2 -2
  108. package/types/resources/QuotedSubscription.d.ts +3 -2
  109. package/types/resources/Ramp.d.ts +12 -0
  110. package/types/resources/Subscription.d.ts +116 -17
  111. package/types/resources/ThirdPartyPaymentMethod.d.ts +1 -0
  112. package/types/resources/Transaction.d.ts +5 -0
  113. package/types/resources/WebhookEvent.d.ts +70 -0
@@ -129,7 +129,20 @@ declare module 'chargebee' {
129
129
  | 'dana'
130
130
  | 'touch_n_go'
131
131
  | 'tamara'
132
- | 'qpay';
132
+ | 'qpay'
133
+ | 'ovo'
134
+ | 'momo'
135
+ | 'mercado_pago'
136
+ | 'nequi'
137
+ | 'nupay'
138
+ | 'picpay'
139
+ | 'thai_qr'
140
+ | 'blik'
141
+ | 'fpx'
142
+ | 'wero'
143
+ | 'p24'
144
+ | 'affirm_pay'
145
+ | 'rakuten_pay';
133
146
  reference_id?: string;
134
147
  /**
135
148
  * @deprecated Please refer API docs to use other attributes
@@ -843,7 +843,7 @@ declare module 'chargebee' {
843
843
  export interface SubscriptionCreateSubForCustomerQuoteInputParam {
844
844
  id?: string;
845
845
  po_number?: string;
846
- plan_id: string;
846
+ plan_id?: string;
847
847
  plan_quantity?: number;
848
848
  plan_quantity_in_decimal?: string;
849
849
  plan_unit_price?: number;
@@ -898,7 +898,7 @@ declare module 'chargebee' {
898
898
  export interface SubscriptionEditCreateSubForCustomerQuoteInputParam {
899
899
  id?: string;
900
900
  po_number?: string;
901
- plan_id: string;
901
+ plan_id?: string;
902
902
  plan_quantity?: number;
903
903
  plan_quantity_in_decimal?: string;
904
904
  plan_unit_price?: number;
@@ -4,8 +4,8 @@
4
4
  declare module 'chargebee' {
5
5
  export interface QuotedSubscription {
6
6
  id: string;
7
- plan_id: string;
8
- plan_quantity: number;
7
+ plan_id?: string;
8
+ plan_quantity?: number;
9
9
  plan_unit_price?: number;
10
10
  setup_fee?: number;
11
11
  billing_period?: number;
@@ -94,6 +94,7 @@ declare module 'chargebee' {
94
94
  usage_accumulation_reset_frequency?:
95
95
  | 'never'
96
96
  | 'subscription_billing_frequency';
97
+ description?: string;
97
98
  }
98
99
  export interface ItemTier {
99
100
  item_price_id: string;
@@ -20,6 +20,7 @@ declare module 'chargebee' {
20
20
  coupons_to_remove?: string[];
21
21
  discounts_to_remove?: string[];
22
22
  contract_term?: Ramp.ContractTerm;
23
+ billing_configuration?: Ramp.BillingConfiguration;
23
24
  deleted: boolean;
24
25
  status_transition_reason?: Ramp.StatusTransitionReason;
25
26
  }
@@ -155,6 +156,9 @@ declare module 'chargebee' {
155
156
  renewal_billing_cycles?: number;
156
157
  action_at_term_end: 'renew' | 'evergreen' | 'cancel' | 'renew_once';
157
158
  }
159
+ export interface BillingConfiguration {
160
+ po_number?: string;
161
+ }
158
162
  export interface StatusTransitionReason {
159
163
  code?: string;
160
164
  message?: string;
@@ -168,6 +172,7 @@ declare module 'chargebee' {
168
172
  coupons_to_remove?: string[];
169
173
  discounts_to_remove?: string[];
170
174
  items_to_remove?: string[];
175
+ billing_configuration?: BillingConfigurationCreateForSubscriptionInputParam;
171
176
  contract_term?: ContractTermCreateForSubscriptionInputParam;
172
177
  items_to_add?: ItemsToAddCreateForSubscriptionInputParam[];
173
178
  items_to_update?: ItemsToUpdateCreateForSubscriptionInputParam[];
@@ -181,6 +186,7 @@ declare module 'chargebee' {
181
186
  coupons_to_remove?: string[];
182
187
  discounts_to_remove?: string[];
183
188
  items_to_remove?: string[];
189
+ billing_configuration?: BillingConfigurationUpdateInputParam;
184
190
  contract_term?: ContractTermUpdateInputParam;
185
191
  items_to_add?: ItemsToAddUpdateInputParam[];
186
192
  items_to_update?: ItemsToUpdateUpdateInputParam[];
@@ -199,6 +205,9 @@ declare module 'chargebee' {
199
205
  'sort_by[asc]'?: string;
200
206
  'sort_by[desc]'?: string;
201
207
  }
208
+ export interface BillingConfigurationCreateForSubscriptionInputParam {
209
+ po_number?: string;
210
+ }
202
211
  export interface ContractTermCreateForSubscriptionInputParam {
203
212
  action_at_term_end?: 'renew' | 'evergreen' | 'cancel' | 'renew_once';
204
213
  cancellation_cutoff_period?: number;
@@ -255,6 +264,9 @@ declare module 'chargebee' {
255
264
  included_in_mrr?: boolean;
256
265
  item_price_id?: string;
257
266
  }
267
+ export interface BillingConfigurationUpdateInputParam {
268
+ po_number?: string;
269
+ }
258
270
  export interface ContractTermUpdateInputParam {
259
271
  action_at_term_end?: 'renew' | 'evergreen' | 'cancel' | 'renew_once';
260
272
  cancellation_cutoff_period?: number;
@@ -6,8 +6,8 @@ declare module 'chargebee' {
6
6
  [key: string]: unknown;
7
7
  id: string;
8
8
  currency_code: string;
9
- plan_id: string;
10
- plan_quantity: number;
9
+ plan_id?: string;
10
+ plan_quantity?: number;
11
11
  plan_unit_price?: number;
12
12
  setup_fee?: number;
13
13
  billing_period?: number;
@@ -97,6 +97,7 @@ declare module 'chargebee' {
97
97
  discounts?: Subscription.Discount[];
98
98
  business_entity_id?: string;
99
99
  decommissioned: boolean;
100
+ brand_id?: string;
100
101
  }
101
102
 
102
103
  export namespace Subscription {
@@ -586,6 +587,7 @@ declare module 'chargebee' {
586
587
  usage_accumulation_reset_frequency?:
587
588
  | 'never'
588
589
  | 'subscription_billing_frequency';
590
+ description?: string;
589
591
  }
590
592
  export interface ItemTier {
591
593
  item_price_id: string;
@@ -715,7 +717,8 @@ declare module 'chargebee' {
715
717
 
716
718
  export interface CreateInputParam {
717
719
  id?: string;
718
- plan_id: string;
720
+ brand_id?: string;
721
+ plan_id?: string;
719
722
  plan_quantity?: number;
720
723
  plan_quantity_in_decimal?: string;
721
724
  plan_unit_price?: number;
@@ -769,7 +772,8 @@ declare module 'chargebee' {
769
772
  }
770
773
  export interface CreateForCustomerInputParam {
771
774
  id?: string;
772
- plan_id: string;
775
+ brand_id?: string;
776
+ plan_id?: string;
773
777
  plan_quantity?: number;
774
778
  plan_quantity_in_decimal?: string;
775
779
  plan_unit_price?: number;
@@ -813,6 +817,7 @@ declare module 'chargebee' {
813
817
  export interface CreateWithItemsInputParam {
814
818
  id?: string;
815
819
  business_entity_id?: string;
820
+ brand_id?: string;
816
821
  trial_end?: number;
817
822
  billing_cycles?: number /**
818
823
  * @deprecated Please refer API docs to use other attributes
@@ -1087,7 +1092,7 @@ declare module 'chargebee' {
1087
1092
  export interface ImportSubscriptionInputParam {
1088
1093
  id?: string;
1089
1094
  client_profile_id?: string;
1090
- plan_id: string;
1095
+ plan_id?: string;
1091
1096
  plan_quantity?: number;
1092
1097
  plan_quantity_in_decimal?: string;
1093
1098
  plan_unit_price?: number;
@@ -1135,7 +1140,7 @@ declare module 'chargebee' {
1135
1140
  }
1136
1141
  export interface ImportForCustomerInputParam {
1137
1142
  id?: string;
1138
- plan_id: string;
1143
+ plan_id?: string;
1139
1144
  plan_quantity?: number;
1140
1145
  plan_quantity_in_decimal?: string;
1141
1146
  plan_unit_price?: number;
@@ -1440,7 +1445,20 @@ declare module 'chargebee' {
1440
1445
  | 'dana'
1441
1446
  | 'touch_n_go'
1442
1447
  | 'tamara'
1443
- | 'qpay';
1448
+ | 'qpay'
1449
+ | 'ovo'
1450
+ | 'momo'
1451
+ | 'mercado_pago'
1452
+ | 'nequi'
1453
+ | 'nupay'
1454
+ | 'picpay'
1455
+ | 'thai_qr'
1456
+ | 'blik'
1457
+ | 'fpx'
1458
+ | 'wero'
1459
+ | 'p24'
1460
+ | 'affirm_pay'
1461
+ | 'rakuten_pay';
1444
1462
  reference_id?: string;
1445
1463
  /**
1446
1464
  * @deprecated Please refer API docs to use other attributes
@@ -1464,7 +1482,7 @@ declare module 'chargebee' {
1464
1482
  expiry_month?: number;
1465
1483
  expiry_year?: number;
1466
1484
  cvv?: string;
1467
- preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa';
1485
+ preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa' | 'dankort';
1468
1486
  billing_addr1?: string;
1469
1487
  billing_addr2?: string;
1470
1488
  billing_city?: string;
@@ -1599,7 +1617,20 @@ declare module 'chargebee' {
1599
1617
  | 'dana'
1600
1618
  | 'touch_n_go'
1601
1619
  | 'tamara'
1602
- | 'qpay';
1620
+ | 'qpay'
1621
+ | 'ovo'
1622
+ | 'momo'
1623
+ | 'mercado_pago'
1624
+ | 'nequi'
1625
+ | 'nupay'
1626
+ | 'picpay'
1627
+ | 'thai_qr'
1628
+ | 'blik'
1629
+ | 'fpx'
1630
+ | 'wero'
1631
+ | 'p24'
1632
+ | 'affirm_pay'
1633
+ | 'rakuten_pay';
1603
1634
  reference_id?: string;
1604
1635
  /**
1605
1636
  * @deprecated Please refer API docs to use other attributes
@@ -1725,7 +1756,20 @@ declare module 'chargebee' {
1725
1756
  | 'dana'
1726
1757
  | 'touch_n_go'
1727
1758
  | 'tamara'
1728
- | 'qpay';
1759
+ | 'qpay'
1760
+ | 'ovo'
1761
+ | 'momo'
1762
+ | 'mercado_pago'
1763
+ | 'nequi'
1764
+ | 'nupay'
1765
+ | 'picpay'
1766
+ | 'thai_qr'
1767
+ | 'blik'
1768
+ | 'fpx'
1769
+ | 'wero'
1770
+ | 'p24'
1771
+ | 'affirm_pay'
1772
+ | 'rakuten_pay';
1729
1773
  reference_id?: string;
1730
1774
  /**
1731
1775
  * @deprecated Please refer API docs to use other attributes
@@ -1749,6 +1793,7 @@ declare module 'chargebee' {
1749
1793
  * @deprecated Please refer API docs to use other attributes
1750
1794
  */
1751
1795
  item_type?: ItemTypeEnum;
1796
+ description?: string;
1752
1797
  charge_on_option?: ChargeOnOptionEnum;
1753
1798
  usage_accumulation_reset_frequency?: UsageAccumulationResetFrequencyEnum;
1754
1799
  }
@@ -1906,7 +1951,20 @@ declare module 'chargebee' {
1906
1951
  | 'dana'
1907
1952
  | 'touch_n_go'
1908
1953
  | 'tamara'
1909
- | 'qpay';
1954
+ | 'qpay'
1955
+ | 'ovo'
1956
+ | 'momo'
1957
+ | 'mercado_pago'
1958
+ | 'nequi'
1959
+ | 'nupay'
1960
+ | 'picpay'
1961
+ | 'thai_qr'
1962
+ | 'blik'
1963
+ | 'fpx'
1964
+ | 'wero'
1965
+ | 'p24'
1966
+ | 'affirm_pay'
1967
+ | 'rakuten_pay';
1910
1968
  reference_id?: string;
1911
1969
  /**
1912
1970
  * @deprecated Please refer API docs to use other attributes
@@ -1930,7 +1988,7 @@ declare module 'chargebee' {
1930
1988
  expiry_month?: number;
1931
1989
  expiry_year?: number;
1932
1990
  cvv?: string;
1933
- preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa';
1991
+ preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa' | 'dankort';
1934
1992
  billing_addr1?: string;
1935
1993
  billing_addr2?: string;
1936
1994
  billing_city?: string;
@@ -2101,7 +2159,20 @@ declare module 'chargebee' {
2101
2159
  | 'dana'
2102
2160
  | 'touch_n_go'
2103
2161
  | 'tamara'
2104
- | 'qpay';
2162
+ | 'qpay'
2163
+ | 'ovo'
2164
+ | 'momo'
2165
+ | 'mercado_pago'
2166
+ | 'nequi'
2167
+ | 'nupay'
2168
+ | 'picpay'
2169
+ | 'thai_qr'
2170
+ | 'blik'
2171
+ | 'fpx'
2172
+ | 'wero'
2173
+ | 'p24'
2174
+ | 'affirm_pay'
2175
+ | 'rakuten_pay';
2105
2176
  reference_id?: string;
2106
2177
  /**
2107
2178
  * @deprecated Please refer API docs to use other attributes
@@ -2125,7 +2196,7 @@ declare module 'chargebee' {
2125
2196
  expiry_month?: number;
2126
2197
  expiry_year?: number;
2127
2198
  cvv?: string;
2128
- preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa';
2199
+ preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa' | 'dankort';
2129
2200
  billing_addr1?: string;
2130
2201
  billing_addr2?: string;
2131
2202
  billing_city?: string;
@@ -2156,6 +2227,7 @@ declare module 'chargebee' {
2156
2227
  * @deprecated Please refer API docs to use other attributes
2157
2228
  */
2158
2229
  item_type?: ItemTypeEnum;
2230
+ description?: string;
2159
2231
  proration_type?: ProrationTypeEnum;
2160
2232
  usage_accumulation_reset_frequency?: UsageAccumulationResetFrequencyEnum;
2161
2233
  }
@@ -2252,7 +2324,20 @@ declare module 'chargebee' {
2252
2324
  | 'dana'
2253
2325
  | 'touch_n_go'
2254
2326
  | 'tamara'
2255
- | 'qpay';
2327
+ | 'qpay'
2328
+ | 'ovo'
2329
+ | 'momo'
2330
+ | 'mercado_pago'
2331
+ | 'nequi'
2332
+ | 'nupay'
2333
+ | 'picpay'
2334
+ | 'thai_qr'
2335
+ | 'blik'
2336
+ | 'fpx'
2337
+ | 'wero'
2338
+ | 'p24'
2339
+ | 'affirm_pay'
2340
+ | 'rakuten_pay';
2256
2341
  reference_id?: string;
2257
2342
  /**
2258
2343
  * @deprecated Please refer API docs to use other attributes
@@ -2385,7 +2470,7 @@ declare module 'chargebee' {
2385
2470
  expiry_month?: number;
2386
2471
  expiry_year?: number;
2387
2472
  cvv?: string;
2388
- preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa';
2473
+ preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa' | 'dankort';
2389
2474
  billing_addr1?: string;
2390
2475
  billing_addr2?: string;
2391
2476
  billing_city?: string;
@@ -2602,6 +2687,7 @@ declare module 'chargebee' {
2602
2687
  * @deprecated Please refer API docs to use other attributes
2603
2688
  */
2604
2689
  item_type?: ItemTypeEnum;
2690
+ description?: string;
2605
2691
  }
2606
2692
  export interface DiscountsImportForItemsInputParam {
2607
2693
  apply_on?: ApplyOnEnum;
@@ -2709,7 +2795,20 @@ declare module 'chargebee' {
2709
2795
  | 'dana'
2710
2796
  | 'touch_n_go'
2711
2797
  | 'tamara'
2712
- | 'qpay';
2798
+ | 'qpay'
2799
+ | 'ovo'
2800
+ | 'momo'
2801
+ | 'mercado_pago'
2802
+ | 'nequi'
2803
+ | 'nupay'
2804
+ | 'picpay'
2805
+ | 'thai_qr'
2806
+ | 'blik'
2807
+ | 'fpx'
2808
+ | 'wero'
2809
+ | 'p24'
2810
+ | 'affirm_pay'
2811
+ | 'rakuten_pay';
2713
2812
  reference_id?: string;
2714
2813
  /**
2715
2814
  * @deprecated Please refer API docs to use other attributes
@@ -7,5 +7,6 @@ declare module 'chargebee' {
7
7
  gateway: GatewayEnum;
8
8
  gateway_account_id?: string;
9
9
  reference_id: string;
10
+ network_transaction_reference?: any;
10
11
  }
11
12
  }
@@ -59,6 +59,7 @@ declare module 'chargebee' {
59
59
  payment_method_details?: string;
60
60
  error_detail?: Transaction.GatewayErrorDetail;
61
61
  custom_payment_method_name?: string;
62
+ network_transaction_details?: Transaction.NetworkTransactionDetail;
62
63
  }
63
64
 
64
65
  export namespace Transaction {
@@ -262,6 +263,10 @@ declare module 'chargebee' {
262
263
  error_cause_id?: string;
263
264
  processor_advice_code?: string;
264
265
  }
266
+ export interface NetworkTransactionDetail {
267
+ network_transaction_id?: string;
268
+ original_network_transaction_id?: string;
269
+ }
265
270
  // REQUEST PARAMS
266
271
  //---------------
267
272