stripe 19.1.0.pre.beta.2 → 19.2.0.pre.beta.1

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 (156) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_version.rb +1 -1
  3. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +4 -4
  4. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +4 -4
  5. data/lib/stripe/events/v2_core_account_link_returned_event.rb +2 -2
  6. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +6 -6
  7. data/lib/stripe/object_types.rb +2 -0
  8. data/lib/stripe/params/account_create_params.rb +36 -10
  9. data/lib/stripe/params/account_external_account_create_params.rb +5 -5
  10. data/lib/stripe/params/account_session_create_params.rb +34 -0
  11. data/lib/stripe/params/account_update_params.rb +35 -9
  12. data/lib/stripe/params/balance_transaction_list_params.rb +1 -1
  13. data/lib/stripe/params/billing/meter_create_params.rb +1 -1
  14. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  15. data/lib/stripe/params/checkout/session_create_params.rb +24 -0
  16. data/lib/stripe/params/confirmation_token_create_params.rb +9 -0
  17. data/lib/stripe/params/customer_create_params.rb +1 -1
  18. data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
  19. data/lib/stripe/params/external_account_create_params.rb +5 -5
  20. data/lib/stripe/params/identity/verification_session_create_params.rb +2 -2
  21. data/lib/stripe/params/invoice_create_params.rb +6 -0
  22. data/lib/stripe/params/invoice_create_preview_params.rb +1 -1
  23. data/lib/stripe/params/invoice_update_params.rb +6 -0
  24. data/lib/stripe/params/issuing/card_create_params.rb +8 -0
  25. data/lib/stripe/params/issuing/card_update_params.rb +8 -0
  26. data/lib/stripe/params/issuing/cardholder_create_params.rb +8 -0
  27. data/lib/stripe/params/issuing/cardholder_update_params.rb +8 -0
  28. data/lib/stripe/params/order_create_params.rb +1 -1
  29. data/lib/stripe/params/order_update_params.rb +1 -1
  30. data/lib/stripe/params/payment_intent_confirm_params.rb +13 -2
  31. data/lib/stripe/params/payment_intent_create_params.rb +9 -2
  32. data/lib/stripe/params/payment_intent_update_params.rb +9 -2
  33. data/lib/stripe/params/payment_method_configuration_create_params.rb +21 -0
  34. data/lib/stripe/params/payment_method_configuration_update_params.rb +21 -0
  35. data/lib/stripe/params/payment_method_create_params.rb +5 -0
  36. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  37. data/lib/stripe/params/setup_intent_confirm_params.rb +9 -0
  38. data/lib/stripe/params/setup_intent_create_params.rb +9 -0
  39. data/lib/stripe/params/setup_intent_update_params.rb +9 -0
  40. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
  41. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
  42. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
  43. data/lib/stripe/params/shared_payment/issued_token_create_params.rb +67 -0
  44. data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
  45. data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
  46. data/lib/stripe/params/subscription_create_params.rb +22 -1
  47. data/lib/stripe/params/subscription_update_params.rb +22 -1
  48. data/lib/stripe/params/tax/calculation_create_params.rb +1 -1
  49. data/lib/stripe/params/tax/registration_create_params.rb +105 -1
  50. data/lib/stripe/params/tax_id_create_params.rb +1 -1
  51. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +9 -0
  52. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
  53. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
  54. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
  55. data/lib/stripe/params/v2/billing/cadence_create_params.rb +7 -7
  56. data/lib/stripe/params/v2/core/account_link_create_params.rb +4 -4
  57. data/lib/stripe/params/v2/core/event_destination_create_params.rb +8 -8
  58. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +4 -4
  59. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +4 -4
  60. data/lib/stripe/params.rb +8 -0
  61. data/lib/stripe/resources/account.rb +6 -2
  62. data/lib/stripe/resources/account_session.rb +54 -0
  63. data/lib/stripe/resources/apple_pay_domain.rb +2 -2
  64. data/lib/stripe/resources/application.rb +2 -2
  65. data/lib/stripe/resources/balance_transaction.rb +2 -2
  66. data/lib/stripe/resources/bank_account.rb +2 -2
  67. data/lib/stripe/resources/card.rb +2 -2
  68. data/lib/stripe/resources/charge.rb +23 -3
  69. data/lib/stripe/resources/checkout/session.rb +2 -2
  70. data/lib/stripe/resources/confirmation_token.rb +13 -0
  71. data/lib/stripe/resources/coupon.rb +2 -2
  72. data/lib/stripe/resources/customer.rb +2 -2
  73. data/lib/stripe/resources/discount.rb +2 -2
  74. data/lib/stripe/resources/invoice.rb +18 -5
  75. data/lib/stripe/resources/invoice_item.rb +2 -2
  76. data/lib/stripe/resources/issuing/authorization.rb +2 -0
  77. data/lib/stripe/resources/issuing/card.rb +4 -0
  78. data/lib/stripe/resources/issuing/cardholder.rb +4 -0
  79. data/lib/stripe/resources/order.rb +1 -1
  80. data/lib/stripe/resources/payment_attempt_record.rb +22 -4
  81. data/lib/stripe/resources/payment_intent.rb +22 -0
  82. data/lib/stripe/resources/payment_method.rb +15 -0
  83. data/lib/stripe/resources/payment_method_configuration.rb +34 -0
  84. data/lib/stripe/resources/payment_record.rb +22 -4
  85. data/lib/stripe/resources/person.rb +2 -2
  86. data/lib/stripe/resources/plan.rb +2 -2
  87. data/lib/stripe/resources/price.rb +2 -2
  88. data/lib/stripe/resources/privacy/redaction_job.rb +2 -0
  89. data/lib/stripe/resources/product.rb +20 -2
  90. data/lib/stripe/resources/product_feature.rb +2 -2
  91. data/lib/stripe/resources/quote_preview_invoice.rb +16 -3
  92. data/lib/stripe/resources/radar/payment_evaluation.rb +2 -2
  93. data/lib/stripe/resources/radar/value_list.rb +3 -3
  94. data/lib/stripe/resources/radar/value_list_item.rb +2 -2
  95. data/lib/stripe/resources/setup_attempt.rb +2 -0
  96. data/lib/stripe/resources/shared_payment/granted_token.rb +1766 -0
  97. data/lib/stripe/resources/shared_payment/issued_token.rb +291 -0
  98. data/lib/stripe/resources/subscription.rb +30 -2
  99. data/lib/stripe/resources/subscription_item.rb +2 -2
  100. data/lib/stripe/resources/tax/calculation.rb +2 -2
  101. data/lib/stripe/resources/tax/transaction.rb +2 -2
  102. data/lib/stripe/resources/tax_id.rb +3 -3
  103. data/lib/stripe/resources/terminal/configuration.rb +2 -2
  104. data/lib/stripe/resources/terminal/location.rb +2 -2
  105. data/lib/stripe/resources/terminal/reader.rb +2 -2
  106. data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
  107. data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
  108. data/lib/stripe/resources/v2/billing/bill_setting.rb +2 -2
  109. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +2 -2
  110. data/lib/stripe/resources/v2/billing/cadence.rb +6 -6
  111. data/lib/stripe/resources/v2/billing/collection_setting.rb +2 -2
  112. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +2 -2
  113. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  114. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  115. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  116. data/lib/stripe/resources/v2/billing/profile.rb +2 -2
  117. data/lib/stripe/resources/v2/core/account.rb +2 -2
  118. data/lib/stripe/resources/v2/core/account_link.rb +4 -4
  119. data/lib/stripe/resources/v2/core/account_person.rb +2 -2
  120. data/lib/stripe/resources/v2/core/batch_job.rb +2 -2
  121. data/lib/stripe/resources/v2/core/event.rb +2 -2
  122. data/lib/stripe/resources/v2/core/event_destination.rb +32 -32
  123. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +2 -2
  124. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +2 -2
  125. data/lib/stripe/resources/v2/deleted_object.rb +2 -2
  126. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +2 -2
  127. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +2 -2
  128. data/lib/stripe/resources/v2/money_management/adjustment.rb +4 -4
  129. data/lib/stripe/resources/v2/money_management/financial_account.rb +2 -2
  130. data/lib/stripe/resources/v2/money_management/financial_address.rb +4 -4
  131. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +12 -12
  132. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -2
  133. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +2 -2
  134. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +4 -4
  135. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -2
  136. data/lib/stripe/resources/v2/money_management/payout_method.rb +22 -22
  137. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +2 -2
  138. data/lib/stripe/resources/v2/money_management/received_credit.rb +74 -74
  139. data/lib/stripe/resources/v2/money_management/received_debit.rb +40 -40
  140. data/lib/stripe/resources/v2/money_management/transaction.rb +4 -4
  141. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +4 -4
  142. data/lib/stripe/resources/webhook_endpoint.rb +2 -2
  143. data/lib/stripe/resources.rb +2 -0
  144. data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
  145. data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
  146. data/lib/stripe/services/shared_payment_service.rb +14 -0
  147. data/lib/stripe/services/subscription_service.rb +1 -1
  148. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
  149. data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
  150. data/lib/stripe/services/test_helpers_service.rb +2 -1
  151. data/lib/stripe/services/v1_services.rb +2 -1
  152. data/lib/stripe/services.rb +5 -0
  153. data/lib/stripe/util.rb +1 -1
  154. data/lib/stripe/version.rb +1 -1
  155. data/rbi/stripe.rbi +3926 -572
  156. metadata +17 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3f097b3d782932a92b575e7f1804673b63ebdb8d63a8255db4f7e39f6c87ce4
