stripe 15.1.0.pre.beta.1 → 15.1.0.pre.beta.2

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 (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/Gemfile +1 -1
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/nested_resource.rb +35 -35
  7. data/lib/stripe/api_requestor.rb +1 -1
  8. data/lib/stripe/connection_manager.rb +1 -3
  9. data/lib/stripe/oauth.rb +1 -1
  10. data/lib/stripe/object_types.rb +2 -0
  11. data/lib/stripe/resources/account.rb +51 -2
  12. data/lib/stripe/resources/balance_settings.rb +5 -1
  13. data/lib/stripe/resources/capital/financing_offer.rb +4 -4
  14. data/lib/stripe/resources/capital/financing_summary.rb +6 -6
  15. data/lib/stripe/resources/charge.rb +18 -0
  16. data/lib/stripe/resources/checkout/session.rb +74 -3
  17. data/lib/stripe/resources/confirmation_token.rb +6 -1
  18. data/lib/stripe/resources/coupon.rb +30 -1
  19. data/lib/stripe/resources/funding_instructions.rb +1 -1
  20. data/lib/stripe/resources/fx_quote.rb +184 -0
  21. data/lib/stripe/resources/invoice.rb +0 -52
  22. data/lib/stripe/resources/payment_intent.rb +87 -3
  23. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
  24. data/lib/stripe/resources/payment_method.rb +10 -2
  25. data/lib/stripe/resources/payment_method_configuration.rb +59 -0
  26. data/lib/stripe/resources/person.rb +25 -1
  27. data/lib/stripe/resources/privacy/redaction_job.rb +3 -0
  28. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -29
  29. data/lib/stripe/resources/refund.rb +2 -0
  30. data/lib/stripe/resources/setup_intent.rb +12 -3
  31. data/lib/stripe/resources/source.rb +1 -1
  32. data/lib/stripe/resources/tax/registration.rb +160 -0
  33. data/lib/stripe/resources/token.rb +61 -0
  34. data/lib/stripe/resources/transfer.rb +6 -0
  35. data/lib/stripe/resources/treasury/outbound_payment.rb +4 -1
  36. data/lib/stripe/resources.rb +2 -0
  37. data/lib/stripe/services/account_person_service.rb +84 -0
  38. data/lib/stripe/services/account_service.rb +39 -1
  39. data/lib/stripe/services/application_fee_service.rb +1 -1
  40. data/lib/stripe/services/apps_service.rb +1 -1
  41. data/lib/stripe/services/billing/meter_service.rb +1 -1
  42. data/lib/stripe/services/billing_portal_service.rb +1 -1
  43. data/lib/stripe/services/billing_service.rb +1 -1
  44. data/lib/stripe/services/capital_service.rb +1 -1
  45. data/lib/stripe/services/charge_service.rb +16 -0
  46. data/lib/stripe/services/checkout/session_service.rb +75 -4
  47. data/lib/stripe/services/checkout_service.rb +1 -1
  48. data/lib/stripe/services/climate_service.rb +1 -1
  49. data/lib/stripe/services/coupon_service.rb +17 -1
  50. data/lib/stripe/services/credit_note_service.rb +1 -1
  51. data/lib/stripe/services/customer_service.rb +1 -1
  52. data/lib/stripe/services/entitlements_service.rb +1 -1
  53. data/lib/stripe/services/financial_connections/account_service.rb +1 -1
  54. data/lib/stripe/services/financial_connections_service.rb +1 -1
  55. data/lib/stripe/services/forwarding_service.rb +1 -1
  56. data/lib/stripe/services/fx_quote_service.rb +123 -0
  57. data/lib/stripe/services/gift_cards_service.rb +1 -1
  58. data/lib/stripe/services/identity_service.rb +1 -1
  59. data/lib/stripe/services/invoice_service.rb +2 -37
  60. data/lib/stripe/services/issuing_service.rb +1 -1
  61. data/lib/stripe/services/order_service.rb +1 -1
  62. data/lib/stripe/services/{invoice_payment_service.rb → payment_intent_amount_details_line_item_service.rb} +4 -24
  63. data/lib/stripe/services/payment_intent_service.rb +63 -3
  64. data/lib/stripe/services/payment_link_service.rb +1 -1
  65. data/lib/stripe/services/payment_method_configuration_service.rb +42 -0
  66. data/lib/stripe/services/payment_method_service.rb +8 -2
  67. data/lib/stripe/services/privacy/redaction_job_service.rb +1 -1
  68. data/lib/stripe/services/privacy_service.rb +1 -1
  69. data/lib/stripe/services/product_service.rb +1 -1
  70. data/lib/stripe/services/quote_service.rb +1 -1
  71. data/lib/stripe/services/radar_service.rb +1 -1
  72. data/lib/stripe/services/reporting_service.rb +1 -1
  73. data/lib/stripe/services/setup_intent_service.rb +12 -3
  74. data/lib/stripe/services/sigma_service.rb +1 -1
  75. data/lib/stripe/services/source_service.rb +1 -1
  76. data/lib/stripe/services/tax/calculation_service.rb +1 -1
  77. data/lib/stripe/services/tax/registration_service.rb +104 -0
  78. data/lib/stripe/services/tax/transaction_service.rb +1 -1
  79. data/lib/stripe/services/tax_service.rb +1 -1
  80. data/lib/stripe/services/terminal_service.rb +1 -1
  81. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +4 -1
  82. data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
  83. data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
  84. data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
  85. data/lib/stripe/services/test_helpers_service.rb +1 -1
  86. data/lib/stripe/services/token_service.rb +61 -0
  87. data/lib/stripe/services/transfer_service.rb +5 -1
  88. data/lib/stripe/services/treasury/financial_account_service.rb +1 -1
  89. data/lib/stripe/services/treasury/outbound_payment_service.rb +4 -1
  90. data/lib/stripe/services/treasury_service.rb +1 -1
  91. data/lib/stripe/services/v1_services.rb +3 -2
  92. data/lib/stripe/services/v2/billing_service.rb +1 -1
  93. data/lib/stripe/services/v2/core/account_service.rb +1 -1
  94. data/lib/stripe/services/v2/core/vault_service.rb +1 -1
  95. data/lib/stripe/services/v2/core_service.rb +1 -1
  96. data/lib/stripe/services/v2/money_management_service.rb +1 -1
  97. data/lib/stripe/services/v2/test_helper_service.rb +1 -1
  98. data/lib/stripe/services/v2_services.rb +1 -1
  99. data/lib/stripe/services.rb +2 -1
  100. data/lib/stripe/version.rb +1 -1
  101. data/lib/stripe.rb +0 -2
  102. data/rbi/stripe.rbi +1675 -239
  103. metadata +6 -4
  104. data/lib/stripe/request_signing_authenticator.rb +0 -79
data/rbi/stripe.rbi CHANGED
@@ -4713,6 +4713,17 @@ module Stripe
4713
4713
  sig { returns(T.nilable(String)) }
4714
4714
  attr_reader :user_agent
4715
4715
  end
4716
+ class RegistrationDate < Stripe::StripeObject
4717
+ # The day of registration, between 1 and 31.
4718
+ sig { returns(T.nilable(Integer)) }
4719
+ attr_reader :day
4720
+ # The month of registration, between 1 and 12.
4721
+ sig { returns(T.nilable(Integer)) }
4722
+ attr_reader :month
4723
+ # The four-digit year of registration.
4724
+ sig { returns(T.nilable(Integer)) }
4725
+ attr_reader :year
4726
+ end
4716
4727
  class Verification < Stripe::StripeObject
4717
4728
  class Document < Stripe::StripeObject
4718
4729
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
@@ -4777,6 +4788,9 @@ module Stripe
4777
4788
  # The company's phone number (used for verification).
4778
4789
  sig { returns(T.nilable(String)) }
4779
4790
  attr_reader :phone
4791
+ # Attribute for field registration_date
4792
+ sig { returns(RegistrationDate) }
4793
+ attr_reader :registration_date
4780
4794
  # The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
4781
4795
  sig { returns(String) }
4782
4796
  attr_reader :structure
@@ -6458,6 +6472,19 @@ module Stripe
6458
6472
  }
6459
6473
  def initialize(date: nil, ip: nil, user_agent: nil); end
6460
6474
  end
6475
+ class RegistrationDate < Stripe::RequestParams
6476
+ # The day of registration, between 1 and 31.
6477
+ sig { returns(Integer) }
6478
+ attr_accessor :day
6479
+ # The month of registration, between 1 and 12.
6480
+ sig { returns(Integer) }
6481
+ attr_accessor :month
6482
+ # The four-digit year of registration.
6483
+ sig { returns(Integer) }
6484
+ attr_accessor :year
6485
+ sig { params(day: Integer, month: Integer, year: Integer).void }
6486
+ def initialize(day: nil, month: nil, year: nil); end
6487
+ end
6461
6488
  class Verification < Stripe::RequestParams
6462
6489
  class Document < Stripe::RequestParams
6463
6490
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -6526,6 +6553,11 @@ module Stripe
6526
6553
  # The company's phone number (used for verification).
6527
6554
  sig { returns(T.nilable(String)) }
6528
6555
  attr_accessor :phone
6556
+ # Attribute for param field registration_date
6557
+ sig {
6558
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Account::UpdateParams::Company::RegistrationDate))))
6559
+ }
6560
+ attr_accessor :registration_date
6529
6561
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
6530
6562
  sig { returns(T.nilable(String)) }
6531
6563
  attr_accessor :registration_number
@@ -6545,7 +6577,7 @@ module Stripe
6545
6577
  sig { returns(T.nilable(::Stripe::Account::UpdateParams::Company::Verification)) }
6546
6578
  attr_accessor :verification
6547
6579
  sig {
6548
- params(address: T.nilable(::Stripe::Account::UpdateParams::Company::Address), address_kana: T.nilable(::Stripe::Account::UpdateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::Account::UpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::Account::UpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::Account::UpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::Account::UpdateParams::Company::Verification)).void
6580
+ params(address: T.nilable(::Stripe::Account::UpdateParams::Company::Address), address_kana: T.nilable(::Stripe::Account::UpdateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::Account::UpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::Account::UpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::Account::UpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_date: T.nilable(T.nilable(T.any(String, ::Stripe::Account::UpdateParams::Company::RegistrationDate))), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::Account::UpdateParams::Company::Verification)).void
6549
6581
  }
6550
6582
  def initialize(
6551
6583
  address: nil,
@@ -6563,6 +6595,7 @@ module Stripe
6563
6595
  ownership_declaration: nil,
6564
6596
  ownership_exemption_reason: nil,
6565
6597
  phone: nil,
6598
+ registration_date: nil,
6566
6599
  registration_number: nil,
6567
6600
  structure: nil,
6568
6601
  tax_id: nil,
@@ -8628,6 +8661,19 @@ module Stripe
8628
8661
  }
8629
8662
  def initialize(date: nil, ip: nil, user_agent: nil); end
8630
8663
  end
8664
+ class RegistrationDate < Stripe::RequestParams
8665
+ # The day of registration, between 1 and 31.
8666
+ sig { returns(Integer) }
8667
+ attr_accessor :day
8668
+ # The month of registration, between 1 and 12.
8669
+ sig { returns(Integer) }
8670
+ attr_accessor :month
8671
+ # The four-digit year of registration.
8672
+ sig { returns(Integer) }
8673
+ attr_accessor :year
8674
+ sig { params(day: Integer, month: Integer, year: Integer).void }
8675
+ def initialize(day: nil, month: nil, year: nil); end
8676
+ end
8631
8677
  class Verification < Stripe::RequestParams
8632
8678
  class Document < Stripe::RequestParams
8633
8679
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -8696,6 +8742,11 @@ module Stripe
8696
8742
  # The company's phone number (used for verification).
8697
8743
  sig { returns(T.nilable(String)) }
8698
8744
  attr_accessor :phone
8745
+ # Attribute for param field registration_date
8746
+ sig {
8747
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Account::CreateParams::Company::RegistrationDate))))
8748
+ }
8749
+ attr_accessor :registration_date
8699
8750
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
8700
8751
  sig { returns(T.nilable(String)) }
8701
8752
  attr_accessor :registration_number
@@ -8715,7 +8766,7 @@ module Stripe
8715
8766
  sig { returns(T.nilable(::Stripe::Account::CreateParams::Company::Verification)) }
8716
8767
  attr_accessor :verification
8717
8768
  sig {
8718
- params(address: T.nilable(::Stripe::Account::CreateParams::Company::Address), address_kana: T.nilable(::Stripe::Account::CreateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::Account::CreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::Account::CreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::Account::CreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::Account::CreateParams::Company::Verification)).void
8769
+ params(address: T.nilable(::Stripe::Account::CreateParams::Company::Address), address_kana: T.nilable(::Stripe::Account::CreateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::Account::CreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::Account::CreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::Account::CreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_date: T.nilable(T.nilable(T.any(String, ::Stripe::Account::CreateParams::Company::RegistrationDate))), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::Account::CreateParams::Company::Verification)).void
8719
8770
  }
8720
8771
  def initialize(
8721
8772
  address: nil,
@@ -8733,6 +8784,7 @@ module Stripe
8733
8784
  ownership_declaration: nil,
8734
8785
  ownership_exemption_reason: nil,
8735
8786
  phone: nil,
8787
+ registration_date: nil,
8736
8788
  registration_number: nil,
8737
8789
  structure: nil,
8738
8790
  tax_id: nil,
@@ -11833,7 +11885,11 @@ module Stripe
11833
11885
  end
11834
11886
  # typed: true
11835
11887
  module Stripe
11836
- # Options for customizing account balances within Stripe.
11888
+ # Options for customizing account balances and payout settings for a Stripe platform's connected accounts.
11889
+ #
11890
+ # This API is only available for users enrolled in the public preview for Accounts v2 on Stripe Connect.
11891
+ # If you are not in this preview, please use the [Accounts v1 API](https://docs.stripe.com/api/accounts?api-version=2025-03-31.basil)
11892
+ # to manage your connected accounts' balance settings instead.
11837
11893
  class BalanceSettings < SingletonAPIResource
11838
11894
  class Payouts < Stripe::StripeObject
11839
11895
  class Schedule < Stripe::StripeObject
@@ -14496,13 +14552,13 @@ module Stripe
14496
14552
  # Stripe Capital to a Connect subaccount.
14497
14553
  class FinancingOffer < APIResource
14498
14554
  class AcceptedTerms < Stripe::StripeObject
14499
- # Amount of financing offered, in minor units.
14555
+ # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000.
14500
14556
  sig { returns(Integer) }
14501
14557
  attr_reader :advance_amount
14502
14558
  # Currency that the financing offer is transacted in. For example, `usd`.
14503
14559
  sig { returns(String) }
14504
14560
  attr_reader :currency
14505
- # Fixed fee amount, in minor units.
14561
+ # Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000.
14506
14562
  sig { returns(Integer) }
14507
14563
  attr_reader :fee_amount
14508
14564
  # Populated when the `product_type` of the `financingoffer` is `refill`.
@@ -14514,7 +14570,7 @@ module Stripe
14514
14570
  attr_reader :withhold_rate
14515
14571
  end
14516
14572
  class OfferedTerms < Stripe::StripeObject
14517
- # Amount of financing offered, in minor units.
14573
+ # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000.
14518
14574
  sig { returns(Integer) }
14519
14575
  attr_reader :advance_amount
14520
14576
  # Describes the type of user the offer is being extended to.
@@ -14523,7 +14579,7 @@ module Stripe
14523
14579
  # Currency that the financing offer is transacted in. For example, `usd`.
14524
14580
  sig { returns(String) }
14525
14581
  attr_reader :currency
14526
- # Fixed fee amount, in minor units.
14582
+ # Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000.
14527
14583
  sig { returns(Integer) }
14528
14584
  attr_reader :fee_amount
14529
14585
  # Populated when the `product_type` of the `financingoffer` is `refill`.
@@ -14685,14 +14741,14 @@ module Stripe
14685
14741
  # Given in seconds since unix epoch.
14686
14742
  sig { returns(Float) }
14687
14743
  attr_reader :due_at
14688
- # The amount that has already been paid in the current repayment interval.
14744
+ # The amount that has already been paid in the current repayment interval, in minor units. For example, $100 USD will be represented as 10000.
14689
14745
  sig { returns(T.nilable(Integer)) }
14690
14746
  attr_reader :paid_amount
14691
- # The amount that is yet to be paid in the current repayment interval.
14747
+ # The amount that is yet to be paid in the current repayment interval, in minor units. For example, $100 USD will be represented as 10000.
14692
14748
  sig { returns(Integer) }
14693
14749
  attr_reader :remaining_amount
14694
14750
  end
14695
- # Amount of financing offered, in minor units.
14751
+ # Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000.
14696
14752
  sig { returns(Integer) }
14697
14753
  attr_reader :advance_amount
14698
14754
  # The time at which the funds were paid out to the connected account's Stripe balance. Given in milliseconds since unix epoch.
@@ -14704,13 +14760,13 @@ module Stripe
14704
14760
  # The chronologically current repayment interval for the financing offer.
14705
14761
  sig { returns(T.nilable(CurrentRepaymentInterval)) }
14706
14762
  attr_reader :current_repayment_interval
14707
- # Fixed fee amount, in minor units.
14763
+ # Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000.
14708
14764
  sig { returns(Integer) }
14709
14765
  attr_reader :fee_amount
14710
- # The amount the Connected account has paid toward the financing debt so far.
14766
+ # The amount the Connected account has paid toward the financing debt so far, in minor units. For example, $1,000 USD will be represented as 100000.
14711
14767
  sig { returns(Integer) }
14712
14768
  attr_reader :paid_amount
14713
- # The balance remaining to be paid on the financing, in minor units.
14769
+ # The balance remaining to be paid on the financing, in minor units. For example, $1,000 USD will be represented as 100000.
14714
14770
  sig { returns(Integer) }
14715
14771
  attr_reader :remaining_amount
14716
14772
  # The time at which Capital will begin withholding from payments. Given in seconds since unix epoch.
@@ -15054,6 +15110,9 @@ module Stripe
15054
15110
  # Billing phone number (including extension).
15055
15111
  sig { returns(T.nilable(String)) }
15056
15112
  attr_reader :phone
15113
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
15114
+ sig { returns(T.nilable(String)) }
15115
+ attr_reader :tax_id
15057
15116
  end
15058
15117
  class FraudDetails < Stripe::StripeObject
15059
15118
  # Assessments from Stripe. If set, the value is `fraudulent`.
@@ -17679,6 +17738,9 @@ module Stripe
17679
17738
  # Car rental details for this PaymentIntent.
17680
17739
  sig { returns(T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental)) }
17681
17740
  attr_accessor :car_rental
17741
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
17742
+ sig { returns(T.nilable(T.nilable(String))) }
17743
+ attr_accessor :customer_reference
17682
17744
  # Event details for this PaymentIntent
17683
17745
  sig { returns(T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails)) }
17684
17746
  attr_accessor :event_details
@@ -17688,17 +17750,22 @@ module Stripe
17688
17750
  # Lodging reservation details for this PaymentIntent
17689
17751
  sig { returns(T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging)) }
17690
17752
  attr_accessor :lodging
17753
+ # A unique value assigned by the business to identify the transaction.
17754
+ sig { returns(T.nilable(T.nilable(String))) }
17755
+ attr_accessor :order_reference
17691
17756
  # Subscription details for this PaymentIntent
17692
17757
  sig { returns(T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription)) }
17693
17758
  attr_accessor :subscription
17694
17759
  sig {
17695
- params(car_rental: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription)).void
17760
+ params(car_rental: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription)).void
17696
17761
  }
17697
17762
  def initialize(
17698
17763
  car_rental: nil,
17764
+ customer_reference: nil,
17699
17765
  event_details: nil,
17700
17766
  flight: nil,
17701
17767
  lodging: nil,
17768
+ order_reference: nil,
17702
17769
  subscription: nil
17703
17770
  ); end
17704
17771
  end
@@ -18491,6 +18558,9 @@ module Stripe
18491
18558
  # Car rental details for this PaymentIntent.
18492
18559
  sig { returns(T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental)) }
18493
18560
  attr_accessor :car_rental
18561
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
18562
+ sig { returns(T.nilable(T.nilable(String))) }
18563
+ attr_accessor :customer_reference
18494
18564
  # Event details for this PaymentIntent
18495
18565
  sig { returns(T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails)) }
18496
18566
  attr_accessor :event_details
@@ -18500,17 +18570,22 @@ module Stripe
18500
18570
  # Lodging reservation details for this PaymentIntent
18501
18571
  sig { returns(T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging)) }
18502
18572
  attr_accessor :lodging
18573
+ # A unique value assigned by the business to identify the transaction.
18574
+ sig { returns(T.nilable(T.nilable(String))) }
18575
+ attr_accessor :order_reference
18503
18576
  # Subscription details for this PaymentIntent
18504
18577
  sig { returns(T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription)) }
18505
18578
  attr_accessor :subscription
18506
18579
  sig {
18507
- params(car_rental: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription)).void
18580
+ params(car_rental: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription)).void
18508
18581
  }
18509
18582
  def initialize(
18510
18583
  car_rental: nil,
18584
+ customer_reference: nil,
18511
18585
  event_details: nil,
18512
18586
  flight: nil,
18513
18587
  lodging: nil,
18588
+ order_reference: nil,
18514
18589
  subscription: nil
18515
18590
  ); end
18516
18591
  end
@@ -22443,7 +22518,7 @@ module Stripe
22443
22518
  # other characteristics.
22444
22519
  sig { returns(T.nilable(T::Array[String])) }
22445
22520
  attr_accessor :payment_method_types
22446
- # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
22521
+ # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions.
22447
22522
  #
22448
22523
  # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.
22449
22524
  sig { returns(T.nilable(::Stripe::Checkout::Session::CreateParams::Permissions)) }
@@ -22629,6 +22704,82 @@ module Stripe
22629
22704
  }
22630
22705
  def initialize(enabled: nil, maximum: nil, minimum: nil); end
22631
22706
  end
