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
@@ -482,6 +482,24 @@ module Stripe
|
|
482
482
|
}
|
483
483
|
def initialize(display_preference: nil); end
|
484
484
|
end
|
485
|
+
class KakaoPay < Stripe::RequestParams
|
486
|
+
class DisplayPreference < Stripe::RequestParams
|
487
|
+
# The account's preference for whether or not to display this payment method.
|
488
|
+
sig { returns(T.nilable(String)) }
|
489
|
+
attr_accessor :preference
|
490
|
+
sig { params(preference: T.nilable(String)).void }
|
491
|
+
def initialize(preference: nil); end
|
492
|
+
end
|
493
|
+
# Whether or not the payment method should be displayed.
|
494
|
+
sig {
|
495
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay::DisplayPreference))
|
496
|
+
}
|
497
|
+
attr_accessor :display_preference
|
498
|
+
sig {
|
499
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay::DisplayPreference)).void
|
500
|
+
}
|
501
|
+
def initialize(display_preference: nil); end
|
502
|
+
end
|
485
503
|
class Klarna < Stripe::RequestParams
|
486
504
|
class DisplayPreference < Stripe::RequestParams
|
487
505
|
# The account's preference for whether or not to display this payment method.
|
@@ -518,6 +536,24 @@ module Stripe
|
|
518
536
|
}
|
519
537
|
def initialize(display_preference: nil); end
|
520
538
|
end
|
539
|
+
class KrCard < Stripe::RequestParams
|
540
|
+
class DisplayPreference < Stripe::RequestParams
|
541
|
+
# The account's preference for whether or not to display this payment method.
|
542
|
+
sig { returns(T.nilable(String)) }
|
543
|
+
attr_accessor :preference
|
544
|
+
sig { params(preference: T.nilable(String)).void }
|
545
|
+
def initialize(preference: nil); end
|
546
|
+
end
|
547
|
+
# Whether or not the payment method should be displayed.
|
548
|
+
sig {
|
549
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard::DisplayPreference))
|
550
|
+
}
|
551
|
+
attr_accessor :display_preference
|
552
|
+
sig {
|
553
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard::DisplayPreference)).void
|
554
|
+
}
|
555
|
+
def initialize(display_preference: nil); end
|
556
|
+
end
|
521
557
|
class Link < Stripe::RequestParams
|
522
558
|
class DisplayPreference < Stripe::RequestParams
|
523
559
|
# The account's preference for whether or not to display this payment method.
|
@@ -572,6 +608,24 @@ module Stripe
|
|
572
608
|
}
|
573
609
|
def initialize(display_preference: nil); end
|
574
610
|
end
|
611
|
+
class NaverPay < Stripe::RequestParams
|
612
|
+
class DisplayPreference < Stripe::RequestParams
|
613
|
+
# The account's preference for whether or not to display this payment method.
|
614
|
+
sig { returns(T.nilable(String)) }
|
615
|
+
attr_accessor :preference
|
616
|
+
sig { params(preference: T.nilable(String)).void }
|
617
|
+
def initialize(preference: nil); end
|
618
|
+
end
|
619
|
+
# Whether or not the payment method should be displayed.
|
620
|
+
sig {
|
621
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay::DisplayPreference))
|
622
|
+
}
|
623
|
+
attr_accessor :display_preference
|
624
|
+
sig {
|
625
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay::DisplayPreference)).void
|
626
|
+
}
|
627
|
+
def initialize(display_preference: nil); end
|
628
|
+
end
|
575
629
|
class NzBankAccount < Stripe::RequestParams
|
576
630
|
class DisplayPreference < Stripe::RequestParams
|
577
631
|
# The account's preference for whether or not to display this payment method.
|
@@ -644,6 +698,24 @@ module Stripe
|
|
644
698
|
}
|
645
699
|
def initialize(display_preference: nil); end
|
646
700
|
end
|
701
|
+
class Payco < Stripe::RequestParams
|
702
|
+
class DisplayPreference < Stripe::RequestParams
|
703
|
+
# The account's preference for whether or not to display this payment method.
|
704
|
+
sig { returns(T.nilable(String)) }
|
705
|
+
attr_accessor :preference
|
706
|
+
sig { params(preference: T.nilable(String)).void }
|
707
|
+
def initialize(preference: nil); end
|
708
|
+
end
|
709
|
+
# Whether or not the payment method should be displayed.
|
710
|
+
sig {
|
711
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco::DisplayPreference))
|
712
|
+
}
|
713
|
+
attr_accessor :display_preference
|
714
|
+
sig {
|
715
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco::DisplayPreference)).void
|
716
|
+
}
|
717
|
+
def initialize(display_preference: nil); end
|
718
|
+
end
|
647
719
|
class Paynow < Stripe::RequestParams
|
648
720
|
class DisplayPreference < Stripe::RequestParams
|
649
721
|
# The account's preference for whether or not to display this payment method.
|
@@ -734,6 +806,24 @@ module Stripe
|
|
734
806
|
}
|
735
807
|
def initialize(display_preference: nil); end
|
736
808
|
end
|
809
|
+
class SamsungPay < Stripe::RequestParams
|
810
|
+
class DisplayPreference < Stripe::RequestParams
|
811
|
+
# The account's preference for whether or not to display this payment method.
|
812
|
+
sig { returns(T.nilable(String)) }
|
813
|
+
attr_accessor :preference
|
814
|
+
sig { params(preference: T.nilable(String)).void }
|
815
|
+
def initialize(preference: nil); end
|
816
|
+
end
|
817
|
+
# Whether or not the payment method should be displayed.
|
818
|
+
sig {
|
819
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay::DisplayPreference))
|
820
|
+
}
|
821
|
+
attr_accessor :display_preference
|
822
|
+
sig {
|
823
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay::DisplayPreference)).void
|
824
|
+
}
|
825
|
+
def initialize(display_preference: nil); end
|
826
|
+
end
|
737
827
|
class Satispay < Stripe::RequestParams
|
738
828
|
class DisplayPreference < Stripe::RequestParams
|
739
829
|
# The account's preference for whether or not to display this payment method.
|
@@ -902,7 +992,7 @@ module Stripe
|
|
902
992
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay))
|
903
993
|
}
|
904
994
|
attr_accessor :amazon_pay
|
905
|
-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
995
|
+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
906
996
|
sig {
|
907
997
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay))
|
908
998
|
}
|
@@ -978,12 +1068,20 @@ module Stripe
|
|
978
1068
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
979
1069
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb)) }
|
980
1070
|
attr_accessor :jcb
|
1071
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
1072
|
+
sig {
|
1073
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay))
|
1074
|
+
}
|
1075
|
+
attr_accessor :kakao_pay
|
981
1076
|
# Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
|
982
1077
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna)) }
|
983
1078
|
attr_accessor :klarna
|
984
1079
|
# Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
|
985
1080
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini)) }
|
986
1081
|
attr_accessor :konbini
|
1082
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
1083
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard)) }
|
1084
|
+
attr_accessor :kr_card
|
987
1085
|
# [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
|
988
1086
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link)) }
|
989
1087
|
attr_accessor :link
|
@@ -1000,6 +1098,11 @@ module Stripe
|
|
1000
1098
|
# Configuration name.
|
1001
1099
|
sig { returns(T.nilable(String)) }
|
1002
1100
|
attr_accessor :name
|
1101
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
1102
|
+
sig {
|
1103
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay))
|
1104
|
+
}
|
1105
|
+
attr_accessor :naver_pay
|
1003
1106
|
# Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
|
1004
1107
|
sig {
|
1005
1108
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount))
|
@@ -1019,6 +1122,9 @@ module Stripe
|
|
1019
1122
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank))
|
1020
1123
|
}
|
1021
1124
|
attr_accessor :pay_by_bank
|
1125
|
+
# PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
1126
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco)) }
|
1127
|
+
attr_accessor :payco
|
1022
1128
|
# PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
|
1023
1129
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow)) }
|
1024
1130
|
attr_accessor :paynow
|
@@ -1038,6 +1144,11 @@ module Stripe
|
|
1038
1144
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay))
|
1039
1145
|
}
|
1040
1146
|
attr_accessor :revolut_pay
|
1147
|
+
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
1148
|
+
sig {
|
1149
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay))
|
1150
|
+
}
|
1151
|
+
attr_accessor :samsung_pay
|
1041
1152
|
# Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
1042
1153
|
sig {
|
1043
1154
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay))
|
@@ -1071,7 +1182,7 @@ module Stripe
|
|
1071
1182
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)) }
|
1072
1183
|
attr_accessor :zip
|
1073
1184
|
sig {
|
1074
|
-
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), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay), 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), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit), 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
|
1185
|
+
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), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard), 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), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay), 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), payco: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit), 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
|
1075
1186
|
}
|
1076
1187
|
def initialize(
|
1077
1188
|
acss_debit: nil,
|
@@ -1100,22 +1211,27 @@ module Stripe
|
|
1100
1211
|
grabpay: nil,
|
1101
1212
|
ideal: nil,
|
1102
1213
|
jcb: nil,
|
1214
|
+
kakao_pay: nil,
|
1103
1215
|
klarna: nil,
|
1104
1216
|
konbini: nil,
|
1217
|
+
kr_card: nil,
|
1105
1218
|
link: nil,
|
1106
1219
|
mobilepay: nil,
|
1107
1220
|
multibanco: nil,
|
1108
1221
|
name: nil,
|
1222
|
+
naver_pay: nil,
|
1109
1223
|
nz_bank_account: nil,
|
1110
1224
|
oxxo: nil,
|
1111
1225
|
p24: nil,
|
1112
1226
|
parent: nil,
|
1113
1227
|
pay_by_bank: nil,
|
1228
|
+
payco: nil,
|
1114
1229
|
paynow: nil,
|
1115
1230
|
paypal: nil,
|
1116
1231
|
pix: nil,
|
1117
1232
|
promptpay: nil,
|
1118
1233
|
revolut_pay: nil,
|
1234
|
+
samsung_pay: nil,
|
1119
1235
|
satispay: nil,
|
1120
1236
|
sepa_debit: nil,
|
1121
1237
|
sofort: nil,
|
@@ -1584,6 +1700,24 @@ module Stripe
|
|
1584
1700
|
}
|
1585
1701
|
def initialize(display_preference: nil); end
|
1586
1702
|
end
|
1703
|
+
class KakaoPay < Stripe::RequestParams
|
1704
|
+
class DisplayPreference < Stripe::RequestParams
|
1705
|
+
# The account's preference for whether or not to display this payment method.
|
1706
|
+
sig { returns(T.nilable(String)) }
|
1707
|
+
attr_accessor :preference
|
1708
|
+
sig { params(preference: T.nilable(String)).void }
|
1709
|
+
def initialize(preference: nil); end
|
1710
|
+
end
|
1711
|
+
# Whether or not the payment method should be displayed.
|
1712
|
+
sig {
|
1713
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay::DisplayPreference))
|
1714
|
+
}
|
1715
|
+
attr_accessor :display_preference
|
1716
|
+
sig {
|
1717
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay::DisplayPreference)).void
|
1718
|
+
}
|
1719
|
+
def initialize(display_preference: nil); end
|
1720
|
+
end
|
1587
1721
|
class Klarna < Stripe::RequestParams
|
1588
1722
|
class DisplayPreference < Stripe::RequestParams
|
1589
1723
|
# The account's preference for whether or not to display this payment method.
|
@@ -1620,6 +1754,24 @@ module Stripe
|
|
1620
1754
|
}
|
1621
1755
|
def initialize(display_preference: nil); end
|
1622
1756
|
end
|
1757
|
+
class KrCard < Stripe::RequestParams
|
1758
|
+
class DisplayPreference < Stripe::RequestParams
|
1759
|
+
# The account's preference for whether or not to display this payment method.
|
1760
|
+
sig { returns(T.nilable(String)) }
|
1761
|
+
attr_accessor :preference
|
1762
|
+
sig { params(preference: T.nilable(String)).void }
|
1763
|
+
def initialize(preference: nil); end
|
1764
|
+
end
|
1765
|
+
# Whether or not the payment method should be displayed.
|
1766
|
+
sig {
|
1767
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard::DisplayPreference))
|
1768
|
+
}
|
1769
|
+
attr_accessor :display_preference
|
1770
|
+
sig {
|
1771
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard::DisplayPreference)).void
|
1772
|
+
}
|
1773
|
+
def initialize(display_preference: nil); end
|
1774
|
+
end
|
1623
1775
|
class Link < Stripe::RequestParams
|
1624
1776
|
class DisplayPreference < Stripe::RequestParams
|
1625
1777
|
# The account's preference for whether or not to display this payment method.
|
@@ -1674,6 +1826,24 @@ module Stripe
|
|
1674
1826
|
}
|
1675
1827
|
def initialize(display_preference: nil); end
|
1676
1828
|
end
|
1829
|
+
class NaverPay < Stripe::RequestParams
|
1830
|
+
class DisplayPreference < Stripe::RequestParams
|
1831
|
+
# The account's preference for whether or not to display this payment method.
|
1832
|
+
sig { returns(T.nilable(String)) }
|
1833
|
+
attr_accessor :preference
|
1834
|
+
sig { params(preference: T.nilable(String)).void }
|
1835
|
+
def initialize(preference: nil); end
|
1836
|
+
end
|
1837
|
+
# Whether or not the payment method should be displayed.
|
1838
|
+
sig {
|
1839
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay::DisplayPreference))
|
1840
|
+
}
|
1841
|
+
attr_accessor :display_preference
|
1842
|
+
sig {
|
1843
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay::DisplayPreference)).void
|
1844
|
+
}
|
1845
|
+
def initialize(display_preference: nil); end
|
1846
|
+
end
|
1677
1847
|
class NzBankAccount < Stripe::RequestParams
|
1678
1848
|
class DisplayPreference < Stripe::RequestParams
|
1679
1849
|
# The account's preference for whether or not to display this payment method.
|
@@ -1746,6 +1916,24 @@ module Stripe
|
|
1746
1916
|
}
|
1747
1917
|
def initialize(display_preference: nil); end
|
1748
1918
|
end
|
1919
|
+
class Payco < Stripe::RequestParams
|
1920
|
+
class DisplayPreference < Stripe::RequestParams
|
1921
|
+
# The account's preference for whether or not to display this payment method.
|
1922
|
+
sig { returns(T.nilable(String)) }
|
1923
|
+
attr_accessor :preference
|
1924
|
+
sig { params(preference: T.nilable(String)).void }
|
1925
|
+
def initialize(preference: nil); end
|
1926
|
+
end
|
1927
|
+
# Whether or not the payment method should be displayed.
|
1928
|
+
sig {
|
1929
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco::DisplayPreference))
|
1930
|
+
}
|
1931
|
+
attr_accessor :display_preference
|
1932
|
+
sig {
|
1933
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco::DisplayPreference)).void
|
1934
|
+
}
|
1935
|
+
def initialize(display_preference: nil); end
|
1936
|
+
end
|
1749
1937
|
class Paynow < Stripe::RequestParams
|
1750
1938
|
class DisplayPreference < Stripe::RequestParams
|
1751
1939
|
# The account's preference for whether or not to display this payment method.
|
@@ -1836,6 +2024,24 @@ module Stripe
|
|
1836
2024
|
}
|
1837
2025
|
def initialize(display_preference: nil); end
|
1838
2026
|
end
|
2027
|
+
class SamsungPay < Stripe::RequestParams
|
2028
|
+
class DisplayPreference < Stripe::RequestParams
|
2029
|
+
# The account's preference for whether or not to display this payment method.
|
2030
|
+
sig { returns(T.nilable(String)) }
|
2031
|
+
attr_accessor :preference
|
2032
|
+
sig { params(preference: T.nilable(String)).void }
|
2033
|
+
def initialize(preference: nil); end
|
2034
|
+
end
|
2035
|
+
# Whether or not the payment method should be displayed.
|
2036
|
+
sig {
|
2037
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay::DisplayPreference))
|
2038
|
+
}
|
2039
|
+
attr_accessor :display_preference
|
2040
|
+
sig {
|
2041
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay::DisplayPreference)).void
|
2042
|
+
}
|
2043
|
+
def initialize(display_preference: nil); end
|
2044
|
+
end
|
1839
2045
|
class Satispay < Stripe::RequestParams
|
1840
2046
|
class DisplayPreference < Stripe::RequestParams
|
1841
2047
|
# The account's preference for whether or not to display this payment method.
|
@@ -2007,7 +2213,7 @@ module Stripe
|
|
2007
2213
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay))
|
2008
2214
|
}
|
2009
2215
|
attr_accessor :amazon_pay
|
2010
|
-
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
2216
|
+
# Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
2011
2217
|
sig {
|
2012
2218
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay))
|
2013
2219
|
}
|
@@ -2083,12 +2289,20 @@ module Stripe
|
|
2083
2289
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
2084
2290
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb)) }
|
2085
2291
|
attr_accessor :jcb
|
2292
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
2293
|
+
sig {
|
2294
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay))
|
2295
|
+
}
|
2296
|
+
attr_accessor :kakao_pay
|
2086
2297
|
# Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
|
2087
2298
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna)) }
|
2088
2299
|
attr_accessor :klarna
|
2089
2300
|
# Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
|
2090
2301
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini)) }
|
2091
2302
|
attr_accessor :konbini
|
2303
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
2304
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard)) }
|
2305
|
+
attr_accessor :kr_card
|
2092
2306
|
# [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
|
2093
2307
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link)) }
|
2094
2308
|
attr_accessor :link
|
@@ -2105,6 +2319,11 @@ module Stripe
|
|
2105
2319
|
# Configuration name.
|
2106
2320
|
sig { returns(T.nilable(String)) }
|
2107
2321
|
attr_accessor :name
|
2322
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
2323
|
+
sig {
|
2324
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay))
|
2325
|
+
}
|
2326
|
+
attr_accessor :naver_pay
|
2108
2327
|
# Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
|
2109
2328
|
sig {
|
2110
2329
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount))
|
@@ -2121,6 +2340,9 @@ module Stripe
|
|
2121
2340
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank))
|
2122
2341
|
}
|
2123
2342
|
attr_accessor :pay_by_bank
|
2343
|
+
# PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
2344
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco)) }
|
2345
|
+
attr_accessor :payco
|
2124
2346
|
# PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
|
2125
2347
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow)) }
|
2126
2348
|
attr_accessor :paynow
|
@@ -2140,6 +2362,11 @@ module Stripe
|
|
2140
2362
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay))
|
2141
2363
|
}
|
2142
2364
|
attr_accessor :revolut_pay
|
2365
|
+
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
2366
|
+
sig {
|
2367
|
+
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay))
|
2368
|
+
}
|
2369
|
+
attr_accessor :samsung_pay
|
2143
2370
|
# Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
2144
2371
|
sig {
|
2145
2372
|
returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay))
|
@@ -2173,7 +2400,7 @@ module Stripe
|
|
2173
2400
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)) }
|
2174
2401
|
attr_accessor :zip
|
2175
2402
|
sig {
|
2176
|
-
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), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay), 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), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit), 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
|
2403
|
+
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), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard), 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), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay), 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), payco: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit), 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
|
2177
2404
|
}
|
2178
2405
|
def initialize(
|
2179
2406
|
acss_debit: nil,
|
@@ -2203,21 +2430,26 @@ module Stripe
|
|
2203
2430
|
grabpay: nil,
|
2204
2431
|
ideal: nil,
|
2205
2432
|
jcb: nil,
|
2433
|
+
kakao_pay: nil,
|
2206
2434
|
klarna: nil,
|
2207
2435
|
konbini: nil,
|
2436
|
+
kr_card: nil,
|
2208
2437
|
link: nil,
|
2209
2438
|
mobilepay: nil,
|
2210
2439
|
multibanco: nil,
|
2211
2440
|
name: nil,
|
2441
|
+
naver_pay: nil,
|
2212
2442
|
nz_bank_account: nil,
|
2213
2443
|
oxxo: nil,
|
2214
2444
|
p24: nil,
|
2215
2445
|
pay_by_bank: nil,
|
2446
|
+
payco: nil,
|
2216
2447
|
paynow: nil,
|
2217
2448
|
paypal: nil,
|
2218
2449
|
pix: nil,
|
2219
2450
|
promptpay: nil,
|
2220
2451
|
revolut_pay: nil,
|
2452
|
+
samsung_pay: nil,
|
2221
2453
|
satispay: nil,
|
2222
2454
|
sepa_debit: nil,
|
2223
2455
|
sofort: nil,
|
@@ -103,7 +103,7 @@ module Stripe
|
|
103
103
|
#
|
104
104
|
# To activate a payment method on an existing payment method domain, complete the required registration steps specific to the payment method, and then validate the payment method domain with this endpoint.
|
105
105
|
#
|
106
|
-
# Related guides: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration).
|
106
|
+
# Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration).
|
107
107
|
sig {
|
108
108
|
params(payment_method_domain: String, params: T.any(::Stripe::PaymentMethodDomainService::ValidateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodDomain)
|
109
109
|
}
|