4
- data.tar.gz: ea40a7ea47acf27ec9829bec92b4c155753b2d129ebca14385cc4090132063c6
3
+ metadata.gz: da08f1b96badf70dff6b4d84b4f37ed50c55d4ae78b3b2d681244ae249273b32
4
+ data.tar.gz: fd49cc022030c5bd15fd23ce9855db005e1fdabf46ef25a0c68a2da413ed74d8
5
5
  SHA512:
6
- metadata.gz: cba34c82f56f7b59890a145b91d4de772fe64045868e587e12a925b3bea2c80a454f710df0842070413eafe827f81d62833f032891acbf859d1bc10641058975
7
- data.tar.gz: ac1e2be5e4a4d5cab3f35a7d42fbb51781d67f15d471cb9b1d83e27f81d4f792964e29799dbf474a1f832051a2254becde5a1bb383888f015410b959fc0fb003
6
+ metadata.gz: b7eb0438664b54560d5902e691b16dfe101c7a778b3b89075a538af9baa1a9a33f53db1eb411745f6b4712e99cf3e7295c7658e2d784c191ffbe9609c80a81ff
7
+ data.tar.gz: 5edce6d818951e2367b4e0c274501f256a4e1ab76b41f37205243b04552716bf711dd95f1c1c5ba63f0c3d813c5e59428819daf024a675ad43c99cb9112be38f
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Stripe
5
5
  module ApiVersion