22707
+ class PriceData < Stripe::RequestParams
22708
+ class ProductData < Stripe::RequestParams
22709
+ # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
22710
+ sig { returns(T.nilable(String)) }
22711
+ attr_accessor :description
22712
+ # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
22713
+ sig { returns(T.nilable(T::Array[String])) }
22714
+ attr_accessor :images
22715
+ # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
22716
+ sig { returns(T.nilable(T::Hash[String, String])) }
22717
+ attr_accessor :metadata
22718
+ # The product's name, meant to be displayable to the customer.
22719
+ sig { returns(String) }
22720
+ attr_accessor :name
22721
+ # A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
22722
+ sig { returns(T.nilable(String)) }
22723
+ attr_accessor :tax_code
22724
+ sig {
22725
+ params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
22726
+ }
22727
+ def initialize(
22728
+ description: nil,
22729
+ images: nil,
22730
+ metadata: nil,
22731
+ name: nil,
22732
+ tax_code: nil
22733
+ ); end
22734
+ end
22735
+ class Recurring < Stripe::RequestParams
22736
+ # Specifies billing frequency. Either `day`, `week`, `month` or `year`.
22737
+ sig { returns(String) }
22738
+ attr_accessor :interval
22739
+ # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
22740
+ sig { returns(T.nilable(Integer)) }
22741
+ attr_accessor :interval_count
22742
+ sig { params(interval: String, interval_count: T.nilable(Integer)).void }
22743
+ def initialize(interval: nil, interval_count: nil); end
22744
+ end
22745
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
22746
+ sig { returns(String) }
22747
+ attr_accessor :currency
22748
+ # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required.
22749
+ sig { returns(T.nilable(String)) }
22750
+ attr_accessor :product
22751
+ # Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.
22752
+ sig {
22753
+ returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData::ProductData))
22754
+ }
22755
+ attr_accessor :product_data
22756
+ # The recurring components of a price such as `interval` and `interval_count`.
22757
+ sig {
22758
+ returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData::Recurring))
22759
+ }
22760
+ attr_accessor :recurring
22761
+ # Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
22762
+ sig { returns(T.nilable(String)) }
22763
+ attr_accessor :tax_behavior
22764
+ # A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
22765
+ sig { returns(T.nilable(Integer)) }
22766
+ attr_accessor :unit_amount
22767
+ # Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
22768
+ sig { returns(T.nilable(String)) }
22769
+ attr_accessor :unit_amount_decimal
22770
+ sig {
22771
+ params(currency: String, product: T.nilable(String), product_data: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData::ProductData), recurring: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData::Recurring), tax_behavior: T.nilable(String), unit_amount: T.nilable(Integer), unit_amount_decimal: T.nilable(String)).void
22772
+ }
22773
+ def initialize(
22774
+ currency: nil,
22775
+ product: nil,
22776
+ product_data: nil,
22777
+ recurring: nil,
22778
+ tax_behavior: nil,
22779
+ unit_amount: nil,
22780
+ unit_amount_decimal: nil
22781
+ ); end
22782
+ end
22632
22783
  # When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
22633
22784
  sig {
22634
22785
  returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::AdjustableQuantity))
@@ -22640,23 +22791,27 @@ module Stripe
22640
22791
  # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
22641
22792
  sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) }
22642
22793
  attr_accessor :metadata
22643
- # The ID of the [Price](https://stripe.com/docs/api/prices).
22794
+ # The ID of the [Price](https://stripe.com/docs/api/prices). One of `price` or `price_data` is required when creating a new line item.
22644
22795
  sig { returns(T.nilable(String)) }
22645
22796
  attr_accessor :price
22797
+ # Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required when creating a new line item.
22798
+ sig { returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData)) }
22799
+ attr_accessor :price_data
22646
22800
  # The quantity of the line item being purchased.
22647
- sig { returns(T.nilable(Integer)) }
22801
+ sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
22648
22802
  attr_accessor :quantity
22649
22803
  # The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
22650
22804
  sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
22651
22805
  attr_accessor :tax_rates
22652
22806
  sig {
22653
- params(adjustable_quantity: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), quantity: T.nilable(Integer), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
22807
+ params(adjustable_quantity: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::Session::UpdateParams::LineItem::PriceData), quantity: T.nilable(T.nilable(T.any(String, Integer))), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
22654
22808
  }
22655
22809
  def initialize(
22656
22810
  adjustable_quantity: nil,
22657
22811
  id: nil,
22658
22812
  metadata: nil,
22659
22813
  price: nil,
22814
+ price_data: nil,
22660
22815
  quantity: nil,
22661
22816
  tax_rates: nil
22662
22817
  ); end
@@ -22777,7 +22932,7 @@ module Stripe
22777
22932
  }
22778
22933
  def initialize(shipping_rate: nil, shipping_rate_data: nil); end
22779
22934
  end
22780
- # Information about the customer collected within the Checkout Session.
22935
+ # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
22781
22936
  sig { returns(T.nilable(::Stripe::Checkout::Session::UpdateParams::CollectedInformation)) }
22782
22937
  attr_accessor :collected_information
22783
22938
  # Specifies which fields in the response should be expanded.
@@ -23414,6 +23569,9 @@ module Stripe
23414
23569
  # Billing phone number (including extension).
23415
23570
  sig { returns(T.nilable(String)) }
23416
23571
  attr_reader :phone
23572
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
23573
+ sig { returns(T.nilable(String)) }
23574
+ attr_reader :tax_id
23417
23575
  end
23418
23576
  class Blik < Stripe::StripeObject; end
23419
23577
  class Boleto < Stripe::StripeObject
@@ -24550,10 +24708,13 @@ module Stripe
24550
24708
  # Billing phone number (including extension).
24551
24709
  sig { returns(T.nilable(T.nilable(String))) }
24552
24710
  attr_accessor :phone
24711
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
24712
+ sig { returns(T.nilable(String)) }
24713
+ attr_accessor :tax_id
24553
24714
  sig {
24554
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
24715
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::ConfirmationToken::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
24555
24716
  }
24556
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
24717
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
24557
24718
  end
24558
24719
  class Blik < Stripe::RequestParams
24559
24720
 
@@ -25464,6 +25625,17 @@ module Stripe
25464
25625
  sig { returns(Integer) }
25465
25626
  attr_reader :amount_off
25466
25627
  end
25628
+ class Script < Stripe::StripeObject
25629
+ # The configuration values of the script. The keys and values are specific to the script implementation.
25630
+ sig { returns(T::Hash[String, T.untyped]) }
25631
+ attr_reader :configuration
25632
+ # The name of the script used to calculate the discount.
25633
+ sig { returns(String) }
25634
+ attr_reader :display_name
25635
+ # The script implementation ID for this coupon.
25636
+ sig { returns(String) }
25637
+ attr_reader :id
25638
+ end
25467
25639
  # Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
25468
25640
  sig { returns(T.nilable(Integer)) }
25469
25641
  attr_reader :amount_off
@@ -25509,9 +25681,15 @@ module Stripe
25509
25681
  # Date after which the coupon can no longer be redeemed.
25510
25682
  sig { returns(T.nilable(Integer)) }
25511
25683
  attr_reader :redeem_by
25684
+ # Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
25685
+ sig { returns(T.nilable(Script)) }
25686
+ attr_reader :script
25512
25687
  # Number of times this coupon has been applied to a customer.
25513
25688
  sig { returns(Integer) }
25514
25689
  attr_reader :times_redeemed
25690
+ # One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
25691
+ sig { returns(T.nilable(String)) }
25692
+ attr_reader :type
25515
25693
  # Taking account of the above properties, whether this coupon can still be applied to a customer.
25516
25694
  sig { returns(T::Boolean) }
25517
25695
  attr_reader :valid
@@ -25606,6 +25784,16 @@ module Stripe
25606
25784
  sig { params(amount_off: Integer).void }
25607
25785
  def initialize(amount_off: nil); end
25608
25786
  end
25787
+ class Script < Stripe::RequestParams
25788
+ # The configuration values of the script. The keys and values are specific to the script implementation.
25789
+ sig { returns(T::Hash[String, T.untyped]) }
25790
+ attr_accessor :configuration
25791
+ # The script implementation ID for this coupon.
25792
+ sig { returns(String) }
25793
+ attr_accessor :id
25794
+ sig { params(configuration: T::Hash[String, T.untyped], id: String).void }
25795
+ def initialize(configuration: nil, id: nil); end
25796
+ end
25609
25797
  # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
25610
25798
  sig { returns(T.nilable(Integer)) }
25611
25799
  attr_accessor :amount_off
@@ -25645,8 +25833,11 @@ module Stripe
25645
25833
  # Unix timestamp specifying the last time at which the coupon can be redeemed. After the redeem_by date, the coupon can no longer be applied to new customers.
25646
25834
  sig { returns(T.nilable(Integer)) }
25647
25835
  attr_accessor :redeem_by
25836
+ # Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
25837
+ sig { returns(T.nilable(::Stripe::Coupon::CreateParams::Script)) }
25838
+ attr_accessor :script
25648
25839
  sig {
25649
- params(amount_off: T.nilable(Integer), applies_to: T.nilable(::Stripe::Coupon::CreateParams::AppliesTo), currency: T.nilable(String), currency_options: T.nilable(T::Hash[String, ::Stripe::Coupon::CreateParams::CurrencyOptions]), duration: T.nilable(String), duration_in_months: T.nilable(Integer), expand: T.nilable(T::Array[String]), id: T.nilable(String), max_redemptions: T.nilable(Integer), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), name: T.nilable(String), percent_off: T.nilable(Float), redeem_by: T.nilable(Integer)).void
25840
+ params(amount_off: T.nilable(Integer), applies_to: T.nilable(::Stripe::Coupon::CreateParams::AppliesTo), currency: T.nilable(String), currency_options: T.nilable(T::Hash[String, ::Stripe::Coupon::CreateParams::CurrencyOptions]), duration: T.nilable(String), duration_in_months: T.nilable(Integer), expand: T.nilable(T::Array[String]), id: T.nilable(String), max_redemptions: T.nilable(Integer), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), name: T.nilable(String), percent_off: T.nilable(Float), redeem_by: T.nilable(Integer), script: T.nilable(::Stripe::Coupon::CreateParams::Script)).void
25650
25841
  }
25651
25842
  def initialize(
25652
25843
  amount_off: nil,
@@ -25661,7 +25852,8 @@ module Stripe
25661
25852
  metadata: nil,
25662
25853
  name: nil,
25663
25854
  percent_off: nil,
25664
- redeem_by: nil
25855
+ redeem_by: nil,
25856
+ script: nil
25665
25857
  ); end
25666
25858
  end
25667
25859
  # You can create coupons easily via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.
@@ -31061,6 +31253,199 @@ module Stripe
31061
31253
  end
31062
31254
  end
31063
31255
  # typed: true
31256
+ module Stripe
31257
+ # The FX Quotes API provides three key functions:
31258
+ # - View current exchange rates: The object shows Stripe's current exchange rate for any given currency pair.
31259
+ # - Extended quotes: The API provides rate quotes valid for a 1-hour period or a 24-hour period, eliminating uncertainty from FX fluctuations.
31260
+ # - View FX fees: The API provides information on the FX fees Stripe will charge on your FX transaction, allowing you to anticipate specific settlement amounts before payment costs.
31261
+ class FxQuote < APIResource
31262
+ class Rates < Stripe::StripeObject
31263
+ class RateDetails < Stripe::StripeObject
31264
+ # The rate for the currency pair.
31265
+ sig { returns(Float) }
31266
+ attr_reader :base_rate
31267
+ # The fee for locking the conversion rates.
31268
+ sig { returns(Float) }
31269
+ attr_reader :duration_premium
31270
+ # The FX fee for the currency pair.
31271
+ sig { returns(Float) }
31272
+ attr_reader :fx_fee_rate
31273
+ # A reference rate for the currency pair provided by the reference rate provider.
31274
+ sig { returns(T.nilable(Float)) }
31275
+ attr_reader :reference_rate
31276
+ # The reference rate provider.
31277
+ sig { returns(T.nilable(String)) }
31278
+ attr_reader :reference_rate_provider
31279
+ end
31280
+ # The rate that includes the FX fee rate.
31281
+ sig { returns(Float) }
31282
+ attr_reader :exchange_rate
31283
+ # Attribute for field rate_details
31284
+ sig { returns(RateDetails) }
31285
+ attr_reader :rate_details
31286
+ end
31287
+ class Usage < Stripe::StripeObject
31288
+ class Payment < Stripe::StripeObject
31289
+ # The Stripe account ID that the funds will be transferred to.
31290
+ #
31291
+ # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field.
31292
+ sig { returns(T.nilable(String)) }
31293
+ attr_reader :destination
31294
+ # The Stripe account ID that these funds are intended for.
31295
+ #
31296
+ # This field must match the account ID that would be used in the PaymentIntent’s on_behalf_of field.
31297
+ sig { returns(T.nilable(String)) }
31298
+ attr_reader :on_behalf_of
31299
+ end
31300
+ class Transfer < Stripe::StripeObject
31301
+ # The Stripe account ID that the funds will be transferred to.
31302
+ #
31303
+ # This field should match the account ID that would be used in the Transfer’s destination field.
31304
+ sig { returns(String) }
31305
+ attr_reader :destination
31306
+ end
31307
+ # The details required to use an FX Quote for a payment
31308
+ sig { returns(T.nilable(Payment)) }
31309
+ attr_reader :payment
31310
+ # The details required to use an FX Quote for a transfer
31311
+ sig { returns(T.nilable(Transfer)) }
31312
+ attr_reader :transfer
31313
+ # The transaction type for which the FX Quote will be used.
31314
+ #
31315
+ # Can be 'payment' or 'transfer'.
31316
+ sig { returns(String) }
31317
+ attr_reader :type
31318
+ end
31319
+ # Time at which the quote was created, measured in seconds since the Unix epoch.
31320
+ sig { returns(Integer) }
31321
+ attr_reader :created
31322
+ # Unique identifier for the object.
31323
+ sig { returns(String) }
31324
+ attr_reader :id
31325
+ # The duration the exchange rate quote remains valid from creation time. Allowed values are none, hour, and day. Note that for the test mode API available in alpha, you can request an extended quote, but it won't be usable for any transactions.
31326
+ sig { returns(String) }
31327
+ attr_reader :lock_duration
31328
+ # Time at which the quote will expire, measured in seconds since the Unix epoch.
31329
+ #
31330
+ # If lock_duration is set to ‘none’ this field will be set to null.
31331
+ sig { returns(T.nilable(Integer)) }
31332
+ attr_reader :lock_expires_at
31333
+ # Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp.
31334
+ #
31335
+ # Can return value none, active, or expired.
31336
+ sig { returns(String) }
31337
+ attr_reader :lock_status
31338
+ # String representing the object's type. Objects of the same type share the same value.
31339
+ sig { returns(String) }
31340
+ attr_reader :object
31341
+ # Information about the rates.
31342
+ sig { returns(T::Hash[String, Rates]) }
31343
+ attr_reader :rates
31344
+ # The currency to convert into, typically this is the currency that you want to settle to your Stripe balance. Three-letter ISO currency code, in lowercase. Must be a supported currency.
31345
+ sig { returns(String) }
31346
+ attr_reader :to_currency
31347
+ # Attribute for field usage
31348
+ sig { returns(Usage) }
31349
+ attr_reader :usage
31350
+ class ListParams < Stripe::RequestParams
31351
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
31352
+ sig { returns(T.nilable(String)) }
31353
+ attr_accessor :ending_before
31354
+ # Specifies which fields in the response should be expanded.
31355
+ sig { returns(T.nilable(T::Array[String])) }
31356
+ attr_accessor :expand
31357
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
31358
+ sig { returns(T.nilable(Integer)) }
31359
+ attr_accessor :limit
31360
+ # 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.
31361
+ sig { returns(T.nilable(String)) }
31362
+ attr_accessor :starting_after
31363
+ sig {
31364
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
31365
+ }
31366
+ def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
31367
+ end
31368
+ class CreateParams < Stripe::RequestParams
31369
+ class Usage < Stripe::RequestParams
31370
+ class Payment < Stripe::RequestParams
31371
+ # The Stripe account ID that the funds will be transferred to.
31372
+ #
31373
+ # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field.
31374
+ sig { returns(T.nilable(String)) }
31375
+ attr_accessor :destination
31376
+ # The Stripe account ID that these funds are intended for.
31377
+ #
31378
+ # This field should match the account ID that would be used in the PaymentIntent’s on_behalf_of field.
31379
+ sig { returns(T.nilable(String)) }
31380
+ attr_accessor :on_behalf_of
31381
+ sig { params(destination: T.nilable(String), on_behalf_of: T.nilable(String)).void }
31382
+ def initialize(destination: nil, on_behalf_of: nil); end
31383
+ end
31384
+ class Transfer < Stripe::RequestParams
31385
+ # The Stripe account ID that the funds will be transferred to.
31386
+ #
31387
+ # This field should match the account ID that would be used in the Transfer’s destination field.
31388
+ sig { returns(String) }
31389
+ attr_accessor :destination
31390
+ sig { params(destination: String).void }
31391
+ def initialize(destination: nil); end
31392
+ end
31393
+ # The payment transaction details that are intended for the FX Quote.
31394
+ sig { returns(T.nilable(::Stripe::FxQuote::CreateParams::Usage::Payment)) }
31395
+ attr_accessor :payment
31396
+ # The transfer transaction details that are intended for the FX Quote.
31397
+ sig { returns(T.nilable(::Stripe::FxQuote::CreateParams::Usage::Transfer)) }
31398
+ attr_accessor :transfer
31399
+ # Which transaction the FX Quote will be used for
31400
+ #
31401
+ # Can be “payment” | “transfer”
31402
+ sig { returns(String) }
31403
+ attr_accessor :type
31404
+ sig {
31405
+ params(payment: T.nilable(::Stripe::FxQuote::CreateParams::Usage::Payment), transfer: T.nilable(::Stripe::FxQuote::CreateParams::Usage::Transfer), type: String).void
31406
+ }
31407
+ def initialize(payment: nil, transfer: nil, type: nil); end
31408
+ end
31409
+ # Specifies which fields in the response should be expanded.
31410
+ sig { returns(T.nilable(T::Array[String])) }
31411
+ attr_accessor :expand
31412
+ # A list of three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be [supported currencies](https://stripe.com/docs/currencies).
31413
+ sig { returns(T::Array[String]) }
31414
+ attr_accessor :from_currencies
31415
+ # The duration that you wish the quote to be locked for. The quote will be usable for the duration specified. The default is `none`. The maximum is 1 day.
31416
+ sig { returns(String) }
31417
+ attr_accessor :lock_duration
31418
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
31419
+ sig { returns(String) }
31420
+ attr_accessor :to_currency
31421
+ # The usage specific information for the quote.
31422
+ sig { returns(T.nilable(::Stripe::FxQuote::CreateParams::Usage)) }
31423
+ attr_accessor :usage
31424
+ sig {
31425
+ params(expand: T.nilable(T::Array[String]), from_currencies: T::Array[String], lock_duration: String, to_currency: String, usage: T.nilable(::Stripe::FxQuote::CreateParams::Usage)).void
31426
+ }
31427
+ def initialize(
31428
+ expand: nil,
31429
+ from_currencies: nil,
31430
+ lock_duration: nil,
31431
+ to_currency: nil,
31432
+ usage: nil
31433
+ ); end
31434
+ end
31435
+ # Creates an FX Quote object
31436
+ sig {
31437
+ params(params: T.any(::Stripe::FxQuote::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote)
31438
+ }
31439
+ def self.create(params = {}, opts = {}); end
31440
+
31441
+ # Returns a list of FX quotes that have been issued. The FX quotes are returned in sorted order, with the most recent FX quotes appearing first.
31442
+ sig {
31443
+ params(params: T.any(::Stripe::FxQuote::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
31444
+ }
31445
+ def self.list(params = {}, opts = {}); end
31446
+ end
31447
+ end
31448
+ # typed: true
31064
31449
  module Stripe
31065
31450
  module GiftCards
31066
31451
  # A gift card represents a single gift card owned by a customer, including the
@@ -35045,21 +35430,6 @@ module Stripe
35045
35430
  payment_record_data: nil
35046
35431
  ); end
35047
35432
  end
35048
- class AttachPaymentIntentParams < Stripe::RequestParams
35049
- # The portion of the PaymentIntent’s `amount` that should be applied to thisinvoice. Defaults to the entire amount.
35050
- sig { returns(T.nilable(Integer)) }
35051
- attr_accessor :amount_requested
35052
- # Specifies which fields in the response should be expanded.
35053
- sig { returns(T.nilable(T::Array[String])) }
35054
- attr_accessor :expand
35055
- # The ID of the PaymentIntent to attach to the invoice.
35056
- sig { returns(String) }
35057
- attr_accessor :payment_intent
35058
- sig {
35059
- params(amount_requested: T.nilable(Integer), expand: T.nilable(T::Array[String]), payment_intent: String).void
35060
- }
35061
- def initialize(amount_requested: nil, expand: nil, payment_intent: nil); end
35062
- end
35063
35433
  class FinalizeInvoiceParams < Stripe::RequestParams
35064
35434
  # Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.
35065
35435
  sig { returns(T.nilable(T::Boolean)) }
@@ -37214,34 +37584,6 @@ module Stripe
37214
37584
  }
37215
37585
  def self.attach_payment(invoice, params = {}, opts = {}); end
37216
37586
 
37217
- # Attaches a PaymentIntent to the invoice, adding it to the list of payments.
37218
- # When the PaymentIntent's status changes to succeeded, the payment is credited
37219
- # to the invoice, increasing its amount_paid. When the invoice is fully paid, the
37220
- # invoice's status becomes paid.
37221
- #
37222
- # If the PaymentIntent's status is already succeeded when it is attached, it is
37223
- # credited to the invoice immediately.
37224
- #
37225
- # Related guide: [Create an invoice payment](https://stripe.com/docs/invoicing/payments/create)
37226
- sig {
37227
- params(params: T.any(::Stripe::Invoice::AttachPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice)
37228
- }
37229
- def attach_payment_intent(params = {}, opts = {}); end
37230
-
37231
- # Attaches a PaymentIntent to the invoice, adding it to the list of payments.
37232
- # When the PaymentIntent's status changes to succeeded, the payment is credited
37233
- # to the invoice, increasing its amount_paid. When the invoice is fully paid, the
37234
- # invoice's status becomes paid.
37235
- #
37236
- # If the PaymentIntent's status is already succeeded when it is attached, it is
37237
- # credited to the invoice immediately.
37238
- #
37239
- # Related guide: [Create an invoice payment](https://stripe.com/docs/invoicing/payments/create)
37240
- sig {
37241
- params(invoice: String, params: T.any(::Stripe::Invoice::AttachPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice)
37242
- }
37243
- def self.attach_payment_intent(invoice, params = {}, opts = {}); end
37244
-
37245
37587
  # This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
37246
37588
  sig {
37247
37589
  params(params: T.any(::Stripe::Invoice::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice)
@@ -49762,11 +50104,39 @@ module Stripe
49762
50104
  # Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents)
49763
50105
  class PaymentIntent < APIResource
49764
50106
  class AmountDetails < Stripe::StripeObject
50107
+ class Shipping < Stripe::StripeObject
50108
+ # Portion of the amount that is for shipping.
50109
+ sig { returns(T.nilable(Integer)) }
50110
+ attr_reader :amount
50111
+ # The postal code that represents the shipping source.
50112
+ sig { returns(T.nilable(String)) }
50113
+ attr_reader :from_postal_code
50114
+ # The postal code that represents the shipping destination.
50115
+ sig { returns(T.nilable(String)) }
50116
+ attr_reader :to_postal_code
50117
+ end
50118
+ class Tax < Stripe::StripeObject
50119
+ # Total portion of the amount that is for tax.
50120
+ sig { returns(T.nilable(Integer)) }
50121
+ attr_reader :total_tax_amount
50122
+ end
49765
50123
  class Tip < Stripe::StripeObject
49766
50124
  # Portion of the amount that corresponds to a tip.
49767
50125
  sig { returns(Integer) }
49768
50126
  attr_reader :amount
49769
50127
  end
50128
+ # The amount an item was discounted for.
50129
+ sig { returns(Integer) }
50130
+ attr_reader :discount_amount
50131
+ # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
50132
+ sig { returns(Stripe::ListObject) }
50133
+ attr_reader :line_items
50134
+ # Attribute for field shipping
50135
+ sig { returns(Shipping) }
50136
+ attr_reader :shipping
50137
+ # Attribute for field tax
50138
+ sig { returns(Tax) }
50139
+ attr_reader :tax
49770
50140
  # Attribute for field tip
49771
50141
  sig { returns(Tip) }
49772
50142
  attr_reader :tip
@@ -50869,9 +51239,15 @@ module Stripe
50869
51239
  # Attribute for field car_rental
50870
51240
  sig { returns(CarRental) }
50871
51241
  attr_reader :car_rental
51242
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
51243
+ sig { returns(T.nilable(String)) }
51244
+ attr_reader :customer_reference
50872
51245
  # Attribute for field event_details
50873
51246
  sig { returns(EventDetails) }
50874
51247
  attr_reader :event_details
51248
+ # A unique value assigned by the business to identify the transaction.
51249
+ sig { returns(T.nilable(String)) }
51250
+ attr_reader :order_reference
50875
51251
  # Attribute for field subscription
50876
51252
  sig { returns(Subscription) }
50877
51253
  attr_reader :subscription
@@ -52189,6 +52565,9 @@ module Stripe
52189
52565
  # An arbitrary string attached to the object. Often useful for displaying to users.
52190
52566
  sig { returns(T.nilable(String)) }
52191
52567
  attr_reader :description
52568
+ # The FX Quote used for the PaymentIntent.
52569
+ sig { returns(T.nilable(String)) }
52570
+ attr_reader :fx_quote
52192
52571
  # Unique identifier for the object.
52193
52572
  sig { returns(String) }
52194
52573
  attr_reader :id
@@ -53090,6 +53469,9 @@ module Stripe
53090
53469
  # Car rental details for this PaymentIntent.
53091
53470
  sig { returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental)) }
53092
53471
  attr_accessor :car_rental
53472
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
53473
+ sig { returns(T.nilable(T.nilable(String))) }
53474
+ attr_accessor :customer_reference
53093
53475
  # Event details for this PaymentIntent
53094
53476
  sig {
53095
53477
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::EventDetails))
@@ -53101,19 +53483,24 @@ module Stripe
53101
53483
  # Lodging reservation details for this PaymentIntent
53102
53484
  sig { returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Lodging)) }
