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
@@ -386,6 +386,21 @@ module Stripe
|
|
386
386
|
attr_reader :display_preference
|
387
387
|
end
|
388
388
|
|
389
|
+
class KakaoPay < Stripe::StripeObject
|
390
|
+
class DisplayPreference < Stripe::StripeObject
|
391
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
392
|
+
attr_reader :overridable
|
393
|
+
# The account's display preference.
|
394
|
+
attr_reader :preference
|
395
|
+
# The effective display preference value.
|
396
|
+
attr_reader :value
|
397
|
+
end
|
398
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
399
|
+
attr_reader :available
|
400
|
+
# Attribute for field display_preference
|
401
|
+
attr_reader :display_preference
|
402
|
+
end
|
403
|
+
|
389
404
|
class Klarna < Stripe::StripeObject
|
390
405
|
class DisplayPreference < Stripe::StripeObject
|
391
406
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -416,6 +431,21 @@ module Stripe
|
|
416
431
|
attr_reader :display_preference
|
417
432
|
end
|
418
433
|
|
434
|
+
class KrCard < Stripe::StripeObject
|
435
|
+
class DisplayPreference < Stripe::StripeObject
|
436
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
437
|
+
attr_reader :overridable
|
438
|
+
# The account's display preference.
|
439
|
+
attr_reader :preference
|
440
|
+
# The effective display preference value.
|
441
|
+
attr_reader :value
|
442
|
+
end
|
443
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
444
|
+
attr_reader :available
|
445
|
+
# Attribute for field display_preference
|
446
|
+
attr_reader :display_preference
|
447
|
+
end
|
448
|
+
|
419
449
|
class Link < Stripe::StripeObject
|
420
450
|
class DisplayPreference < Stripe::StripeObject
|
421
451
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -461,6 +491,21 @@ module Stripe
|
|
461
491
|
attr_reader :display_preference
|
462
492
|
end
|
463
493
|
|
494
|
+
class NaverPay < Stripe::StripeObject
|
495
|
+
class DisplayPreference < Stripe::StripeObject
|
496
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
497
|
+
attr_reader :overridable
|
498
|
+
# The account's display preference.
|
499
|
+
attr_reader :preference
|
500
|
+
# The effective display preference value.
|
501
|
+
attr_reader :value
|
502
|
+
end
|
503
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
504
|
+
attr_reader :available
|
505
|
+
# Attribute for field display_preference
|
506
|
+
attr_reader :display_preference
|
507
|
+
end
|
508
|
+
|
464
509
|
class NzBankAccount < Stripe::StripeObject
|
465
510
|
class DisplayPreference < Stripe::StripeObject
|
466
511
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -521,6 +566,21 @@ module Stripe
|
|
521
566
|
attr_reader :display_preference
|
522
567
|
end
|
523
568
|
|
569
|
+
class Payco < Stripe::StripeObject
|
570
|
+
class DisplayPreference < Stripe::StripeObject
|
571
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
572
|
+
attr_reader :overridable
|
573
|
+
# The account's display preference.
|
574
|
+
attr_reader :preference
|
575
|
+
# The effective display preference value.
|
576
|
+
attr_reader :value
|
577
|
+
end
|
578
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
579
|
+
attr_reader :available
|
580
|
+
# Attribute for field display_preference
|
581
|
+
attr_reader :display_preference
|
582
|
+
end
|
583
|
+
|
524
584
|
class Paynow < Stripe::StripeObject
|
525
585
|
class DisplayPreference < Stripe::StripeObject
|
526
586
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -551,6 +611,21 @@ module Stripe
|
|
551
611
|
attr_reader :display_preference
|
552
612
|
end
|
553
613
|
|
614
|
+
class Pix < Stripe::StripeObject
|
615
|
+
class DisplayPreference < Stripe::StripeObject
|
616
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
617
|
+
attr_reader :overridable
|
618
|
+
# The account's display preference.
|
619
|
+
attr_reader :preference
|
620
|
+
# The effective display preference value.
|
621
|
+
attr_reader :value
|
622
|
+
end
|
623
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
624
|
+
attr_reader :available
|
625
|
+
# Attribute for field display_preference
|
626
|
+
attr_reader :display_preference
|
627
|
+
end
|
628
|
+
|
554
629
|
class Promptpay < Stripe::StripeObject
|
555
630
|
class DisplayPreference < Stripe::StripeObject
|
556
631
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -581,6 +656,21 @@ module Stripe
|
|
581
656
|
attr_reader :display_preference
|
582
657
|
end
|
583
658
|
|
659
|
+
class SamsungPay < Stripe::StripeObject
|
660
|
+
class DisplayPreference < Stripe::StripeObject
|
661
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
662
|
+
attr_reader :overridable
|
663
|
+
# The account's display preference.
|
664
|
+
attr_reader :preference
|
665
|
+
# The effective display preference value.
|
666
|
+
attr_reader :value
|
667
|
+
end
|
668
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
669
|
+
attr_reader :available
|
670
|
+
# Attribute for field display_preference
|
671
|
+
attr_reader :display_preference
|
672
|
+
end
|
673
|
+
|
584
674
|
class Satispay < Stripe::StripeObject
|
585
675
|
class DisplayPreference < Stripe::StripeObject
|
586
676
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -1154,6 +1244,23 @@ module Stripe
|
|
1154
1244
|
end
|
1155
1245
|
end
|
1156
1246
|
|
1247
|
+
class KakaoPay < Stripe::RequestParams
|
1248
|
+
class DisplayPreference < Stripe::RequestParams
|
1249
|
+
# The account's preference for whether or not to display this payment method.
|
1250
|
+
attr_accessor :preference
|
1251
|
+
|
1252
|
+
def initialize(preference: nil)
|
1253
|
+
@preference = preference
|
1254
|
+
end
|
1255
|
+
end
|
1256
|
+
# Whether or not the payment method should be displayed.
|
1257
|
+
attr_accessor :display_preference
|
1258
|
+
|
1259
|
+
def initialize(display_preference: nil)
|
1260
|
+
@display_preference = display_preference
|
1261
|
+
end
|
1262
|
+
end
|
1263
|
+
|
1157
1264
|
class Klarna < Stripe::RequestParams
|
1158
1265
|
class DisplayPreference < Stripe::RequestParams
|
1159
1266
|
# The account's preference for whether or not to display this payment method.
|
@@ -1188,6 +1295,23 @@ module Stripe
|
|
1188
1295
|
end
|
1189
1296
|
end
|
1190
1297
|
|
1298
|
+
class KrCard < Stripe::RequestParams
|
1299
|
+
class DisplayPreference < Stripe::RequestParams
|
1300
|
+
# The account's preference for whether or not to display this payment method.
|
1301
|
+
attr_accessor :preference
|
1302
|
+
|
1303
|
+
def initialize(preference: nil)
|
1304
|
+
@preference = preference
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
# Whether or not the payment method should be displayed.
|
1308
|
+
attr_accessor :display_preference
|
1309
|
+
|
1310
|
+
def initialize(display_preference: nil)
|
1311
|
+
@display_preference = display_preference
|
1312
|
+
end
|
1313
|
+
end
|
1314
|
+
|
1191
1315
|
class Link < Stripe::RequestParams
|
1192
1316
|
class DisplayPreference < Stripe::RequestParams
|
1193
1317
|
# The account's preference for whether or not to display this payment method.
|
@@ -1239,6 +1363,23 @@ module Stripe
|
|
1239
1363
|
end
|
1240
1364
|
end
|
1241
1365
|
|
1366
|
+
class NaverPay < Stripe::RequestParams
|
1367
|
+
class DisplayPreference < Stripe::RequestParams
|
1368
|
+
# The account's preference for whether or not to display this payment method.
|
1369
|
+
attr_accessor :preference
|
1370
|
+
|
1371
|
+
def initialize(preference: nil)
|
1372
|
+
@preference = preference
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
# Whether or not the payment method should be displayed.
|
1376
|
+
attr_accessor :display_preference
|
1377
|
+
|
1378
|
+
def initialize(display_preference: nil)
|
1379
|
+
@display_preference = display_preference
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
|
1242
1383
|
class NzBankAccount < Stripe::RequestParams
|
1243
1384
|
class DisplayPreference < Stripe::RequestParams
|
1244
1385
|
# The account's preference for whether or not to display this payment method.
|
@@ -1307,6 +1448,23 @@ module Stripe
|
|
1307
1448
|
end
|
1308
1449
|
end
|
1309
1450
|
|
1451
|
+
class Payco < Stripe::RequestParams
|
1452
|
+
class DisplayPreference < Stripe::RequestParams
|
1453
|
+
# The account's preference for whether or not to display this payment method.
|
1454
|
+
attr_accessor :preference
|
1455
|
+
|
1456
|
+
def initialize(preference: nil)
|
1457
|
+
@preference = preference
|
1458
|
+
end
|
1459
|
+
end
|
1460
|
+
# Whether or not the payment method should be displayed.
|
1461
|
+
attr_accessor :display_preference
|
1462
|
+
|
1463
|
+
def initialize(display_preference: nil)
|
1464
|
+
@display_preference = display_preference
|
1465
|
+
end
|
1466
|
+
end
|
1467
|
+
|
1310
1468
|
class Paynow < Stripe::RequestParams
|
1311
1469
|
class DisplayPreference < Stripe::RequestParams
|
1312
1470
|
# The account's preference for whether or not to display this payment method.
|
@@ -1341,6 +1499,23 @@ module Stripe
|
|
1341
1499
|
end
|
1342
1500
|
end
|
1343
1501
|
|
1502
|
+
class Pix < Stripe::RequestParams
|
1503
|
+
class DisplayPreference < Stripe::RequestParams
|
1504
|
+
# The account's preference for whether or not to display this payment method.
|
1505
|
+
attr_accessor :preference
|
1506
|
+
|
1507
|
+
def initialize(preference: nil)
|
1508
|
+
@preference = preference
|
1509
|
+
end
|
1510
|
+
end
|
1511
|
+
# Whether or not the payment method should be displayed.
|
1512
|
+
attr_accessor :display_preference
|
1513
|
+
|
1514
|
+
def initialize(display_preference: nil)
|
1515
|
+
@display_preference = display_preference
|
1516
|
+
end
|
1517
|
+
end
|
1518
|
+
|
1344
1519
|
class Promptpay < Stripe::RequestParams
|
1345
1520
|
class DisplayPreference < Stripe::RequestParams
|
1346
1521
|
# The account's preference for whether or not to display this payment method.
|
@@ -1375,6 +1550,23 @@ module Stripe
|
|
1375
1550
|
end
|
1376
1551
|
end
|
1377
1552
|
|
1553
|
+
class SamsungPay < Stripe::RequestParams
|
1554
|
+
class DisplayPreference < Stripe::RequestParams
|
1555
|
+
# The account's preference for whether or not to display this payment method.
|
1556
|
+
attr_accessor :preference
|
1557
|
+
|
1558
|
+
def initialize(preference: nil)
|
1559
|
+
@preference = preference
|
1560
|
+
end
|
1561
|
+
end
|
1562
|
+
# Whether or not the payment method should be displayed.
|
1563
|
+
attr_accessor :display_preference
|
1564
|
+
|
1565
|
+
def initialize(display_preference: nil)
|
1566
|
+
@display_preference = display_preference
|
1567
|
+
end
|
1568
|
+
end
|
1569
|
+
|
1378
1570
|
class Satispay < Stripe::RequestParams
|
1379
1571
|
class DisplayPreference < Stripe::RequestParams
|
1380
1572
|
# The account's preference for whether or not to display this payment method.
|
@@ -1522,7 +1714,7 @@ module Stripe
|
|
1522
1714
|
attr_accessor :alma
|
1523
1715
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
1524
1716
|
attr_accessor :amazon_pay
|
1525
|
-
# 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.
|
1717
|
+
# 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.
|
1526
1718
|
attr_accessor :apple_pay
|
1527
1719
|
# 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.
|
1528
1720
|
attr_accessor :apple_pay_later
|
@@ -1562,10 +1754,14 @@ module Stripe
|
|
1562
1754
|
attr_accessor :ideal
|
1563
1755
|
# 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.
|
1564
1756
|
attr_accessor :jcb
|
1757
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
1758
|
+
attr_accessor :kakao_pay
|
1565
1759
|
# 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.
|
1566
1760
|
attr_accessor :klarna
|
1567
1761
|
# 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.
|
1568
1762
|
attr_accessor :konbini
|
1763
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
1764
|
+
attr_accessor :kr_card
|
1569
1765
|
# [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.
|
1570
1766
|
attr_accessor :link
|
1571
1767
|
# MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
|
@@ -1574,6 +1770,8 @@ module Stripe
|
|
1574
1770
|
attr_accessor :multibanco
|
1575
1771
|
# Configuration name.
|
1576
1772
|
attr_accessor :name
|
1773
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
1774
|
+
attr_accessor :naver_pay
|
1577
1775
|
# 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.
|
1578
1776
|
attr_accessor :nz_bank_account
|
1579
1777
|
# OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
|
@@ -1584,14 +1782,20 @@ module Stripe
|
|
1584
1782
|
attr_accessor :parent
|
1585
1783
|
# 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.
|
1586
1784
|
attr_accessor :pay_by_bank
|
1785
|
+
# PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
1786
|
+
attr_accessor :payco
|
1587
1787
|
# 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.
|
1588
1788
|
attr_accessor :paynow
|
1589
1789
|
# 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.
|
1590
1790
|
attr_accessor :paypal
|
1791
|
+
# 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.
|
1792
|
+
attr_accessor :pix
|
1591
1793
|
# 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.
|
1592
1794
|
attr_accessor :promptpay
|
1593
1795
|
# 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.
|
1594
1796
|
attr_accessor :revolut_pay
|
1797
|
+
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
1798
|
+
attr_accessor :samsung_pay
|
1595
1799
|
# 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.
|
1596
1800
|
attr_accessor :satispay
|
1597
1801
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
@@ -1636,21 +1840,27 @@ module Stripe
|
|
1636
1840
|
grabpay: nil,
|
1637
1841
|
ideal: nil,
|
1638
1842
|
jcb: nil,
|
1843
|
+
kakao_pay: nil,
|
1639
1844
|
klarna: nil,
|
1640
1845
|
konbini: nil,
|
1846
|
+
kr_card: nil,
|
1641
1847
|
link: nil,
|
1642
1848
|
mobilepay: nil,
|
1643
1849
|
multibanco: nil,
|
1644
1850
|
name: nil,
|
1851
|
+
naver_pay: nil,
|
1645
1852
|
nz_bank_account: nil,
|
1646
1853
|
oxxo: nil,
|
1647
1854
|
p24: nil,
|
1648
1855
|
parent: nil,
|
1649
1856
|
pay_by_bank: nil,
|
1857
|
+
payco: nil,
|
1650
1858
|
paynow: nil,
|
1651
1859
|
paypal: nil,
|
1860
|
+
pix: nil,
|
1652
1861
|
promptpay: nil,
|
1653
1862
|
revolut_pay: nil,
|
1863
|
+
samsung_pay: nil,
|
1654
1864
|
satispay: nil,
|
1655
1865
|
sepa_debit: nil,
|
1656
1866
|
sofort: nil,
|
@@ -1686,21 +1896,27 @@ module Stripe
|
|
1686
1896
|
@grabpay = grabpay
|
1687
1897
|
@ideal = ideal
|
1688
1898
|
@jcb = jcb
|
1899
|
+
@kakao_pay = kakao_pay
|
1689
1900
|
@klarna = klarna
|
1690
1901
|
@konbini = konbini
|
1902
|
+
@kr_card = kr_card
|
1691
1903
|
@link = link
|
1692
1904
|
@mobilepay = mobilepay
|
1693
1905
|
@multibanco = multibanco
|
1694
1906
|
@name = name
|
1907
|
+
@naver_pay = naver_pay
|
1695
1908
|
@nz_bank_account = nz_bank_account
|
1696
1909
|
@oxxo = oxxo
|
1697
1910
|
@p24 = p24
|
1698
1911
|
@parent = parent
|
1699
1912
|
@pay_by_bank = pay_by_bank
|
1913
|
+
@payco = payco
|
1700
1914
|
@paynow = paynow
|
1701
1915
|
@paypal = paypal
|
1916
|
+
@pix = pix
|
1702
1917
|
@promptpay = promptpay
|
1703
1918
|
@revolut_pay = revolut_pay
|
1919
|
+
@samsung_pay = samsung_pay
|
1704
1920
|
@satispay = satispay
|
1705
1921
|
@sepa_debit = sepa_debit
|
1706
1922
|
@sofort = sofort
|
@@ -2138,6 +2354,23 @@ module Stripe
|
|
2138
2354
|
end
|
2139
2355
|
end
|
2140
2356
|
|
2357
|
+
class KakaoPay < Stripe::RequestParams
|
2358
|
+
class DisplayPreference < Stripe::RequestParams
|
2359
|
+
# The account's preference for whether or not to display this payment method.
|
2360
|
+
attr_accessor :preference
|
2361
|
+
|
2362
|
+
def initialize(preference: nil)
|
2363
|
+
@preference = preference
|
2364
|
+
end
|
2365
|
+
end
|
2366
|
+
# Whether or not the payment method should be displayed.
|
2367
|
+
attr_accessor :display_preference
|
2368
|
+
|
2369
|
+
def initialize(display_preference: nil)
|
2370
|
+
@display_preference = display_preference
|
2371
|
+
end
|
2372
|
+
end
|
2373
|
+
|
2141
2374
|
class Klarna < Stripe::RequestParams
|
2142
2375
|
class DisplayPreference < Stripe::RequestParams
|
2143
2376
|
# The account's preference for whether or not to display this payment method.
|
@@ -2172,6 +2405,23 @@ module Stripe
|
|
2172
2405
|
end
|
2173
2406
|
end
|
2174
2407
|
|
2408
|
+
class KrCard < Stripe::RequestParams
|
2409
|
+
class DisplayPreference < Stripe::RequestParams
|
2410
|
+
# The account's preference for whether or not to display this payment method.
|
2411
|
+
attr_accessor :preference
|
2412
|
+
|
2413
|
+
def initialize(preference: nil)
|
2414
|
+
@preference = preference
|
2415
|
+
end
|
2416
|
+
end
|
2417
|
+
# Whether or not the payment method should be displayed.
|
2418
|
+
attr_accessor :display_preference
|
2419
|
+
|
2420
|
+
def initialize(display_preference: nil)
|
2421
|
+
@display_preference = display_preference
|
2422
|
+
end
|
2423
|
+
end
|
2424
|
+
|
2175
2425
|
class Link < Stripe::RequestParams
|
2176
2426
|
class DisplayPreference < Stripe::RequestParams
|
2177
2427
|
# The account's preference for whether or not to display this payment method.
|
@@ -2223,6 +2473,23 @@ module Stripe
|
|
2223
2473
|
end
|
2224
2474
|
end
|
2225
2475
|
|
2476
|
+
class NaverPay < Stripe::RequestParams
|
2477
|
+
class DisplayPreference < Stripe::RequestParams
|
2478
|
+
# The account's preference for whether or not to display this payment method.
|
2479
|
+
attr_accessor :preference
|
2480
|
+
|
2481
|
+
def initialize(preference: nil)
|
2482
|
+
@preference = preference
|
2483
|
+
end
|
2484
|
+
end
|
2485
|
+
# Whether or not the payment method should be displayed.
|
2486
|
+
attr_accessor :display_preference
|
2487
|
+
|
2488
|
+
def initialize(display_preference: nil)
|
2489
|
+
@display_preference = display_preference
|
2490
|
+
end
|
2491
|
+
end
|
2492
|
+
|
2226
2493
|
class NzBankAccount < Stripe::RequestParams
|
2227
2494
|
class DisplayPreference < Stripe::RequestParams
|
2228
2495
|
# The account's preference for whether or not to display this payment method.
|
@@ -2291,6 +2558,23 @@ module Stripe
|
|
2291
2558
|
end
|
2292
2559
|
end
|
2293
2560
|
|
2561
|
+
class Payco < Stripe::RequestParams
|
2562
|
+
class DisplayPreference < Stripe::RequestParams
|
2563
|
+
# The account's preference for whether or not to display this payment method.
|
2564
|
+
attr_accessor :preference
|
2565
|
+
|
2566
|
+
def initialize(preference: nil)
|
2567
|
+
@preference = preference
|
2568
|
+
end
|
2569
|
+
end
|
2570
|
+
# Whether or not the payment method should be displayed.
|
2571
|
+
attr_accessor :display_preference
|
2572
|
+
|
2573
|
+
def initialize(display_preference: nil)
|
2574
|
+
@display_preference = display_preference
|
2575
|
+
end
|
2576
|
+
end
|
2577
|
+
|
2294
2578
|
class Paynow < Stripe::RequestParams
|
2295
2579
|
class DisplayPreference < Stripe::RequestParams
|
2296
2580
|
# The account's preference for whether or not to display this payment method.
|
@@ -2325,6 +2609,23 @@ module Stripe
|
|
2325
2609
|
end
|
2326
2610
|
end
|
2327
2611
|
|
2612
|
+
class Pix < Stripe::RequestParams
|
2613
|
+
class DisplayPreference < Stripe::RequestParams
|
2614
|
+
# The account's preference for whether or not to display this payment method.
|
2615
|
+
attr_accessor :preference
|
2616
|
+
|
2617
|
+
def initialize(preference: nil)
|
2618
|
+
@preference = preference
|
2619
|
+
end
|
2620
|
+
end
|
2621
|
+
# Whether or not the payment method should be displayed.
|
2622
|
+
attr_accessor :display_preference
|
2623
|
+
|
2624
|
+
def initialize(display_preference: nil)
|
2625
|
+
@display_preference = display_preference
|
2626
|
+
end
|
2627
|
+
end
|
2628
|
+
|
2328
2629
|
class Promptpay < Stripe::RequestParams
|
2329
2630
|
class DisplayPreference < Stripe::RequestParams
|
2330
2631
|
# The account's preference for whether or not to display this payment method.
|
@@ -2359,6 +2660,23 @@ module Stripe
|
|
2359
2660
|
end
|
2360
2661
|
end
|
2361
2662
|
|
2663
|
+
class SamsungPay < Stripe::RequestParams
|
2664
|
+
class DisplayPreference < Stripe::RequestParams
|
2665
|
+
# The account's preference for whether or not to display this payment method.
|
2666
|
+
attr_accessor :preference
|
2667
|
+
|
2668
|
+
def initialize(preference: nil)
|
2669
|
+
@preference = preference
|
2670
|
+
end
|
2671
|
+
end
|
2672
|
+
# Whether or not the payment method should be displayed.
|
2673
|
+
attr_accessor :display_preference
|
2674
|
+
|
2675
|
+
def initialize(display_preference: nil)
|
2676
|
+
@display_preference = display_preference
|
2677
|
+
end
|
2678
|
+
end
|
2679
|
+
|
2362
2680
|
class Satispay < Stripe::RequestParams
|
2363
2681
|
class DisplayPreference < Stripe::RequestParams
|
2364
2682
|
# The account's preference for whether or not to display this payment method.
|
@@ -2508,7 +2826,7 @@ module Stripe
|
|
2508
2826
|
attr_accessor :alma
|
2509
2827
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
2510
2828
|
attr_accessor :amazon_pay
|
2511
|
-
# 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.
|
2829
|
+
# 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.
|
2512
2830
|
attr_accessor :apple_pay
|
2513
2831
|
# 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.
|
2514
2832
|
attr_accessor :apple_pay_later
|
@@ -2548,10 +2866,14 @@ module Stripe
|
|
2548
2866
|
attr_accessor :ideal
|
2549
2867
|
# 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.
|
2550
2868
|
attr_accessor :jcb
|
2869
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
2870
|
+
attr_accessor :kakao_pay
|
2551
2871
|
# 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.
|
2552
2872
|
attr_accessor :klarna
|
2553
2873
|
# 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.
|
2554
2874
|
attr_accessor :konbini
|
2875
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
2876
|
+
attr_accessor :kr_card
|
2555
2877
|
# [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.
|
2556
2878
|
attr_accessor :link
|
2557
2879
|
# MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
|
@@ -2560,6 +2882,8 @@ module Stripe
|
|
2560
2882
|
attr_accessor :multibanco
|
2561
2883
|
# Configuration name.
|
2562
2884
|
attr_accessor :name
|
2885
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
2886
|
+
attr_accessor :naver_pay
|
2563
2887
|
# 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.
|
2564
2888
|
attr_accessor :nz_bank_account
|
2565
2889
|
# OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
|
@@ -2568,14 +2892,20 @@ module Stripe
|
|
2568
2892
|
attr_accessor :p24
|
2569
2893
|
# 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.
|
2570
2894
|
attr_accessor :pay_by_bank
|
2895
|
+
# PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
2896
|
+
attr_accessor :payco
|
2571
2897
|
# 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.
|
2572
2898
|
attr_accessor :paynow
|
2573
2899
|
# 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.
|
2574
2900
|
attr_accessor :paypal
|
2901
|
+
# 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.
|
2902
|
+
attr_accessor :pix
|
2575
2903
|
# 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.
|
2576
2904
|
attr_accessor :promptpay
|
2577
2905
|
# 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.
|
2578
2906
|
attr_accessor :revolut_pay
|
2907
|
+
# Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
|
2908
|
+
attr_accessor :samsung_pay
|
2579
2909
|
# 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.
|
2580
2910
|
attr_accessor :satispay
|
2581
2911
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
@@ -2621,20 +2951,26 @@ module Stripe
|
|
2621
2951
|
grabpay: nil,
|
2622
2952
|
ideal: nil,
|
2623
2953
|
jcb: nil,
|
2954
|
+
kakao_pay: nil,
|
2624
2955
|
klarna: nil,
|
2625
2956
|
konbini: nil,
|
2957
|
+
kr_card: nil,
|
2626
2958
|
link: nil,
|
2627
2959
|
mobilepay: nil,
|
2628
2960
|
multibanco: nil,
|
2629
2961
|
name: nil,
|
2962
|
+
naver_pay: nil,
|
2630
2963
|
nz_bank_account: nil,
|
2631
2964
|
oxxo: nil,
|
2632
2965
|
p24: nil,
|
2633
2966
|
pay_by_bank: nil,
|
2967
|
+
payco: nil,
|
2634
2968
|
paynow: nil,
|
2635
2969
|
paypal: nil,
|
2970
|
+
pix: nil,
|
2636
2971
|
promptpay: nil,
|
2637
2972
|
revolut_pay: nil,
|
2973
|
+
samsung_pay: nil,
|
2638
2974
|
satispay: nil,
|
2639
2975
|
sepa_debit: nil,
|
2640
2976
|
sofort: nil,
|
@@ -2671,20 +3007,26 @@ module Stripe
|
|
2671
3007
|
@grabpay = grabpay
|
2672
3008
|
@ideal = ideal
|
2673
3009
|
@jcb = jcb
|
3010
|
+
@kakao_pay = kakao_pay
|
2674
3011
|
@klarna = klarna
|
2675
3012
|
@konbini = konbini
|
3013
|
+
@kr_card = kr_card
|
2676
3014
|
@link = link
|
2677
3015
|
@mobilepay = mobilepay
|
2678
3016
|
@multibanco = multibanco
|
2679
3017
|
@name = name
|
3018
|
+
@naver_pay = naver_pay
|
2680
3019
|
@nz_bank_account = nz_bank_account
|
2681
3020
|
@oxxo = oxxo
|
2682
3021
|
@p24 = p24
|
2683
3022
|
@pay_by_bank = pay_by_bank
|
3023
|
+
@payco = payco
|
2684
3024
|
@paynow = paynow
|
2685
3025
|
@paypal = paypal
|
3026
|
+
@pix = pix
|
2686
3027
|
@promptpay = promptpay
|
2687
3028
|
@revolut_pay = revolut_pay
|
3029
|
+
@samsung_pay = samsung_pay
|
2688
3030
|
@satispay = satispay
|
2689
3031
|
@sepa_debit = sepa_debit
|
2690
3032
|
@sofort = sofort
|
@@ -2751,10 +3093,14 @@ module Stripe
|
|
2751
3093
|
attr_reader :is_default
|
2752
3094
|
# Attribute for field jcb
|
2753
3095
|
attr_reader :jcb
|
3096
|
+
# Attribute for field kakao_pay
|
3097
|
+
attr_reader :kakao_pay
|
2754
3098
|
# Attribute for field klarna
|
2755
3099
|
attr_reader :klarna
|
2756
3100
|
# Attribute for field konbini
|
2757
3101
|
attr_reader :konbini
|
3102
|
+
# Attribute for field kr_card
|
3103
|
+
attr_reader :kr_card
|
2758
3104
|
# Attribute for field link
|
2759
3105
|
attr_reader :link
|
2760
3106
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
@@ -2765,6 +3111,8 @@ module Stripe
|
|
2765
3111
|
attr_reader :multibanco
|
2766
3112
|
# The configuration's name.
|
2767
3113
|
attr_reader :name
|
3114
|
+
# Attribute for field naver_pay
|
3115
|
+
attr_reader :naver_pay
|
2768
3116
|
# Attribute for field nz_bank_account
|
2769
3117
|
attr_reader :nz_bank_account
|
2770
3118
|
# String representing the object's type. Objects of the same type share the same value.
|
@@ -2777,14 +3125,20 @@ module Stripe
|
|
2777
3125
|
attr_reader :parent
|
2778
3126
|
# Attribute for field pay_by_bank
|
2779
3127
|
attr_reader :pay_by_bank
|
3128
|
+
# Attribute for field payco
|
3129
|
+
attr_reader :payco
|
2780
3130
|
# Attribute for field paynow
|
2781
3131
|
attr_reader :paynow
|
2782
3132
|
# Attribute for field paypal
|
2783
3133
|
attr_reader :paypal
|
3134
|
+
# Attribute for field pix
|
3135
|
+
attr_reader :pix
|
2784
3136
|
# Attribute for field promptpay
|
2785
3137
|
attr_reader :promptpay
|
2786
3138
|
# Attribute for field revolut_pay
|
2787
3139
|
attr_reader :revolut_pay
|
3140
|
+
# Attribute for field samsung_pay
|
3141
|
+
attr_reader :samsung_pay
|
2788
3142
|
# Attribute for field satispay
|
2789
3143
|
attr_reader :satispay
|
2790
3144
|
# Attribute for field sepa_debit
|