6
- CURRENT = "2026-03-25.preview"
6
+ CURRENT = "2026-04-22.preview"
7
7
  end
8
8
  end
@@ -66,14 +66,14 @@ module Stripe
66
66
  @field_remappings = {}
67
67
  end
68
68
  end
69
- # This contains information about why meter error happens.
70
- attr_reader :reason
71
69
  # Extra field included in the event's `data` when fetched from /v2/events.
72
70
  attr_reader :developer_message_summary
73
- # The start of the window that is encapsulated by this summary.
74
- attr_reader :validation_start
71
+ # This contains information about why meter error happens.
72
+ attr_reader :reason
75
73
  # The end of the window that is encapsulated by this summary.
76
74
  attr_reader :validation_end
75
+ # The start of the window that is encapsulated by this summary.
76
+ attr_reader :validation_start
77
77
 
78
78
  def self.inner_class_types
79
79
  @inner_class_types = { reason: Reason }
@@ -66,14 +66,14 @@ module Stripe
66
66
  @field_remappings = {}
67
67
  end
68
68
  end
69
- # This contains information about why meter error happens.
70
- attr_reader :reason
71
69
  # Extra field included in the event's `data` when fetched from /v2/events.
72
70
  attr_reader :developer_message_summary
73
- # The start of the window that is encapsulated by this summary.
74
- attr_reader :validation_start
71
+ # This contains information about why meter error happens.
72
+ attr_reader :reason
75
73
  # The end of the window that is encapsulated by this summary.
76
74
  attr_reader :validation_end
75
+ # The start of the window that is encapsulated by this summary.
76
+ attr_reader :validation_start
77
77
 
78
78
  def self.inner_class_types
79
79
  @inner_class_types = { reason: Reason }
@@ -10,12 +10,12 @@ module Stripe
10
10
  end
11
11
 
12
12
  class V2CoreAccountLinkReturnedEventData < ::Stripe::StripeObject
13
- # Open Enum. The use case type of the account link that has been completed.
14
- attr_reader :use_case
15
13
  # The ID of the v2 account.
16
14
  attr_reader :account_id
17
15
  # Configurations on the Account that was onboarded via the account link.
18
16
  attr_reader :configurations
17
+ # Open Enum. The use case type of the account link that has been completed.
18
+ attr_reader :use_case
19
19
 
20
20
  def self.inner_class_types
21
21
  @inner_class_types = {}
@@ -42,16 +42,16 @@ module Stripe
42
42
  @field_remappings = {}
43
43
  end
44
44
  end
45
- # A short description of the alert.
46
- attr_reader :summary
47
- # The time when the user experience has returned to expected levels.
48
- attr_reader :resolved_at
49
45
  # The alert ID.
50
46
  attr_reader :alert_id
51
- # The user impact.
52
- attr_reader :impact
53
47
  # The grouping key for the alert.
54
48
  attr_reader :grouping_key
49
+ # The user impact.
50
+ attr_reader :impact
51
+ # The time when the user experience has returned to expected levels.
52
+ attr_reader :resolved_at
53
+ # A short description of the alert.
54
+ attr_reader :summary
55
55
 
56
56
  def self.inner_class_types
57
57
  @inner_class_types = { impact: Impact }
@@ -142,6 +142,8 @@ module Stripe
142
142
  Review.object_name => Review,