53103
53485
  attr_accessor :lodging
53486
+ # A unique value assigned by the business to identify the transaction.
53487
+ sig { returns(T.nilable(T.nilable(String))) }
53488
+ attr_accessor :order_reference
53104
53489
  # Subscription details for this PaymentIntent
53105
53490
  sig {
53106
53491
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Subscription))
53107
53492
  }
53108
53493
  attr_accessor :subscription
53109
53494
  sig {
53110
- params(car_rental: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Subscription)).void
53495
+ params(car_rental: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails::Subscription)).void
53111
53496
  }
53112
53497
  def initialize(
53113
53498
  car_rental: nil,
53499
+ customer_reference: nil,
53114
53500
  event_details: nil,
53115
53501
  flight: nil,
53116
53502
  lodging: nil,
53503
+ order_reference: nil,
53117
53504
  subscription: nil
53118
53505
  ); end
53119
53506
  end
@@ -53220,10 +53607,13 @@ module Stripe
53220
53607
  # Billing phone number (including extension).
53221
53608
  sig { returns(T.nilable(T.nilable(String))) }
53222
53609
  attr_accessor :phone
53610
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
53611
+ sig { returns(T.nilable(String)) }
53612
+ attr_accessor :tax_id
53223
53613
  sig {
53224
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
53614
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
53225
53615
  }
53226
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
53616
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
53227
53617
  end
53228
53618
  class Blik < Stripe::RequestParams
53229
53619
 
@@ -55919,6 +56309,9 @@ module Stripe
55919
56309
  # Specifies which fields in the response should be expanded.
55920
56310
  sig { returns(T.nilable(T::Array[String])) }
55921
56311
  attr_accessor :expand
56312
+ # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
56313
+ sig { returns(T.nilable(String)) }
56314
+ attr_accessor :fx_quote
55922
56315
  # ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
55923
56316
  sig { returns(T.nilable(String)) }
55924
56317
  attr_accessor :mandate
@@ -56001,7 +56394,7 @@ module Stripe
56001
56394
  sig { returns(T.nilable(T::Boolean)) }
56002
56395
  attr_accessor :use_stripe_sdk
56003
56396
  sig {
56004
- params(amount: Integer, application_fee_amount: T.nilable(Integer), async_workflows: T.nilable(::Stripe::PaymentIntent::CreateParams::AsyncWorkflows), automatic_payment_methods: T.nilable(::Stripe::PaymentIntent::CreateParams::AutomaticPaymentMethods), capture_method: T.nilable(String), confirm: T.nilable(T::Boolean), confirmation_method: T.nilable(String), confirmation_token: T.nilable(String), currency: String, customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::MandateData))), metadata: T.nilable(T::Hash[String, String]), off_session: T.nilable(T.any(T::Boolean, String)), on_behalf_of: T.nilable(String), payment_details: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntent::CreateParams::RadarOptions), receipt_email: T.nilable(String), return_url: T.nilable(String), secret_key_confirmation: T.nilable(String), setup_future_usage: T.nilable(String), shipping: T.nilable(::Stripe::PaymentIntent::CreateParams::Shipping), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntent::CreateParams::TransferData), transfer_group: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void
56397
+ params(amount: Integer, application_fee_amount: T.nilable(Integer), async_workflows: T.nilable(::Stripe::PaymentIntent::CreateParams::AsyncWorkflows), automatic_payment_methods: T.nilable(::Stripe::PaymentIntent::CreateParams::AutomaticPaymentMethods), capture_method: T.nilable(String), confirm: T.nilable(T::Boolean), confirmation_method: T.nilable(String), confirmation_token: T.nilable(String), currency: String, customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::MandateData))), metadata: T.nilable(T::Hash[String, String]), off_session: T.nilable(T.any(T::Boolean, String)), on_behalf_of: T.nilable(String), payment_details: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentDetails), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntent::CreateParams::RadarOptions), receipt_email: T.nilable(String), return_url: T.nilable(String), secret_key_confirmation: T.nilable(String), setup_future_usage: T.nilable(String), shipping: T.nilable(::Stripe::PaymentIntent::CreateParams::Shipping), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntent::CreateParams::TransferData), transfer_group: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void
56005
56398
  }
56006
56399
  def initialize(
56007
56400
  amount: nil,
@@ -56018,6 +56411,7 @@ module Stripe
56018
56411
  description: nil,
56019
56412
  error_on_requires_action: nil,
56020
56413
  expand: nil,
56414
+ fx_quote: nil,
56021
56415
  mandate: nil,
56022
56416
  mandate_data: nil,
56023
56417
  metadata: nil,
@@ -56779,6 +57173,9 @@ module Stripe
56779
57173
  # Car rental details for this PaymentIntent.
56780
57174
  sig { returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental)) }
56781
57175
  attr_accessor :car_rental
57176
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
57177
+ sig { returns(T.nilable(T.nilable(String))) }
57178
+ attr_accessor :customer_reference
56782
57179
  # Event details for this PaymentIntent
56783
57180
  sig {
56784
57181
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::EventDetails))
@@ -56790,19 +57187,24 @@ module Stripe
56790
57187
  # Lodging reservation details for this PaymentIntent
56791
57188
  sig { returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Lodging)) }
56792
57189
  attr_accessor :lodging
57190
+ # A unique value assigned by the business to identify the transaction.
57191
+ sig { returns(T.nilable(T.nilable(String))) }
57192
+ attr_accessor :order_reference
56793
57193
  # Subscription details for this PaymentIntent
56794
57194
  sig {
56795
57195
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Subscription))
56796
57196
  }
56797
57197
  attr_accessor :subscription
56798
57198
  sig {
56799
- params(car_rental: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Subscription)).void
57199
+ params(car_rental: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentDetails::Subscription)).void
56800
57200
  }
56801
57201
  def initialize(
56802
57202
  car_rental: nil,
57203
+ customer_reference: nil,
56803
57204
  event_details: nil,
56804
57205
  flight: nil,
56805
57206
  lodging: nil,
57207
+ order_reference: nil,
56806
57208
  subscription: nil
56807
57209
  ); end
56808
57210
  end
@@ -56909,10 +57311,13 @@ module Stripe
56909
57311
  # Billing phone number (including extension).
56910
57312
  sig { returns(T.nilable(T.nilable(String))) }
56911
57313
  attr_accessor :phone
57314
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
57315
+ sig { returns(T.nilable(String)) }
57316
+ attr_accessor :tax_id
56912
57317
  sig {
56913
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
57318
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
56914
57319
  }
56915
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
57320
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
56916
57321
  end
56917
57322
  class Blik < Stripe::RequestParams
56918
57323
 
@@ -59572,6 +59977,9 @@ module Stripe
59572
59977
  # Specifies which fields in the response should be expanded.
59573
59978
  sig { returns(T.nilable(T::Array[String])) }
59574
59979
  attr_accessor :expand
59980
+ # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
59981
+ sig { returns(T.nilable(String)) }
59982
+ attr_accessor :fx_quote
59575
59983
  # This hash contains details about the Mandate to create.
59576
59984
  sig { returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::MandateData)) }
59577
59985
  attr_accessor :mandate_data
@@ -59634,7 +60042,7 @@ module Stripe
59634
60042
  sig { returns(T.nilable(String)) }
59635
60043
  attr_accessor :transfer_group
59636
60044
  sig {
59637
- params(amount: T.nilable(Integer), application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntent::UpdateParams::AsyncWorkflows), capture_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), mandate_data: T.nilable(::Stripe::PaymentIntent::UpdateParams::MandateData), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), receipt_email: T.nilable(T.nilable(String)), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::Shipping))), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntent::UpdateParams::TransferData), transfer_group: T.nilable(String)).void
60045
+ params(amount: T.nilable(Integer), application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntent::UpdateParams::AsyncWorkflows), capture_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), mandate_data: T.nilable(::Stripe::PaymentIntent::UpdateParams::MandateData), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), receipt_email: T.nilable(T.nilable(String)), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::Shipping))), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntent::UpdateParams::TransferData), transfer_group: T.nilable(String)).void
59638
60046
  }
59639
60047
  def initialize(
59640
60048
  amount: nil,
@@ -59646,6 +60054,7 @@ module Stripe
59646
60054
  customer_account: nil,
59647
60055
  description: nil,
59648
60056
  expand: nil,
60057
+ fx_quote: nil,
59649
60058
  mandate_data: nil,
59650
60059
  metadata: nil,
59651
60060
  payment_details: nil,
@@ -60418,6 +60827,9 @@ module Stripe
60418
60827
  returns(T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental))
60419
60828
  }
60420
60829
  attr_accessor :car_rental
60830
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
60831
+ sig { returns(T.nilable(T.nilable(String))) }
60832
+ attr_accessor :customer_reference
60421
60833
  # Event details for this PaymentIntent
60422
60834
  sig {
60423
60835
  returns(T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::EventDetails))
@@ -60429,19 +60841,24 @@ module Stripe
60429
60841
  # Lodging reservation details for this PaymentIntent
60430
60842
  sig { returns(T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Lodging)) }
60431
60843
  attr_accessor :lodging
60844
+ # A unique value assigned by the business to identify the transaction.
60845
+ sig { returns(T.nilable(T.nilable(String))) }
60846
+ attr_accessor :order_reference
60432
60847
  # Subscription details for this PaymentIntent
60433
60848
  sig {
60434
60849
  returns(T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Subscription))
60435
60850
  }
60436
60851
  attr_accessor :subscription
60437
60852
  sig {
60438
- params(car_rental: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Subscription)).void
60853
+ params(car_rental: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntent::CaptureParams::PaymentDetails::Subscription)).void
60439
60854
  }
60440
60855
  def initialize(
60441
60856
  car_rental: nil,
60857
+ customer_reference: nil,
60442
60858
  event_details: nil,
60443
60859
  flight: nil,
60444
60860
  lodging: nil,
60861
+ order_reference: nil,
60445
60862
  subscription: nil
60446
60863
  ); end
60447
60864
  end
@@ -61255,6 +61672,9 @@ module Stripe
61255
61672
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental))
61256
61673
  }
61257
61674
  attr_accessor :car_rental
61675
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
61676
+ sig { returns(T.nilable(T.nilable(String))) }
61677
+ attr_accessor :customer_reference
61258
61678
  # Event details for this PaymentIntent
61259
61679
  sig {
61260
61680
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::EventDetails))
@@ -61266,19 +61686,24 @@ module Stripe
61266
61686
  # Lodging reservation details for this PaymentIntent
61267
61687
  sig { returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Lodging)) }
61268
61688
  attr_accessor :lodging
61689
+ # A unique value assigned by the business to identify the transaction.
61690
+ sig { returns(T.nilable(T.nilable(String))) }
61691
+ attr_accessor :order_reference
61269
61692
  # Subscription details for this PaymentIntent
61270
61693
  sig {
61271
61694
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Subscription))
61272
61695
  }
61273
61696
  attr_accessor :subscription
61274
61697
  sig {
61275
- params(car_rental: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Subscription)).void
61698
+ params(car_rental: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentDetails::Subscription)).void
61276
61699
  }
61277
61700
  def initialize(
61278
61701
  car_rental: nil,
61702
+ customer_reference: nil,
61279
61703
  event_details: nil,
61280
61704
  flight: nil,
61281
61705
  lodging: nil,
61706
+ order_reference: nil,
61282
61707
  subscription: nil
61283
61708
  ); end
61284
61709
  end
@@ -61385,10 +61810,13 @@ module Stripe
61385
61810
  # Billing phone number (including extension).
61386
61811
  sig { returns(T.nilable(T.nilable(String))) }
61387
61812
  attr_accessor :phone
61813
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
61814
+ sig { returns(T.nilable(String)) }
61815
+ attr_accessor :tax_id
61388
61816
  sig {
61389
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
61817
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
61390
61818
  }
61391
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
61819
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
61392
61820
  end
61393
61821
  class Blik < Stripe::RequestParams
61394
61822
 
@@ -64051,6 +64479,9 @@ module Stripe
64051
64479
  # Specifies which fields in the response should be expanded.
64052
64480
  sig { returns(T.nilable(T::Array[String])) }
64053
64481
  attr_accessor :expand
64482
+ # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
64483
+ sig { returns(T.nilable(String)) }
64484
+ attr_accessor :fx_quote
64054
64485
  # ID of the mandate that's used for this payment.
64055
64486
  sig { returns(T.nilable(String)) }
64056
64487
  attr_accessor :mandate
@@ -64112,7 +64543,7 @@ module Stripe
64112
64543
  sig { returns(T.nilable(T::Boolean)) }
64113
64544
  attr_accessor :use_stripe_sdk
64114
64545
  sig {
64115
- params(application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntent::ConfirmParams::AsyncWorkflows), capture_method: T.nilable(String), confirmation_token: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::MandateData))), off_session: T.nilable(T.any(T::Boolean, String)), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntent::ConfirmParams::RadarOptions), receipt_email: T.nilable(T.nilable(String)), return_url: T.nilable(String), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::Shipping))), use_stripe_sdk: T.nilable(T::Boolean)).void
64546
+ params(application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntent::ConfirmParams::AsyncWorkflows), capture_method: T.nilable(String), confirmation_token: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::MandateData))), off_session: T.nilable(T.any(T::Boolean, String)), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntent::ConfirmParams::RadarOptions), receipt_email: T.nilable(T.nilable(String)), return_url: T.nilable(String), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::Shipping))), use_stripe_sdk: T.nilable(T::Boolean)).void
64116
64547
  }
64117
64548
  def initialize(
64118
64549
  application_fee_amount: nil,
@@ -64121,6 +64552,7 @@ module Stripe
64121
64552
  confirmation_token: nil,
64122
64553
  error_on_requires_action: nil,
64123
64554
  expand: nil,
64555
+ fx_quote: nil,
64124
64556
  mandate: nil,
64125
64557
  mandate_data: nil,
64126
64558
  off_session: nil,
@@ -64635,6 +65067,81 @@ module Stripe
64635
65067
  end
64636
65068
  end
64637
65069
  # typed: true
65070
+ module Stripe
65071
+ class PaymentIntentAmountDetailsLineItem < APIResource
65072
+ class PaymentMethodOptions < Stripe::StripeObject
65073
+ class Card < Stripe::StripeObject
65074
+ # Attribute for field commodity_code
65075
+ sig { returns(T.nilable(String)) }
65076
+ attr_reader :commodity_code
65077
+ end
65078
+ class Klarna < Stripe::StripeObject
65079
+ # Attribute for field image_url
65080
+ sig { returns(T.nilable(String)) }
65081
+ attr_reader :image_url
65082
+ # Attribute for field product_url
65083
+ sig { returns(T.nilable(String)) }
65084
+ attr_reader :product_url
65085
+ end
65086
+ class Paypal < Stripe::StripeObject
65087
+ # Type of the line item.
65088
+ sig { returns(String) }
65089
+ attr_reader :category
65090
+ # Description of the line item.
65091
+ sig { returns(String) }
65092
+ attr_reader :description
65093
+ # The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
65094
+ sig { returns(String) }
65095
+ attr_reader :sold_by
65096
+ end
65097
+ # Attribute for field card
65098
+ sig { returns(Card) }
65099
+ attr_reader :card
65100
+ # Attribute for field klarna
65101
+ sig { returns(Klarna) }
65102
+ attr_reader :klarna
65103
+ # Attribute for field paypal
65104
+ sig { returns(Paypal) }
65105
+ attr_reader :paypal
65106
+ end
65107
+ class Tax < Stripe::StripeObject
65108
+ # Total portion of the amount that is for tax.
65109
+ sig { returns(Integer) }
65110
+ attr_reader :total_tax_amount
65111
+ end
65112
+ # The amount an item was discounted for. Positive integer.
65113
+ sig { returns(T.nilable(Integer)) }
65114
+ attr_reader :discount_amount
65115
+ # Unique identifier for the object.
65116
+ sig { returns(String) }
65117
+ attr_reader :id
65118
+ # String representing the object's type. Objects of the same type share the same value.
65119
+ sig { returns(String) }
65120
+ attr_reader :object
65121
+ # Payment method-specific information for line items.
65122
+ sig { returns(T.nilable(PaymentMethodOptions)) }
65123
+ attr_reader :payment_method_options
65124
+ # Unique identifier of the product. At most 12 characters long.
65125
+ sig { returns(T.nilable(String)) }
65126
+ attr_reader :product_code
65127
+ # Name of the product. At most 100 characters long.
65128
+ sig { returns(String) }
65129
+ attr_reader :product_name
65130
+ # Number of items of the product. Positive integer.
65131
+ sig { returns(Integer) }
65132
+ attr_reader :quantity
65133
+ # Contains information about the tax on the item.
65134
+ sig { returns(T.nilable(Tax)) }
65135
+ attr_reader :tax
65136
+ # Cost of the product. Non-negative integer.
65137
+ sig { returns(Integer) }
65138
+ attr_reader :unit_cost
65139
+ # A unit of measure for the line item, such as gallons, feet, meters, etc.
65140
+ sig { returns(T.nilable(String)) }
65141
+ attr_reader :unit_of_measure
65142
+ end
65143
+ end
65144
+ # typed: true
64638
65145
  module Stripe
64639
65146
  # A payment link is a shareable URL that will take your customers to a hosted payment page. A payment link can be shared and used multiple times.
64640
65147
  #
@@ -66519,6 +67026,9 @@ module Stripe
66519
67026
  # Billing phone number (including extension).
66520
67027
  sig { returns(T.nilable(String)) }
66521
67028
  attr_reader :phone
67029
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
67030
+ sig { returns(T.nilable(String)) }
67031
+ attr_reader :tax_id
66522
67032
  end
66523
67033
  class Blik < Stripe::StripeObject; end
66524
67034
  class Boleto < Stripe::StripeObject
@@ -67632,10 +68142,13 @@ module Stripe
67632
68142
  # Billing phone number (including extension).
67633
68143
  sig { returns(T.nilable(T.nilable(String))) }
67634
68144
  attr_accessor :phone
68145
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
68146
+ sig { returns(T.nilable(String)) }
68147
+ attr_accessor :tax_id
67635
68148
  sig {
67636
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethod::CreateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
68149
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethod::CreateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
67637
68150
  }
67638
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
68151
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
67639
68152
  end
67640
68153
  class Blik < Stripe::RequestParams
67641
68154
 
@@ -68270,10 +68783,13 @@ module Stripe
68270
68783
  # Billing phone number (including extension).
68271
68784
  sig { returns(T.nilable(T.nilable(String))) }
68272
68785
  attr_accessor :phone
68786
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
68787
+ sig { returns(T.nilable(String)) }
68788
+ attr_accessor :tax_id
68273
68789
  sig {
68274
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethod::UpdateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
68790
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethod::UpdateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
68275
68791
  }
68276
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
68792
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
68277
68793
  end
68278
68794
  class Card < Stripe::RequestParams
68279
68795
  class Networks < Stripe::RequestParams
@@ -69200,6 +69716,25 @@ module Stripe
69200
69716
  sig { returns(DisplayPreference) }
69201
69717
  attr_reader :display_preference
69202
69718
  end
69719
+ class Pix < Stripe::StripeObject
69720
+ class DisplayPreference < Stripe::StripeObject
69721
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
69722
+ sig { returns(T.nilable(T::Boolean)) }
69723
+ attr_reader :overridable
69724
+ # The account's display preference.
69725
+ sig { returns(String) }
69726
+ attr_reader :preference
69727
+ # The effective display preference value.
69728
+ sig { returns(String) }
69729
+ attr_reader :value
69730
+ end
69731
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
69732
+ sig { returns(T::Boolean) }
69733
+ attr_reader :available
69734
+ # Attribute for field display_preference
69735
+ sig { returns(DisplayPreference) }
69736
+ attr_reader :display_preference
69737
+ end
69203
69738
  class Promptpay < Stripe::StripeObject
69204
69739
  class DisplayPreference < Stripe::StripeObject
69205
69740
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -69566,6 +70101,9 @@ module Stripe
69566
70101
  # Attribute for field payto
69567
70102
  sig { returns(Payto) }
69568
70103
  attr_reader :payto
70104
+ # Attribute for field pix
70105
+ sig { returns(Pix) }
70106
+ attr_reader :pix
69569
70107
  # Attribute for field promptpay
69570
70108
  sig { returns(Promptpay) }
69571
70109
  attr_reader :promptpay
@@ -70332,6 +70870,24 @@ module Stripe
70332
70870
  }
70333
70871
  def initialize(display_preference: nil); end
70334
70872
  end
70873
+ class Pix < Stripe::RequestParams
70874
+ class DisplayPreference < Stripe::RequestParams
70875
+ # The account's preference for whether or not to display this payment method.
70876
+ sig { returns(T.nilable(String)) }
70877
+ attr_accessor :preference
70878
+ sig { params(preference: T.nilable(String)).void }
70879
+ def initialize(preference: nil); end
70880
+ end
70881
+ # Whether or not the payment method should be displayed.
70882
+ sig {
70883
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference))
70884
+ }
70885
+ attr_accessor :display_preference
70886
+ sig {
70887
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference)).void
70888
+ }
70889
+ def initialize(display_preference: nil); end
70890
+ end
70335
70891
  class Promptpay < Stripe::RequestParams
70336
70892
  class DisplayPreference < Stripe::RequestParams
70337
70893
  # The account's preference for whether or not to display this payment method.
@@ -70680,6 +71236,9 @@ module Stripe
70680
71236
  # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
70681
71237
  sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payto)) }
