stripe 15.0.0 → 15.3.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/API_VERSION +1 -0
- data/CHANGELOG.md +129 -44
- data/CONTRIBUTING.md +25 -0
- data/Gemfile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/README.md +28 -55
- data/VERSION +1 -1
- data/lib/stripe/api_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_requestor.rb +1 -1
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/event_types.rb +1 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +21 -0
- data/lib/stripe/oauth.rb +1 -1
- data/lib/stripe/resources/account.rb +198 -28
- data/lib/stripe/resources/account_session.rb +176 -72
- 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 +3 -3
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/charge.rb +43 -20
- data/lib/stripe/resources/checkout/session.rb +120 -19
- data/lib/stripe/resources/confirmation_token.rb +119 -100
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -3
- data/lib/stripe/resources/credit_note.rb +21 -18
- data/lib/stripe/resources/customer.rb +4 -6
- data/lib/stripe/resources/customer_session.rb +5 -5
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +3 -1
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/funding_instructions.rb +1 -1
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +51 -11
- data/lib/stripe/resources/invoice.rb +146 -32
- data/lib/stripe/resources/invoice_item.rb +3 -7
- 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/login_link.rb +2 -1
- data/lib/stripe/resources/mandate.rb +3 -0
- data/lib/stripe/resources/payment_intent.rb +602 -325
- data/lib/stripe/resources/payment_method.rb +76 -117
- data/lib/stripe/resources/payment_method_configuration.rb +356 -2
- data/lib/stripe/resources/payment_method_domain.rb +15 -2
- data/lib/stripe/resources/payout.rb +4 -4
- data/lib/stripe/resources/person.rb +27 -3
- 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/quote.rb +28 -3
- 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 +8 -1
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +414 -293
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription.rb +149 -27
- data/lib/stripe/resources/subscription_item.rb +33 -0
- data/lib/stripe/resources/subscription_schedule.rb +141 -4
- data/lib/stripe/resources/tax/calculation.rb +6 -2
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +261 -1
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -4
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +2 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +426 -6
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +63 -2
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/treasury/financial_account.rb +5 -1
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
- data/lib/stripe/resources/v2/event.rb +2 -2
- data/lib/stripe/resources/v2/event_destination.rb +2 -2
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/services/account_external_account_service.rb +3 -4
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +85 -2
- data/lib/stripe/services/account_service.rb +169 -20
- data/lib/stripe/services/account_session_service.rb +115 -47
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -1
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/billing_portal/session_service.rb +1 -1
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +4 -4
- data/lib/stripe/services/checkout/session_service.rb +94 -15
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/coupon_service.rb +1 -2
- data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
- data/lib/stripe/services/credit_note_service.rb +14 -15
- 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_method_service.rb +1 -1
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +5 -7
- data/lib/stripe/services/customer_session_service.rb +1 -1
- data/lib/stripe/services/customer_tax_id_service.rb +2 -3
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -1
- data/lib/stripe/services/financial_connections_service.rb +1 -1
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +21 -5
- data/lib/stripe/services/identity_service.rb +1 -1
- data/lib/stripe/services/invoice_item_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +122 -28
- 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/issuing_service.rb +1 -1
- data/lib/stripe/services/payment_intent_service.rb +563 -313
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_configuration_service.rb +254 -2
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +59 -105
- 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 +3 -4
- data/lib/stripe/services/promotion_code_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +21 -4
- 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/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +403 -291
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +2 -2
- data/lib/stripe/services/subscription_item_service.rb +26 -0
- data/lib/stripe/services/subscription_schedule_service.rb +106 -3
- data/lib/stripe/services/subscription_service.rb +121 -26
- data/lib/stripe/services/tax/calculation_service.rb +6 -2
- data/lib/stripe/services/tax/registration_service.rb +170 -1
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +2 -3
- data/lib/stripe/services/tax_service.rb +1 -1
- 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 +196 -2
- data/lib/stripe/services/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +90 -91
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +62 -1
- data/lib/stripe/services/transfer_service.rb +2 -2
- data/lib/stripe/services/treasury/financial_account_service.rb +6 -2
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +1 -1
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/billing_service.rb +3 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +17 -23
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -1
- data/lib/stripe/services/v2_services.rb +1 -1
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -1
- data/rbi/stripe/resources/account.rbi +190 -35
- data/rbi/stripe/resources/account_session.rbi +196 -77
- 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 +3 -3
- data/rbi/stripe/resources/capability.rbi +1 -1
- data/rbi/stripe/resources/charge.rbi +52 -20
- data/rbi/stripe/resources/checkout/session.rbi +133 -24
- data/rbi/stripe/resources/confirmation_token.rbi +140 -115
- data/rbi/stripe/resources/country_spec.rbi +1 -1
- data/rbi/stripe/resources/coupon.rbi +2 -4
- data/rbi/stripe/resources/credit_note.rbi +23 -18
- data/rbi/stripe/resources/customer.rbi +4 -8
- data/rbi/stripe/resources/customer_session.rbi +5 -5
- data/rbi/stripe/resources/dispute.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +4 -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 +59 -12
- data/rbi/stripe/resources/invoice.rbi +149 -40
- data/rbi/stripe/resources/invoice_item.rbi +3 -8
- data/rbi/stripe/resources/invoice_line_item.rbi +2 -2
- 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/login_link.rbi +2 -1
- data/rbi/stripe/resources/mandate.rbi +4 -0
- data/rbi/stripe/resources/payment_intent.rbi +637 -381
- data/rbi/stripe/resources/payment_method.rbi +81 -133
- data/rbi/stripe/resources/payment_method_configuration.rbi +400 -4
- data/rbi/stripe/resources/payment_method_domain.rbi +18 -2
- data/rbi/stripe/resources/payout.rbi +4 -4
- data/rbi/stripe/resources/person.rbi +33 -3
- 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/quote.rbi +25 -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 +8 -1
- data/rbi/stripe/resources/reversal.rbi +1 -1
- data/rbi/stripe/resources/review.rbi +1 -1
- data/rbi/stripe/resources/setup_attempt.rbi +1 -1
- data/rbi/stripe/resources/setup_intent.rbi +464 -346
- data/rbi/stripe/resources/source.rbi +1 -1
- data/rbi/stripe/resources/subscription.rbi +150 -34
- data/rbi/stripe/resources/subscription_item.rbi +36 -2
- data/rbi/stripe/resources/subscription_schedule.rbi +161 -11
- data/rbi/stripe/resources/tax/calculation.rbi +7 -3
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +4 -1
- data/rbi/stripe/resources/tax/registration.rbi +249 -2
- data/rbi/stripe/resources/tax/transaction.rbi +1 -1
- data/rbi/stripe/resources/tax_id.rbi +3 -5
- data/rbi/stripe/resources/tax_rate.rbi +2 -2
- data/rbi/stripe/resources/terminal/configuration.rbi +2 -3
- data/rbi/stripe/resources/terminal/location.rbi +4 -6
- data/rbi/stripe/resources/terminal/reader.rbi +415 -8
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
- data/rbi/stripe/resources/token.rbi +70 -4
- data/rbi/stripe/resources/transfer.rbi +1 -1
- data/rbi/stripe/resources/treasury/financial_account.rbi +6 -2
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +3 -3
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +3 -3
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +3 -3
- data/rbi/stripe/resources/v2/event.rbi +3 -3
- data/rbi/stripe/resources/v2/event_destination.rbi +3 -3
- data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
- data/rbi/stripe/services/account_external_account_service.rbi +3 -5
- data/rbi/stripe/services/account_login_link_service.rbi +1 -1
- data/rbi/stripe/services/account_person_service.rbi +93 -5
- data/rbi/stripe/services/account_service.rbi +166 -28
- data/rbi/stripe/services/account_session_service.rbi +126 -52
- 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/billing_portal/session_service.rbi +1 -1
- data/rbi/stripe/services/charge_service.rbi +4 -4
- data/rbi/stripe/services/checkout/session_service.rbi +104 -19
- data/rbi/stripe/services/coupon_service.rbi +1 -3
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +3 -3
- data/rbi/stripe/services/credit_note_service.rbi +13 -14
- 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_method_service.rbi +1 -1
- data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
- data/rbi/stripe/services/customer_service.rbi +4 -8
- data/rbi/stripe/services/customer_session_service.rbi +1 -1
- data/rbi/stripe/services/customer_tax_id_service.rbi +2 -4
- 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 +22 -6
- data/rbi/stripe/services/invoice_item_service.rbi +1 -3
- data/rbi/stripe/services/invoice_service.rbi +126 -35
- 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 +599 -369
- data/rbi/stripe/services/payment_method_configuration_service.rbi +280 -4
- data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
- data/rbi/stripe/services/payment_method_service.rbi +62 -121
- 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/quote_service.rbi +16 -3
- 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 +457 -344
- 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 +119 -10
- data/rbi/stripe/services/subscription_service.rbi +121 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +6 -2
- data/rbi/stripe/services/tax/registration_service.rbi +171 -2
- data/rbi/stripe/services/tax_id_service.rbi +2 -4
- data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
- data/rbi/stripe/services/terminal/location_service.rbi +4 -6
- data/rbi/stripe/services/terminal/reader_service.rbi +200 -4
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +106 -106
- 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 +71 -3
- data/rbi/stripe/services/transfer_service.rbi +1 -1
- data/rbi/stripe/services/treasury/financial_account_service.rbi +6 -2
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
- data/rbi/stripe/services/v2/billing_service.rbi +1 -1
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +14 -22
- data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
- metadata +5 -2
@@ -474,6 +474,25 @@ module Stripe
|
|
474
474
|
sig { returns(DisplayPreference) }
|
475
475
|
attr_reader :display_preference
|
476
476
|
end
|
477
|
+
class KakaoPay < Stripe::StripeObject
|
478
|
+
class DisplayPreference < Stripe::StripeObject
|
479
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
480
|
+
sig { returns(T.nilable(T::Boolean)) }
|
481
|
+
attr_reader :overridable
|
482
|
+
# The account's display preference.
|
483
|
+
sig { returns(String) }
|
484
|
+
attr_reader :preference
|
485
|
+
# The effective display preference value.
|
486
|
+
sig { returns(String) }
|
487
|
+
attr_reader :value
|
488
|
+
end
|
489
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
490
|
+
sig { returns(T::Boolean) }
|
491
|
+
attr_reader :available
|
492
|
+
# Attribute for field display_preference
|
493
|
+
sig { returns(DisplayPreference) }
|
494
|
+
attr_reader :display_preference
|
495
|
+
end
|
477
496
|
class Klarna < Stripe::StripeObject
|
478
497
|
class DisplayPreference < Stripe::StripeObject
|
479
498
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -512,6 +531,25 @@ module Stripe
|
|
512
531
|
sig { returns(DisplayPreference) }
|
513
532
|
attr_reader :display_preference
|
514
533
|
end
|
534
|
+
class KrCard < Stripe::StripeObject
|
535
|
+
class DisplayPreference < Stripe::StripeObject
|
536
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
537
|
+
sig { returns(T.nilable(T::Boolean)) }
|
538
|
+
attr_reader :overridable
|
539
|
+
# The account's display preference.
|
540
|
+
sig { returns(String) }
|
541
|
+
attr_reader :preference
|
542
|
+
# The effective display preference value.
|
543
|
+
sig { returns(String) }
|
544
|
+
attr_reader :value
|
545
|
+
end
|
546
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
547
|
+
sig { returns(T::Boolean) }
|
548
|
+
attr_reader :available
|
549
|
+
# Attribute for field display_preference
|
550
|
+
sig { returns(DisplayPreference) }
|
551
|
+
attr_reader :display_preference
|
552
|
+
end
|
515
553
|
class Link < Stripe::StripeObject
|
516
554
|
class DisplayPreference < Stripe::StripeObject
|
517
555
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -569,6 +607,25 @@ module Stripe
|
|
569
607
|
sig { returns(DisplayPreference) }
|
570
608
|
attr_reader :display_preference
|
571
609
|
end
|
610
|
+
class NaverPay < Stripe::StripeObject
|
611
|
+
class DisplayPreference < Stripe::StripeObject
|
612
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
613
|
+
sig { returns(T.nilable(T::Boolean)) }
|
614
|
+
attr_reader :overridable
|
615
|
+
# The account's display preference.
|
616
|
+
sig { returns(String) }
|
617
|
+
attr_reader :preference
|
618
|
+
# The effective display preference value.
|
619
|
+
sig { returns(String) }
|
620
|
+
attr_reader :value
|
621
|
+
end
|
622
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
623
|
+
sig { returns(T::Boolean) }
|
624
|
+
attr_reader :available
|
625
|
+
# Attribute for field display_preference
|
626
|
+
sig { returns(DisplayPreference) }
|
627
|
+
attr_reader :display_preference
|
628
|
+
end
|
572
629
|
class NzBankAccount < Stripe::StripeObject
|
573
630
|
class DisplayPreference < Stripe::StripeObject
|
574
631
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -645,6 +702,25 @@ module Stripe
|
|
645
702
|
sig { returns(DisplayPreference) }
|
646
703
|
attr_reader :display_preference
|
647
704
|
end
|
705
|
+
class Payco < Stripe::StripeObject
|
706
|
+
class DisplayPreference < Stripe::StripeObject
|
707
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
708
|
+
sig { returns(T.nilable(T::Boolean)) }
|
709
|
+
attr_reader :overridable
|
710
|
+
# The account's display preference.
|
711
|
+
sig { returns(String) }
|
712
|
+
attr_reader :preference
|
713
|
+
# The effective display preference value.
|
714
|
+
sig { returns(String) }
|
715
|
+
attr_reader :value
|
716
|
+
end
|
717
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
718
|
+
sig { returns(T::Boolean) }
|
719
|
+
attr_reader :available
|
720
|
+
# Attribute for field display_preference
|
721
|
+
sig { returns(DisplayPreference) }
|
722
|
+
attr_reader :display_preference
|
723
|
+
end
|
648
724
|
class Paynow < Stripe::StripeObject
|
649
725
|
class DisplayPreference < Stripe::StripeObject
|
650
726
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -683,6 +759,25 @@ module Stripe
|
|
683
759
|
sig { returns(DisplayPreference) }
|
684
760
|
attr_reader :display_preference
|
685
761
|
end
|
762
|
+
class Pix < Stripe::StripeObject
|
763
|
+
class DisplayPreference < Stripe::StripeObject
|
764
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
765
|
+
sig { returns(T.nilable(T::Boolean)) }
|
766
|
+
attr_reader :overridable
|
767
|
+
# The account's display preference.
|
768
|
+
sig { returns(String) }
|
769
|
+
attr_reader :preference
|
770
|
+
# The effective display preference value.
|
771
|
+
sig { returns(String) }
|
772
|
+
attr_reader :value
|
773
|
+
end
|
774
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
775
|
+
sig { returns(T::Boolean) }
|
776
|
+
attr_reader :available
|
777
|
+
# Attribute for field display_preference
|
778
|
+
sig { returns(DisplayPreference) }
|
779
|
+
attr_reader :display_preference
|
780
|
+
end
|
686
781
|
class Promptpay < Stripe::StripeObject
|
687
782
|
class DisplayPreference < Stripe::StripeObject
|
688
783
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -721,6 +816,25 @@ module Stripe
|
|
721
816
|
sig { returns(DisplayPreference) }
|
722
817
|
attr_reader :display_preference
|
723
818
|
end
|
819
|
+
class SamsungPay < Stripe::StripeObject
|
820
|
+
class DisplayPreference < Stripe::StripeObject
|
821
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
822
|
+
sig { returns(T.nilable(T::Boolean)) }
|
823
|
+
attr_reader :overridable
|
824
|
+
# The account's display preference.
|
825
|
+
sig { returns(String) }
|
826
|
+
attr_reader :preference
|
827
|
+
# The effective display preference value.
|
828
|
+
sig { returns(String) }
|
829
|
+
attr_reader :value
|
830
|
+
end
|
831
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
832
|
+
sig { returns(T::Boolean) }
|
833
|
+
attr_reader :available
|
834
|
+
# Attribute for field display_preference
|
835
|
+
sig { returns(DisplayPreference) }
|
836
|
+
attr_reader :display_preference
|
837
|
+
end
|
724
838
|
class Satispay < Stripe::StripeObject
|
725
839
|
class DisplayPreference < Stripe::StripeObject
|
726
840
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -957,12 +1071,18 @@ module Stripe
|
|
957
1071
|
# Attribute for field jcb
|
958
1072
|
sig { returns(Jcb) }
|
959
1073
|
attr_reader :jcb
|
1074
|
+
# Attribute for field kakao_pay
|
1075
|
+
sig { returns(KakaoPay) }
|
1076
|
+
attr_reader :kakao_pay
|
960
1077
|
# Attribute for field klarna
|
961
1078
|
sig { returns(Klarna) }
|
962
1079
|
attr_reader :klarna
|
963
1080
|
# Attribute for field konbini
|
964
1081
|
sig { returns(Konbini) }
|
965
1082
|
attr_reader :konbini
|
1083
|
+
# Attribute for field kr_card
|
1084
|
+
sig { returns(KrCard) }
|
1085
|
+
attr_reader :kr_card
|
966
1086
|
# Attribute for field link
|
967
1087
|
sig { returns(Link) }
|
968
1088
|
attr_reader :link
|
@@ -978,6 +1098,9 @@ module Stripe
|
|
978
1098
|
# The configuration's name.
|
979
1099
|
sig { returns(String) }
|
980
1100
|
attr_reader :name
|
1101
|
+
# Attribute for field naver_pay
|
1102
|
+
sig { returns(NaverPay) }
|
1103
|
+
attr_reader :naver_pay
|
981
1104
|
# Attribute for field nz_bank_account
|
982
1105
|
sig { returns(NzBankAccount) }
|
983
1106
|
attr_reader :nz_bank_account
|
@@ -996,18 +1119,27 @@ module Stripe
|
|
996
1119
|
# Attribute for field pay_by_bank
|
997
1120
|
sig { returns(PayByBank) }
|
998
1121
|
attr_reader :pay_by_bank
|
1122
|
+
# Attribute for field payco
|
1123
|
+
sig { returns(Payco) }
|
1124
|
+
attr_reader :payco
|
999
1125
|
# Attribute for field paynow
|
1000
1126
|
sig { returns(Paynow) }
|
1001
1127
|
attr_reader :paynow
|
1002
1128
|
# Attribute for field paypal
|
1003
1129
|
sig { returns(Paypal) }
|
1004
1130
|
attr_reader :paypal
|
1131
|
+
# Attribute for field pix
|
1132
|
+
sig { returns(Pix) }
|
1133
|
+
attr_reader :pix
|
1005
1134
|
# Attribute for field promptpay
|
1006
1135
|
sig { returns(Promptpay) }
|
1007
1136
|
attr_reader :promptpay
|
1008
1137
|
# Attribute for field revolut_pay
|
1009
1138
|
sig { returns(RevolutPay) }
|
1010
1139
|
attr_reader :revolut_pay
|
1140
|
+
# Attribute for field samsung_pay
|
1141
|
+
sig { returns(SamsungPay) }
|
1142
|
+
attr_reader :samsung_pay
|
1011
1143
|
# Attribute for field satispay
|
1012
1144
|
sig { returns(Satispay) }
|
1013
1145
|
attr_reader :satispay
|
@@ -1510,6 +1642,24 @@ module Stripe
|
|
1510
1642
|
}
|
1511
1643
|
def initialize(display_preference: nil); end
|
1512
1644
|
end
|
1645
|
+
class KakaoPay < Stripe::RequestParams
|
1646
|
+
class DisplayPreference < Stripe::RequestParams
|
1647
|
+
# The account's preference for whether or not to display this payment method.
|
1648
|
+
sig { returns(T.nilable(String)) }
|
1649
|
+
attr_accessor :preference
|
1650
|
+
sig { params(preference: T.nilable(String)).void }
|
1651
|
+
def initialize(preference: nil); end
|
1652
|
+
end
|
1653
|
+
# Whether or not the payment method should be displayed.
|
1654
|
+
sig {
|
1655
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay::DisplayPreference))
|
1656
|
+
}
|
1657
|
+
attr_accessor :display_preference
|
1658
|
+
sig {
|
1659
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay::DisplayPreference)).void
|
1660
|
+
}
|
1661
|
+
def initialize(display_preference: nil); end
|
1662
|
+
end
|
1513
1663
|
class Klarna < Stripe::RequestParams
|
1514
1664
|
class DisplayPreference < Stripe::RequestParams
|
1515
1665
|
# The account's preference for whether or not to display this payment method.
|
@@ -1546,6 +1696,24 @@ module Stripe
|
|
1546
1696
|
}
|
1547
1697
|
def initialize(display_preference: nil); end
|
1548
1698
|
end
|
1699
|
+
class KrCard < Stripe::RequestParams
|
1700
|
+
class DisplayPreference < Stripe::RequestParams
|
1701
|
+
# The account's preference for whether or not to display this payment method.
|
1702
|
+
sig { returns(T.nilable(String)) }
|
1703
|
+
attr_accessor :preference
|
1704
|
+
sig { params(preference: T.nilable(String)).void }
|
1705
|
+
def initialize(preference: nil); end
|
1706
|
+
end
|
1707
|
+
# Whether or not the payment method should be displayed.
|
1708
|
+
sig {
|
1709
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard::DisplayPreference))
|
1710
|
+
}
|
1711
|
+
attr_accessor :display_preference
|
1712
|
+
sig {
|
1713
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard::DisplayPreference)).void
|
1714
|
+
}
|
1715
|
+
def initialize(display_preference: nil); end
|
1716
|
+
end
|
1549
1717
|
class Link < Stripe::RequestParams
|
1550
1718
|
class DisplayPreference < Stripe::RequestParams
|
1551
1719
|
# The account's preference for whether or not to display this payment method.
|
@@ -1600,6 +1768,24 @@ module Stripe
|
|
1600
1768
|
}
|
1601
1769
|
def initialize(display_preference: nil); end
|
1602
1770
|
end
|
1771
|
+
class NaverPay < Stripe::RequestParams
|
1772
|
+
class DisplayPreference < Stripe::RequestParams
|
1773
|
+
# The account's preference for whether or not to display this payment method.
|
1774
|
+
sig { returns(T.nilable(String)) }
|
1775
|
+
attr_accessor :preference
|
1776
|
+
sig { params(preference: T.nilable(String)).void }
|
1777
|
+
def initialize(preference: nil); end
|
1778
|
+
end
|
1779
|
+
# Whether or not the payment method should be displayed.
|
1780
|
+
sig {
|
1781
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay::DisplayPreference))
|
1782
|
+
}
|
1783
|
+
attr_accessor :display_preference
|
1784
|
+
sig {
|
1785
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay::DisplayPreference)).void
|
1786
|
+
}
|
1787
|
+
def initialize(display_preference: nil); end
|
1788
|
+
end
|
1603
1789
|
class NzBankAccount < Stripe::RequestParams
|
1604
1790
|
class DisplayPreference < Stripe::RequestParams
|
1605
1791
|
# The account's preference for whether or not to display this payment method.
|
@@ -1672,6 +1858,24 @@ module Stripe
|
|
1672
1858
|
}
|
1673
1859
|
def initialize(display_preference: nil); end
|
1674
1860
|
end
|
1861
|
+
class Payco < Stripe::RequestParams
|
1862
|
+
class DisplayPreference < Stripe::RequestParams
|
1863
|
+
# The account's preference for whether or not to display this payment method.
|
1864
|
+
sig { returns(T.nilable(String)) }
|
1865
|
+
attr_accessor :preference
|
1866
|
+
sig { params(preference: T.nilable(String)).void }
|
1867
|
+
def initialize(preference: nil); end
|
1868
|
+
end
|
1869
|
+
# Whether or not the payment method should be displayed.
|
1870
|
+
sig {
|
1871
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco::DisplayPreference))
|
1872
|
+
}
|
1873
|
+
attr_accessor :display_preference
|
1874
|
+
sig {
|
1875
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco::DisplayPreference)).void
|
1876
|
+
}
|
1877
|
+
def initialize(display_preference: nil); end
|
1878
|
+
end
|
1675
1879
|
class Paynow < Stripe::RequestParams
|
1676
1880
|
class DisplayPreference < Stripe::RequestParams
|
1677
1881
|
# The account's preference for whether or not to display this payment method.
|
@@ -1708,6 +1912,24 @@ module Stripe
|
|
1708
1912
|
}
|
1709
1913
|
def initialize(display_preference: nil); end
|
1710
1914
|
end
|
1915
|
+
class Pix < Stripe::RequestParams
|
1916
|
+
class DisplayPreference < Stripe::RequestParams
|
1917
|
+
# The account's preference for whether or not to display this payment method.
|
1918
|
+
sig { returns(T.nilable(String)) }
|
1919
|
+
attr_accessor :preference
|
1920
|
+
sig { params(preference: T.nilable(String)).void }
|
1921
|
+
def initialize(preference: nil); end
|
1922
|
+
end
|
1923
|
+
# Whether or not the payment method should be displayed.
|
1924
|
+
sig {
|
1925
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference))
|
1926
|
+
}
|
1927
|
+
attr_accessor :display_preference
|
1928
|
+
sig {
|
1929
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference)).void
|
1930
|
+
}
|
1931
|
+
def initialize(display_preference: nil); end
|
1932
|
+
end
|
1711
1933
|
class Promptpay < Stripe::RequestParams
|
1712
1934
|
class DisplayPreference < Stripe::RequestParams
|
1713
1935
|
# The account's preference for whether or not to display this payment method.
|
@@ -1744,6 +1966,24 @@ module Stripe
|
|
1744
1966
|
}
|
1745
1967
|
def initialize(display_preference: nil); end
|
1746
1968
|
end
|
1969
|
+
class SamsungPay < Stripe::RequestParams
|
1970
|
+
class DisplayPreference < Stripe::RequestParams
|
1971
|
+
# The account's preference for whether or not to display this payment method.
|
1972
|
+
sig { returns(T.nilable(String)) }
|
1973
|
+
attr_accessor :preference
|
1974
|
+
sig { params(preference: T.nilable(String)).void }
|
1975
|
+
def initialize(preference: nil); end
|
1976
|
+
end
|
1977
|
+
# Whether or not the payment method should be displayed.
|
1978
|
+
sig {
|
1979
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay::DisplayPreference))
|
1980
|
+
}
|
1981
|
+
attr_accessor :display_preference
|
1982
|
+
sig {
|
1983
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay::DisplayPreference)).void
|
1984
|
+
}
|
1985
|
+
def initialize(display_preference: nil); end
|
1986
|
+
end
|
1747
1987
|
class Satispay < Stripe::RequestParams
|
1748
1988
|
class DisplayPreference < Stripe::RequestParams
|
1749
1989
|
# The account's preference for whether or not to display this payment method.
|
@@ -1908,7 +2148,7 @@ module Stripe
|
|
1908
2148
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
1909
2149
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay)) }
|
1910
2150
|
attr_accessor :amazon_pay
|
1911
|
-
# 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.
|
2151
|
+
# 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.
|
1912
2152
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay)) }
|
1913
2153
|
attr_accessor :apple_pay
|
1914
2154
|
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
|
@@ -1972,12 +2212,18 @@ module Stripe
|
|
1972
2212
|
# 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.
|
1973
2213
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb)) }
|
1974
2214
|
attr_accessor :jcb
|
2215
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
2216
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay)) }
|
2217
|
+
attr_accessor :kakao_pay
|
1975
2218
|
# 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.
|
1976
2219
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna)) }
|
1977
2220
|
attr_accessor :klarna
|
1978
2221
|
# 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.
|
1979
2222
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini)) }
|
1980
2223
|
attr_accessor :konbini
|
2224
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
2225
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard)) }
|
2226
|
+
attr_accessor :kr_card
|
1981
2227
|
# [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.
|
1982
2228
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link)) }
|
1983
2229
|
attr_accessor :link
|
@@ -1990,6 +2236,9 @@ module Stripe
|
|
1990
2236
|
# Configuration name.
|
1991
2237
|
sig { returns(T.nilable(String)) }
|
1992
2238
|
attr_accessor :name
|
2239
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
2240
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay)) }
|
2241
|
+
attr_accessor :naver_pay
|
1993
2242
|
# 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.
|
1994
2243
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount)) }
|
1995
2244
|
attr_accessor :nz_bank_account
|
@@ -2005,18 +2254,27 @@ module Stripe
|
|
2005
2254
|
# Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
|
2006
2255
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank)) }
|
2007
2256
|
attr_accessor :pay_by_bank
|
2257
|
+
# PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
2258
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco)) }
|
2259
|
+
attr_accessor :payco
|
2008
2260
|
# 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.
|
2009
2261
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow)) }
|
2010
2262
|
attr_accessor :paynow
|
2011
2263
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
2012
2264
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal)) }
|
2013
2265
|
attr_accessor :paypal
|
2266
|
+
# Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
2267
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix)) }
|
2268
|
+
attr_accessor :pix
|
2014
2269
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
2015
2270
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay)) }
|
2016
2271
|
attr_accessor :promptpay
|
2017
2272
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
2018
2273
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay)) }
|
2019
2274
|
attr_accessor :revolut_pay
|
2275
|
+
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
2276
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay)) }
|
2277
|
+
attr_accessor :samsung_pay
|
2020
2278
|
# 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.
|
2021
2279
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay)) }
|
2022
2280
|
attr_accessor :satispay
|
@@ -2042,7 +2300,7 @@ module Stripe
|
|
2042
2300
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)) }
|
2043
2301
|
attr_accessor :zip
|
2044
2302
|
sig {
|
2045
|
-
params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)).void
|
2303
|
+
params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)).void
|
2046
2304
|
}
|
2047
2305
|
def initialize(
|
2048
2306
|
acss_debit: nil,
|
@@ -2071,21 +2329,27 @@ module Stripe
|
|
2071
2329
|
grabpay: nil,
|
2072
2330
|
ideal: nil,
|
2073
2331
|
jcb: nil,
|
2332
|
+
kakao_pay: nil,
|
2074
2333
|
klarna: nil,
|
2075
2334
|
konbini: nil,
|
2335
|
+
kr_card: nil,
|
2076
2336
|
link: nil,
|
2077
2337
|
mobilepay: nil,
|
2078
2338
|
multibanco: nil,
|
2079
2339
|
name: nil,
|
2340
|
+
naver_pay: nil,
|
2080
2341
|
nz_bank_account: nil,
|
2081
2342
|
oxxo: nil,
|
2082
2343
|
p24: nil,
|
2083
2344
|
parent: nil,
|
2084
2345
|
pay_by_bank: nil,
|
2346
|
+
payco: nil,
|
2085
2347
|
paynow: nil,
|
2086
2348
|
paypal: nil,
|
2349
|
+
pix: nil,
|
2087
2350
|
promptpay: nil,
|
2088
2351
|
revolut_pay: nil,
|
2352
|
+
samsung_pay: nil,
|
2089
2353
|
satispay: nil,
|
2090
2354
|
sepa_debit: nil,
|
2091
2355
|
sofort: nil,
|
@@ -2547,6 +2811,24 @@ module Stripe
|
|
2547
2811
|
}
|
2548
2812
|
def initialize(display_preference: nil); end
|
2549
2813
|
end
|
2814
|
+
class KakaoPay < Stripe::RequestParams
|
2815
|
+
class DisplayPreference < Stripe::RequestParams
|
2816
|
+
# The account's preference for whether or not to display this payment method.
|
2817
|
+
sig { returns(T.nilable(String)) }
|
2818
|
+
attr_accessor :preference
|
2819
|
+
sig { params(preference: T.nilable(String)).void }
|
2820
|
+
def initialize(preference: nil); end
|
2821
|
+
end
|
2822
|
+
# Whether or not the payment method should be displayed.
|
2823
|
+
sig {
|
2824
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay::DisplayPreference))
|
2825
|
+
}
|
2826
|
+
attr_accessor :display_preference
|
2827
|
+
sig {
|
2828
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay::DisplayPreference)).void
|
2829
|
+
}
|
2830
|
+
def initialize(display_preference: nil); end
|
2831
|
+
end
|
2550
2832
|
class Klarna < Stripe::RequestParams
|
2551
2833
|
class DisplayPreference < Stripe::RequestParams
|
2552
2834
|
# The account's preference for whether or not to display this payment method.
|
@@ -2583,6 +2865,24 @@ module Stripe
|
|
2583
2865
|
}
|
2584
2866
|
def initialize(display_preference: nil); end
|
2585
2867
|
end
|
2868
|
+
class KrCard < Stripe::RequestParams
|
2869
|
+
class DisplayPreference < Stripe::RequestParams
|
2870
|
+
# The account's preference for whether or not to display this payment method.
|
2871
|
+
sig { returns(T.nilable(String)) }
|
2872
|
+
attr_accessor :preference
|
2873
|
+
sig { params(preference: T.nilable(String)).void }
|
2874
|
+
def initialize(preference: nil); end
|
2875
|
+
end
|
2876
|
+
# Whether or not the payment method should be displayed.
|
2877
|
+
sig {
|
2878
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard::DisplayPreference))
|
2879
|
+
}
|
2880
|
+
attr_accessor :display_preference
|
2881
|
+
sig {
|
2882
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard::DisplayPreference)).void
|
2883
|
+
}
|
2884
|
+
def initialize(display_preference: nil); end
|
2885
|
+
end
|
2586
2886
|
class Link < Stripe::RequestParams
|
2587
2887
|
class DisplayPreference < Stripe::RequestParams
|
2588
2888
|
# The account's preference for whether or not to display this payment method.
|
@@ -2637,6 +2937,24 @@ module Stripe
|
|
2637
2937
|
}
|
2638
2938
|
def initialize(display_preference: nil); end
|
2639
2939
|
end
|
2940
|
+
class NaverPay < Stripe::RequestParams
|
2941
|
+
class DisplayPreference < Stripe::RequestParams
|
2942
|
+
# The account's preference for whether or not to display this payment method.
|
2943
|
+
sig { returns(T.nilable(String)) }
|
2944
|
+
attr_accessor :preference
|
2945
|
+
sig { params(preference: T.nilable(String)).void }
|
2946
|
+
def initialize(preference: nil); end
|
2947
|
+
end
|
2948
|
+
# Whether or not the payment method should be displayed.
|
2949
|
+
sig {
|
2950
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay::DisplayPreference))
|
2951
|
+
}
|
2952
|
+
attr_accessor :display_preference
|
2953
|
+
sig {
|
2954
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay::DisplayPreference)).void
|
2955
|
+
}
|
2956
|
+
def initialize(display_preference: nil); end
|
2957
|
+
end
|
2640
2958
|
class NzBankAccount < Stripe::RequestParams
|
2641
2959
|
class DisplayPreference < Stripe::RequestParams
|
2642
2960
|
# The account's preference for whether or not to display this payment method.
|
@@ -2709,6 +3027,24 @@ module Stripe
|
|
2709
3027
|
}
|
2710
3028
|
def initialize(display_preference: nil); end
|
2711
3029
|
end
|
3030
|
+
class Payco < Stripe::RequestParams
|
3031
|
+
class DisplayPreference < Stripe::RequestParams
|
3032
|
+
# The account's preference for whether or not to display this payment method.
|
3033
|
+
sig { returns(T.nilable(String)) }
|
3034
|
+
attr_accessor :preference
|
3035
|
+
sig { params(preference: T.nilable(String)).void }
|
3036
|
+
def initialize(preference: nil); end
|
3037
|
+
end
|
3038
|
+
# Whether or not the payment method should be displayed.
|
3039
|
+
sig {
|
3040
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco::DisplayPreference))
|
3041
|
+
}
|
3042
|
+
attr_accessor :display_preference
|
3043
|
+
sig {
|
3044
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco::DisplayPreference)).void
|
3045
|
+
}
|
3046
|
+
def initialize(display_preference: nil); end
|
3047
|
+
end
|
2712
3048
|
class Paynow < Stripe::RequestParams
|
2713
3049
|
class DisplayPreference < Stripe::RequestParams
|
2714
3050
|
# The account's preference for whether or not to display this payment method.
|
@@ -2745,6 +3081,24 @@ module Stripe
|
|
2745
3081
|
}
|
2746
3082
|
def initialize(display_preference: nil); end
|
2747
3083
|
end
|
3084
|
+
class Pix < Stripe::RequestParams
|
3085
|
+
class DisplayPreference < Stripe::RequestParams
|
3086
|
+
# The account's preference for whether or not to display this payment method.
|
3087
|
+
sig { returns(T.nilable(String)) }
|
3088
|
+
attr_accessor :preference
|
3089
|
+
sig { params(preference: T.nilable(String)).void }
|
3090
|
+
def initialize(preference: nil); end
|
3091
|
+
end
|
3092
|
+
# Whether or not the payment method should be displayed.
|
3093
|
+
sig {
|
3094
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference))
|
3095
|
+
}
|
3096
|
+
attr_accessor :display_preference
|
3097
|
+
sig {
|
3098
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference)).void
|
3099
|
+
}
|
3100
|
+
def initialize(display_preference: nil); end
|
3101
|
+
end
|
2748
3102
|
class Promptpay < Stripe::RequestParams
|
2749
3103
|
class DisplayPreference < Stripe::RequestParams
|
2750
3104
|
# The account's preference for whether or not to display this payment method.
|
@@ -2781,6 +3135,24 @@ module Stripe
|
|
2781
3135
|
}
|
2782
3136
|
def initialize(display_preference: nil); end
|
2783
3137
|
end
|
3138
|
+
class SamsungPay < Stripe::RequestParams
|
3139
|
+
class DisplayPreference < Stripe::RequestParams
|
3140
|
+
# The account's preference for whether or not to display this payment method.
|
3141
|
+
sig { returns(T.nilable(String)) }
|
3142
|
+
attr_accessor :preference
|
3143
|
+
sig { params(preference: T.nilable(String)).void }
|
3144
|
+
def initialize(preference: nil); end
|
3145
|
+
end
|
3146
|
+
# Whether or not the payment method should be displayed.
|
3147
|
+
sig {
|
3148
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay::DisplayPreference))
|
3149
|
+
}
|
3150
|
+
attr_accessor :display_preference
|
3151
|
+
sig {
|
3152
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay::DisplayPreference)).void
|
3153
|
+
}
|
3154
|
+
def initialize(display_preference: nil); end
|
3155
|
+
end
|
2784
3156
|
class Satispay < Stripe::RequestParams
|
2785
3157
|
class DisplayPreference < Stripe::RequestParams
|
2786
3158
|
# The account's preference for whether or not to display this payment method.
|
@@ -2948,7 +3320,7 @@ module Stripe
|
|
2948
3320
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
2949
3321
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay)) }
|
2950
3322
|
attr_accessor :amazon_pay
|
2951
|
-
# 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.
|
3323
|
+
# 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.
|
2952
3324
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay)) }
|
2953
3325
|
attr_accessor :apple_pay
|
2954
3326
|
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
|
@@ -3012,12 +3384,18 @@ module Stripe
|
|
3012
3384
|
# 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.
|
3013
3385
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb)) }
|
3014
3386
|
attr_accessor :jcb
|
3387
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
3388
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay)) }
|
3389
|
+
attr_accessor :kakao_pay
|
3015
3390
|
# 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.
|
3016
3391
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna)) }
|
3017
3392
|
attr_accessor :klarna
|
3018
3393
|
# 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.
|
3019
3394
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini)) }
|
3020
3395
|
attr_accessor :konbini
|
3396
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
3397
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard)) }
|
3398
|
+
attr_accessor :kr_card
|
3021
3399
|
# [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.
|
3022
3400
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link)) }
|
3023
3401
|
attr_accessor :link
|
@@ -3030,6 +3408,9 @@ module Stripe
|
|
3030
3408
|
# Configuration name.
|
3031
3409
|
sig { returns(T.nilable(String)) }
|
3032
3410
|
attr_accessor :name
|
3411
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
3412
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay)) }
|
3413
|
+
attr_accessor :naver_pay
|
3033
3414
|
# 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.
|
3034
3415
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount)) }
|
3035
3416
|
attr_accessor :nz_bank_account
|
@@ -3042,18 +3423,27 @@ module Stripe
|
|
3042
3423
|
# Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
|
3043
3424
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank)) }
|
3044
3425
|
attr_accessor :pay_by_bank
|
3426
|
+
# PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
3427
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco)) }
|
3428
|
+
attr_accessor :payco
|
3045
3429
|
# 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.
|
3046
3430
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow)) }
|
3047
3431
|
attr_accessor :paynow
|
3048
3432
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
3049
3433
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal)) }
|
3050
3434
|
attr_accessor :paypal
|
3435
|
+
# Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
3436
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix)) }
|
3437
|
+
attr_accessor :pix
|
3051
3438
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
3052
3439
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay)) }
|
3053
3440
|
attr_accessor :promptpay
|
3054
3441
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
3055
3442
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay)) }
|
3056
3443
|
attr_accessor :revolut_pay
|
3444
|
+
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
3445
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay)) }
|
3446
|
+
attr_accessor :samsung_pay
|
3057
3447
|
# 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.
|
3058
3448
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay)) }
|
3059
3449
|
attr_accessor :satispay
|
@@ -3079,7 +3469,7 @@ module Stripe
|
|
3079
3469
|
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)) }
|
3080
3470
|
attr_accessor :zip
|
3081
3471
|
sig {
|
3082
|
-
params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)).void
|
3472
|
+
params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)).void
|
3083
3473
|
}
|
3084
3474
|
def initialize(
|
3085
3475
|
acss_debit: nil,
|
@@ -3109,20 +3499,26 @@ module Stripe
|
|
3109
3499
|
grabpay: nil,
|
3110
3500
|
ideal: nil,
|
3111
3501
|
jcb: nil,
|
3502
|
+
kakao_pay: nil,
|
3112
3503
|
klarna: nil,
|
3113
3504
|
konbini: nil,
|
3505
|
+
kr_card: nil,
|
3114
3506
|
link: nil,
|
3115
3507
|
mobilepay: nil,
|
3116
3508
|
multibanco: nil,
|
3117
3509
|
name: nil,
|
3510
|
+
naver_pay: nil,
|
3118
3511
|
nz_bank_account: nil,
|
3119
3512
|
oxxo: nil,
|
3120
3513
|
p24: nil,
|
3121
3514
|
pay_by_bank: nil,
|
3515
|
+
payco: nil,
|
3122
3516
|
paynow: nil,
|
3123
3517
|
paypal: nil,
|
3518
|
+
pix: nil,
|
3124
3519
|
promptpay: nil,
|
3125
3520
|
revolut_pay: nil,
|
3521
|
+
samsung_pay: nil,
|
3126
3522
|
satispay: nil,
|
3127
3523
|
sepa_debit: nil,
|
3128
3524
|
sofort: nil,
|