143
143
  SetupAttempt.object_name => SetupAttempt,
144
144
  SetupIntent.object_name => SetupIntent,
145
+ SharedPayment::GrantedToken.object_name => SharedPayment::GrantedToken,
146
+ SharedPayment::IssuedToken.object_name => SharedPayment::IssuedToken,
145
147
  ShippingRate.object_name => ShippingRate,
146
148
  Sigma::ScheduledQueryRun.object_name => Sigma::ScheduledQueryRun,
147
149
  Source.object_name => Source,
@@ -200,6 +200,15 @@ module Stripe
200
200
  end
201
201
  end
202
202
 
203
+ class AppDistribution < ::Stripe::RequestParams
204
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
205
+ attr_accessor :requested
206
+
207
+ def initialize(requested: nil)
208
+ @requested = requested
209
+ end
210
+ end
211
+
203
212
  class AuBecsDebitPayments < ::Stripe::RequestParams
204
213
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
205
214
  attr_accessor :requested
@@ -713,6 +722,15 @@ module Stripe
713
722
  end
714
723
  end
715
724
 
725
+ class SunbitPayments < ::Stripe::RequestParams
726
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
727
+ attr_accessor :requested
728
+
729
+ def initialize(requested: nil)
730
+ @requested = requested
731
+ end
732
+ end
733
+
716
734
  class SwishPayments < ::Stripe::RequestParams
717
735
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
718
736
  attr_accessor :requested
@@ -839,6 +857,8 @@ module Stripe
839
857
  attr_accessor :alma_payments
840
858
  # The amazon_pay_payments capability.
841
859
  attr_accessor :amazon_pay_payments
860
+ # The app_distribution capability.
861
+ attr_accessor :app_distribution
842
862
  # The au_becs_debit_payments capability.
843
863
  attr_accessor :au_becs_debit_payments
844
864
  # The automatic_indirect_tax capability.
@@ -953,6 +973,8 @@ module Stripe
953
973
  attr_accessor :sofort_payments
954
974
  # The stripe_balance_payments capability.
955
975
  attr_accessor :stripe_balance_payments
976
+ # The sunbit_payments capability.
977
+ attr_accessor :sunbit_payments
956
978
  # The swish_payments capability.
957
979
  attr_accessor :swish_payments
958
980
  # The tax_reporting_us_1099_k capability.
@@ -986,6 +1008,7 @@ module Stripe
986
1008
  afterpay_clearpay_payments: nil,
987
1009
  alma_payments: nil,
988
1010
  amazon_pay_payments: nil,
1011
+ app_distribution: nil,
989
1012
  au_becs_debit_payments: nil,
990
1013
  automatic_indirect_tax: nil,
991
1014
  bacs_debit_payments: nil,
@@ -1043,6 +1066,7 @@ module Stripe
1043
1066
  shopeepay_payments: nil,
1044
1067
  sofort_payments: nil,
1045
1068
  stripe_balance_payments: nil,
1069
+ sunbit_payments: nil,
1046
1070
  swish_payments: nil,
1047
1071
  tax_reporting_us_1099_k: nil,
1048
1072
  tax_reporting_us_1099_misc: nil,
@@ -1062,6 +1086,7 @@ module Stripe
1062
1086
  @afterpay_clearpay_payments = afterpay_clearpay_payments
1063
1087
  @alma_payments = alma_payments
1064
1088
  @amazon_pay_payments = amazon_pay_payments
1089
+ @app_distribution = app_distribution
1065
1090
  @au_becs_debit_payments = au_becs_debit_payments
1066
1091
  @automatic_indirect_tax = automatic_indirect_tax
1067
1092
  @bacs_debit_payments = bacs_debit_payments
@@ -1119,6 +1144,7 @@ module Stripe
1119
1144
  @shopeepay_payments = shopeepay_payments
1120
1145
  @sofort_payments = sofort_payments
1121
1146
  @stripe_balance_payments = stripe_balance_payments
1147
+ @sunbit_payments = sunbit_payments
1122
1148
  @swish_payments = swish_payments
1123
1149
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1124
1150
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
@@ -1154,18 +1180,18 @@ module Stripe
1154
1180
  attr_accessor :currency
1155
1181
  # Attribute for param field cvc
1156
1182
  attr_accessor :cvc
1183
+ # Attribute for param field default_for_currency
1184
+ attr_accessor :default_for_currency
1157
1185
  # Attribute for param field exp_month
1158
1186
  attr_accessor :exp_month
1159
1187
  # Attribute for param field exp_year
1160
1188
  attr_accessor :exp_year
1189
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1190
+ attr_accessor :metadata
1161
1191
  # Attribute for param field name
1162
1192
  attr_accessor :name
1163
1193
  # Attribute for param field number
1164
1194
  attr_accessor :number