70682
71238
  attr_accessor :payto
71239
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
71240
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix)) }
71241
+ attr_accessor :pix
70683
71242
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
70684
71243
  sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay)) }
70685
71244
  attr_accessor :promptpay
@@ -70717,7 +71276,7 @@ module Stripe
70717
71276
  sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)) }
70718
71277
  attr_accessor :zip
70719
71278
  sig {
70720
- params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payto), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)).void
71279
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)).void
70721
71280
  }
70722
71281
  def initialize(
70723
71282
  acss_debit: nil,
@@ -70762,6 +71321,7 @@ module Stripe
70762
71321
  paynow: nil,
70763
71322
  paypal: nil,
70764
71323
  payto: nil,
71324
+ pix: nil,
70765
71325
  promptpay: nil,
70766
71326
  qris: nil,
70767
71327
  revolut_pay: nil,
@@ -71479,6 +72039,24 @@ module Stripe
71479
72039
  }
71480
72040
  def initialize(display_preference: nil); end
71481
72041
  end
72042
+ class Pix < Stripe::RequestParams
72043
+ class DisplayPreference < Stripe::RequestParams
72044
+ # The account's preference for whether or not to display this payment method.
72045
+ sig { returns(T.nilable(String)) }
72046
+ attr_accessor :preference
72047
+ sig { params(preference: T.nilable(String)).void }
72048
+ def initialize(preference: nil); end
72049
+ end
72050
+ # Whether or not the payment method should be displayed.
72051
+ sig {
72052
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference))
72053
+ }
72054
+ attr_accessor :display_preference
72055
+ sig {
72056
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference)).void
72057
+ }
72058
+ def initialize(display_preference: nil); end
72059
+ end
71482
72060
  class Promptpay < Stripe::RequestParams
71483
72061
  class DisplayPreference < Stripe::RequestParams
71484
72062
  # The account's preference for whether or not to display this payment method.
@@ -71827,6 +72405,9 @@ module Stripe
71827
72405
  # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
71828
72406
  sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payto)) }
71829
72407
  attr_accessor :payto
72408
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
72409
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix)) }
72410
+ attr_accessor :pix
71830
72411
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
71831
72412
  sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay)) }
71832
72413
  attr_accessor :promptpay
@@ -71864,7 +72445,7 @@ module Stripe
71864
72445
  sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)) }
71865
72446
  attr_accessor :zip
71866
72447
  sig {
71867
- params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payto), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)).void
72448
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)).void
71868
72449
  }
71869
72450
  def initialize(
71870
72451
  acss_debit: nil,
@@ -71909,6 +72490,7 @@ module Stripe
71909
72490
  paynow: nil,
71910
72491
  paypal: nil,
71911
72492
  payto: nil,
72493
+ pix: nil,
71912
72494
  promptpay: nil,
71913
72495
  qris: nil,
71914
72496
  revolut_pay: nil,
@@ -74580,6 +75162,33 @@ module Stripe
74580
75162
  sig { returns(T::Array[String]) }
74581
75163
  attr_reader :pending_verification
74582
75164
  end
75165
+ class UsCfpbData < Stripe::StripeObject
75166
+ class EthnicityDetails < Stripe::StripeObject
75167
+ # The persons ethnicity
75168
+ sig { returns(T.nilable(T::Array[String])) }
75169
+ attr_reader :ethnicity
75170
+ # Please specify your origin, when other is selected.
75171
+ sig { returns(T.nilable(String)) }
75172
+ attr_reader :ethnicity_other
75173
+ end
75174
+ class RaceDetails < Stripe::StripeObject
75175
+ # The persons race.
75176
+ sig { returns(T.nilable(T::Array[String])) }
75177
+ attr_reader :race
75178
+ # Please specify your race, when other is selected.
75179
+ sig { returns(T.nilable(String)) }
75180
+ attr_reader :race_other
75181
+ end
75182
+ # The persons ethnicity details
75183
+ sig { returns(T.nilable(EthnicityDetails)) }
75184
+ attr_reader :ethnicity_details
75185
+ # The persons race details
75186
+ sig { returns(T.nilable(RaceDetails)) }
75187
+ attr_reader :race_details
75188
+ # The persons self-identified gender
75189
+ sig { returns(T.nilable(String)) }
75190
+ attr_reader :self_identified_gender
75191
+ end
74583
75192
  class Verification < Stripe::StripeObject
74584
75193
  class AdditionalDocument < Stripe::StripeObject
74585
75194
  # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`.
@@ -74621,7 +75230,7 @@ module Stripe
74621
75230
  # Attribute for field document
74622
75231
  sig { returns(Document) }
74623
75232
  attr_reader :document
74624
- # The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`.
75233
+ # The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. Please refer [guide](https://stripe.com/docs/connect/handling-api-verification) to handle verification updates.
74625
75234
  sig { returns(String) }
74626
75235
  attr_reader :status
74627
75236
  end
@@ -74715,6 +75324,9 @@ module Stripe
74715
75324
  # Whether the last four digits of the person's Social Security number have been provided (U.S. only).
74716
75325
  sig { returns(T::Boolean) }
74717
75326
  attr_reader :ssn_last_4_provided
75327
+ # Demographic data related to the person.
75328
+ sig { returns(T.nilable(UsCfpbData)) }
75329
+ attr_reader :us_cfpb_data
74718
75330
  # Attribute for field verification
74719
75331
  sig { returns(Verification) }
74720
75332
  attr_reader :verification
@@ -76078,29 +76690,6 @@ module Stripe
76078
76690
  # String representing the object's type. Objects of the same type share the same value.
76079
76691
  sig { returns(String) }
76080
76692
  attr_reader :object
76081
- class ListParams < Stripe::RequestParams
76082
- # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
76083
- sig { returns(T.nilable(String)) }
76084
- attr_accessor :ending_before
76085
- # Specifies which fields in the response should be expanded.
76086
- sig { returns(T.nilable(T::Array[String])) }
76087
- attr_accessor :expand
76088
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
76089
- sig { returns(T.nilable(Integer)) }
76090
- attr_accessor :limit
76091
- # 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.
76092
- sig { returns(T.nilable(String)) }
76093
- attr_accessor :starting_after
76094
- sig {
76095
- params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
76096
- }
76097
- def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
76098
- end
76099
- # List validation errors method
76100
- sig {
76101
- params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationError::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
76102
- }
76103
- def self.list(job, params = {}, opts = {}); end
76104
76693
  end
76105
76694
  end
76106
76695
  end
@@ -82631,6 +83220,9 @@ module Stripe
82631
83220
  # ID of the PaymentIntent that's refunded.
82632
83221
  sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) }
82633
83222
  attr_reader :payment_intent
83223
+ # Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`.
83224
+ sig { returns(String) }
83225
+ attr_reader :pending_reason
82634
83226
  # Attribute for field presentment_details
82635
83227
  sig { returns(PresentmentDetails) }
82636
83228
  attr_reader :presentment_details
@@ -84529,10 +85121,13 @@ module Stripe
84529
85121
  # Billing phone number (including extension).
84530
85122
  sig { returns(T.nilable(T.nilable(String))) }
84531
85123
  attr_accessor :phone
85124
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
85125
+ sig { returns(T.nilable(String)) }
85126
+ attr_accessor :tax_id
84532
85127
  sig {
84533
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
85128
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
84534
85129
  }
84535
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
85130
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
84536
85131
  end
84537
85132
  class Blik < Stripe::RequestParams
84538
85133
 
@@ -85805,10 +86400,13 @@ module Stripe
85805
86400
  # Billing phone number (including extension).
85806
86401
  sig { returns(T.nilable(T.nilable(String))) }
85807
86402
  attr_accessor :phone
86403
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
86404
+ sig { returns(T.nilable(String)) }
86405
+ attr_accessor :tax_id
85808
86406
  sig {
85809
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
86407
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
85810
86408
  }
85811
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
86409
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
85812
86410
  end
85813
86411
  class Blik < Stripe::RequestParams
85814
86412
 
@@ -87087,10 +87685,13 @@ module Stripe
87087
87685
  # Billing phone number (including extension).
87088
87686
  sig { returns(T.nilable(T.nilable(String))) }
87089
87687
  attr_accessor :phone
87688
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
87689
+ sig { returns(T.nilable(String)) }
87690
+ attr_accessor :tax_id
87090
87691
  sig {
87091
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
87692
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
87092
87693
  }
87093
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
87694
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
87094
87695
  end
87095
87696
  class Blik < Stripe::RequestParams
87096
87697
 
@@ -96573,6 +97174,16 @@ module Stripe
96573
97174
  sig { returns(String) }
96574
97175
  attr_reader :type
96575
97176
  end
97177
+ class Aw < Stripe::StripeObject
97178
+ # Type of registration in `country`.
97179
+ sig { returns(String) }
97180
+ attr_reader :type
97181
+ end
97182
+ class Az < Stripe::StripeObject
97183
+ # Type of registration in `country`.
97184
+ sig { returns(String) }
97185
+ attr_reader :type
97186
+ end
96576
97187
  class Ba < Stripe::StripeObject
96577
97188
  # Type of registration in `country`.
96578
97189
  sig { returns(String) }
@@ -96583,6 +97194,11 @@ module Stripe
96583
97194
  sig { returns(String) }
96584
97195
  attr_reader :type
96585
97196
  end
97197
+ class Bd < Stripe::StripeObject
97198
+ # Type of registration in `country`.
97199
+ sig { returns(String) }
97200
+ attr_reader :type
97201
+ end
96586
97202
  class Be < Stripe::StripeObject
96587
97203
  class Standard < Stripe::StripeObject
96588
97204
  # Place of supply scheme used in an EU standard registration.
@@ -96614,6 +97230,11 @@ module Stripe
96614
97230
  sig { returns(String) }
96615
97231
  attr_reader :type
96616
97232
  end
97233
+ class Bj < Stripe::StripeObject
97234
+ # Type of registration in `country`.
97235
+ sig { returns(String) }
97236
+ attr_reader :type
97237
+ end
96617
97238
  class Bs < Stripe::StripeObject
96618
97239
  # Type of registration in `country`.
96619
97240
  sig { returns(String) }
@@ -96750,6 +97371,11 @@ module Stripe
96750
97371
  sig { returns(String) }
96751
97372
  attr_reader :type
96752
97373
  end
97374
+ class Et < Stripe::StripeObject
97375
+ # Type of registration in `country`.
97376
+ sig { returns(String) }
97377
+ attr_reader :type
97378
+ end
96753
97379
  class Fi < Stripe::StripeObject
96754
97380
  class Standard < Stripe::StripeObject
96755
97381
  # Place of supply scheme used in an EU standard registration.
@@ -96881,6 +97507,11 @@ module Stripe
96881
97507
  sig { returns(String) }
96882
97508
  attr_reader :type
96883
97509
  end
97510
+ class Kg < Stripe::StripeObject
97511
+ # Type of registration in `country`.
97512
+ sig { returns(String) }
97513
+ attr_reader :type
97514
+ end
96884
97515
  class Kh < Stripe::StripeObject
96885
97516
  # Type of registration in `country`.
96886
97517
  sig { returns(String) }
@@ -96896,6 +97527,11 @@ module Stripe
96896
97527
  sig { returns(String) }
96897
97528
  attr_reader :type
96898
97529
  end
97530
+ class La < Stripe::StripeObject
97531
+ # Type of registration in `country`.
97532
+ sig { returns(String) }
97533
+ attr_reader :type
97534
+ end
96899
97535
  class Lt < Stripe::StripeObject
96900
97536
  class Standard < Stripe::StripeObject
96901
97537
  # Place of supply scheme used in an EU standard registration.
@@ -97026,6 +97662,11 @@ module Stripe
97026
97662
  sig { returns(String) }
97027
97663
  attr_reader :type
97028
97664
  end
97665
+ class Ph < Stripe::StripeObject
97666
+ # Type of registration in `country`.
97667
+ sig { returns(String) }
97668
+ attr_reader :type
97669
+ end
97029
97670
  class Pl < Stripe::StripeObject
97030
97671
  class Standard < Stripe::StripeObject
97031
97672
  # Place of supply scheme used in an EU standard registration.
@@ -97247,12 +97888,21 @@ module Stripe
97247
97888
  # Attribute for field au
97248
97889
  sig { returns(Au) }
97249
97890
  attr_reader :au
97891
+ # Attribute for field aw
97892
+ sig { returns(Aw) }
97893
+ attr_reader :aw
97894
+ # Attribute for field az
97895
+ sig { returns(Az) }
97896
+ attr_reader :az
97250
97897
  # Attribute for field ba
97251
97898
  sig { returns(Ba) }
97252
97899
  attr_reader :ba
97253
97900
  # Attribute for field bb
97254
97901
  sig { returns(Bb) }
97255
97902
  attr_reader :bb
97903
+ # Attribute for field bd
97904
+ sig { returns(Bd) }
97905
+ attr_reader :bd
97256
97906
  # Attribute for field be
97257
97907
  sig { returns(Be) }
97258
97908
  attr_reader :be
@@ -97262,6 +97912,9 @@ module Stripe
97262
97912
  # Attribute for field bh
97263
97913
  sig { returns(Bh) }
97264
97914
  attr_reader :bh
97915
+ # Attribute for field bj
97916
+ sig { returns(Bj) }
97917
+ attr_reader :bj
97265
97918
  # Attribute for field bs
97266
97919
  sig { returns(Bs) }
97267
97920
  attr_reader :bs
@@ -97310,6 +97963,9 @@ module Stripe
97310
97963
  # Attribute for field es
97311
97964
  sig { returns(Es) }
97312
97965
  attr_reader :es
97966
+ # Attribute for field et
97967
+ sig { returns(Et) }
97968
+ attr_reader :et
97313
97969
  # Attribute for field fi
97314
97970
  sig { returns(Fi) }
97315
97971
  attr_reader :fi
@@ -97355,6 +98011,9 @@ module Stripe
97355
98011
  # Attribute for field ke
97356
98012
  sig { returns(Ke) }
97357
98013
  attr_reader :ke
98014
+ # Attribute for field kg
98015
+ sig { returns(Kg) }
98016
+ attr_reader :kg
97358
98017
  # Attribute for field kh
97359
98018
  sig { returns(Kh) }
97360
98019
  attr_reader :kh
@@ -97364,6 +98023,9 @@ module Stripe
97364
98023
  # Attribute for field kz
97365
98024
  sig { returns(Kz) }
97366
98025
  attr_reader :kz
98026
+ # Attribute for field la
98027
+ sig { returns(La) }
98028
+ attr_reader :la
97367
98029
  # Attribute for field lt
97368
98030
  sig { returns(Lt) }
97369
98031
  attr_reader :lt
@@ -97418,6 +98080,9 @@ module Stripe
97418
98080
  # Attribute for field pe
97419
98081
  sig { returns(Pe) }
97420
98082
  attr_reader :pe
98083
+ # Attribute for field ph
98084
+ sig { returns(Ph) }
98085
+ attr_reader :ph
97421
98086
  # Attribute for field pl
97422
98087
  sig { returns(Pl) }
97423
98088
  attr_reader :pl
@@ -97603,6 +98268,20 @@ module Stripe
97603
98268
  sig { params(type: String).void }
97604
98269
  def initialize(type: nil); end
97605
98270
  end
98271
+ class Aw < Stripe::RequestParams
98272
+ # Type of registration to be created in `country`.
98273
+ sig { returns(String) }
98274
+ attr_accessor :type
98275
+ sig { params(type: String).void }
98276
+ def initialize(type: nil); end
98277
+ end
98278
+ class Az < Stripe::RequestParams
98279
+ # Type of registration to be created in `country`.
98280
+ sig { returns(String) }
98281
+ attr_accessor :type
98282
+ sig { params(type: String).void }
98283
+ def initialize(type: nil); end
98284
+ end
97606
98285
  class Ba < Stripe::RequestParams
97607
98286
  # Type of registration to be created in `country`.
97608
98287
  sig { returns(String) }
@@ -97617,6 +98296,13 @@ module Stripe
97617
98296
  sig { params(type: String).void }
97618
98297
  def initialize(type: nil); end
97619
98298
  end
98299
+ class Bd < Stripe::RequestParams
98300
+ # Type of registration to be created in `country`.
98301
+ sig { returns(String) }
98302
+ attr_accessor :type
98303
+ sig { params(type: String).void }
98304
+ def initialize(type: nil); end
98305
+ end
97620
98306
  class Be < Stripe::RequestParams
97621
98307
  class Standard < Stripe::RequestParams
97622
98308
  # Place of supply scheme used in an EU standard registration.
@@ -97666,6 +98352,13 @@ module Stripe
97666
98352
  sig { params(type: String).void }
97667
98353
  def initialize(type: nil); end
97668
98354
  end
98355
+ class Bj < Stripe::RequestParams
98356
+ # Type of registration to be created in `country`.
98357
+ sig { returns(String) }
98358
+ attr_accessor :type
98359
+ sig { params(type: String).void }
98360
+ def initialize(type: nil); end
98361
+ end
97669
98362
  class Bs < Stripe::RequestParams
97670
98363
  # Type of registration to be created in `country`.
97671
98364
  sig { returns(String) }
@@ -97876,6 +98569,13 @@ module Stripe
97876
98569
  }
97877
98570
  def initialize(standard: nil, type: nil); end
97878
98571
  end
98572
+ class Et < Stripe::RequestParams
98573
+ # Type of registration to be created in `country`.
98574
+ sig { returns(String) }
98575
+ attr_accessor :type
98576
+ sig { params(type: String).void }
98577
+ def initialize(type: nil); end
98578
+ end
97879
98579
  class Fi < Stripe::RequestParams
97880
98580
  class Standard < Stripe::RequestParams
97881
98581
  # Place of supply scheme used in an EU standard registration.
@@ -98079,6 +98779,13 @@ module Stripe
98079
98779
  sig { params(type: String).void }
98080
98780
  def initialize(type: nil); end
98081
98781
  end
98782
+ class Kg < Stripe::RequestParams
98783
+ # Type of registration to be created in `country`.
98784
+ sig { returns(String) }
98785
+ attr_accessor :type
98786
+ sig { params(type: String).void }
98787
+ def initialize(type: nil); end
98788
+ end
98082
98789
  class Kh < Stripe::RequestParams
98083
98790
  # Type of registration to be created in `country`.
98084
98791
  sig { returns(String) }
@@ -98100,6 +98807,13 @@ module Stripe
98100
98807
  sig { params(type: String).void }
98101
98808
  def initialize(type: nil); end
98102
98809
  end
98810
+ class La < Stripe::RequestParams
98811
+ # Type of registration to be created in `country`.
98812
+ sig { returns(String) }
98813
+ attr_accessor :type
98814
+ sig { params(type: String).void }
98815
+ def initialize(type: nil); end
98816
+ end
98103
98817
  class Lt < Stripe::RequestParams
98104
98818
  class Standard < Stripe::RequestParams
98105
98819
  # Place of supply scheme used in an EU standard registration.
@@ -98296,6 +99010,13 @@ module Stripe
98296
99010
  sig { params(type: String).void }
98297
99011
  def initialize(type: nil); end
98298
99012
  end
99013
+ class Ph < Stripe::RequestParams
99014
+ # Type of registration to be created in `country`.
99015
+ sig { returns(String) }
99016
+ attr_accessor :type
99017
+ sig { params(type: String).void }
99018
+ def initialize(type: nil); end
99019
+ end
98299
99020
  class Pl < Stripe::RequestParams
98300
99021
  class Standard < Stripe::RequestParams
98301
99022
  # Place of supply scheme used in an EU standard registration.
@@ -98627,12 +99348,21 @@ module Stripe
98627
99348
  # Options for the registration in AU.
98628
99349
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Au)) }
98629
99350
  attr_accessor :au
99351
+ # Options for the registration in AW.
99352
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Aw)) }
99353
+ attr_accessor :aw
99354
+ # Options for the registration in AZ.
99355
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Az)) }
99356
+ attr_accessor :az
98630
99357
  # Options for the registration in BA.
98631
99358
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ba)) }
98632
99359
  attr_accessor :ba
98633
99360
  # Options for the registration in BB.
98634
99361
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bb)) }
98635
99362
  attr_accessor :bb
99363
+ # Options for the registration in BD.
99364
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bd)) }
99365
+ attr_accessor :bd
98636
99366
  # Options for the registration in BE.
98637
99367
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be)) }
98638
99368
  attr_accessor :be
@@ -98642,6 +99372,9 @@ module Stripe
98642
99372
  # Options for the registration in BH.
98643
99373
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bh)) }
98644
99374
  attr_accessor :bh
99375
+ # Options for the registration in BJ.
99376
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bj)) }
99377
+ attr_accessor :bj
98645
99378
  # Options for the registration in BS.
98646
99379
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bs)) }
98647
99380
  attr_accessor :bs
@@ -98690,6 +99423,9 @@ module Stripe
98690
99423
  # Options for the registration in ES.
98691
99424
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Es)) }
98692
99425
  attr_accessor :es
99426
+ # Options for the registration in ET.
99427
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Et)) }
99428
+ attr_accessor :et
98693
99429
  # Options for the registration in FI.
98694
99430
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fi)) }
98695
99431
  attr_accessor :fi
@@ -98735,6 +99471,9 @@ module Stripe
98735
99471
  # Options for the registration in KE.
98736
99472
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ke)) }
98737
99473
  attr_accessor :ke
99474
+ # Options for the registration in KG.
99475
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kg)) }
99476
+ attr_accessor :kg
98738
99477
  # Options for the registration in KH.
98739
99478
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kh)) }
98740
99479
  attr_accessor :kh
@@ -98744,6 +99483,9 @@ module Stripe
98744
99483
  # Options for the registration in KZ.
98745
99484
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kz)) }
98746
99485
  attr_accessor :kz
99486
+ # Options for the registration in LA.
99487
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::La)) }
99488
+ attr_accessor :la
98747
99489
  # Options for the registration in LT.
98748
99490
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lt)) }
98749
99491
  attr_accessor :lt
@@ -98798,6 +99540,9 @@ module Stripe
98798
99540
  # Options for the registration in PE.
98799
99541
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pe)) }
98800
99542
  attr_accessor :pe
99543
+ # Options for the registration in PH.
99544
+ sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ph)) }
99545
+ attr_accessor :ph
98801
99546
  # Options for the registration in PL.
98802
99547
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pl)) }
98803
99548
  attr_accessor :pl
@@ -98871,7 +99616,7 @@ module Stripe
98871
99616
  sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)) }
98872
99617
  attr_accessor :zw
98873
99618
  sig {
98874
- params(ae: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Au), ba: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bb), be: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bh), bs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Es), fi: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ke), kh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kz), lt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pe), pl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)).void
99619
+ params(ae: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)).void
98875
99620
  }
