stripe 15.1.0 → 15.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -6
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/resources/account.rb +47 -20
- data/lib/stripe/resources/account_session.rb +111 -7
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing_portal/session.rb +1 -1
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/charge.rb +13 -5
- data/lib/stripe/resources/checkout/session.rb +20 -4
- data/lib/stripe/resources/confirmation_token.rb +33 -87
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +1 -2
- data/lib/stripe/resources/credit_note.rb +12 -9
- data/lib/stripe/resources/customer.rb +2 -4
- data/lib/stripe/resources/customer_session.rb +3 -3
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -11
- data/lib/stripe/resources/invoice.rb +114 -27
- data/lib/stripe/resources/invoice_item.rb +2 -3
- data/lib/stripe/resources/invoice_line_item.rb +1 -1
- data/lib/stripe/resources/invoice_payment.rb +9 -2
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/payment_intent.rb +196 -302
- data/lib/stripe/resources/payment_method.rb +46 -103
- data/lib/stripe/resources/payment_method_configuration.rb +297 -2
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -4
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -1
- data/lib/stripe/resources/product.rb +1 -2
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -1
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +111 -281
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription.rb +89 -29
- data/lib/stripe/resources/subscription_item.rb +33 -0
- data/lib/stripe/resources/subscription_schedule.rb +119 -4
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +1 -2
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +275 -3
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +38 -13
- data/lib/stripe/services/account_session_service.rb +75 -7
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +4 -4
- data/lib/stripe/services/checkout/session_service.rb +11 -3
- data/lib/stripe/services/coupon_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +7 -8
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +5 -5
- data/lib/stripe/services/invoice_item_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +92 -23
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/payment_intent_service.rb +176 -292
- data/lib/stripe/services/payment_method_configuration_service.rb +212 -2
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +43 -100
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -2
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -3
- data/lib/stripe/services/promotion_code_service.rb +1 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +110 -280
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +26 -0
- data/lib/stripe/services/subscription_schedule_service.rb +93 -3
- data/lib/stripe/services/subscription_service.rb +77 -26
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +1 -2
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +106 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -1
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +46 -23
- data/rbi/stripe/resources/account_session.rbi +131 -12
- data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
- data/rbi/stripe/resources/balance.rbi +55 -0
- data/rbi/stripe/resources/balance_transaction.rbi +3 -0
- data/rbi/stripe/resources/bank_account.rbi +2 -2
- data/rbi/stripe/resources/billing/alert.rbi +2 -2
- data/rbi/stripe/resources/billing_portal/session.rbi +1 -1
- data/rbi/stripe/resources/capability.rbi +1 -1
- data/rbi/stripe/resources/charge.rbi +17 -5
- data/rbi/stripe/resources/checkout/session.rbi +22 -6
- data/rbi/stripe/resources/confirmation_token.rbi +33 -99
- data/rbi/stripe/resources/country_spec.rbi +1 -1
- data/rbi/stripe/resources/coupon.rbi +1 -3
- data/rbi/stripe/resources/credit_note.rbi +14 -9
- data/rbi/stripe/resources/customer.rbi +2 -6
- data/rbi/stripe/resources/customer_session.rbi +3 -3
- data/rbi/stripe/resources/dispute.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +1 -1
- data/rbi/stripe/resources/file.rbi +1 -1
- data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +20 -11
- data/rbi/stripe/resources/invoice.rbi +109 -33
- data/rbi/stripe/resources/invoice_item.rbi +2 -4
- data/rbi/stripe/resources/invoice_line_item.rbi +1 -1
- data/rbi/stripe/resources/invoice_payment.rbi +9 -2
- data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
- data/rbi/stripe/resources/issuing/card.rbi +1 -1
- data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
- data/rbi/stripe/resources/payment_intent.rbi +201 -349
- data/rbi/stripe/resources/payment_method.rbi +46 -116
- data/rbi/stripe/resources/payment_method_configuration.rbi +334 -4
- data/rbi/stripe/resources/payment_method_domain.rbi +2 -2
- data/rbi/stripe/resources/payout.rbi +4 -4
- data/rbi/stripe/resources/person.rbi +2 -2
- data/rbi/stripe/resources/plan.rbi +2 -4
- data/rbi/stripe/resources/price.rbi +1 -1
- data/rbi/stripe/resources/product.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
- data/rbi/stripe/resources/refund.rbi +5 -1
- data/rbi/stripe/resources/reversal.rbi +1 -1
- data/rbi/stripe/resources/review.rbi +1 -1
- data/rbi/stripe/resources/setup_intent.rbi +111 -325
- data/rbi/stripe/resources/source.rbi +1 -1
- data/rbi/stripe/resources/subscription.rbi +99 -36
- data/rbi/stripe/resources/subscription_item.rbi +36 -2
- data/rbi/stripe/resources/subscription_schedule.rbi +138 -10
- data/rbi/stripe/resources/tax/calculation.rbi +5 -1
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +3 -0
- data/rbi/stripe/resources/tax/registration.rbi +1 -1
- data/rbi/stripe/resources/tax_id.rbi +1 -3
- data/rbi/stripe/resources/tax_rate.rbi +2 -2
- data/rbi/stripe/resources/terminal/configuration.rbi +1 -3
- data/rbi/stripe/resources/terminal/location.rbi +2 -4
- data/rbi/stripe/resources/terminal/reader.rbi +265 -5
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
- data/rbi/stripe/resources/token.rbi +2 -2
- data/rbi/stripe/resources/transfer.rbi +1 -1
- data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
- data/rbi/stripe/services/account_external_account_service.rbi +2 -4
- data/rbi/stripe/services/account_login_link_service.rbi +1 -1
- data/rbi/stripe/services/account_person_service.rbi +1 -3
- data/rbi/stripe/services/account_service.rbi +40 -16
- data/rbi/stripe/services/account_session_service.rbi +86 -12
- data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
- data/rbi/stripe/services/balance_service.rbi +1 -1
- data/rbi/stripe/services/billing/alert_service.rbi +2 -2
- data/rbi/stripe/services/charge_service.rbi +4 -4
- data/rbi/stripe/services/checkout/session_service.rbi +12 -5
- data/rbi/stripe/services/coupon_service.rbi +1 -3
- data/rbi/stripe/services/credit_note_service.rbi +7 -8
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
- data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
- data/rbi/stripe/services/customer_service.rbi +3 -7
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -3
- data/rbi/stripe/services/dispute_service.rbi +1 -1
- data/rbi/stripe/services/file_service.rbi +1 -1
- data/rbi/stripe/services/identity/verification_session_service.rbi +5 -5
- data/rbi/stripe/services/invoice_item_service.rbi +1 -3
- data/rbi/stripe/services/invoice_service.rbi +90 -29
- data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
- data/rbi/stripe/services/issuing/card_service.rbi +1 -1
- data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +179 -339
- data/rbi/stripe/services/payment_method_configuration_service.rbi +236 -4
- data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
- data/rbi/stripe/services/payment_method_service.rbi +43 -113
- data/rbi/stripe/services/payout_service.rbi +2 -2
- data/rbi/stripe/services/plan_service.rbi +2 -4
- data/rbi/stripe/services/price_service.rbi +2 -2
- data/rbi/stripe/services/product_feature_service.rbi +1 -3
- data/rbi/stripe/services/product_service.rbi +2 -4
- data/rbi/stripe/services/promotion_code_service.rbi +1 -1
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
- data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
- data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
- data/rbi/stripe/services/setup_intent_service.rbi +110 -324
- data/rbi/stripe/services/source_service.rbi +1 -1
- data/rbi/stripe/services/subscription_item_service.rbi +28 -2
- data/rbi/stripe/services/subscription_schedule_service.rbi +107 -9
- data/rbi/stripe/services/subscription_service.rbi +85 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +5 -1
- data/rbi/stripe/services/tax/registration_service.rbi +1 -1
- data/rbi/stripe/services/tax_id_service.rbi +1 -3
- data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
- data/rbi/stripe/services/terminal/location_service.rbi +2 -4
- data/rbi/stripe/services/terminal/reader_service.rbi +115 -4
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +33 -99
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
- data/rbi/stripe/services/token_service.rbi +1 -1
- data/rbi/stripe/services/transfer_service.rbi +1 -1
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +4 -12
- data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
- metadata +3 -2
@@ -167,7 +167,7 @@ module Stripe
|
|
167
167
|
# Attribute for field redirect_to_url
|
168
168
|
sig { returns(RedirectToUrl) }
|
169
169
|
attr_reader :redirect_to_url
|
170
|
-
# Type of the next action to perform
|
170
|
+
# Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
|
171
171
|
sig { returns(String) }
|
172
172
|
attr_reader :type
|
173
173
|
# When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
|
@@ -511,9 +511,7 @@ module Stripe
|
|
511
511
|
end
|
512
512
|
class MandateData < Stripe::RequestParams
|
513
513
|
class CustomerAcceptance < Stripe::RequestParams
|
514
|
-
class Offline < Stripe::RequestParams
|
515
|
-
|
516
|
-
end
|
514
|
+
class Offline < Stripe::RequestParams; end
|
517
515
|
class Online < Stripe::RequestParams
|
518
516
|
# The IP address from which the Mandate was accepted by the customer.
|
519
517
|
sig { returns(String) }
|
@@ -569,21 +567,11 @@ module Stripe
|
|
569
567
|
}
|
570
568
|
def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
|
571
569
|
end
|
572
|
-
class Affirm < Stripe::RequestParams
|
573
|
-
|
574
|
-
end
|
575
|
-
class
|
576
|
-
|
577
|
-
end
|
578
|
-
class Alipay < Stripe::RequestParams
|
579
|
-
|
580
|
-
end
|
581
|
-
class Alma < Stripe::RequestParams
|
582
|
-
|
583
|
-
end
|
584
|
-
class AmazonPay < Stripe::RequestParams
|
585
|
-
|
586
|
-
end
|
570
|
+
class Affirm < Stripe::RequestParams; end
|
571
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
572
|
+
class Alipay < Stripe::RequestParams; end
|
573
|
+
class Alma < Stripe::RequestParams; end
|
574
|
+
class AmazonPay < Stripe::RequestParams; end
|
587
575
|
class AuBecsDebit < Stripe::RequestParams
|
588
576
|
# The account number for the bank account.
|
589
577
|
sig { returns(String) }
|
@@ -604,12 +592,8 @@ module Stripe
|
|
604
592
|
sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
|
605
593
|
def initialize(account_number: nil, sort_code: nil); end
|
606
594
|
end
|
607
|
-
class Bancontact < Stripe::RequestParams
|
608
|
-
|
609
|
-
end
|
610
|
-
class Billie < Stripe::RequestParams
|
611
|
-
|
612
|
-
end
|
595
|
+
class Bancontact < Stripe::RequestParams; end
|
596
|
+
class Billie < Stripe::RequestParams; end
|
613
597
|
class BillingDetails < Stripe::RequestParams
|
614
598
|
class Address < Stripe::RequestParams
|
615
599
|
# City, district, suburb, town, or village.
|
@@ -664,9 +648,7 @@ module Stripe
|
|
664
648
|
}
|
665
649
|
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
666
650
|
end
|
667
|
-
class Blik < Stripe::RequestParams
|
668
|
-
|
669
|
-
end
|
651
|
+
class Blik < Stripe::RequestParams; end
|
670
652
|
class Boleto < Stripe::RequestParams
|
671
653
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
672
654
|
sig { returns(String) }
|
@@ -674,12 +656,8 @@ module Stripe
|
|
674
656
|
sig { params(tax_id: String).void }
|
675
657
|
def initialize(tax_id: nil); end
|
676
658
|
end
|
677
|
-
class Cashapp < Stripe::RequestParams
|
678
|
-
|
679
|
-
end
|
680
|
-
class CustomerBalance < Stripe::RequestParams
|
681
|
-
|
682
|
-
end
|
659
|
+
class Cashapp < Stripe::RequestParams; end
|
660
|
+
class CustomerBalance < Stripe::RequestParams; end
|
683
661
|
class Eps < Stripe::RequestParams
|
684
662
|
# The customer's bank.
|
685
663
|
sig { returns(T.nilable(String)) }
|
@@ -697,12 +675,8 @@ module Stripe
|
|
697
675
|
sig { params(account_holder_type: T.nilable(String), bank: String).void }
|
698
676
|
def initialize(account_holder_type: nil, bank: nil); end
|
699
677
|
end
|
700
|
-
class Giropay < Stripe::RequestParams
|
701
|
-
|
702
|
-
end
|
703
|
-
class Grabpay < Stripe::RequestParams
|
704
|
-
|
705
|
-
end
|
678
|
+
class Giropay < Stripe::RequestParams; end
|
679
|
+
class Grabpay < Stripe::RequestParams; end
|
706
680
|
class Ideal < Stripe::RequestParams
|
707
681
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
708
682
|
sig { returns(T.nilable(String)) }
|
@@ -710,12 +684,8 @@ module Stripe
|
|
710
684
|
sig { params(bank: T.nilable(String)).void }
|
711
685
|
def initialize(bank: nil); end
|
712
686
|
end
|
713
|
-
class InteracPresent < Stripe::RequestParams
|
714
|
-
|
715
|
-
end
|
716
|
-
class KakaoPay < Stripe::RequestParams
|
717
|
-
|
718
|
-
end
|
687
|
+
class InteracPresent < Stripe::RequestParams; end
|
688
|
+
class KakaoPay < Stripe::RequestParams; end
|
719
689
|
class Klarna < Stripe::RequestParams
|
720
690
|
class Dob < Stripe::RequestParams
|
721
691
|
# The day of birth, between 1 and 31.
|
@@ -740,21 +710,11 @@ module Stripe
|
|
740
710
|
}
|
741
711
|
def initialize(dob: nil); end
|
742
712
|
end
|
743
|
-
class Konbini < Stripe::RequestParams
|
744
|
-
|
745
|
-
end
|
746
|
-
class
|
747
|
-
|
748
|
-
end
|
749
|
-
class Link < Stripe::RequestParams
|
750
|
-
|
751
|
-
end
|
752
|
-
class Mobilepay < Stripe::RequestParams
|
753
|
-
|
754
|
-
end
|
755
|
-
class Multibanco < Stripe::RequestParams
|
756
|
-
|
757
|
-
end
|
713
|
+
class Konbini < Stripe::RequestParams; end
|
714
|
+
class KrCard < Stripe::RequestParams; end
|
715
|
+
class Link < Stripe::RequestParams; end
|
716
|
+
class Mobilepay < Stripe::RequestParams; end
|
717
|
+
class Multibanco < Stripe::RequestParams; end
|
758
718
|
class NaverPay < Stripe::RequestParams
|
759
719
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
760
720
|
sig { returns(T.nilable(String)) }
|
@@ -793,9 +753,7 @@ module Stripe
|
|
793
753
|
suffix: nil
|
794
754
|
); end
|
795
755
|
end
|
796
|
-
class Oxxo < Stripe::RequestParams
|
797
|
-
|
798
|
-
end
|
756
|
+
class Oxxo < Stripe::RequestParams; end
|
799
757
|
class P24 < Stripe::RequestParams
|
800
758
|
# The customer's bank.
|
801
759
|
sig { returns(T.nilable(String)) }
|
@@ -803,24 +761,12 @@ module Stripe
|
|
803
761
|
sig { params(bank: T.nilable(String)).void }
|
804
762
|
def initialize(bank: nil); end
|
805
763
|
end
|
806
|
-
class PayByBank < Stripe::RequestParams
|
807
|
-
|
808
|
-
end
|
809
|
-
class
|
810
|
-
|
811
|
-
end
|
812
|
-
class Paynow < Stripe::RequestParams
|
813
|
-
|
814
|
-
end
|
815
|
-
class Paypal < Stripe::RequestParams
|
816
|
-
|
817
|
-
end
|
818
|
-
class Pix < Stripe::RequestParams
|
819
|
-
|
820
|
-
end
|
821
|
-
class Promptpay < Stripe::RequestParams
|
822
|
-
|
823
|
-
end
|
764
|
+
class PayByBank < Stripe::RequestParams; end
|
765
|
+
class Payco < Stripe::RequestParams; end
|
766
|
+
class Paynow < Stripe::RequestParams; end
|
767
|
+
class Paypal < Stripe::RequestParams; end
|
768
|
+
class Pix < Stripe::RequestParams; end
|
769
|
+
class Promptpay < Stripe::RequestParams; end
|
824
770
|
class RadarOptions < Stripe::RequestParams
|
825
771
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
826
772
|
sig { returns(T.nilable(String)) }
|
@@ -828,15 +774,9 @@ module Stripe
|
|
828
774
|
sig { params(session: T.nilable(String)).void }
|
829
775
|
def initialize(session: nil); end
|
830
776
|
end
|
831
|
-
class RevolutPay < Stripe::RequestParams
|
832
|
-
|
833
|
-
end
|
834
|
-
class SamsungPay < Stripe::RequestParams
|
835
|
-
|
836
|
-
end
|
837
|
-
class Satispay < Stripe::RequestParams
|
838
|
-
|
839
|
-
end
|
777
|
+
class RevolutPay < Stripe::RequestParams; end
|
778
|
+
class SamsungPay < Stripe::RequestParams; end
|
779
|
+
class Satispay < Stripe::RequestParams; end
|
840
780
|
class SepaDebit < Stripe::RequestParams
|
841
781
|
# IBAN of the bank account.
|
842
782
|
sig { returns(String) }
|
@@ -851,12 +791,8 @@ module Stripe
|
|
851
791
|
sig { params(country: String).void }
|
852
792
|
def initialize(country: nil); end
|
853
793
|
end
|
854
|
-
class Swish < Stripe::RequestParams
|
855
|
-
|
856
|
-
end
|
857
|
-
class Twint < Stripe::RequestParams
|
858
|
-
|
859
|
-
end
|
794
|
+
class Swish < Stripe::RequestParams; end
|
795
|
+
class Twint < Stripe::RequestParams; end
|
860
796
|
class UsBankAccount < Stripe::RequestParams
|
861
797
|
# Account holder type: individual or company.
|
862
798
|
sig { returns(T.nilable(String)) }
|
@@ -884,12 +820,8 @@ module Stripe
|
|
884
820
|
routing_number: nil
|
885
821
|
); end
|
886
822
|
end
|
887
|
-
class WechatPay < Stripe::RequestParams
|
888
|
-
|
889
|
-
end
|
890
|
-
class Zip < Stripe::RequestParams
|
891
|
-
|
892
|
-
end
|
823
|
+
class WechatPay < Stripe::RequestParams; end
|
824
|
+
class Zip < Stripe::RequestParams; end
|
893
825
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
894
826
|
sig {
|
895
827
|
returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AcssDebit))
|
@@ -1191,9 +1123,7 @@ module Stripe
|
|
1191
1123
|
}
|
1192
1124
|
def initialize(currency: nil, mandate_options: nil, verification_method: nil); end
|
1193
1125
|
end
|
1194
|
-
class AmazonPay < Stripe::RequestParams
|
1195
|
-
|
1196
|
-
end
|
1126
|
+
class AmazonPay < Stripe::RequestParams; end
|
1197
1127
|
class BacsDebit < Stripe::RequestParams
|
1198
1128
|
class MandateOptions < Stripe::RequestParams
|
1199
1129
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
@@ -1370,9 +1300,7 @@ module Stripe
|
|
1370
1300
|
three_d_secure: nil
|
1371
1301
|
); end
|
1372
1302
|
end
|
1373
|
-
class CardPresent < Stripe::RequestParams
|
1374
|
-
|
1375
|
-
end
|
1303
|
+
class CardPresent < Stripe::RequestParams; end
|
1376
1304
|
class Link < Stripe::RequestParams
|
1377
1305
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
1378
1306
|
sig { returns(T.nilable(String)) }
|
@@ -1657,21 +1585,11 @@ module Stripe
|
|
1657
1585
|
}
|
1658
1586
|
def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
|
1659
1587
|
end
|
1660
|
-
class Affirm < Stripe::RequestParams
|
1661
|
-
|
1662
|
-
end
|
1663
|
-
class
|
1664
|
-
|
1665
|
-
end
|
1666
|
-
class Alipay < Stripe::RequestParams
|
1667
|
-
|
1668
|
-
end
|
1669
|
-
class Alma < Stripe::RequestParams
|
1670
|
-
|
1671
|
-
end
|
1672
|
-
class AmazonPay < Stripe::RequestParams
|
1673
|
-
|
1674
|
-
end
|
1588
|
+
class Affirm < Stripe::RequestParams; end
|
1589
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
1590
|
+
class Alipay < Stripe::RequestParams; end
|
1591
|
+
class Alma < Stripe::RequestParams; end
|
1592
|
+
class AmazonPay < Stripe::RequestParams; end
|
1675
1593
|
class AuBecsDebit < Stripe::RequestParams
|
1676
1594
|
# The account number for the bank account.
|
1677
1595
|
sig { returns(String) }
|
@@ -1692,12 +1610,8 @@ module Stripe
|
|
1692
1610
|
sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
|
1693
1611
|
def initialize(account_number: nil, sort_code: nil); end
|
1694
1612
|
end
|
1695
|
-
class Bancontact < Stripe::RequestParams
|
1696
|
-
|
1697
|
-
end
|
1698
|
-
class Billie < Stripe::RequestParams
|
1699
|
-
|
1700
|
-
end
|
1613
|
+
class Bancontact < Stripe::RequestParams; end
|
1614
|
+
class Billie < Stripe::RequestParams; end
|
1701
1615
|
class BillingDetails < Stripe::RequestParams
|
1702
1616
|
class Address < Stripe::RequestParams
|
1703
1617
|
# City, district, suburb, town, or village.
|
@@ -1752,9 +1666,7 @@ module Stripe
|
|
1752
1666
|
}
|
1753
1667
|
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
1754
1668
|
end
|
1755
|
-
class Blik < Stripe::RequestParams
|
1756
|
-
|
1757
|
-
end
|
1669
|
+
class Blik < Stripe::RequestParams; end
|
1758
1670
|
class Boleto < Stripe::RequestParams
|
1759
1671
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
1760
1672
|
sig { returns(String) }
|
@@ -1762,12 +1674,8 @@ module Stripe
|
|
1762
1674
|
sig { params(tax_id: String).void }
|
1763
1675
|
def initialize(tax_id: nil); end
|
1764
1676
|
end
|
1765
|
-
class Cashapp < Stripe::RequestParams
|
1766
|
-
|
1767
|
-
end
|
1768
|
-
class CustomerBalance < Stripe::RequestParams
|
1769
|
-
|
1770
|
-
end
|
1677
|
+
class Cashapp < Stripe::RequestParams; end
|
1678
|
+
class CustomerBalance < Stripe::RequestParams; end
|
1771
1679
|
class Eps < Stripe::RequestParams
|
1772
1680
|
# The customer's bank.
|
1773
1681
|
sig { returns(T.nilable(String)) }
|
@@ -1785,12 +1693,8 @@ module Stripe
|
|
1785
1693
|
sig { params(account_holder_type: T.nilable(String), bank: String).void }
|
1786
1694
|
def initialize(account_holder_type: nil, bank: nil); end
|
1787
1695
|
end
|
1788
|
-
class Giropay < Stripe::RequestParams
|
1789
|
-
|
1790
|
-
end
|
1791
|
-
class Grabpay < Stripe::RequestParams
|
1792
|
-
|
1793
|
-
end
|
1696
|
+
class Giropay < Stripe::RequestParams; end
|
1697
|
+
class Grabpay < Stripe::RequestParams; end
|
1794
1698
|
class Ideal < Stripe::RequestParams
|
1795
1699
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1796
1700
|
sig { returns(T.nilable(String)) }
|
@@ -1798,12 +1702,8 @@ module Stripe
|
|
1798
1702
|
sig { params(bank: T.nilable(String)).void }
|
1799
1703
|
def initialize(bank: nil); end
|
1800
1704
|
end
|
1801
|
-
class InteracPresent < Stripe::RequestParams
|
1802
|
-
|
1803
|
-
end
|
1804
|
-
class KakaoPay < Stripe::RequestParams
|
1805
|
-
|
1806
|
-
end
|
1705
|
+
class InteracPresent < Stripe::RequestParams; end
|
1706
|
+
class KakaoPay < Stripe::RequestParams; end
|
1807
1707
|
class Klarna < Stripe::RequestParams
|
1808
1708
|
class Dob < Stripe::RequestParams
|
1809
1709
|
# The day of birth, between 1 and 31.
|
@@ -1828,21 +1728,11 @@ module Stripe
|
|
1828
1728
|
}
|
1829
1729
|
def initialize(dob: nil); end
|
1830
1730
|
end
|
1831
|
-
class Konbini < Stripe::RequestParams
|
1832
|
-
|
1833
|
-
end
|
1834
|
-
class
|
1835
|
-
|
1836
|
-
end
|
1837
|
-
class Link < Stripe::RequestParams
|
1838
|
-
|
1839
|
-
end
|
1840
|
-
class Mobilepay < Stripe::RequestParams
|
1841
|
-
|
1842
|
-
end
|
1843
|
-
class Multibanco < Stripe::RequestParams
|
1844
|
-
|
1845
|
-
end
|
1731
|
+
class Konbini < Stripe::RequestParams; end
|
1732
|
+
class KrCard < Stripe::RequestParams; end
|
1733
|
+
class Link < Stripe::RequestParams; end
|
1734
|
+
class Mobilepay < Stripe::RequestParams; end
|
1735
|
+
class Multibanco < Stripe::RequestParams; end
|
1846
1736
|
class NaverPay < Stripe::RequestParams
|
1847
1737
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
1848
1738
|
sig { returns(T.nilable(String)) }
|
@@ -1881,9 +1771,7 @@ module Stripe
|
|
1881
1771
|
suffix: nil
|
1882
1772
|
); end
|
1883
1773
|
end
|
1884
|
-
class Oxxo < Stripe::RequestParams
|
1885
|
-
|
1886
|
-
end
|
1774
|
+
class Oxxo < Stripe::RequestParams; end
|
1887
1775
|
class P24 < Stripe::RequestParams
|
1888
1776
|
# The customer's bank.
|
1889
1777
|
sig { returns(T.nilable(String)) }
|
@@ -1891,24 +1779,12 @@ module Stripe
|
|
1891
1779
|
sig { params(bank: T.nilable(String)).void }
|
1892
1780
|
def initialize(bank: nil); end
|
1893
1781
|
end
|
1894
|
-
class PayByBank < Stripe::RequestParams
|
1895
|
-
|
1896
|
-
end
|
1897
|
-
class
|
1898
|
-
|
1899
|
-
end
|
1900
|
-
class Paynow < Stripe::RequestParams
|
1901
|
-
|
1902
|
-
end
|
1903
|
-
class Paypal < Stripe::RequestParams
|
1904
|
-
|
1905
|
-
end
|
1906
|
-
class Pix < Stripe::RequestParams
|
1907
|
-
|
1908
|
-
end
|
1909
|
-
class Promptpay < Stripe::RequestParams
|
1910
|
-
|
1911
|
-
end
|
1782
|
+
class PayByBank < Stripe::RequestParams; end
|
1783
|
+
class Payco < Stripe::RequestParams; end
|
1784
|
+
class Paynow < Stripe::RequestParams; end
|
1785
|
+
class Paypal < Stripe::RequestParams; end
|
1786
|
+
class Pix < Stripe::RequestParams; end
|
1787
|
+
class Promptpay < Stripe::RequestParams; end
|
1912
1788
|
class RadarOptions < Stripe::RequestParams
|
1913
1789
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1914
1790
|
sig { returns(T.nilable(String)) }
|
@@ -1916,15 +1792,9 @@ module Stripe
|
|
1916
1792
|
sig { params(session: T.nilable(String)).void }
|
1917
1793
|
def initialize(session: nil); end
|
1918
1794
|
end
|
1919
|
-
class RevolutPay < Stripe::RequestParams
|
1920
|
-
|
1921
|
-
end
|
1922
|
-
class SamsungPay < Stripe::RequestParams
|
1923
|
-
|
1924
|
-
end
|
1925
|
-
class Satispay < Stripe::RequestParams
|
1926
|
-
|
1927
|
-
end
|
1795
|
+
class RevolutPay < Stripe::RequestParams; end
|
1796
|
+
class SamsungPay < Stripe::RequestParams; end
|
1797
|
+
class Satispay < Stripe::RequestParams; end
|
1928
1798
|
class SepaDebit < Stripe::RequestParams
|
1929
1799
|
# IBAN of the bank account.
|
1930
1800
|
sig { returns(String) }
|
@@ -1939,12 +1809,8 @@ module Stripe
|
|
1939
1809
|
sig { params(country: String).void }
|
1940
1810
|
def initialize(country: nil); end
|
1941
1811
|
end
|
1942
|
-
class Swish < Stripe::RequestParams
|
1943
|
-
|
1944
|
-
end
|
1945
|
-
class Twint < Stripe::RequestParams
|
1946
|
-
|
1947
|
-
end
|
1812
|
+
class Swish < Stripe::RequestParams; end
|
1813
|
+
class Twint < Stripe::RequestParams; end
|
1948
1814
|
class UsBankAccount < Stripe::RequestParams
|
1949
1815
|
# Account holder type: individual or company.
|
1950
1816
|
sig { returns(T.nilable(String)) }
|
@@ -1972,12 +1838,8 @@ module Stripe
|
|
1972
1838
|
routing_number: nil
|
1973
1839
|
); end
|
1974
1840
|
end
|
1975
|
-
class WechatPay < Stripe::RequestParams
|
1976
|
-
|
1977
|
-
end
|
1978
|
-
class Zip < Stripe::RequestParams
|
1979
|
-
|
1980
|
-
end
|
1841
|
+
class WechatPay < Stripe::RequestParams; end
|
1842
|
+
class Zip < Stripe::RequestParams; end
|
1981
1843
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
1982
1844
|
sig {
|
1983
1845
|
returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AcssDebit))
|
@@ -2279,9 +2141,7 @@ module Stripe
|
|
2279
2141
|
}
|
2280
2142
|
def initialize(currency: nil, mandate_options: nil, verification_method: nil); end
|
2281
2143
|
end
|
2282
|
-
class AmazonPay < Stripe::RequestParams
|
2283
|
-
|
2284
|
-
end
|
2144
|
+
class AmazonPay < Stripe::RequestParams; end
|
2285
2145
|
class BacsDebit < Stripe::RequestParams
|
2286
2146
|
class MandateOptions < Stripe::RequestParams
|
2287
2147
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
@@ -2458,9 +2318,7 @@ module Stripe
|
|
2458
2318
|
three_d_secure: nil
|
2459
2319
|
); end
|
2460
2320
|
end
|
2461
|
-
class CardPresent < Stripe::RequestParams
|
2462
|
-
|
2463
|
-
end
|
2321
|
+
class CardPresent < Stripe::RequestParams; end
|
2464
2322
|
class Link < Stripe::RequestParams
|
2465
2323
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
2466
2324
|
sig { returns(T.nilable(String)) }
|
@@ -2691,9 +2549,7 @@ module Stripe
|
|
2691
2549
|
class ConfirmParams < Stripe::RequestParams
|
2692
2550
|
class MandateData < Stripe::RequestParams
|
2693
2551
|
class CustomerAcceptance < Stripe::RequestParams
|
2694
|
-
class Offline < Stripe::RequestParams
|
2695
|
-
|
2696
|
-
end
|
2552
|
+
class Offline < Stripe::RequestParams; end
|
2697
2553
|
class Online < Stripe::RequestParams
|
2698
2554
|
# The IP address from which the Mandate was accepted by the customer.
|
2699
2555
|
sig { returns(T.nilable(String)) }
|
@@ -2751,21 +2607,11 @@ module Stripe
|
|
2751
2607
|
}
|
2752
2608
|
def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
|
2753
2609
|
end
|
2754
|
-
class Affirm < Stripe::RequestParams
|
2755
|
-
|
2756
|
-
end
|
2757
|
-
class
|
2758
|
-
|
2759
|
-
end
|
2760
|
-
class Alipay < Stripe::RequestParams
|
2761
|
-
|
2762
|
-
end
|
2763
|
-
class Alma < Stripe::RequestParams
|
2764
|
-
|
2765
|
-
end
|
2766
|
-
class AmazonPay < Stripe::RequestParams
|
2767
|
-
|
2768
|
-
end
|
2610
|
+
class Affirm < Stripe::RequestParams; end
|
2611
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
2612
|
+
class Alipay < Stripe::RequestParams; end
|
2613
|
+
class Alma < Stripe::RequestParams; end
|
2614
|
+
class AmazonPay < Stripe::RequestParams; end
|
2769
2615
|
class AuBecsDebit < Stripe::RequestParams
|
2770
2616
|
# The account number for the bank account.
|
2771
2617
|
sig { returns(String) }
|
@@ -2786,12 +2632,8 @@ module Stripe
|
|
2786
2632
|
sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
|
2787
2633
|
def initialize(account_number: nil, sort_code: nil); end
|
2788
2634
|
end
|
2789
|
-
class Bancontact < Stripe::RequestParams
|
2790
|
-
|
2791
|
-
end
|
2792
|
-
class Billie < Stripe::RequestParams
|
2793
|
-
|
2794
|
-
end
|
2635
|
+
class Bancontact < Stripe::RequestParams; end
|
2636
|
+
class Billie < Stripe::RequestParams; end
|
2795
2637
|
class BillingDetails < Stripe::RequestParams
|
2796
2638
|
class Address < Stripe::RequestParams
|
2797
2639
|
# City, district, suburb, town, or village.
|
@@ -2846,9 +2688,7 @@ module Stripe
|
|
2846
2688
|
}
|
2847
2689
|
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
2848
2690
|
end
|
2849
|
-
class Blik < Stripe::RequestParams
|
2850
|
-
|
2851
|
-
end
|
2691
|
+
class Blik < Stripe::RequestParams; end
|
2852
2692
|
class Boleto < Stripe::RequestParams
|
2853
2693
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
2854
2694
|
sig { returns(String) }
|
@@ -2856,12 +2696,8 @@ module Stripe
|
|
2856
2696
|
sig { params(tax_id: String).void }
|
2857
2697
|
def initialize(tax_id: nil); end
|
2858
2698
|
end
|
2859
|
-
class Cashapp < Stripe::RequestParams
|
2860
|
-
|
2861
|
-
end
|
2862
|
-
class CustomerBalance < Stripe::RequestParams
|
2863
|
-
|
2864
|
-
end
|
2699
|
+
class Cashapp < Stripe::RequestParams; end
|
2700
|
+
class CustomerBalance < Stripe::RequestParams; end
|
2865
2701
|
class Eps < Stripe::RequestParams
|
2866
2702
|
# The customer's bank.
|
2867
2703
|
sig { returns(T.nilable(String)) }
|
@@ -2879,12 +2715,8 @@ module Stripe
|
|
2879
2715
|
sig { params(account_holder_type: T.nilable(String), bank: String).void }
|
2880
2716
|
def initialize(account_holder_type: nil, bank: nil); end
|
2881
2717
|
end
|
2882
|
-
class Giropay < Stripe::RequestParams
|
2883
|
-
|
2884
|
-
end
|
2885
|
-
class Grabpay < Stripe::RequestParams
|
2886
|
-
|
2887
|
-
end
|
2718
|
+
class Giropay < Stripe::RequestParams; end
|
2719
|
+
class Grabpay < Stripe::RequestParams; end
|
2888
2720
|
class Ideal < Stripe::RequestParams
|
2889
2721
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2890
2722
|
sig { returns(T.nilable(String)) }
|
@@ -2892,12 +2724,8 @@ module Stripe
|
|
2892
2724
|
sig { params(bank: T.nilable(String)).void }
|
2893
2725
|
def initialize(bank: nil); end
|
2894
2726
|
end
|
2895
|
-
class InteracPresent < Stripe::RequestParams
|
2896
|
-
|
2897
|
-
end
|
2898
|
-
class KakaoPay < Stripe::RequestParams
|
2899
|
-
|
2900
|
-
end
|
2727
|
+
class InteracPresent < Stripe::RequestParams; end
|
2728
|
+
class KakaoPay < Stripe::RequestParams; end
|
2901
2729
|
class Klarna < Stripe::RequestParams
|
2902
2730
|
class Dob < Stripe::RequestParams
|
2903
2731
|
# The day of birth, between 1 and 31.
|
@@ -2922,21 +2750,11 @@ module Stripe
|
|
2922
2750
|
}
|
2923
2751
|
def initialize(dob: nil); end
|
2924
2752
|
end
|
2925
|
-
class Konbini < Stripe::RequestParams
|
2926
|
-
|
2927
|
-
end
|
2928
|
-
class
|
2929
|
-
|
2930
|
-
end
|
2931
|
-
class Link < Stripe::RequestParams
|
2932
|
-
|
2933
|
-
end
|
2934
|
-
class Mobilepay < Stripe::RequestParams
|
2935
|
-
|
2936
|
-
end
|
2937
|
-
class Multibanco < Stripe::RequestParams
|
2938
|
-
|
2939
|
-
end
|
2753
|
+
class Konbini < Stripe::RequestParams; end
|
2754
|
+
class KrCard < Stripe::RequestParams; end
|
2755
|
+
class Link < Stripe::RequestParams; end
|
2756
|
+
class Mobilepay < Stripe::RequestParams; end
|
2757
|
+
class Multibanco < Stripe::RequestParams; end
|
2940
2758
|
class NaverPay < Stripe::RequestParams
|
2941
2759
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
2942
2760
|
sig { returns(T.nilable(String)) }
|
@@ -2975,9 +2793,7 @@ module Stripe
|
|
2975
2793
|
suffix: nil
|
2976
2794
|
); end
|
2977
2795
|
end
|
2978
|
-
class Oxxo < Stripe::RequestParams
|
2979
|
-
|
2980
|
-
end
|
2796
|
+
class Oxxo < Stripe::RequestParams; end
|
2981
2797
|
class P24 < Stripe::RequestParams
|
2982
2798
|
# The customer's bank.
|
2983
2799
|
sig { returns(T.nilable(String)) }
|
@@ -2985,24 +2801,12 @@ module Stripe
|
|
2985
2801
|
sig { params(bank: T.nilable(String)).void }
|
2986
2802
|
def initialize(bank: nil); end
|
2987
2803
|
end
|
2988
|
-
class PayByBank < Stripe::RequestParams
|
2989
|
-
|
2990
|
-
end
|
2991
|
-
class
|
2992
|
-
|
2993
|
-
end
|
2994
|
-
class Paynow < Stripe::RequestParams
|
2995
|
-
|
2996
|
-
end
|
2997
|
-
class Paypal < Stripe::RequestParams
|
2998
|
-
|
2999
|
-
end
|
3000
|
-
class Pix < Stripe::RequestParams
|
3001
|
-
|
3002
|
-
end
|
3003
|
-
class Promptpay < Stripe::RequestParams
|
3004
|
-
|
3005
|
-
end
|
2804
|
+
class PayByBank < Stripe::RequestParams; end
|
2805
|
+
class Payco < Stripe::RequestParams; end
|
2806
|
+
class Paynow < Stripe::RequestParams; end
|
2807
|
+
class Paypal < Stripe::RequestParams; end
|
2808
|
+
class Pix < Stripe::RequestParams; end
|
2809
|
+
class Promptpay < Stripe::RequestParams; end
|
3006
2810
|
class RadarOptions < Stripe::RequestParams
|
3007
2811
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
3008
2812
|
sig { returns(T.nilable(String)) }
|
@@ -3010,15 +2814,9 @@ module Stripe
|
|
3010
2814
|
sig { params(session: T.nilable(String)).void }
|
3011
2815
|
def initialize(session: nil); end
|
3012
2816
|
end
|
3013
|
-
class RevolutPay < Stripe::RequestParams
|
3014
|
-
|
3015
|
-
end
|
3016
|
-
class SamsungPay < Stripe::RequestParams
|
3017
|
-
|
3018
|
-
end
|
3019
|
-
class Satispay < Stripe::RequestParams
|
3020
|
-
|
3021
|
-
end
|
2817
|
+
class RevolutPay < Stripe::RequestParams; end
|
2818
|
+
class SamsungPay < Stripe::RequestParams; end
|
2819
|
+
class Satispay < Stripe::RequestParams; end
|
3022
2820
|
class SepaDebit < Stripe::RequestParams
|
3023
2821
|
# IBAN of the bank account.
|
3024
2822
|
sig { returns(String) }
|
@@ -3033,12 +2831,8 @@ module Stripe
|
|
3033
2831
|
sig { params(country: String).void }
|
3034
2832
|
def initialize(country: nil); end
|
3035
2833
|
end
|
3036
|
-
class Swish < Stripe::RequestParams
|
3037
|
-
|
3038
|
-
end
|
3039
|
-
class Twint < Stripe::RequestParams
|
3040
|
-
|
3041
|
-
end
|
2834
|
+
class Swish < Stripe::RequestParams; end
|
2835
|
+
class Twint < Stripe::RequestParams; end
|
3042
2836
|
class UsBankAccount < Stripe::RequestParams
|
3043
2837
|
# Account holder type: individual or company.
|
3044
2838
|
sig { returns(T.nilable(String)) }
|
@@ -3066,12 +2860,8 @@ module Stripe
|
|
3066
2860
|
routing_number: nil
|
3067
2861
|
); end
|
3068
2862
|
end
|
3069
|
-
class WechatPay < Stripe::RequestParams
|
3070
|
-
|
3071
|
-
end
|
3072
|
-
class Zip < Stripe::RequestParams
|
3073
|
-
|
3074
|
-
end
|
2863
|
+
class WechatPay < Stripe::RequestParams; end
|
2864
|
+
class Zip < Stripe::RequestParams; end
|
3075
2865
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
3076
2866
|
sig {
|
3077
2867
|
returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AcssDebit))
|
@@ -3379,9 +3169,7 @@ module Stripe
|
|
3379
3169
|
}
|
3380
3170
|
def initialize(currency: nil, mandate_options: nil, verification_method: nil); end
|
3381
3171
|
end
|
3382
|
-
class AmazonPay < Stripe::RequestParams
|
3383
|
-
|
3384
|
-
end
|
3172
|
+
class AmazonPay < Stripe::RequestParams; end
|
3385
3173
|
class BacsDebit < Stripe::RequestParams
|
3386
3174
|
class MandateOptions < Stripe::RequestParams
|
3387
3175
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
@@ -3558,9 +3346,7 @@ module Stripe
|
|
3558
3346
|
three_d_secure: nil
|
3559
3347
|
); end
|
3560
3348
|
end
|
3561
|
-
class CardPresent < Stripe::RequestParams
|
3562
|
-
|
3563
|
-
end
|
3349
|
+
class CardPresent < Stripe::RequestParams; end
|
3564
3350
|
class Link < Stripe::RequestParams
|
3565
3351
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
3566
3352
|
sig { returns(T.nilable(String)) }
|
@@ -3781,7 +3567,7 @@ module Stripe
|
|
3781
3567
|
end
|
3782
3568
|
# You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
|
3783
3569
|
#
|
3784
|
-
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
3570
|
+
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
|
3785
3571
|
sig {
|
3786
3572
|
params(params: T.any(::Stripe::SetupIntent::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent)
|
3787
3573
|
}
|
@@ -3789,7 +3575,7 @@ module Stripe
|
|
3789
3575
|
|
3790
3576
|
# You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
|
3791
3577
|
#
|
3792
|
-
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
3578
|
+
# After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
|
3793
3579
|
sig {
|
3794
3580
|
params(intent: String, params: T.any(::Stripe::SetupIntent::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent)
|
3795
3581
|
}
|
@@ -3835,7 +3621,7 @@ module Stripe
|
|
3835
3621
|
|
3836
3622
|
# Creates a SetupIntent object.
|
3837
3623
|
#
|
3838
|
-
# After you create the SetupIntent, attach a payment method and [confirm](https://stripe.com/docs/api/setup_intents/confirm)
|
3624
|
+
# After you create the SetupIntent, attach a payment method and [confirm](https://docs.stripe.com/docs/api/setup_intents/confirm)
|
3839
3625
|
# it to collect any required permissions to charge the payment method later.
|
3840
3626
|
sig {
|
3841
3627
|
params(params: T.any(::Stripe::SetupIntent::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SetupIntent)
|