1165
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1166
- attr_accessor :metadata
1167
- # Attribute for param field default_for_currency
1168
- attr_accessor :default_for_currency
1169
1195
 
1170
1196
  def initialize(
1171
1197
  object: nil,
@@ -1177,12 +1203,12 @@ module Stripe
1177
1203
  address_zip: nil,
1178
1204
  currency: nil,
1179
1205
  cvc: nil,
1206
+ default_for_currency: nil,
1180
1207
  exp_month: nil,
1181
1208
  exp_year: nil,
1182
- name: nil,
1183
- number: nil,
1184
1209
  metadata: nil,
1185
- default_for_currency: nil
1210
+ name: nil,
1211
+ number: nil
1186
1212
  )
1187
1213
  @object = object
1188
1214
  @address_city = address_city
@@ -1193,12 +1219,12 @@ module Stripe
1193
1219
  @address_zip = address_zip
1194
1220
  @currency = currency
1195
1221
  @cvc = cvc
1222
+ @default_for_currency = default_for_currency
1196
1223
  @exp_month = exp_month
1197
1224
  @exp_year = exp_year
1225
+ @metadata = metadata
1198
1226
  @name = name
1199
1227
  @number = number
1200
- @metadata = metadata
1201
- @default_for_currency = default_for_currency
1202
1228
  end
1203
1229
  end
1204
1230
 
@@ -2475,7 +2501,7 @@ module Stripe
2475
2501
  attr_accessor :settings
2476
2502
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
2477
2503
  attr_accessor :tos_acceptance
2478
- # The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
2504
+ # The `type` parameter is deprecated. Use [`controller`](/api/accounts/create#create_account-controller) instead to configure dashboard access, fee payer, loss liability, and requirement collection.
2479
2505
  attr_accessor :type
2480
2506
 