98876
99621
  def initialize(
98877
99622
  ae: nil,
@@ -98880,11 +99625,15 @@ module Stripe
98880
99625
  ao: nil,
98881
99626
  at: nil,
98882
99627
  au: nil,
99628
+ aw: nil,
99629
+ az: nil,
98883
99630
  ba: nil,
98884
99631
  bb: nil,
99632
+ bd: nil,
98885
99633
  be: nil,
98886
99634
  bg: nil,
98887
99635
  bh: nil,
99636
+ bj: nil,
98888
99637
  bs: nil,
98889
99638
  by: nil,
98890
99639
  ca: nil,
@@ -98901,6 +99650,7 @@ module Stripe
98901
99650
  ee: nil,
98902
99651
  eg: nil,
98903
99652
  es: nil,
99653
+ et: nil,
98904
99654
  fi: nil,
98905
99655
  fr: nil,
98906
99656
  gb: nil,
@@ -98916,9 +99666,11 @@ module Stripe
98916
99666
  it: nil,
98917
99667
  jp: nil,
98918
99668
  ke: nil,
99669
+ kg: nil,
98919
99670
  kh: nil,
98920
99671
  kr: nil,
98921
99672
  kz: nil,
99673
+ la: nil,
98922
99674
  lt: nil,
98923
99675
  lu: nil,
98924
99676
  lv: nil,
@@ -98937,6 +99689,7 @@ module Stripe
98937
99689
  nz: nil,
98938
99690
  om: nil,
98939
99691
  pe: nil,
99692
+ ph: nil,
98940
99693
  pl: nil,
98941
99694
  pt: nil,
98942
99695
  ro: nil,
@@ -103012,6 +103765,19 @@ module Stripe
103012
103765
  }
103013
103766
  def initialize(date: nil, ip: nil, user_agent: nil); end
103014
103767
  end
103768
+ class RegistrationDate < Stripe::RequestParams
103769
+ # The day of registration, between 1 and 31.
103770
+ sig { returns(Integer) }
103771
+ attr_accessor :day
103772
+ # The month of registration, between 1 and 12.
103773
+ sig { returns(Integer) }
103774
+ attr_accessor :month
103775
+ # The four-digit year of registration.
103776
+ sig { returns(Integer) }
103777
+ attr_accessor :year
103778
+ sig { params(day: Integer, month: Integer, year: Integer).void }
103779
+ def initialize(day: nil, month: nil, year: nil); end
103780
+ end
103015
103781
  class Verification < Stripe::RequestParams
103016
103782
  class Document < Stripe::RequestParams
103017
103783
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -103085,6 +103851,11 @@ module Stripe
103085
103851
  # The company's phone number (used for verification).
103086
103852
  sig { returns(T.nilable(String)) }
103087
103853
  attr_accessor :phone
103854
+ # Attribute for param field registration_date
103855
+ sig {
103856
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Token::CreateParams::Account::Company::RegistrationDate))))
103857
+ }
103858
+ attr_accessor :registration_date
103088
103859
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
103089
103860
  sig { returns(T.nilable(String)) }
103090
103861
  attr_accessor :registration_number
@@ -103104,7 +103875,7 @@ module Stripe
103104
103875
  sig { returns(T.nilable(::Stripe::Token::CreateParams::Account::Company::Verification)) }
103105
103876
  attr_accessor :verification
103106
103877
  sig {
103107
- params(address: T.nilable(::Stripe::Token::CreateParams::Account::Company::Address), address_kana: T.nilable(::Stripe::Token::CreateParams::Account::Company::AddressKana), address_kanji: T.nilable(::Stripe::Token::CreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::Token::CreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::Token::CreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::Token::CreateParams::Account::Company::Verification)).void
103878
+ params(address: T.nilable(::Stripe::Token::CreateParams::Account::Company::Address), address_kana: T.nilable(::Stripe::Token::CreateParams::Account::Company::AddressKana), address_kanji: T.nilable(::Stripe::Token::CreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::Token::CreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::Token::CreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_date: T.nilable(T.nilable(T.any(String, ::Stripe::Token::CreateParams::Account::Company::RegistrationDate))), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::Token::CreateParams::Account::Company::Verification)).void
103108
103879
  }
103109
103880
  def initialize(
103110
103881
  address: nil,
@@ -103123,6 +103894,7 @@ module Stripe
103123
103894
  ownership_declaration_shown_and_signed: nil,
103124
103895
  ownership_exemption_reason: nil,
103125
103896
  phone: nil,
103897
+ registration_date: nil,
103126
103898
  registration_number: nil,
103127
103899
  structure: nil,
103128
103900
  tax_id: nil,
@@ -103833,6 +104605,49 @@ module Stripe
103833
104605
  title: nil
103834
104606
  ); end
103835
104607
  end
104608
+ class UsCfpbData < Stripe::RequestParams
104609
+ class EthnicityDetails < Stripe::RequestParams
104610
+ # The persons ethnicity
104611
+ sig { returns(T.nilable(T::Array[String])) }
104612
+ attr_accessor :ethnicity
104613
+ # Please specify your origin, when other is selected.
104614
+ sig { returns(T.nilable(String)) }
104615
+ attr_accessor :ethnicity_other
104616
+ sig {
104617
+ params(ethnicity: T.nilable(T::Array[String]), ethnicity_other: T.nilable(String)).void
104618
+ }
104619
+ def initialize(ethnicity: nil, ethnicity_other: nil); end
104620
+ end
104621
+ class RaceDetails < Stripe::RequestParams
104622
+ # The persons race.
104623
+ sig { returns(T.nilable(T::Array[String])) }
104624
+ attr_accessor :race
104625
+ # Please specify your race, when other is selected.
104626
+ sig { returns(T.nilable(String)) }
104627
+ attr_accessor :race_other
104628
+ sig { params(race: T.nilable(T::Array[String]), race_other: T.nilable(String)).void }
104629
+ def initialize(race: nil, race_other: nil); end
104630
+ end
104631
+ # The persons ethnicity details
104632
+ sig {
104633
+ returns(T.nilable(::Stripe::Token::CreateParams::Person::UsCfpbData::EthnicityDetails))
104634
+ }
104635
+ attr_accessor :ethnicity_details
104636
+ # The persons race details
104637
+ sig { returns(T.nilable(::Stripe::Token::CreateParams::Person::UsCfpbData::RaceDetails)) }
104638
+ attr_accessor :race_details
104639
+ # The persons self-identified gender
104640
+ sig { returns(T.nilable(String)) }
104641
+ attr_accessor :self_identified_gender
104642
+ sig {
104643
+ params(ethnicity_details: T.nilable(::Stripe::Token::CreateParams::Person::UsCfpbData::EthnicityDetails), race_details: T.nilable(::Stripe::Token::CreateParams::Person::UsCfpbData::RaceDetails), self_identified_gender: T.nilable(String)).void
104644
+ }
104645
+ def initialize(
104646
+ ethnicity_details: nil,
104647
+ race_details: nil,
104648
+ self_identified_gender: nil
104649
+ ); end
104650
+ end
103836
104651
  class Verification < Stripe::RequestParams
103837
104652
  class AdditionalDocument < Stripe::RequestParams
103838
104653
  # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -103944,11 +104759,14 @@ module Stripe
103944
104759
  # The last four digits of the person's Social Security number (U.S. only).
103945
104760
  sig { returns(T.nilable(String)) }
103946
104761
  attr_accessor :ssn_last_4
104762
+ # Demographic data related to the person.
104763
+ sig { returns(T.nilable(::Stripe::Token::CreateParams::Person::UsCfpbData)) }
104764
+ attr_accessor :us_cfpb_data
103947
104765
  # The person's verification status.
103948
104766
  sig { returns(T.nilable(::Stripe::Token::CreateParams::Person::Verification)) }
103949
104767
  attr_accessor :verification
103950
104768
  sig {
103951
- params(additional_tos_acceptances: T.nilable(::Stripe::Token::CreateParams::Person::AdditionalTosAcceptances), address: T.nilable(::Stripe::Token::CreateParams::Person::Address), address_kana: T.nilable(::Stripe::Token::CreateParams::Person::AddressKana), address_kanji: T.nilable(::Stripe::Token::CreateParams::Person::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::Token::CreateParams::Person::Dob))), documents: T.nilable(::Stripe::Token::CreateParams::Person::Documents), email: T.nilable(String), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::Token::CreateParams::Person::RegisteredAddress), relationship: T.nilable(::Stripe::Token::CreateParams::Person::Relationship), ssn_last_4: T.nilable(String), verification: T.nilable(::Stripe::Token::CreateParams::Person::Verification)).void
104769
+ params(additional_tos_acceptances: T.nilable(::Stripe::Token::CreateParams::Person::AdditionalTosAcceptances), address: T.nilable(::Stripe::Token::CreateParams::Person::Address), address_kana: T.nilable(::Stripe::Token::CreateParams::Person::AddressKana), address_kanji: T.nilable(::Stripe::Token::CreateParams::Person::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::Token::CreateParams::Person::Dob))), documents: T.nilable(::Stripe::Token::CreateParams::Person::Documents), email: T.nilable(String), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::Token::CreateParams::Person::RegisteredAddress), relationship: T.nilable(::Stripe::Token::CreateParams::Person::Relationship), ssn_last_4: T.nilable(String), us_cfpb_data: T.nilable(::Stripe::Token::CreateParams::Person::UsCfpbData), verification: T.nilable(::Stripe::Token::CreateParams::Person::Verification)).void
103952
104770
  }
103953
104771
  def initialize(
103954
104772
  additional_tos_acceptances: nil,
@@ -103976,6 +104794,7 @@ module Stripe
103976
104794
  registered_address: nil,
103977
104795
  relationship: nil,
103978
104796
  ssn_last_4: nil,
104797
+ us_cfpb_data: nil,
103979
104798
  verification: nil
103980
104799
  ); end
103981
104800
  end
@@ -104288,6 +105107,9 @@ module Stripe
104288
105107
  # If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.
104289
105108
  sig { returns(T.any(String, Stripe::Charge)) }
104290
105109
  attr_reader :destination_payment
105110
+ # The FX Quote used for the transfer.
105111
+ sig { returns(String) }
105112
+ attr_reader :fx_quote
104291
105113
  # Unique identifier for the object.
104292
105114
  sig { returns(String) }
104293
105115
  attr_reader :id
@@ -104384,6 +105206,9 @@ module Stripe
104384
105206
  # Specifies which fields in the response should be expanded.
104385
105207
  sig { returns(T.nilable(T::Array[String])) }
104386
105208
  attr_accessor :expand
105209
+ # The FX rate in the quote is validated and used to convert the transfer amount to the destination currency.
105210
+ sig { returns(T.nilable(String)) }
105211
+ attr_accessor :fx_quote
104387
105212
  # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
104388
105213
  sig { returns(T.nilable(T::Hash[String, String])) }
104389
105214
  attr_accessor :metadata
@@ -104397,7 +105222,7 @@ module Stripe
104397
105222
  sig { returns(T.nilable(String)) }
104398
105223
  attr_accessor :transfer_group
104399
105224
  sig {
104400
- params(amount: T.nilable(Integer), currency: String, description: T.nilable(String), destination: String, expand: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), source_transaction: T.nilable(String), source_type: T.nilable(String), transfer_group: T.nilable(String)).void
105225
+ params(amount: T.nilable(Integer), currency: String, description: T.nilable(String), destination: String, expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), source_transaction: T.nilable(String), source_type: T.nilable(String), transfer_group: T.nilable(String)).void
104401
105226
  }
104402
105227
  def initialize(
104403
105228
  amount: nil,
@@ -104405,6 +105230,7 @@ module Stripe
104405
105230
  description: nil,
104406
105231
  destination: nil,
104407
105232
  expand: nil,
105233
+ fx_quote: nil,
104408
105234
  metadata: nil,
104409
105235
  source_transaction: nil,
104410
105236
  source_type: nil,
@@ -106491,10 +107317,13 @@ module Stripe
106491
107317
  # Billing phone number (including extension).
106492
107318
  sig { returns(T.nilable(T.nilable(String))) }
106493
107319
  attr_accessor :phone
107320
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
107321
+ sig { returns(T.nilable(String)) }
107322
+ attr_accessor :tax_id
106494
107323
  sig {
106495
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
107324
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
106496
107325
  }
106497
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
107326
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
106498
107327
  end
106499
107328
  class UsBankAccount < Stripe::RequestParams
106500
107329
  # Account holder type: individual or company.
@@ -108473,6 +109302,7 @@ module Stripe
108473
109302
  attr_reader :file_links
108474
109303
  attr_reader :financial_connections
108475
109304
  attr_reader :forwarding
109305
+ attr_reader :fx_quotes
108476
109306
  attr_reader :gift_cards
108477
109307
  attr_reader :identity
108478
109308
  attr_reader :invoices
@@ -109827,6 +110657,19 @@ module Stripe
109827
110657
  }
109828
110658
  def initialize(date: nil, ip: nil, user_agent: nil); end
109829
110659
  end
110660
+ class RegistrationDate < Stripe::RequestParams
110661
+ # The day of registration, between 1 and 31.
110662
+ sig { returns(Integer) }
110663
+ attr_accessor :day
110664
+ # The month of registration, between 1 and 12.
110665
+ sig { returns(Integer) }
110666
+ attr_accessor :month
110667
+ # The four-digit year of registration.
110668
+ sig { returns(Integer) }
110669
+ attr_accessor :year
110670
+ sig { params(day: Integer, month: Integer, year: Integer).void }
110671
+ def initialize(day: nil, month: nil, year: nil); end
110672
+ end
109830
110673
  class Verification < Stripe::RequestParams
109831
110674
  class Document < Stripe::RequestParams
109832
110675
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -109897,6 +110740,11 @@ module Stripe
109897
110740
  # The company's phone number (used for verification).
109898
110741
  sig { returns(T.nilable(String)) }
109899
110742
  attr_accessor :phone
110743
+ # Attribute for param field registration_date
110744
+ sig {
110745
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::UpdateParams::Company::RegistrationDate))))
110746
+ }
110747
+ attr_accessor :registration_date
109900
110748
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
109901
110749
  sig { returns(T.nilable(String)) }
109902
110750
  attr_accessor :registration_number
@@ -109916,7 +110764,7 @@ module Stripe
109916
110764
  sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::Verification)) }
109917
110765
  attr_accessor :verification
109918
110766
  sig {
109919
- params(address: T.nilable(::Stripe::AccountService::UpdateParams::Company::Address), address_kana: T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::AccountService::UpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::AccountService::UpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::AccountService::UpdateParams::Company::Verification)).void
110767
+ params(address: T.nilable(::Stripe::AccountService::UpdateParams::Company::Address), address_kana: T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::AccountService::UpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::AccountService::UpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_date: T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::UpdateParams::Company::RegistrationDate))), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::AccountService::UpdateParams::Company::Verification)).void
109920
110768
  }
109921
110769
  def initialize(
109922
110770
  address: nil,
@@ -109934,6 +110782,7 @@ module Stripe
109934
110782
  ownership_declaration: nil,
109935
110783
  ownership_exemption_reason: nil,
109936
110784
  phone: nil,
110785
+ registration_date: nil,
109937
110786
  registration_number: nil,
109938
110787
  structure: nil,
109939
110788
  tax_id: nil,
@@ -112112,6 +112961,19 @@ module Stripe
112112
112961
  }
112113
112962
  def initialize(date: nil, ip: nil, user_agent: nil); end
112114
112963
  end
112964
+ class RegistrationDate < Stripe::RequestParams
112965
+ # The day of registration, between 1 and 31.
112966
+ sig { returns(Integer) }
112967
+ attr_accessor :day
112968
+ # The month of registration, between 1 and 12.
112969
+ sig { returns(Integer) }
112970
+ attr_accessor :month
112971
+ # The four-digit year of registration.
112972
+ sig { returns(Integer) }
112973
+ attr_accessor :year
112974
+ sig { params(day: Integer, month: Integer, year: Integer).void }
112975
+ def initialize(day: nil, month: nil, year: nil); end
112976
+ end
112115
112977
  class Verification < Stripe::RequestParams
112116
112978
  class Document < Stripe::RequestParams
112117
112979
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -112182,6 +113044,11 @@ module Stripe
112182
113044
  # The company's phone number (used for verification).
112183
113045
  sig { returns(T.nilable(String)) }
112184
113046
  attr_accessor :phone
113047
+ # Attribute for param field registration_date
113048
+ sig {
113049
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::CreateParams::Company::RegistrationDate))))
113050
+ }
113051
+ attr_accessor :registration_date
112185
113052
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
112186
113053
  sig { returns(T.nilable(String)) }
112187
113054
  attr_accessor :registration_number
@@ -112201,7 +113068,7 @@ module Stripe
112201
113068
  sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Company::Verification)) }
112202
113069
  attr_accessor :verification
112203
113070
  sig {
112204
- params(address: T.nilable(::Stripe::AccountService::CreateParams::Company::Address), address_kana: T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::AccountService::CreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::AccountService::CreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::AccountService::CreateParams::Company::Verification)).void
113071
+ params(address: T.nilable(::Stripe::AccountService::CreateParams::Company::Address), address_kana: T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::AccountService::CreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::AccountService::CreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_date: T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::CreateParams::Company::RegistrationDate))), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::AccountService::CreateParams::Company::Verification)).void
112205
113072
  }
112206
113073
  def initialize(
112207
113074
  address: nil,
@@ -112219,6 +113086,7 @@ module Stripe
112219
113086
  ownership_declaration: nil,
112220
113087
  ownership_exemption_reason: nil,
112221
113088
  phone: nil,
113089
+ registration_date: nil,
112222
113090
  registration_number: nil,
112223
113091
  structure: nil,
112224
113092
  tax_id: nil,
@@ -113851,6 +114719,47 @@ module Stripe
113851
114719
  title: nil
113852
114720
  ); end
113853
114721
  end
114722
+ class UsCfpbData < Stripe::RequestParams
114723
+ class EthnicityDetails < Stripe::RequestParams
114724
+ # The persons ethnicity
114725
+ sig { returns(T.nilable(T::Array[String])) }
114726
+ attr_accessor :ethnicity
114727
+ # Please specify your origin, when other is selected.
114728
+ sig { returns(T.nilable(String)) }
114729
+ attr_accessor :ethnicity_other
114730
+ sig {
114731
+ params(ethnicity: T.nilable(T::Array[String]), ethnicity_other: T.nilable(String)).void
114732
+ }
114733
+ def initialize(ethnicity: nil, ethnicity_other: nil); end
114734
+ end
114735
+ class RaceDetails < Stripe::RequestParams
114736
+ # The persons race.
114737
+ sig { returns(T.nilable(T::Array[String])) }
114738
+ attr_accessor :race
114739
+ # Please specify your race, when other is selected.
114740
+ sig { returns(T.nilable(String)) }
114741
+ attr_accessor :race_other
114742
+ sig { params(race: T.nilable(T::Array[String]), race_other: T.nilable(String)).void }
114743
+ def initialize(race: nil, race_other: nil); end
114744
+ end
114745
+ # The persons ethnicity details
114746
+ sig {
114747
+ returns(T.nilable(::Stripe::AccountPersonService::UpdateParams::UsCfpbData::EthnicityDetails))
114748
+ }
114749
+ attr_accessor :ethnicity_details
114750
+ # The persons race details
114751
+ sig {
114752
+ returns(T.nilable(::Stripe::AccountPersonService::UpdateParams::UsCfpbData::RaceDetails))
114753
+ }
114754
+ attr_accessor :race_details
114755
+ # The persons self-identified gender
114756
+ sig { returns(T.nilable(String)) }
114757
+ attr_accessor :self_identified_gender
114758
+ sig {
114759
+ params(ethnicity_details: T.nilable(::Stripe::AccountPersonService::UpdateParams::UsCfpbData::EthnicityDetails), race_details: T.nilable(::Stripe::AccountPersonService::UpdateParams::UsCfpbData::RaceDetails), self_identified_gender: T.nilable(String)).void
114760
+ }
114761
+ def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end
114762
+ end
113854
114763
  class Verification < Stripe::RequestParams
113855
114764
  class AdditionalDocument < Stripe::RequestParams
113856
114765
  # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -113972,11 +114881,14 @@ module Stripe
113972
114881
  # The last four digits of the person's Social Security number (U.S. only).
113973
114882
  sig { returns(T.nilable(String)) }
113974
114883
  attr_accessor :ssn_last_4
114884
+ # Demographic data related to the person.
114885
+ sig { returns(T.nilable(::Stripe::AccountPersonService::UpdateParams::UsCfpbData)) }
114886
+ attr_accessor :us_cfpb_data
113975
114887
  # The person's verification status.
113976
114888
  sig { returns(T.nilable(::Stripe::AccountPersonService::UpdateParams::Verification)) }
113977
114889
  attr_accessor :verification
113978
114890
  sig {
113979
- params(additional_tos_acceptances: T.nilable(::Stripe::AccountPersonService::UpdateParams::AdditionalTosAcceptances), address: T.nilable(::Stripe::AccountPersonService::UpdateParams::Address), address_kana: T.nilable(::Stripe::AccountPersonService::UpdateParams::AddressKana), address_kanji: T.nilable(::Stripe::AccountPersonService::UpdateParams::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::AccountPersonService::UpdateParams::Dob))), documents: T.nilable(::Stripe::AccountPersonService::UpdateParams::Documents), email: T.nilable(String), expand: T.nilable(T::Array[String]), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), person_token: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::AccountPersonService::UpdateParams::RegisteredAddress), relationship: T.nilable(::Stripe::AccountPersonService::UpdateParams::Relationship), ssn_last_4: T.nilable(String), verification: T.nilable(::Stripe::AccountPersonService::UpdateParams::Verification)).void
114891
+ params(additional_tos_acceptances: T.nilable(::Stripe::AccountPersonService::UpdateParams::AdditionalTosAcceptances), address: T.nilable(::Stripe::AccountPersonService::UpdateParams::Address), address_kana: T.nilable(::Stripe::AccountPersonService::UpdateParams::AddressKana), address_kanji: T.nilable(::Stripe::AccountPersonService::UpdateParams::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::AccountPersonService::UpdateParams::Dob))), documents: T.nilable(::Stripe::AccountPersonService::UpdateParams::Documents), email: T.nilable(String), expand: T.nilable(T::Array[String]), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), person_token: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::AccountPersonService::UpdateParams::RegisteredAddress), relationship: T.nilable(::Stripe::AccountPersonService::UpdateParams::Relationship), ssn_last_4: T.nilable(String), us_cfpb_data: T.nilable(::Stripe::AccountPersonService::UpdateParams::UsCfpbData), verification: T.nilable(::Stripe::AccountPersonService::UpdateParams::Verification)).void
113980
114892
  }
113981
114893
  def initialize(
113982
114894
  additional_tos_acceptances: nil,
@@ -114006,6 +114918,7 @@ module Stripe
114006
114918
  registered_address: nil,
114007
114919
  relationship: nil,
114008
114920
  ssn_last_4: nil,
114921
+ us_cfpb_data: nil,
114009
114922
  verification: nil
114010
114923
  ); end
114011
114924
  end
@@ -114318,6 +115231,47 @@ module Stripe
114318
115231
  title: nil
114319
115232
  ); end
114320
115233
  end
115234
+ class UsCfpbData < Stripe::RequestParams
115235
+ class EthnicityDetails < Stripe::RequestParams
115236
+ # The persons ethnicity
115237
+ sig { returns(T.nilable(T::Array[String])) }
115238
+ attr_accessor :ethnicity
115239
+ # Please specify your origin, when other is selected.
115240
+ sig { returns(T.nilable(String)) }
115241
+ attr_accessor :ethnicity_other
115242
+ sig {
115243
+ params(ethnicity: T.nilable(T::Array[String]), ethnicity_other: T.nilable(String)).void
115244
+ }
115245
+ def initialize(ethnicity: nil, ethnicity_other: nil); end
115246
+ end
115247
+ class RaceDetails < Stripe::RequestParams
115248
+ # The persons race.
115249
+ sig { returns(T.nilable(T::Array[String])) }
115250
+ attr_accessor :race
115251
+ # Please specify your race, when other is selected.
115252
+ sig { returns(T.nilable(String)) }
115253
+ attr_accessor :race_other
115254
+ sig { params(race: T.nilable(T::Array[String]), race_other: T.nilable(String)).void }
115255
+ def initialize(race: nil, race_other: nil); end
115256
+ end
115257
+ # The persons ethnicity details
115258
+ sig {
115259
+ returns(T.nilable(::Stripe::AccountPersonService::CreateParams::UsCfpbData::EthnicityDetails))
115260
+ }
115261
+ attr_accessor :ethnicity_details
115262
+ # The persons race details
115263
+ sig {
115264
+ returns(T.nilable(::Stripe::AccountPersonService::CreateParams::UsCfpbData::RaceDetails))
115265
+ }
115266
+ attr_accessor :race_details
115267
+ # The persons self-identified gender
115268
+ sig { returns(T.nilable(String)) }
115269
+ attr_accessor :self_identified_gender
115270
+ sig {
115271
+ params(ethnicity_details: T.nilable(::Stripe::AccountPersonService::CreateParams::UsCfpbData::EthnicityDetails), race_details: T.nilable(::Stripe::AccountPersonService::CreateParams::UsCfpbData::RaceDetails), self_identified_gender: T.nilable(String)).void
115272
+ }
115273
+ def initialize(ethnicity_details: nil, race_details: nil, self_identified_gender: nil); end
115274
+ end
114321
115275
  class Verification < Stripe::RequestParams
114322
115276
  class AdditionalDocument < Stripe::RequestParams
114323
115277
  # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -114439,11 +115393,14 @@ module Stripe
114439
115393
  # The last four digits of the person's Social Security number (U.S. only).
114440
115394
  sig { returns(T.nilable(String)) }
114441
115395
  attr_accessor :ssn_last_4
115396
+ # Demographic data related to the person.
115397
+ sig { returns(T.nilable(::Stripe::AccountPersonService::CreateParams::UsCfpbData)) }
115398
+ attr_accessor :us_cfpb_data
114442
115399
  # The person's verification status.
114443
115400
  sig { returns(T.nilable(::Stripe::AccountPersonService::CreateParams::Verification)) }
114444
115401
  attr_accessor :verification
114445
115402
  sig {
114446
- params(additional_tos_acceptances: T.nilable(::Stripe::AccountPersonService::CreateParams::AdditionalTosAcceptances), address: T.nilable(::Stripe::AccountPersonService::CreateParams::Address), address_kana: T.nilable(::Stripe::AccountPersonService::CreateParams::AddressKana), address_kanji: T.nilable(::Stripe::AccountPersonService::CreateParams::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::AccountPersonService::CreateParams::Dob))), documents: T.nilable(::Stripe::AccountPersonService::CreateParams::Documents), email: T.nilable(String), expand: T.nilable(T::Array[String]), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), person_token: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::AccountPersonService::CreateParams::RegisteredAddress), relationship: T.nilable(::Stripe::AccountPersonService::CreateParams::Relationship), ssn_last_4: T.nilable(String), verification: T.nilable(::Stripe::AccountPersonService::CreateParams::Verification)).void
115403
+ params(additional_tos_acceptances: T.nilable(::Stripe::AccountPersonService::CreateParams::AdditionalTosAcceptances), address: T.nilable(::Stripe::AccountPersonService::CreateParams::Address), address_kana: T.nilable(::Stripe::AccountPersonService::CreateParams::AddressKana), address_kanji: T.nilable(::Stripe::AccountPersonService::CreateParams::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::AccountPersonService::CreateParams::Dob))), documents: T.nilable(::Stripe::AccountPersonService::CreateParams::Documents), email: T.nilable(String), expand: T.nilable(T::Array[String]), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), person_token: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::AccountPersonService::CreateParams::RegisteredAddress), relationship: T.nilable(::Stripe::AccountPersonService::CreateParams::Relationship), ssn_last_4: T.nilable(String), us_cfpb_data: T.nilable(::Stripe::AccountPersonService::CreateParams::UsCfpbData), verification: T.nilable(::Stripe::AccountPersonService::CreateParams::Verification)).void
114447
115404
  }
114448
115405
  def initialize(
114449
115406
  additional_tos_acceptances: nil,
@@ -114473,6 +115430,7 @@ module Stripe
114473
115430
  registered_address: nil,
114474
115431
  relationship: nil,
114475
115432
  ssn_last_4: nil,
115433
+ us_cfpb_data: nil,
114476
115434
  verification: nil
114477
115435
  ); end
114478
115436
  end
@@ -118746,6 +119704,9 @@ module Stripe
118746
119704
  # Car rental details for this PaymentIntent.
118747
119705
  sig { returns(T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental)) }
118748
119706
  attr_accessor :car_rental
119707
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
119708
+ sig { returns(T.nilable(T.nilable(String))) }
119709
+ attr_accessor :customer_reference
118749
119710
  # Event details for this PaymentIntent
118750
119711
  sig {
118751
119712
  returns(T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails))
@@ -118757,19 +119718,24 @@ module Stripe
118757
119718
  # Lodging reservation details for this PaymentIntent
118758
119719
  sig { returns(T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging)) }
118759
119720
  attr_accessor :lodging
119721
+ # A unique value assigned by the business to identify the transaction.
119722
+ sig { returns(T.nilable(T.nilable(String))) }
119723
+ attr_accessor :order_reference
118760
119724
  # Subscription details for this PaymentIntent
118761
119725
  sig {
118762
119726
  returns(T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription))
118763
119727
  }
118764
119728
  attr_accessor :subscription
118765
119729
  sig {
118766
- params(car_rental: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription)).void
119730
+ params(car_rental: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription)).void
118767
119731
  }
118768
119732
  def initialize(
118769
119733
  car_rental: nil,
119734
+ customer_reference: nil,
118770
119735
  event_details: nil,
118771
119736
  flight: nil,
118772
119737
  lodging: nil,
119738
+ order_reference: nil,
118773
119739
  subscription: nil
118774
119740
  ); end
118775
119741
  end
@@ -119564,6 +120530,9 @@ module Stripe
119564
120530
  returns(T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental))
119565
120531
  }
119566
120532
  attr_accessor :car_rental
120533
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
120534
+ sig { returns(T.nilable(T.nilable(String))) }
120535
+ attr_accessor :customer_reference
119567
120536
  # Event details for this PaymentIntent
119568
120537
  sig {
119569
120538
  returns(T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails))
@@ -119575,19 +120544,24 @@ module Stripe
119575
120544
  # Lodging reservation details for this PaymentIntent
119576
120545
  sig { returns(T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging)) }
119577
120546
  attr_accessor :lodging
120547
+ # A unique value assigned by the business to identify the transaction.
120548
+ sig { returns(T.nilable(T.nilable(String))) }
120549
+ attr_accessor :order_reference
119578
120550
  # Subscription details for this PaymentIntent
119579
120551
  sig {
119580
120552
  returns(T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription))
119581
120553
  }
119582
120554
  attr_accessor :subscription
119583
120555
  sig {
119584
- params(car_rental: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription)).void
120556
+ params(car_rental: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription)).void
119585
120557
  }
119586
120558
  def initialize(
119587
120559
  car_rental: nil,
120560
+ customer_reference: nil,
119588
120561
  event_details: nil,
119589
120562
  flight: nil,
119590
120563
  lodging: nil,
120564
+ order_reference: nil,
119591
120565
  subscription: nil
119592
120566
  ); end
119593
120567
  end
@@ -122051,7 +123025,7 @@ module Stripe
122051
123025
  # other characteristics.
122052
123026
  sig { returns(T.nilable(T::Array[String])) }
122053
123027
  attr_accessor :payment_method_types
122054
- # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.
123028
+ # This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions.
122055
123029
  #
122056
123030
  # For specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.
122057
123031
  sig { returns(T.nilable(::Stripe::Checkout::SessionService::CreateParams::Permissions)) }
@@ -122252,6 +123226,82 @@ module Stripe
122252
123226
  }
122253
123227
  def initialize(enabled: nil, maximum: nil, minimum: nil); end
122254
123228
  end
123229
+ class PriceData < Stripe::RequestParams
123230
+ class ProductData < Stripe::RequestParams
123231
+ # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
123232
+ sig { returns(T.nilable(String)) }
123233
+ attr_accessor :description
123234
+ # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
123235
+ sig { returns(T.nilable(T::Array[String])) }
123236
+ attr_accessor :images
123237
+ # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
123238
+ sig { returns(T.nilable(T::Hash[String, String])) }
123239
+ attr_accessor :metadata
123240
+ # The product's name, meant to be displayable to the customer.
123241
+ sig { returns(String) }
123242
+ attr_accessor :name
123243
+ # A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
123244
+ sig { returns(T.nilable(String)) }
123245
+ attr_accessor :tax_code
123246
+ sig {
123247
+ params(description: T.nilable(String), images: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), name: String, tax_code: T.nilable(String)).void
123248
+ }
123249
+ def initialize(
123250
+ description: nil,
123251
+ images: nil,
123252
+ metadata: nil,
123253
+ name: nil,
123254
+ tax_code: nil
123255
+ ); end
123256
+ end
123257
+ class Recurring < Stripe::RequestParams
123258
+ # Specifies billing frequency. Either `day`, `week`, `month` or `year`.
123259
+ sig { returns(String) }
123260
+ attr_accessor :interval
123261
+ # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
123262
+ sig { returns(T.nilable(Integer)) }
123263
+ attr_accessor :interval_count
123264
+ sig { params(interval: String, interval_count: T.nilable(Integer)).void }
123265
+ def initialize(interval: nil, interval_count: nil); end
123266
+ end
123267
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
123268
+ sig { returns(String) }
123269
+ attr_accessor :currency
123270
+ # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required.
123271
+ sig { returns(T.nilable(String)) }
123272
+ attr_accessor :product
123273
+ # Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.
123274
+ sig {
123275
+ returns(T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData::ProductData))
123276
+ }
123277
+ attr_accessor :product_data
123278
+ # The recurring components of a price such as `interval` and `interval_count`.
123279
+ sig {
123280
+ returns(T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData::Recurring))
123281
+ }
123282
+ attr_accessor :recurring
123283
+ # Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
123284
+ sig { returns(T.nilable(String)) }
123285
+ attr_accessor :tax_behavior
123286
+ # A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
123287
+ sig { returns(T.nilable(Integer)) }
123288
+ attr_accessor :unit_amount
123289
+ # Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
123290
+ sig { returns(T.nilable(String)) }
123291
+ attr_accessor :unit_amount_decimal
123292
+ sig {
123293
+ params(currency: String, product: T.nilable(String), product_data: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData::ProductData), recurring: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData::Recurring), tax_behavior: T.nilable(String), unit_amount: T.nilable(Integer), unit_amount_decimal: T.nilable(String)).void
123294
+ }
123295
+ def initialize(
123296
+ currency: nil,
123297
+ product: nil,
123298
+ product_data: nil,
123299
+ recurring: nil,
123300
+ tax_behavior: nil,
123301
+ unit_amount: nil,
123302
+ unit_amount_decimal: nil
123303
+ ); end
123304
+ end
122255
123305
  # When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
122256
123306
  sig {
122257
123307
  returns(T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity))
@@ -122263,23 +123313,29 @@ module Stripe
122263
123313
  # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
122264
123314
  sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) }
122265
123315
  attr_accessor :metadata
122266
- # The ID of the [Price](https://stripe.com/docs/api/prices).
123316
+ # The ID of the [Price](https://stripe.com/docs/api/prices). One of `price` or `price_data` is required when creating a new line item.
122267
123317
  sig { returns(T.nilable(String)) }
122268
123318
  attr_accessor :price
123319
+ # Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required when creating a new line item.
123320
+ sig {
123321
+ returns(T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData))
123322
+ }
123323
+ attr_accessor :price_data
122269
123324
  # The quantity of the line item being purchased.
122270
- sig { returns(T.nilable(Integer)) }
123325
+ sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
122271
123326
  attr_accessor :quantity
122272
123327
  # The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
122273
123328
  sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
122274
123329
  attr_accessor :tax_rates
122275
123330
  sig {
122276
- params(adjustable_quantity: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), quantity: T.nilable(Integer), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
123331
+ params(adjustable_quantity: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::AdjustableQuantity), id: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), price: T.nilable(String), price_data: T.nilable(::Stripe::Checkout::SessionService::UpdateParams::LineItem::PriceData), quantity: T.nilable(T.nilable(T.any(String, Integer))), tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String])))).void
122277
123332
  }
122278
123333
  def initialize(
122279
123334
  adjustable_quantity: nil,
122280
123335
  id: nil,
122281
123336
  metadata: nil,
122282
123337
  price: nil,
123338
+ price_data: nil,
122283
123339
  quantity: nil,
122284
123340
  tax_rates: nil
122285
123341
  ); end
@@ -122400,7 +123456,7 @@ module Stripe
122400
123456
  }
122401
123457
  def initialize(shipping_rate: nil, shipping_rate_data: nil); end
122402
123458
  end
122403
- # Information about the customer collected within the Checkout Session.
123459
+ # Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.
122404
123460
  sig {
122405
123461
  returns(T.nilable(::Stripe::Checkout::SessionService::UpdateParams::CollectedInformation))
122406
123462
  }
@@ -122885,10 +123941,13 @@ module Stripe
122885
123941
  # Billing phone number (including extension).
122886
123942
  sig { returns(T.nilable(T.nilable(String))) }
122887
123943
  attr_accessor :phone
123944
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
123945
+ sig { returns(T.nilable(String)) }
123946
+ attr_accessor :tax_id
122888
123947
  sig {
122889
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
123948
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
122890
123949
  }
122891
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
123950
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
122892
123951
  end
122893
123952
  class Blik < Stripe::RequestParams
122894
123953
 
@@ -126311,6 +127370,16 @@ module Stripe
126311
127370
  sig { params(amount_off: Integer).void }
126312
127371
  def initialize(amount_off: nil); end
126313
127372
  end
127373
+ class Script < Stripe::RequestParams
127374
+ # The configuration values of the script. The keys and values are specific to the script implementation.
127375
+ sig { returns(T::Hash[String, T.untyped]) }
127376
+ attr_accessor :configuration
127377
+ # The script implementation ID for this coupon.
127378
+ sig { returns(String) }
127379
+ attr_accessor :id
127380
+ sig { params(configuration: T::Hash[String, T.untyped], id: String).void }
127381
+ def initialize(configuration: nil, id: nil); end
127382
+ end
126314
127383
  # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
126315
127384
  sig { returns(T.nilable(Integer)) }
126316
127385
  attr_accessor :amount_off
@@ -126352,8 +127421,11 @@ module Stripe
126352
127421
  # Unix timestamp specifying the last time at which the coupon can be redeemed. After the redeem_by date, the coupon can no longer be applied to new customers.
126353
127422
  sig { returns(T.nilable(Integer)) }
126354
127423
  attr_accessor :redeem_by
127424
+ # Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
127425
+ sig { returns(T.nilable(::Stripe::CouponService::CreateParams::Script)) }
127426
+ attr_accessor :script
126355
127427
  sig {
126356
- params(amount_off: T.nilable(Integer), applies_to: T.nilable(::Stripe::CouponService::CreateParams::AppliesTo), currency: T.nilable(String), currency_options: T.nilable(T::Hash[String, ::Stripe::CouponService::CreateParams::CurrencyOptions]), duration: T.nilable(String), duration_in_months: T.nilable(Integer), expand: T.nilable(T::Array[String]), id: T.nilable(String), max_redemptions: T.nilable(Integer), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), name: T.nilable(String), percent_off: T.nilable(Float), redeem_by: T.nilable(Integer)).void
127428
+ params(amount_off: T.nilable(Integer), applies_to: T.nilable(::Stripe::CouponService::CreateParams::AppliesTo), currency: T.nilable(String), currency_options: T.nilable(T::Hash[String, ::Stripe::CouponService::CreateParams::CurrencyOptions]), duration: T.nilable(String), duration_in_months: T.nilable(Integer), expand: T.nilable(T::Array[String]), id: T.nilable(String), max_redemptions: T.nilable(Integer), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), name: T.nilable(String), percent_off: T.nilable(Float), redeem_by: T.nilable(Integer), script: T.nilable(::Stripe::CouponService::CreateParams::Script)).void
126357
127429
  }
126358
127430
  def initialize(
126359
127431
  amount_off: nil,
@@ -126368,7 +127440,8 @@ module Stripe
126368
127440
  metadata: nil,
126369
127441
  name: nil,
126370
127442
  percent_off: nil,
126371
- redeem_by: nil
127443
+ redeem_by: nil,
127444
+ script: nil
126372
127445
  ); end
126373
127446
  end
126374
127447
  # You can create coupons easily via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.
@@ -129949,6 +131022,120 @@ module Stripe
129949
131022
  end
129950
131023
  end
129951
131024
  # typed: true
131025
+ module Stripe
131026
+ class FxQuoteService < StripeService
131027
+ class ListParams < Stripe::RequestParams
131028
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
131029
+ sig { returns(T.nilable(String)) }
131030
+ attr_accessor :ending_before
131031
+ # Specifies which fields in the response should be expanded.
131032
+ sig { returns(T.nilable(T::Array[String])) }
131033
+ attr_accessor :expand
131034
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
131035
+ sig { returns(T.nilable(Integer)) }
131036
+ attr_accessor :limit
131037
+ # 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.
131038
+ sig { returns(T.nilable(String)) }
131039
+ attr_accessor :starting_after
131040
+ sig {
131041
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
131042
+ }
131043
+ def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
131044
+ end
131045
+ class CreateParams < Stripe::RequestParams
131046
+ class Usage < Stripe::RequestParams
131047
+ class Payment < Stripe::RequestParams
131048
+ # The Stripe account ID that the funds will be transferred to.
131049
+ #
131050
+ # This field should match the account ID that would be used in the PaymentIntent’s transfer_data[destination] field.
131051
+ sig { returns(T.nilable(String)) }
131052
+ attr_accessor :destination
131053
+ # The Stripe account ID that these funds are intended for.
131054
+ #
131055
+ # This field should match the account ID that would be used in the PaymentIntent’s on_behalf_of field.
131056
+ sig { returns(T.nilable(String)) }
131057
+ attr_accessor :on_behalf_of
131058
+ sig { params(destination: T.nilable(String), on_behalf_of: T.nilable(String)).void }
131059
+ def initialize(destination: nil, on_behalf_of: nil); end
131060
+ end
131061
+ class Transfer < Stripe::RequestParams
131062
+ # The Stripe account ID that the funds will be transferred to.
131063
+ #
131064
+ # This field should match the account ID that would be used in the Transfer’s destination field.
131065
+ sig { returns(String) }
131066
+ attr_accessor :destination
131067
+ sig { params(destination: String).void }
131068
+ def initialize(destination: nil); end
131069
+ end
131070
+ # The payment transaction details that are intended for the FX Quote.
131071
+ sig { returns(T.nilable(::Stripe::FxQuoteService::CreateParams::Usage::Payment)) }
131072
+ attr_accessor :payment
131073
+ # The transfer transaction details that are intended for the FX Quote.
131074
+ sig { returns(T.nilable(::Stripe::FxQuoteService::CreateParams::Usage::Transfer)) }
131075
+ attr_accessor :transfer
131076
+ # Which transaction the FX Quote will be used for
131077
+ #
131078
+ # Can be “payment” | “transfer”
131079
+ sig { returns(String) }
131080
+ attr_accessor :type
131081
+ sig {
131082
+ params(payment: T.nilable(::Stripe::FxQuoteService::CreateParams::Usage::Payment), transfer: T.nilable(::Stripe::FxQuoteService::CreateParams::Usage::Transfer), type: String).void
131083
+ }
131084
+ def initialize(payment: nil, transfer: nil, type: nil); end
131085
+ end
131086
+ # Specifies which fields in the response should be expanded.
131087
+ sig { returns(T.nilable(T::Array[String])) }
131088
+ attr_accessor :expand
131089
+ # A list of three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be [supported currencies](https://stripe.com/docs/currencies).
131090
+ sig { returns(T::Array[String]) }
131091
+ attr_accessor :from_currencies
131092
+ # The duration that you wish the quote to be locked for. The quote will be usable for the duration specified. The default is `none`. The maximum is 1 day.
131093
+ sig { returns(String) }
131094
+ attr_accessor :lock_duration
131095
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
131096
+ sig { returns(String) }
131097
+ attr_accessor :to_currency
131098
+ # The usage specific information for the quote.
131099
+ sig { returns(T.nilable(::Stripe::FxQuoteService::CreateParams::Usage)) }
131100
+ attr_accessor :usage
131101
+ sig {
131102
+ params(expand: T.nilable(T::Array[String]), from_currencies: T::Array[String], lock_duration: String, to_currency: String, usage: T.nilable(::Stripe::FxQuoteService::CreateParams::Usage)).void
131103
+ }
131104
+ def initialize(
131105
+ expand: nil,
131106
+ from_currencies: nil,
131107
+ lock_duration: nil,
131108
+ to_currency: nil,
131109
+ usage: nil
131110
+ ); end
131111
+ end
131112
+ class RetrieveParams < Stripe::RequestParams
131113
+ # Specifies which fields in the response should be expanded.
131114
+ sig { returns(T.nilable(T::Array[String])) }
131115
+ attr_accessor :expand
131116
+ sig { params(expand: T.nilable(T::Array[String])).void }
131117
+ def initialize(expand: nil); end
131118
+ end
131119
+ # Creates an FX Quote object
131120
+ sig {
131121
+ params(params: T.any(::Stripe::FxQuoteService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote)
131122
+ }
131123
+ def create(params = {}, opts = {}); end
131124
+
131125
+ # Returns a list of FX quotes that have been issued. The FX quotes are returned in sorted order, with the most recent FX quotes appearing first.
131126
+ sig {
131127
+ params(params: T.any(::Stripe::FxQuoteService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
131128
+ }
131129
+ def list(params = {}, opts = {}); end
131130
+
131131
+ # Retrieve an FX Quote object
131132
+ sig {
131133
+ params(id: String, params: T.any(::Stripe::FxQuoteService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::FxQuote)
131134
+ }
131135
+ def retrieve(id, params = {}, opts = {}); end
131136
+ end
131137
+ end
131138
+ # typed: true
129952
131139
  module Stripe
129953
131140
  class GiftCardsService < StripeService
129954
131141
  attr_reader :cards
@@ -130689,7 +131876,6 @@ end
130689
131876
  # typed: true
130690
131877
  module Stripe
130691
131878
  class InvoiceService < StripeService
130692
- attr_reader :payments
130693
131879
  attr_reader :line_items
130694
131880
  class DeleteParams < Stripe::RequestParams
130695
131881
 
@@ -132516,21 +133702,6 @@ module Stripe
132516
133702
  payment_record_data: nil
132517
133703
  ); end
132518
133704
  end
132519
- class AttachPaymentIntentParams < Stripe::RequestParams
132520
- # The portion of the PaymentIntent’s `amount` that should be applied to thisinvoice. Defaults to the entire amount.
132521
- sig { returns(T.nilable(Integer)) }
132522
- attr_accessor :amount_requested
132523
- # Specifies which fields in the response should be expanded.
132524
- sig { returns(T.nilable(T::Array[String])) }
132525
- attr_accessor :expand
132526
- # The ID of the PaymentIntent to attach to the invoice.
132527
- sig { returns(String) }
132528
- attr_accessor :payment_intent
132529
- sig {
132530
- params(amount_requested: T.nilable(Integer), expand: T.nilable(T::Array[String]), payment_intent: String).void
132531
- }
132532
- def initialize(amount_requested: nil, expand: nil, payment_intent: nil); end
132533
- end
132534
133705
  class FinalizeInvoiceParams < Stripe::RequestParams
132535
133706
  # Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.
132536
133707
  sig { returns(T.nilable(T::Boolean)) }
@@ -134673,20 +135844,6 @@ module Stripe
134673
135844
  }
134674
135845
  def attach_payment(invoice, params = {}, opts = {}); end
134675
135846
 
134676
- # Attaches a PaymentIntent to the invoice, adding it to the list of payments.
134677
- # When the PaymentIntent's status changes to succeeded, the payment is credited
134678
- # to the invoice, increasing its amount_paid. When the invoice is fully paid, the
134679
- # invoice's status becomes paid.
134680
- #
134681
- # If the PaymentIntent's status is already succeeded when it is attached, it is
134682
- # credited to the invoice immediately.
134683
- #
134684
- # Related guide: [Create an invoice payment](https://stripe.com/docs/invoicing/payments/create)
134685
- sig {
134686
- params(invoice: String, params: T.any(::Stripe::InvoiceService::AttachPaymentIntentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice)
134687
- }
134688
- def attach_payment_intent(invoice, params = {}, opts = {}); end
134689
-
134690
135847
  # This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
134691
135848
  sig {
134692
135849
  params(params: T.any(::Stripe::InvoiceService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Invoice)
@@ -134791,47 +135948,6 @@ module Stripe
134791
135948
  end
134792
135949
  end
134793
135950
  # typed: true
134794
- module Stripe
134795
- class InvoicePaymentService < StripeService
134796
- class ListParams < Stripe::RequestParams
134797
- # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
134798
- sig { returns(T.nilable(String)) }
134799
- attr_accessor :ending_before
134800
- # Specifies which fields in the response should be expanded.
134801
- sig { returns(T.nilable(T::Array[String])) }
134802
- attr_accessor :expand
134803
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
134804
- sig { returns(T.nilable(Integer)) }
134805
- attr_accessor :limit
134806
- # 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.
134807
- sig { returns(T.nilable(String)) }
134808
- attr_accessor :starting_after
134809
- sig {
134810
- params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
134811
- }
134812
- def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
134813
- end
134814
- class RetrieveParams < Stripe::RequestParams
134815
- # Specifies which fields in the response should be expanded.
134816
- sig { returns(T.nilable(T::Array[String])) }
134817
- attr_accessor :expand
134818
- sig { params(expand: T.nilable(T::Array[String])).void }
134819
- def initialize(expand: nil); end
134820
- end
134821
- # When retrieving an invoice, there is an includable payments property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of payments.
134822
- sig {
134823
- params(invoice: String, params: T.any(::Stripe::InvoicePaymentService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
134824
- }
134825
- def list(invoice, params = {}, opts = {}); end
134826
-
134827
- # Retrieves the invoice payment with the given ID.
134828
- sig {
134829
- params(invoice: String, invoice_payment: String, params: T.any(::Stripe::InvoicePaymentService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::InvoicePayment)
134830
- }
134831
- def retrieve(invoice, invoice_payment, params = {}, opts = {}); end
134832
- end
134833
- end
134834
- # typed: true
134835
135951
  module Stripe
134836
135952
  class InvoiceLineItemService < StripeService
134837
135953
  class ListParams < Stripe::RequestParams
@@ -141271,6 +142387,7 @@ end
141271
142387
  # typed: true
141272
142388
  module Stripe
141273
142389
  class PaymentIntentService < StripeService
142390
+ attr_reader :amount_details_line_items
141274
142391
  class ListParams < Stripe::RequestParams
141275
142392
  class Created < Stripe::RequestParams
141276
142393
  # Minimum value to filter by (exclusive)
@@ -142092,6 +143209,9 @@ module Stripe
142092
143209
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental))
142093
143210
  }
142094
143211
  attr_accessor :car_rental
143212
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
143213
+ sig { returns(T.nilable(T.nilable(String))) }
143214
+ attr_accessor :customer_reference
142095
143215
  # Event details for this PaymentIntent
142096
143216
  sig {
142097
143217
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::EventDetails))
@@ -142107,19 +143227,24 @@ module Stripe
142107
143227
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Lodging))
142108
143228
  }
142109
143229
  attr_accessor :lodging
143230
+ # A unique value assigned by the business to identify the transaction.
143231
+ sig { returns(T.nilable(T.nilable(String))) }
143232
+ attr_accessor :order_reference
142110
143233
  # Subscription details for this PaymentIntent
142111
143234
  sig {
142112
143235
  returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Subscription))