2481
2507
  def initialize(
@@ -61,12 +61,12 @@ module Stripe
61
61
  attr_accessor :exp_month
62
62
  # Attribute for param field exp_year
63
63
  attr_accessor :exp_year
64
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
65
+ attr_accessor :metadata
64
66
  # Attribute for param field name
65
67
  attr_accessor :name
66
68
  # Attribute for param field number
67
69
  attr_accessor :number
68
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
69
- attr_accessor :metadata
70
70
 
71
71
  def initialize(
72
72
  object: nil,
@@ -80,9 +80,9 @@ module Stripe
80
80
  cvc: nil,
81
81
  exp_month: nil,
82
82
  exp_year: nil,
83
+ metadata: nil,
83
84
  name: nil,
84
- number: nil,
85
- metadata: nil
85
+ number: nil
86
86
  )
87
87
  @object = object
88
88
  @address_city = address_city
@@ -95,9 +95,9 @@ module Stripe
95
95
  @cvc = cvc
96
96
  @exp_month = exp_month
97
97
  @exp_year = exp_year
98
+ @metadata = metadata
98
99
  @name = name
99
100
  @number = number
100
- @metadata = metadata
101
101
  end
102
102
  end
103
103
 
@@ -90,6 +90,19 @@ module Stripe
90
90
  end
91
91
  end
92
92
 
93
+ class BalanceReport < ::Stripe::RequestParams
94
+ class Features < ::Stripe::RequestParams; end
95
+ # Whether the embedded component is enabled.
96
+ attr_accessor :enabled
97
+ # An empty list, because this embedded component has no features.
98
+ attr_accessor :features
99
+
100
+ def initialize(enabled: nil, features: nil)
101
+ @enabled = enabled
102
+ @features = features
103
+ end
104
+ end
105
+
93
106
  class Balances < ::Stripe::RequestParams
94
107
  class Features < ::Stripe::RequestParams
95
108
  # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
@@ -543,6 +556,19 @@ module Stripe
543
556
  end
544
557
  end
545
558
 
559
+ class PayoutReconciliationReport < ::Stripe::RequestParams
560
+ class Features < ::Stripe::RequestParams; end
561
+ # Whether the embedded component is enabled.
562
+ attr_accessor :enabled
563
+ # An empty list, because this embedded component has no features.
564
+ attr_accessor :features
565
+
566
+ def initialize(enabled: nil, features: nil)
567
+ @enabled = enabled
568
+ @features = features
569
+ end
570
+ end
571
+
546
572
  class Payouts < ::Stripe::RequestParams
547
573
  class Features < ::Stripe::RequestParams
548
574
  # Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
@@ -686,6 +712,8 @@ module Stripe
686
712
  attr_accessor :app_install
687
713
  # Configuration for the [app viewport](/connect/supported-embedded-components/app-viewport/) embedded component.
688
714
  attr_accessor :app_viewport
715
+ # Configuration for the [balance report](/connect/supported-embedded-components/financial-reports#balance-report) embedded component.
716
+ attr_accessor :balance_report
689
717
  # Configuration for the [balances](/connect/supported-embedded-components/balances/) embedded component.
690
718
  attr_accessor :balances
691
719
  # Configuration for the [Capital financing](/connect/supported-embedded-components/capital-financing/) embedded component.
@@ -724,6 +752,8 @@ module Stripe
724
752
  attr_accessor :payments
725
753
  # Configuration for the [payout details](/connect/supported-embedded-components/payout-details/) embedded component.
726
754
  attr_accessor :payout_details
755
+ # Configuration for the [payout reconciliation report](/connect/supported-embedded-components/financial-reports#payout-reconciliation-report) embedded component.
756
+ attr_accessor :payout_reconciliation_report
727
757
  # Configuration for the [payouts](/connect/supported-embedded-components/payouts/) embedded component.
728
758
  attr_accessor :payouts
729
759
  # Configuration for the [payouts list](/connect/supported-embedded-components/payouts-list/) embedded component.
@@ -746,6 +776,7 @@ module Stripe
746
776
  account_onboarding: nil,
747
777
  app_install: nil,
748
778
  app_viewport: nil,
779
+ balance_report: nil,
749
780
  balances: nil,
750
781
  capital_financing: nil,
751
782
  capital_financing_application: nil,
@@ -765,6 +796,7 @@ module Stripe
765
796
  payment_method_settings: nil,
766
797
  payments: nil,
767
798
  payout_details: nil,
799
+ payout_reconciliation_report: nil,
768
800
  payouts: nil,
769
801
  payouts_list: nil,
770
802
  product_tax_code_selector: nil,
@@ -778,6 +810,7 @@ module Stripe
778
810
  @account_onboarding = account_onboarding
779
811
  @app_install = app_install
780
812
  @app_viewport = app_viewport
813
+ @balance_report = balance_report
781
814
  @balances = balances
782
815
  @capital_financing = capital_financing
783
816
  @capital_financing_application = capital_financing_application
@@ -797,6 +830,7 @@ module Stripe
797
830
  @payment_method_settings = payment_method_settings
798
831
  @payments = payments
799
832
  @payout_details = payout_details
833
+ @payout_reconciliation_report = payout_reconciliation_report
800
834
  @payouts = payouts
801
835
  @payouts_list = payouts_list
802
836
  @product_tax_code_selector = product_tax_code_selector
@@ -200,6 +200,15 @@ module Stripe
200
200
  end
201
201
  end
202
202
 
203
+ class AppDistribution < ::Stripe::RequestParams
204
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
205
+ attr_accessor :requested
206
+
207
+ def initialize(requested: nil)
208
+ @requested = requested
209
+ end
210
+ end
211
+
203
212
  class AuBecsDebitPayments < ::Stripe::RequestParams
204
213
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
205
214
  attr_accessor :requested
@@ -713,6 +722,15 @@ module Stripe
713
722
  end
714
723
  end
715
724
 
725
+ class SunbitPayments < ::Stripe::RequestParams
726
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
727
+ attr_accessor :requested
728
+
729
+ def initialize(requested: nil)
730
+ @requested = requested
731
+ end
732
+ end
733
+
716
734
  class SwishPayments < ::Stripe::RequestParams
717
735
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
718
736
  attr_accessor :requested
@@ -839,6 +857,8 @@ module Stripe
839
857
  attr_accessor :alma_payments
840
858
  # The amazon_pay_payments capability.
841
859
  attr_accessor :amazon_pay_payments
860
+ # The app_distribution capability.
861
+ attr_accessor :app_distribution
842
862
  # The au_becs_debit_payments capability.
843
863
  attr_accessor :au_becs_debit_payments
844
864
  # The automatic_indirect_tax capability.
@@ -953,6 +973,8 @@ module Stripe
953
973
  attr_accessor :sofort_payments
954
974
  # The stripe_balance_payments capability.
955
975
  attr_accessor :stripe_balance_payments
976
+ # The sunbit_payments capability.
977
+ attr_accessor :sunbit_payments
956
978
  # The swish_payments capability.
957
979
  attr_accessor :swish_payments
958
980
  # The tax_reporting_us_1099_k capability.
@@ -986,6 +1008,7 @@ module Stripe
986
1008
  afterpay_clearpay_payments: nil,
987
1009
  alma_payments: nil,
988
1010
  amazon_pay_payments: nil,
1011
+ app_distribution: nil,
989
1012
  au_becs_debit_payments: nil,
990
1013
  automatic_indirect_tax: nil,
991
1014
  bacs_debit_payments: nil,
@@ -1043,6 +1066,7 @@ module Stripe
1043
1066
  shopeepay_payments: nil,
1044
1067
  sofort_payments: nil,
1045
1068
  stripe_balance_payments: nil,
1069
+ sunbit_payments: nil,
1046
1070
  swish_payments: nil,
1047
1071
  tax_reporting_us_1099_k: nil,
1048
1072
  tax_reporting_us_1099_misc: nil,
@@ -1062,6 +1086,7 @@ module Stripe
1062
1086
  @afterpay_clearpay_payments = afterpay_clearpay_payments
1063
1087
  @alma_payments = alma_payments
1064
1088
  @amazon_pay_payments = amazon_pay_payments
1089
+ @app_distribution = app_distribution
1065
1090
  @au_becs_debit_payments = au_becs_debit_payments
1066
1091
  @automatic_indirect_tax = automatic_indirect_tax
1067
1092
  @bacs_debit_payments = bacs_debit_payments
@@ -1119,6 +1144,7 @@ module Stripe
1119
1144
  @shopeepay_payments = shopeepay_payments
1120
1145
  @sofort_payments = sofort_payments
1121
1146
  @stripe_balance_payments = stripe_balance_payments
1147
+ @sunbit_payments = sunbit_payments
1122
1148
  @swish_payments = swish_payments
1123
1149
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1124
1150
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
@@ -1154,18 +1180,18 @@ module Stripe
1154
1180
  attr_accessor :currency
1155
1181
  # Attribute for param field cvc
1156
1182
  attr_accessor :cvc
1183
+ # Attribute for param field default_for_currency
1184
+ attr_accessor :default_for_currency
1157
1185
  # Attribute for param field exp_month
1158
1186
  attr_accessor :exp_month
1159
1187
  # Attribute for param field exp_year
1160
1188
  attr_accessor :exp_year
1189
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1190
+ attr_accessor :metadata
1161
1191
  # Attribute for param field name
1162
1192
  attr_accessor :name
1163
1193
  # Attribute for param field number
1164
1194
  attr_accessor :number
1165
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1166
- attr_accessor :metadata
1167
- # Attribute for param field default_for_currency
1168
- attr_accessor :default_for_currency
1169
1195
 
1170
1196
  def initialize(
1171
1197
  object: nil,
@@ -1177,12 +1203,12 @@ module Stripe
1177
1203
  address_zip: nil,
1178
1204
  currency: nil,
1179
1205
  cvc: nil,
1206
+ default_for_currency: nil,
1180
1207
  exp_month: nil,
1181
1208
  exp_year: nil,
1182
- name: nil,
1183
- number: nil,
1184
1209
  metadata: nil,
1185
- default_for_currency: nil
1210
+ name: nil,
1211
+ number: nil
1186
1212
  )
1187
1213
  @object = object
1188
1214
  @address_city = address_city
@@ -1193,12 +1219,12 @@ module Stripe
1193
1219
  @address_zip = address_zip
1194
1220
  @currency = currency
1195
1221
  @cvc = cvc
1222
+ @default_for_currency = default_for_currency
1196
1223
  @exp_month = exp_month
1197
1224
  @exp_year = exp_year
1225
+ @metadata = metadata
1198
1226
  @name = name
1199
1227
  @number = number
1200
- @metadata = metadata
1201
- @default_for_currency = default_for_currency
1202
1228
  end
1203
1229
  end
1204
1230
 
@@ -36,7 +36,7 @@ module Stripe
36
36
  attr_accessor :source
37
37
  # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
38
38
  attr_accessor :starting_after
39
- # Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.
39
+ # Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.
40
40
  attr_accessor :type
41
41
 
42
42
  def initialize(
@@ -17,7 +17,7 @@ module Stripe
17
17
  end
18
18
 
19
19
  class DefaultAggregation < ::Stripe::RequestParams
20
- # Specifies how events are aggregated. Allowed values are `count` to count the number of events, `sum` to sum each event's value and `last` to take the last event's value in the window.
20
+ # Specifies how events are aggregated.
21
21
  attr_accessor :formula
22
22
 
23
23
  def initialize(formula: nil)
@@ -8,7 +8,7 @@ module Stripe
8
8
  attr_accessor :event_name
9
9
  # Specifies which fields in the response should be expanded.
10
10
  attr_accessor :expand
11
- # A unique identifier for the event. If not provided, one is generated. We recommend using UUID-like identifiers. We will enforce uniqueness within a rolling period of at least 24 hours. The enforcement of uniqueness primarily addresses issues arising from accidental retries or other problems occurring within extremely brief time intervals. This approach helps prevent duplicate entries and ensures data integrity in high-frequency operations.
11
+ # A unique identifier for the event. If not provided, one is generated. We recommend using UUID-like identifiers. Stripe enforces uniqueness within a rolling period of at least 24 hours. The enforcement of uniqueness primarily addresses issues arising from accidental retries or other problems occurring within extremely brief time intervals. This approach helps prevent duplicate entries and ensures data integrity in high-frequency operations.
12
12
  attr_accessor :identifier
13
13
  # The payload of the event. This must contain the fields corresponding to a meter's `customer_mapping.event_payload_key` (default is `stripe_customer_id`) and `value_settings.event_payload_key` (default is `value`). Read more about the [payload](https://docs.stripe.com/billing/subscriptions/usage-based/meters/configure#meter-configuration-attributes).
14
14
  attr_accessor :payload
@@ -1039,6 +1039,26 @@ module Stripe
1039
1039
  end
1040
1040
  end
1041
1041
 
1042
+ class Blik < ::Stripe::RequestParams
1043
+ class MandateOptions < ::Stripe::RequestParams
1044
+ # Date when the mandate expires and no further payments will be charged. If not provided, the mandate will be set to be indefinite.
1045
+ attr_accessor :expires_after
1046
+
1047
+ def initialize(expires_after: nil)
1048
+ @expires_after = expires_after
1049
+ end
1050
+ end
1051
+ # Additional fields for Mandate creation
1052
+ attr_accessor :mandate_options
1053
+ # Attribute for param field setup_future_usage
1054
+ attr_accessor :setup_future_usage
1055
+
1056
+ def initialize(mandate_options: nil, setup_future_usage: nil)
1057
+ @mandate_options = mandate_options
1058
+ @setup_future_usage = setup_future_usage
1059
+ end
1060
+ end
1061
+
1042
1062
  class Boleto < ::Stripe::RequestParams
1043
1063
  # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
1044
1064
  attr_accessor :expires_after_days
@@ -1922,6 +1942,8 @@ module Stripe
1922
1942
  attr_accessor :bancontact
1923
1943
  # contains details about the Billie payment method options.
1924
1944
  attr_accessor :billie
1945
+ # contains details about the BLIK payment method options.
1946
+ attr_accessor :blik
1925
1947
  # contains details about the Boleto payment method options.
1926
1948
  attr_accessor :boleto
1927
1949
  # contains details about the Card payment method options.
@@ -2008,6 +2030,7 @@ module Stripe
2008
2030
  bacs_debit: nil,
2009
2031
  bancontact: nil,
2010
2032
  billie: nil,
2033
+ blik: nil,
2011
2034
  boleto: nil,
2012
2035
  card: nil,
2013
2036
  cashapp: nil,
@@ -2056,6 +2079,7 @@ module Stripe
2056
2079
  @bacs_debit = bacs_debit
2057
2080
  @bancontact = bancontact
2058
2081
  @billie = billie
2082
+ @blik = blik
2059
2083
  @boleto = boleto
2060
2084
  @card = card
2061
2085
  @cashapp = cashapp
@@ -335,6 +335,7 @@ module Stripe
335
335
  end
336
336
  end
337
337
 
338
+ class Sunbit < ::Stripe::RequestParams; end
338
339
  class Swish < ::Stripe::RequestParams; end
339
340
  class Twint < ::Stripe::RequestParams; end
340
341
 
@@ -499,12 +500,16 @@ module Stripe
499
500
  attr_accessor :satispay
500
501
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
501
502
  attr_accessor :sepa_debit
503
+ # ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
504
+ attr_accessor :shared_payment_granted_token
502
505
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
503
506
  attr_accessor :shopeepay
504
507
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
505
508
  attr_accessor :sofort
506
509
  # This hash contains details about the Stripe balance payment method.
507
510
  attr_accessor :stripe_balance
511
+ # If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
512
+ attr_accessor :sunbit
508
513
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
509
514
  attr_accessor :swish
510
515
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -574,9 +579,11 @@ module Stripe
574
579
  samsung_pay: nil,
575
580
  satispay: nil,
576
581
  sepa_debit: nil,
582
+ shared_payment_granted_token: nil,
577
583
  shopeepay: nil,
578
584
  sofort: nil,
579
585
  stripe_balance: nil,
586
+ sunbit: nil,
580
587
  swish: nil,
581
588
  twint: nil,
582
589
  type: nil,
@@ -638,9 +645,11 @@ module Stripe
638
645
  @samsung_pay = samsung_pay
639
646
  @satispay = satispay
640
647
  @sepa_debit = sepa_debit
648
+ @shared_payment_granted_token = shared_payment_granted_token
641
649
  @shopeepay = shopeepay
642
650
  @sofort = sofort
643
651
  @stripe_balance = stripe_balance
652
+ @sunbit = sunbit
644
653
  @swish = swish
645
654
  @twint = twint
646
655
  @type = type
@@ -149,7 +149,7 @@ module Stripe
149
149
  end
150
150
 
151
151
  class TaxIdDatum < ::Stripe::RequestParams
152
- # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
152
+ # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `fo_vat`, `gb_vat`, `ge_vat`, `gi_tin`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `it_cf`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `py_ruc`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
153
153
  attr_accessor :type
154
154
  # Value of the tax ID.
155
155
  attr_accessor :value