142113
143236
  }
142114
143237
  attr_accessor :subscription
142115
143238
  sig {
142116
- params(car_rental: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Subscription)).void
143239
+ params(car_rental: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails::Subscription)).void
142117
143240
  }
142118
143241
  def initialize(
142119
143242
  car_rental: nil,
143243
+ customer_reference: nil,
142120
143244
  event_details: nil,
142121
143245
  flight: nil,
142122
143246
  lodging: nil,
143247
+ order_reference: nil,
142123
143248
  subscription: nil
142124
143249
  ); end
142125
143250
  end
@@ -142226,10 +143351,13 @@ module Stripe
142226
143351
  # Billing phone number (including extension).
142227
143352
  sig { returns(T.nilable(T.nilable(String))) }
142228
143353
  attr_accessor :phone
143354
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
143355
+ sig { returns(T.nilable(String)) }
143356
+ attr_accessor :tax_id
142229
143357
  sig {
142230
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
143358
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
142231
143359
  }
142232
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
143360
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
142233
143361
  end
142234
143362
  class Blik < Stripe::RequestParams
142235
143363
 
@@ -144981,6 +146109,9 @@ module Stripe
144981
146109
  # Specifies which fields in the response should be expanded.
144982
146110
  sig { returns(T.nilable(T::Array[String])) }
144983
146111
  attr_accessor :expand
146112
+ # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
146113
+ sig { returns(T.nilable(String)) }
146114
+ attr_accessor :fx_quote
144984
146115
  # ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
144985
146116
  sig { returns(T.nilable(String)) }
144986
146117
  attr_accessor :mandate
@@ -145063,7 +146194,7 @@ module Stripe
145063
146194
  sig { returns(T.nilable(T::Boolean)) }
145064
146195
  attr_accessor :use_stripe_sdk
145065
146196
  sig {
145066
- params(amount: Integer, application_fee_amount: T.nilable(Integer), async_workflows: T.nilable(::Stripe::PaymentIntentService::CreateParams::AsyncWorkflows), automatic_payment_methods: T.nilable(::Stripe::PaymentIntentService::CreateParams::AutomaticPaymentMethods), capture_method: T.nilable(String), confirm: T.nilable(T::Boolean), confirmation_method: T.nilable(String), confirmation_token: T.nilable(String), currency: String, customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::MandateData))), metadata: T.nilable(T::Hash[String, String]), off_session: T.nilable(T.any(T::Boolean, String)), on_behalf_of: T.nilable(String), payment_details: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntentService::CreateParams::RadarOptions), receipt_email: T.nilable(String), return_url: T.nilable(String), secret_key_confirmation: T.nilable(String), setup_future_usage: T.nilable(String), shipping: T.nilable(::Stripe::PaymentIntentService::CreateParams::Shipping), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntentService::CreateParams::TransferData), transfer_group: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void
146197
+ params(amount: Integer, application_fee_amount: T.nilable(Integer), async_workflows: T.nilable(::Stripe::PaymentIntentService::CreateParams::AsyncWorkflows), automatic_payment_methods: T.nilable(::Stripe::PaymentIntentService::CreateParams::AutomaticPaymentMethods), capture_method: T.nilable(String), confirm: T.nilable(T::Boolean), confirmation_method: T.nilable(String), confirmation_token: T.nilable(String), currency: String, customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::MandateData))), metadata: T.nilable(T::Hash[String, String]), off_session: T.nilable(T.any(T::Boolean, String)), on_behalf_of: T.nilable(String), payment_details: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentDetails), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntentService::CreateParams::RadarOptions), receipt_email: T.nilable(String), return_url: T.nilable(String), secret_key_confirmation: T.nilable(String), setup_future_usage: T.nilable(String), shipping: T.nilable(::Stripe::PaymentIntentService::CreateParams::Shipping), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntentService::CreateParams::TransferData), transfer_group: T.nilable(String), use_stripe_sdk: T.nilable(T::Boolean)).void
145067
146198
  }
145068
146199
  def initialize(
145069
146200
  amount: nil,
@@ -145080,6 +146211,7 @@ module Stripe
145080
146211
  description: nil,
145081
146212
  error_on_requires_action: nil,
145082
146213
  expand: nil,
146214
+ fx_quote: nil,
145083
146215
  mandate: nil,
145084
146216
  mandate_data: nil,
145085
146217
  metadata: nil,
@@ -145857,6 +146989,9 @@ module Stripe
145857
146989
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental))
145858
146990
  }
145859
146991
  attr_accessor :car_rental
146992
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
146993
+ sig { returns(T.nilable(T.nilable(String))) }
146994
+ attr_accessor :customer_reference
145860
146995
  # Event details for this PaymentIntent
145861
146996
  sig {
145862
146997
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::EventDetails))
@@ -145872,19 +147007,24 @@ module Stripe
145872
147007
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Lodging))
145873
147008
  }
145874
147009
  attr_accessor :lodging
147010
+ # A unique value assigned by the business to identify the transaction.
147011
+ sig { returns(T.nilable(T.nilable(String))) }
147012
+ attr_accessor :order_reference
145875
147013
  # Subscription details for this PaymentIntent
145876
147014
  sig {
145877
147015
  returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Subscription))
145878
147016
  }
145879
147017
  attr_accessor :subscription
145880
147018
  sig {
145881
- params(car_rental: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Subscription)).void
147019
+ params(car_rental: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentDetails::Subscription)).void
145882
147020
  }
145883
147021
  def initialize(
145884
147022
  car_rental: nil,
147023
+ customer_reference: nil,
145885
147024
  event_details: nil,
145886
147025
  flight: nil,
145887
147026
  lodging: nil,
147027
+ order_reference: nil,
145888
147028
  subscription: nil
145889
147029
  ); end
145890
147030
  end
@@ -145991,10 +147131,13 @@ module Stripe
145991
147131
  # Billing phone number (including extension).
145992
147132
  sig { returns(T.nilable(T.nilable(String))) }
145993
147133
  attr_accessor :phone
147134
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
147135
+ sig { returns(T.nilable(String)) }
147136
+ attr_accessor :tax_id
145994
147137
  sig {
145995
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
147138
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
145996
147139
  }
145997
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
147140
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
145998
147141
  end
145999
147142
  class Blik < Stripe::RequestParams
146000
147143
 
@@ -148708,6 +149851,9 @@ module Stripe
148708
149851
  # Specifies which fields in the response should be expanded.
148709
149852
  sig { returns(T.nilable(T::Array[String])) }
148710
149853
  attr_accessor :expand
149854
+ # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
149855
+ sig { returns(T.nilable(String)) }
149856
+ attr_accessor :fx_quote
148711
149857
  # This hash contains details about the Mandate to create.
148712
149858
  sig { returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::MandateData)) }
148713
149859
  attr_accessor :mandate_data
@@ -148770,7 +149916,7 @@ module Stripe
148770
149916
  sig { returns(T.nilable(String)) }
148771
149917
  attr_accessor :transfer_group
148772
149918
  sig {
148773
- params(amount: T.nilable(Integer), application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntentService::UpdateParams::AsyncWorkflows), capture_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), mandate_data: T.nilable(::Stripe::PaymentIntentService::UpdateParams::MandateData), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), receipt_email: T.nilable(T.nilable(String)), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::Shipping))), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntentService::UpdateParams::TransferData), transfer_group: T.nilable(String)).void
149919
+ params(amount: T.nilable(Integer), application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntentService::UpdateParams::AsyncWorkflows), capture_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), description: T.nilable(String), expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), mandate_data: T.nilable(::Stripe::PaymentIntentService::UpdateParams::MandateData), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_configuration: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), receipt_email: T.nilable(T.nilable(String)), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::Shipping))), statement_descriptor: T.nilable(String), statement_descriptor_suffix: T.nilable(String), transfer_data: T.nilable(::Stripe::PaymentIntentService::UpdateParams::TransferData), transfer_group: T.nilable(String)).void
148774
149920
  }
148775
149921
  def initialize(
148776
149922
  amount: nil,
@@ -148782,6 +149928,7 @@ module Stripe
148782
149928
  customer_account: nil,
148783
149929
  description: nil,
148784
149930
  expand: nil,
149931
+ fx_quote: nil,
148785
149932
  mandate_data: nil,
148786
149933
  metadata: nil,
148787
149934
  payment_details: nil,
@@ -149556,6 +150703,9 @@ module Stripe
149556
150703
  returns(T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental))
149557
150704
  }
149558
150705
  attr_accessor :car_rental
150706
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
150707
+ sig { returns(T.nilable(T.nilable(String))) }
150708
+ attr_accessor :customer_reference
149559
150709
  # Event details for this PaymentIntent
149560
150710
  sig {
149561
150711
  returns(T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::EventDetails))
@@ -149571,19 +150721,24 @@ module Stripe
149571
150721
  returns(T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Lodging))
149572
150722
  }
149573
150723
  attr_accessor :lodging
150724
+ # A unique value assigned by the business to identify the transaction.
150725
+ sig { returns(T.nilable(T.nilable(String))) }
150726
+ attr_accessor :order_reference
149574
150727
  # Subscription details for this PaymentIntent
149575
150728
  sig {
149576
150729
  returns(T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Subscription))
149577
150730
  }
149578
150731
  attr_accessor :subscription
149579
150732
  sig {
149580
- params(car_rental: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Subscription)).void
150733
+ params(car_rental: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntentService::CaptureParams::PaymentDetails::Subscription)).void
149581
150734
  }
149582
150735
  def initialize(
149583
150736
  car_rental: nil,
150737
+ customer_reference: nil,
149584
150738
  event_details: nil,
149585
150739
  flight: nil,
149586
150740
  lodging: nil,
150741
+ order_reference: nil,
149587
150742
  subscription: nil
149588
150743
  ); end
149589
150744
  end
@@ -150399,6 +151554,9 @@ module Stripe
150399
151554
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental))
150400
151555
  }
150401
151556
  attr_accessor :car_rental
151557
+ # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
151558
+ sig { returns(T.nilable(T.nilable(String))) }
151559
+ attr_accessor :customer_reference
150402
151560
  # Event details for this PaymentIntent
150403
151561
  sig {
150404
151562
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::EventDetails))
@@ -150414,19 +151572,24 @@ module Stripe
150414
151572
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Lodging))
150415
151573
  }
150416
151574
  attr_accessor :lodging
151575
+ # A unique value assigned by the business to identify the transaction.
151576
+ sig { returns(T.nilable(T.nilable(String))) }
151577
+ attr_accessor :order_reference
150417
151578
  # Subscription details for this PaymentIntent
150418
151579
  sig {
150419
151580
  returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Subscription))
150420
151581
  }
150421
151582
  attr_accessor :subscription
150422
151583
  sig {
150423
- params(car_rental: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental), event_details: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Lodging), subscription: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Subscription)).void
151584
+ params(car_rental: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::CarRental), customer_reference: T.nilable(T.nilable(String)), event_details: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::EventDetails), flight: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Flight), lodging: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Lodging), order_reference: T.nilable(T.nilable(String)), subscription: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails::Subscription)).void
150424
151585
  }
150425
151586
  def initialize(
150426
151587
  car_rental: nil,
151588
+ customer_reference: nil,
150427
151589
  event_details: nil,
150428
151590
  flight: nil,
150429
151591
  lodging: nil,
151592
+ order_reference: nil,
150430
151593
  subscription: nil
150431
151594
  ); end
150432
151595
  end
@@ -150533,10 +151696,13 @@ module Stripe
150533
151696
  # Billing phone number (including extension).
150534
151697
  sig { returns(T.nilable(T.nilable(String))) }
150535
151698
  attr_accessor :phone
151699
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
151700
+ sig { returns(T.nilable(String)) }
151701
+ attr_accessor :tax_id
150536
151702
  sig {
150537
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
151703
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
150538
151704
  }
150539
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
151705
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
150540
151706
  end
150541
151707
  class Blik < Stripe::RequestParams
150542
151708
 
@@ -153235,6 +154401,9 @@ module Stripe
153235
154401
  # Specifies which fields in the response should be expanded.
153236
154402
  sig { returns(T.nilable(T::Array[String])) }
153237
154403
  attr_accessor :expand
154404
+ # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
154405
+ sig { returns(T.nilable(String)) }
154406
+ attr_accessor :fx_quote
153238
154407
  # ID of the mandate that's used for this payment.
153239
154408
  sig { returns(T.nilable(String)) }
153240
154409
  attr_accessor :mandate
@@ -153298,7 +154467,7 @@ module Stripe
153298
154467
  sig { returns(T.nilable(T::Boolean)) }
153299
154468
  attr_accessor :use_stripe_sdk
153300
154469
  sig {
153301
- params(application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::AsyncWorkflows), capture_method: T.nilable(String), confirmation_token: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::MandateData))), off_session: T.nilable(T.any(T::Boolean, String)), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::RadarOptions), receipt_email: T.nilable(T.nilable(String)), return_url: T.nilable(String), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::Shipping))), use_stripe_sdk: T.nilable(T::Boolean)).void
154470
+ params(application_fee_amount: T.nilable(T.nilable(T.any(String, Integer))), async_workflows: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::AsyncWorkflows), capture_method: T.nilable(String), confirmation_token: T.nilable(String), error_on_requires_action: T.nilable(T::Boolean), expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), mandate: T.nilable(String), mandate_data: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::MandateData))), off_session: T.nilable(T.any(T::Boolean, String)), payment_details: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentDetails))), payment_method: T.nilable(String), payment_method_data: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData), payment_method_options: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions), payment_method_types: T.nilable(T::Array[String]), radar_options: T.nilable(::Stripe::PaymentIntentService::ConfirmParams::RadarOptions), receipt_email: T.nilable(T.nilable(String)), return_url: T.nilable(String), setup_future_usage: T.nilable(T.nilable(T.any(String, String))), shipping: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::Shipping))), use_stripe_sdk: T.nilable(T::Boolean)).void
153302
154471
  }
153303
154472
  def initialize(
153304
154473
  application_fee_amount: nil,
@@ -153307,6 +154476,7 @@ module Stripe
153307
154476
  confirmation_token: nil,
153308
154477
  error_on_requires_action: nil,
153309
154478
  expand: nil,
154479
+ fx_quote: nil,
153310
154480
  mandate: nil,
153311
154481
  mandate_data: nil,
153312
154482
  off_session: nil,
@@ -153712,6 +154882,34 @@ module Stripe
153712
154882
  end
153713
154883
  end
153714
154884
  # typed: true
154885
+ module Stripe
154886
+ class PaymentIntentAmountDetailsLineItemService < StripeService
154887
+ class ListParams < Stripe::RequestParams
154888
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
154889
+ sig { returns(T.nilable(String)) }
154890
+ attr_accessor :ending_before
154891
+ # Specifies which fields in the response should be expanded.
154892
+ sig { returns(T.nilable(T::Array[String])) }
154893
+ attr_accessor :expand
154894
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
154895
+ sig { returns(T.nilable(Integer)) }
154896
+ attr_accessor :limit
154897
+ # 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.
154898
+ sig { returns(T.nilable(String)) }
154899
+ attr_accessor :starting_after
154900
+ sig {
154901
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
154902
+ }
154903
+ def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
154904
+ end
154905
+ # Lists all LineItems of a given PaymentIntent.
154906
+ sig {
154907
+ params(intent: String, params: T.any(::Stripe::PaymentIntentAmountDetailsLineItemService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
154908
+ }
154909
+ def list(intent, params = {}, opts = {}); end
154910
+ end
154911
+ end
154912
+ # typed: true
153715
154913
  module Stripe
153716
154914
  class PaymentLinkService < StripeService
153717
154915
  attr_reader :line_items
@@ -155225,10 +156423,13 @@ module Stripe
155225
156423
  # Billing phone number (including extension).
155226
156424
  sig { returns(T.nilable(T.nilable(String))) }
155227
156425
  attr_accessor :phone
156426
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
156427
+ sig { returns(T.nilable(String)) }
156428
+ attr_accessor :tax_id
155228
156429
  sig {
155229
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethodService::CreateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
156430
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethodService::CreateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
155230
156431
  }
155231
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
156432
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
155232
156433
  end
155233
156434
  class Blik < Stripe::RequestParams
155234
156435
 
@@ -155872,10 +157073,13 @@ module Stripe
155872
157073
  # Billing phone number (including extension).
155873
157074
  sig { returns(T.nilable(T.nilable(String))) }
155874
157075
  attr_accessor :phone
157076
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
157077
+ sig { returns(T.nilable(String)) }
157078
+ attr_accessor :tax_id
155875
157079
  sig {
155876
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethodService::UpdateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
157080
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentMethodService::UpdateParams::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
155877
157081
  }
155878
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
157082
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
155879
157083
  end
155880
157084
  class Card < Stripe::RequestParams
155881
157085
  class Networks < Stripe::RequestParams
@@ -156778,6 +157982,24 @@ module Stripe
156778
157982
  }
156779
157983
  def initialize(display_preference: nil); end
156780
157984
  end
157985
+ class Pix < Stripe::RequestParams
157986
+ class DisplayPreference < Stripe::RequestParams
157987
+ # The account's preference for whether or not to display this payment method.
157988
+ sig { returns(T.nilable(String)) }
157989
+ attr_accessor :preference
157990
+ sig { params(preference: T.nilable(String)).void }
157991
+ def initialize(preference: nil); end
157992
+ end
157993
+ # Whether or not the payment method should be displayed.
157994
+ sig {
157995
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix::DisplayPreference))
157996
+ }
157997
+ attr_accessor :display_preference
157998
+ sig {
157999
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix::DisplayPreference)).void
158000
+ }
158001
+ def initialize(display_preference: nil); end
158002
+ end
156781
158003
  class Promptpay < Stripe::RequestParams
156782
158004
  class DisplayPreference < Stripe::RequestParams
156783
158005
  # The account's preference for whether or not to display this payment method.
@@ -157152,6 +158374,9 @@ module Stripe
157152
158374
  # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
157153
158375
  sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto)) }
157154
158376
  attr_accessor :payto
158377
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
158378
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix)) }
158379
+ attr_accessor :pix
157155
158380
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
157156
158381
  sig {
157157
158382
  returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay))
@@ -157203,7 +158428,7 @@ module Stripe
157203
158428
  sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)) }
157204
158429
  attr_accessor :zip
157205
158430
  sig {
157206
- params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)).void
158431
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)).void
157207
158432
  }
157208
158433
  def initialize(
157209
158434
  acss_debit: nil,
@@ -157248,6 +158473,7 @@ module Stripe
157248
158473
  paynow: nil,
157249
158474
  paypal: nil,
157250
158475
  payto: nil,
158476
+ pix: nil,
157251
158477
  promptpay: nil,
157252
158478
  qris: nil,
157253
158479
  revolut_pay: nil,
@@ -157972,6 +159198,24 @@ module Stripe
157972
159198
  }
157973
159199
  def initialize(display_preference: nil); end
157974
159200
  end
159201
+ class Pix < Stripe::RequestParams
159202
+ class DisplayPreference < Stripe::RequestParams
159203
+ # The account's preference for whether or not to display this payment method.
159204
+ sig { returns(T.nilable(String)) }
159205
+ attr_accessor :preference
159206
+ sig { params(preference: T.nilable(String)).void }
159207
+ def initialize(preference: nil); end
159208
+ end
159209
+ # Whether or not the payment method should be displayed.
159210
+ sig {
159211
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix::DisplayPreference))
159212
+ }
159213
+ attr_accessor :display_preference
159214
+ sig {
159215
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix::DisplayPreference)).void
159216
+ }
159217
+ def initialize(display_preference: nil); end
159218
+ end
157975
159219
  class Promptpay < Stripe::RequestParams
157976
159220
  class DisplayPreference < Stripe::RequestParams
157977
159221
  # The account's preference for whether or not to display this payment method.
@@ -158346,6 +159590,9 @@ module Stripe
158346
159590
  # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
158347
159591
  sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto)) }
158348
159592
  attr_accessor :payto
159593
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
159594
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix)) }
159595
+ attr_accessor :pix
158349
159596
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
158350
159597
  sig {
158351
159598
  returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay))
@@ -158397,7 +159644,7 @@ module Stripe
158397
159644
  sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)) }
158398
159645
  attr_accessor :zip
158399
159646
  sig {
158400
- params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)).void
159647
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay), gopay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay), id_bank_transfer: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal), payto: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay), qris: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit), shopeepay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)).void
158401
159648
  }
158402
159649
  def initialize(
158403
159650
  acss_debit: nil,
@@ -158442,6 +159689,7 @@ module Stripe
158442
159689
  paynow: nil,
158443
159690
  paypal: nil,
158444
159691
  payto: nil,
159692
+ pix: nil,
158445
159693
  promptpay: nil,
158446
159694
  qris: nil,
158447
159695
  revolut_pay: nil,
@@ -164942,10 +166190,13 @@ module Stripe
164942
166190
  # Billing phone number (including extension).
164943
166191
  sig { returns(T.nilable(T.nilable(String))) }
164944
166192
  attr_accessor :phone
166193
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
166194
+ sig { returns(T.nilable(String)) }
166195
+ attr_accessor :tax_id
164945
166196
  sig {
164946
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
166197
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
164947
166198
  }
164948
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
166199
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
164949
166200
  end
164950
166201
  class Blik < Stripe::RequestParams
164951
166202
 
@@ -166306,10 +167557,13 @@ module Stripe
166306
167557
  # Billing phone number (including extension).
166307
167558
  sig { returns(T.nilable(T.nilable(String))) }
166308
167559
  attr_accessor :phone
167560
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
167561
+ sig { returns(T.nilable(String)) }
167562
+ attr_accessor :tax_id
166309
167563
  sig {
166310
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
167564
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
166311
167565
  }
166312
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
167566
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
166313
167567
  end
166314
167568
  class Blik < Stripe::RequestParams
166315
167569
 
@@ -167664,10 +168918,13 @@ module Stripe
167664
168918
  # Billing phone number (including extension).
167665
168919
  sig { returns(T.nilable(T.nilable(String))) }
167666
168920
  attr_accessor :phone
168921
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
168922
+ sig { returns(T.nilable(String)) }
168923
+ attr_accessor :tax_id
167667
168924
  sig {
167668
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
168925
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
167669
168926
  }
167670
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
168927
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
167671
168928
  end
167672
168929
  class Blik < Stripe::RequestParams
167673
168930
 
@@ -174752,6 +176009,20 @@ module Stripe
174752
176009
  sig { params(type: String).void }
174753
176010
  def initialize(type: nil); end
174754
176011
  end
176012
+ class Aw < Stripe::RequestParams
176013
+ # Type of registration to be created in `country`.
176014
+ sig { returns(String) }
176015
+ attr_accessor :type
176016
+ sig { params(type: String).void }
176017
+ def initialize(type: nil); end
176018
+ end
176019
+ class Az < Stripe::RequestParams
176020
+ # Type of registration to be created in `country`.
176021
+ sig { returns(String) }
176022
+ attr_accessor :type
176023
+ sig { params(type: String).void }
176024
+ def initialize(type: nil); end
176025
+ end
174755
176026
  class Ba < Stripe::RequestParams
174756
176027
  # Type of registration to be created in `country`.
174757
176028
  sig { returns(String) }
@@ -174766,6 +176037,13 @@ module Stripe
174766
176037
  sig { params(type: String).void }
174767
176038
  def initialize(type: nil); end
174768
176039
  end
176040
+ class Bd < Stripe::RequestParams
176041
+ # Type of registration to be created in `country`.
176042
+ sig { returns(String) }
176043
+ attr_accessor :type
176044
+ sig { params(type: String).void }
176045
+ def initialize(type: nil); end
176046
+ end
174769
176047
  class Be < Stripe::RequestParams
174770
176048
  class Standard < Stripe::RequestParams
174771
176049
  # Place of supply scheme used in an EU standard registration.
@@ -174815,6 +176093,13 @@ module Stripe
174815
176093
  sig { params(type: String).void }
174816
176094
  def initialize(type: nil); end
174817
176095
  end
176096
+ class Bj < Stripe::RequestParams
176097
+ # Type of registration to be created in `country`.
176098
+ sig { returns(String) }
176099
+ attr_accessor :type
176100
+ sig { params(type: String).void }
176101
+ def initialize(type: nil); end
176102
+ end
174818
176103
  class Bs < Stripe::RequestParams
174819
176104
  # Type of registration to be created in `country`.
174820
176105
  sig { returns(String) }
@@ -175025,6 +176310,13 @@ module Stripe
175025
176310
  }
175026
176311
  def initialize(standard: nil, type: nil); end
175027
176312
  end
176313
+ class Et < Stripe::RequestParams
176314
+ # Type of registration to be created in `country`.
176315
+ sig { returns(String) }
176316
+ attr_accessor :type
176317
+ sig { params(type: String).void }
176318
+ def initialize(type: nil); end
176319
+ end
175028
176320
  class Fi < Stripe::RequestParams
175029
176321
  class Standard < Stripe::RequestParams
175030
176322
  # Place of supply scheme used in an EU standard registration.
@@ -175228,6 +176520,13 @@ module Stripe
175228
176520
  sig { params(type: String).void }
175229
176521
  def initialize(type: nil); end
175230
176522
  end
176523
+ class Kg < Stripe::RequestParams
176524
+ # Type of registration to be created in `country`.
176525
+ sig { returns(String) }
176526
+ attr_accessor :type
176527
+ sig { params(type: String).void }
176528
+ def initialize(type: nil); end
176529
+ end
175231
176530
  class Kh < Stripe::RequestParams
175232
176531
  # Type of registration to be created in `country`.
175233
176532
  sig { returns(String) }
@@ -175249,6 +176548,13 @@ module Stripe
175249
176548
  sig { params(type: String).void }
175250
176549
  def initialize(type: nil); end
175251
176550
  end
176551
+ class La < Stripe::RequestParams
176552
+ # Type of registration to be created in `country`.
176553
+ sig { returns(String) }
176554
+ attr_accessor :type
176555
+ sig { params(type: String).void }
176556
+ def initialize(type: nil); end
176557
+ end
175252
176558
  class Lt < Stripe::RequestParams
175253
176559
  class Standard < Stripe::RequestParams
175254
176560
  # Place of supply scheme used in an EU standard registration.
@@ -175445,6 +176751,13 @@ module Stripe
175445
176751
  sig { params(type: String).void }
175446
176752
  def initialize(type: nil); end
175447
176753
  end
176754
+ class Ph < Stripe::RequestParams
176755
+ # Type of registration to be created in `country`.
176756
+ sig { returns(String) }
176757
+ attr_accessor :type
176758
+ sig { params(type: String).void }
176759
+ def initialize(type: nil); end
176760
+ end
175448
176761
  class Pl < Stripe::RequestParams
175449
176762
  class Standard < Stripe::RequestParams
175450
176763
  # Place of supply scheme used in an EU standard registration.
@@ -175788,6 +177101,16 @@ module Stripe
175788
177101
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au))
175789
177102
  }
175790
177103
  attr_accessor :au
177104
+ # Options for the registration in AW.
177105
+ sig {
177106
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw))
177107
+ }
177108
+ attr_accessor :aw
177109
+ # Options for the registration in AZ.
177110
+ sig {
177111
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az))
177112
+ }
177113
+ attr_accessor :az
175791
177114
  # Options for the registration in BA.
175792
177115
  sig {
175793
177116
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba))
@@ -175798,6 +177121,11 @@ module Stripe
175798
177121
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb))
175799
177122
  }
175800
177123
  attr_accessor :bb
177124
+ # Options for the registration in BD.
177125
+ sig {
177126
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd))
177127
+ }
177128
+ attr_accessor :bd
175801
177129
  # Options for the registration in BE.
175802
177130
  sig {
175803
177131
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be))
@@ -175813,6 +177141,11 @@ module Stripe
175813
177141
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh))
175814
177142
  }
175815
177143
  attr_accessor :bh
177144
+ # Options for the registration in BJ.
177145
+ sig {
177146
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj))
177147
+ }
177148
+ attr_accessor :bj
175816
177149
  # Options for the registration in BS.
175817
177150
  sig {
175818
177151
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs))
@@ -175893,6 +177226,11 @@ module Stripe
175893
177226
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es))
175894
177227
  }
175895
177228
  attr_accessor :es
177229
+ # Options for the registration in ET.
177230
+ sig {
177231
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et))
177232
+ }
177233
+ attr_accessor :et
175896
177234
  # Options for the registration in FI.
175897
177235
  sig {
175898
177236
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi))
@@ -175968,6 +177306,11 @@ module Stripe
175968
177306
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke))
175969
177307
  }
175970
177308
  attr_accessor :ke
177309
+ # Options for the registration in KG.
177310
+ sig {
177311
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg))
177312
+ }
177313
+ attr_accessor :kg
175971
177314
  # Options for the registration in KH.
175972
177315
  sig {
175973
177316
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh))
@@ -175983,6 +177326,11 @@ module Stripe
175983
177326
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz))
175984
177327
  }
175985
177328
  attr_accessor :kz
177329
+ # Options for the registration in LA.
177330
+ sig {
177331
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La))
177332
+ }
177333
+ attr_accessor :la
175986
177334
  # Options for the registration in LT.
175987
177335
  sig {
175988
177336
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt))
@@ -176073,6 +177421,11 @@ module Stripe
176073
177421
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe))
176074
177422
  }
176075
177423
  attr_accessor :pe
177424
+ # Options for the registration in PH.
177425
+ sig {
177426
+ returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph))
177427
+ }
177428
+ attr_accessor :ph
176076
177429
  # Options for the registration in PL.
176077
177430
  sig {
176078
177431
  returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl))
@@ -176194,7 +177547,7 @@ module Stripe
176194
177547
  }
176195
177548
  attr_accessor :zw
176196
177549
  sig {
176197
- params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
177550
+ params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
176198
177551
  }
176199
177552
  def initialize(
176200
177553
  ae: nil,
@@ -176203,11 +177556,15 @@ module Stripe
176203
177556
  ao: nil,
176204
177557
  at: nil,
176205
177558
  au: nil,
177559
+ aw: nil,
177560
+ az: nil,
176206
177561
  ba: nil,
176207
177562
  bb: nil,
177563
+ bd: nil,
176208
177564
  be: nil,
176209
177565
  bg: nil,
176210
177566
  bh: nil,
177567
+ bj: nil,
176211
177568
  bs: nil,
176212
177569
  by: nil,
176213
177570
  ca: nil,
@@ -176224,6 +177581,7 @@ module Stripe
176224
177581
  ee: nil,
176225
177582
  eg: nil,
176226
177583
  es: nil,
177584
+ et: nil,
176227
177585
  fi: nil,
176228
177586
  fr: nil,
176229
177587
  gb: nil,
@@ -176239,9 +177597,11 @@ module Stripe
176239
177597
  it: nil,
176240
177598
  jp: nil,
176241
177599
  ke: nil,
177600
+ kg: nil,
176242
177601
  kh: nil,
176243
177602
  kr: nil,
176244
177603
  kz: nil,
177604
+ la: nil,
176245
177605
  lt: nil,
176246
177606
  lu: nil,
176247
177607
  lv: nil,
@@ -176260,6 +177620,7 @@ module Stripe
176260
177620
  nz: nil,
176261
177621
  om: nil,
176262
177622
  pe: nil,
177623
+ ph: nil,
176263
177624
  pl: nil,
176264
177625
  pt: nil,
176265
177626
  ro: nil,
@@ -178981,6 +180342,19 @@ module Stripe
178981
180342
  }
178982
180343
  def initialize(date: nil, ip: nil, user_agent: nil); end
178983
180344
  end
180345
+ class RegistrationDate < Stripe::RequestParams
180346
+ # The day of registration, between 1 and 31.
180347
+ sig { returns(Integer) }
180348
+ attr_accessor :day
180349
+ # The month of registration, between 1 and 12.
180350
+ sig { returns(Integer) }
180351
+ attr_accessor :month
180352
+ # The four-digit year of registration.
180353
+ sig { returns(Integer) }
180354
+ attr_accessor :year
180355
+ sig { params(day: Integer, month: Integer, year: Integer).void }
180356
+ def initialize(day: nil, month: nil, year: nil); end
180357
+ end
178984
180358
  class Verification < Stripe::RequestParams
178985
180359
  class Document < Stripe::RequestParams
178986
180360
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -179060,6 +180434,11 @@ module Stripe
179060
180434
  # The company's phone number (used for verification).
179061
180435
  sig { returns(T.nilable(String)) }
179062
180436
  attr_accessor :phone
180437
+ # Attribute for param field registration_date
180438
+ sig {
180439
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::TokenService::CreateParams::Account::Company::RegistrationDate))))
180440
+ }
180441
+ attr_accessor :registration_date
179063
180442
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
179064
180443
  sig { returns(T.nilable(String)) }
179065
180444
  attr_accessor :registration_number
@@ -179081,7 +180460,7 @@ module Stripe
179081
180460
  }
179082
180461
  attr_accessor :verification
179083
180462
  sig {
179084
- params(address: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::Address), address_kana: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::AddressKana), address_kanji: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::Verification)).void
180463
+ params(address: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::Address), address_kana: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::AddressKana), address_kanji: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::OwnershipDeclaration), ownership_declaration_shown_and_signed: T.nilable(T::Boolean), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_date: T.nilable(T.nilable(T.any(String, ::Stripe::TokenService::CreateParams::Account::Company::RegistrationDate))), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::TokenService::CreateParams::Account::Company::Verification)).void
179085
180464
  }
179086
180465
  def initialize(
179087
180466
  address: nil,
@@ -179100,6 +180479,7 @@ module Stripe
179100
180479
  ownership_declaration_shown_and_signed: nil,
179101
180480
  ownership_exemption_reason: nil,
179102
180481
  phone: nil,
180482
+ registration_date: nil,
179103
180483
  registration_number: nil,
179104
180484
  structure: nil,
179105
180485
  tax_id: nil,
@@ -179814,6 +181194,51 @@ module Stripe
179814
181194
  title: nil
179815
181195
  ); end
179816
181196
  end
181197
+ class UsCfpbData < Stripe::RequestParams
181198
+ class EthnicityDetails < Stripe::RequestParams
181199
+ # The persons ethnicity
181200
+ sig { returns(T.nilable(T::Array[String])) }
181201
+ attr_accessor :ethnicity
181202
+ # Please specify your origin, when other is selected.
181203
+ sig { returns(T.nilable(String)) }
181204
+ attr_accessor :ethnicity_other
181205
+ sig {
181206
+ params(ethnicity: T.nilable(T::Array[String]), ethnicity_other: T.nilable(String)).void
181207
+ }
181208
+ def initialize(ethnicity: nil, ethnicity_other: nil); end
181209
+ end
181210
+ class RaceDetails < Stripe::RequestParams
181211
+ # The persons race.
181212
+ sig { returns(T.nilable(T::Array[String])) }
181213
+ attr_accessor :race
181214
+ # Please specify your race, when other is selected.
181215
+ sig { returns(T.nilable(String)) }
181216
+ attr_accessor :race_other
181217
+ sig { params(race: T.nilable(T::Array[String]), race_other: T.nilable(String)).void }
181218
+ def initialize(race: nil, race_other: nil); end
181219
+ end
181220
+ # The persons ethnicity details
181221
+ sig {
181222
+ returns(T.nilable(::Stripe::TokenService::CreateParams::Person::UsCfpbData::EthnicityDetails))
181223
+ }
181224
+ attr_accessor :ethnicity_details
181225
+ # The persons race details
181226
+ sig {
181227
+ returns(T.nilable(::Stripe::TokenService::CreateParams::Person::UsCfpbData::RaceDetails))
181228
+ }
181229
+ attr_accessor :race_details
181230
+ # The persons self-identified gender
181231
+ sig { returns(T.nilable(String)) }
181232
+ attr_accessor :self_identified_gender
181233
+ sig {
181234
+ params(ethnicity_details: T.nilable(::Stripe::TokenService::CreateParams::Person::UsCfpbData::EthnicityDetails), race_details: T.nilable(::Stripe::TokenService::CreateParams::Person::UsCfpbData::RaceDetails), self_identified_gender: T.nilable(String)).void
181235
+ }
181236
+ def initialize(
181237
+ ethnicity_details: nil,
181238
+ race_details: nil,
181239
+ self_identified_gender: nil
181240
+ ); end
181241
+ end
179817
181242
  class Verification < Stripe::RequestParams
179818
181243
  class AdditionalDocument < Stripe::RequestParams
179819
181244
  # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -179929,11 +181354,14 @@ module Stripe
179929
181354
  # The last four digits of the person's Social Security number (U.S. only).
179930
181355
  sig { returns(T.nilable(String)) }
179931
181356
  attr_accessor :ssn_last_4
181357
+ # Demographic data related to the person.
181358
+ sig { returns(T.nilable(::Stripe::TokenService::CreateParams::Person::UsCfpbData)) }
181359
+ attr_accessor :us_cfpb_data
179932
181360
  # The person's verification status.
179933
181361
  sig { returns(T.nilable(::Stripe::TokenService::CreateParams::Person::Verification)) }
179934
181362
  attr_accessor :verification
179935
181363
  sig {
179936
- params(additional_tos_acceptances: T.nilable(::Stripe::TokenService::CreateParams::Person::AdditionalTosAcceptances), address: T.nilable(::Stripe::TokenService::CreateParams::Person::Address), address_kana: T.nilable(::Stripe::TokenService::CreateParams::Person::AddressKana), address_kanji: T.nilable(::Stripe::TokenService::CreateParams::Person::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::TokenService::CreateParams::Person::Dob))), documents: T.nilable(::Stripe::TokenService::CreateParams::Person::Documents), email: T.nilable(String), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::TokenService::CreateParams::Person::RegisteredAddress), relationship: T.nilable(::Stripe::TokenService::CreateParams::Person::Relationship), ssn_last_4: T.nilable(String), verification: T.nilable(::Stripe::TokenService::CreateParams::Person::Verification)).void
181364
+ params(additional_tos_acceptances: T.nilable(::Stripe::TokenService::CreateParams::Person::AdditionalTosAcceptances), address: T.nilable(::Stripe::TokenService::CreateParams::Person::Address), address_kana: T.nilable(::Stripe::TokenService::CreateParams::Person::AddressKana), address_kanji: T.nilable(::Stripe::TokenService::CreateParams::Person::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::TokenService::CreateParams::Person::Dob))), documents: T.nilable(::Stripe::TokenService::CreateParams::Person::Documents), email: T.nilable(String), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), nationality: T.nilable(String), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::TokenService::CreateParams::Person::RegisteredAddress), relationship: T.nilable(::Stripe::TokenService::CreateParams::Person::Relationship), ssn_last_4: T.nilable(String), us_cfpb_data: T.nilable(::Stripe::TokenService::CreateParams::Person::UsCfpbData), verification: T.nilable(::Stripe::TokenService::CreateParams::Person::Verification)).void
179937
181365
  }
179938
181366
  def initialize(
179939
181367
  additional_tos_acceptances: nil,
@@ -179961,6 +181389,7 @@ module Stripe
179961
181389
  registered_address: nil,
179962
181390
  relationship: nil,
179963
181391
  ssn_last_4: nil,
181392
+ us_cfpb_data: nil,
179964
181393
  verification: nil
179965
181394
  ); end
179966
181395
  end
@@ -180269,6 +181698,9 @@ module Stripe
180269
181698
  # Specifies which fields in the response should be expanded.
180270
181699
  sig { returns(T.nilable(T::Array[String])) }
180271
181700
  attr_accessor :expand
181701
+ # The FX rate in the quote is validated and used to convert the transfer amount to the destination currency.
181702
+ sig { returns(T.nilable(String)) }
181703
+ attr_accessor :fx_quote
180272
181704
  # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
180273
181705
  sig { returns(T.nilable(T::Hash[String, String])) }
180274
181706
  attr_accessor :metadata
@@ -180282,7 +181714,7 @@ module Stripe
180282
181714
  sig { returns(T.nilable(String)) }
180283
181715
  attr_accessor :transfer_group
180284
181716
  sig {
180285
- params(amount: T.nilable(Integer), currency: String, description: T.nilable(String), destination: String, expand: T.nilable(T::Array[String]), metadata: T.nilable(T::Hash[String, String]), source_transaction: T.nilable(String), source_type: T.nilable(String), transfer_group: T.nilable(String)).void
181717
+ params(amount: T.nilable(Integer), currency: String, description: T.nilable(String), destination: String, expand: T.nilable(T::Array[String]), fx_quote: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), source_transaction: T.nilable(String), source_type: T.nilable(String), transfer_group: T.nilable(String)).void
180286
181718
  }
180287
181719
  def initialize(
180288
181720
  amount: nil,
@@ -180290,6 +181722,7 @@ module Stripe
180290
181722
  description: nil,
180291
181723
  destination: nil,
180292
181724
  expand: nil,
181725
+ fx_quote: nil,
180293
181726
  metadata: nil,
180294
181727
  source_transaction: nil,
180295
181728
  source_type: nil,
@@ -181620,10 +183053,13 @@ module Stripe
181620
183053
  # Billing phone number (including extension).
181621
183054
  sig { returns(T.nilable(T.nilable(String))) }
181622
183055
  attr_accessor :phone
183056
+ # Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
183057
+ sig { returns(T.nilable(String)) }
183058
+ attr_accessor :tax_id
181623
183059
  sig {
181624
- params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPaymentService::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
183060
+ params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPaymentService::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String)), tax_id: T.nilable(String)).void
181625
183061
  }
181626
- def initialize(address: nil, email: nil, name: nil, phone: nil); end
183062
+ def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
181627
183063
  end
181628
183064
  class UsBankAccount < Stripe::RequestParams
181629
183065
  # Account holder type: individual or company.