stripe 15.1.0 → 15.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -6
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/resources/account.rb +47 -20
- data/lib/stripe/resources/account_session.rb +111 -7
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing_portal/session.rb +1 -1
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/charge.rb +13 -5
- data/lib/stripe/resources/checkout/session.rb +20 -4
- data/lib/stripe/resources/confirmation_token.rb +33 -87
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +1 -2
- data/lib/stripe/resources/credit_note.rb +12 -9
- data/lib/stripe/resources/customer.rb +2 -4
- data/lib/stripe/resources/customer_session.rb +3 -3
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -11
- data/lib/stripe/resources/invoice.rb +114 -27
- data/lib/stripe/resources/invoice_item.rb +2 -3
- data/lib/stripe/resources/invoice_line_item.rb +1 -1
- data/lib/stripe/resources/invoice_payment.rb +9 -2
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/payment_intent.rb +196 -302
- data/lib/stripe/resources/payment_method.rb +46 -103
- data/lib/stripe/resources/payment_method_configuration.rb +297 -2
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -4
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -1
- data/lib/stripe/resources/product.rb +1 -2
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -1
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +111 -281
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription.rb +89 -29
- data/lib/stripe/resources/subscription_item.rb +33 -0
- data/lib/stripe/resources/subscription_schedule.rb +119 -4
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +1 -2
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +275 -3
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +38 -13
- data/lib/stripe/services/account_session_service.rb +75 -7
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +4 -4
- data/lib/stripe/services/checkout/session_service.rb +11 -3
- data/lib/stripe/services/coupon_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +7 -8
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +5 -5
- data/lib/stripe/services/invoice_item_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +92 -23
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/payment_intent_service.rb +176 -292
- data/lib/stripe/services/payment_method_configuration_service.rb +212 -2
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +43 -100
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -2
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -3
- data/lib/stripe/services/promotion_code_service.rb +1 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +110 -280
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +26 -0
- data/lib/stripe/services/subscription_schedule_service.rb +93 -3
- data/lib/stripe/services/subscription_service.rb +77 -26
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +1 -2
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +106 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -1
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +46 -23
- data/rbi/stripe/resources/account_session.rbi +131 -12
- data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
- data/rbi/stripe/resources/balance.rbi +55 -0
- data/rbi/stripe/resources/balance_transaction.rbi +3 -0
- data/rbi/stripe/resources/bank_account.rbi +2 -2
- data/rbi/stripe/resources/billing/alert.rbi +2 -2
- data/rbi/stripe/resources/billing_portal/session.rbi +1 -1
- data/rbi/stripe/resources/capability.rbi +1 -1
- data/rbi/stripe/resources/charge.rbi +17 -5
- data/rbi/stripe/resources/checkout/session.rbi +22 -6
- data/rbi/stripe/resources/confirmation_token.rbi +33 -99
- data/rbi/stripe/resources/country_spec.rbi +1 -1
- data/rbi/stripe/resources/coupon.rbi +1 -3
- data/rbi/stripe/resources/credit_note.rbi +14 -9
- data/rbi/stripe/resources/customer.rbi +2 -6
- data/rbi/stripe/resources/customer_session.rbi +3 -3
- data/rbi/stripe/resources/dispute.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +1 -1
- data/rbi/stripe/resources/file.rbi +1 -1
- data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +20 -11
- data/rbi/stripe/resources/invoice.rbi +109 -33
- data/rbi/stripe/resources/invoice_item.rbi +2 -4
- data/rbi/stripe/resources/invoice_line_item.rbi +1 -1
- data/rbi/stripe/resources/invoice_payment.rbi +9 -2
- data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
- data/rbi/stripe/resources/issuing/card.rbi +1 -1
- data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
- data/rbi/stripe/resources/payment_intent.rbi +201 -349
- data/rbi/stripe/resources/payment_method.rbi +46 -116
- data/rbi/stripe/resources/payment_method_configuration.rbi +334 -4
- data/rbi/stripe/resources/payment_method_domain.rbi +2 -2
- data/rbi/stripe/resources/payout.rbi +4 -4
- data/rbi/stripe/resources/person.rbi +2 -2
- data/rbi/stripe/resources/plan.rbi +2 -4
- data/rbi/stripe/resources/price.rbi +1 -1
- data/rbi/stripe/resources/product.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
- data/rbi/stripe/resources/refund.rbi +5 -1
- data/rbi/stripe/resources/reversal.rbi +1 -1
- data/rbi/stripe/resources/review.rbi +1 -1
- data/rbi/stripe/resources/setup_intent.rbi +111 -325
- data/rbi/stripe/resources/source.rbi +1 -1
- data/rbi/stripe/resources/subscription.rbi +99 -36
- data/rbi/stripe/resources/subscription_item.rbi +36 -2
- data/rbi/stripe/resources/subscription_schedule.rbi +138 -10
- data/rbi/stripe/resources/tax/calculation.rbi +5 -1
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +3 -0
- data/rbi/stripe/resources/tax/registration.rbi +1 -1
- data/rbi/stripe/resources/tax_id.rbi +1 -3
- data/rbi/stripe/resources/tax_rate.rbi +2 -2
- data/rbi/stripe/resources/terminal/configuration.rbi +1 -3
- data/rbi/stripe/resources/terminal/location.rbi +2 -4
- data/rbi/stripe/resources/terminal/reader.rbi +265 -5
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
- data/rbi/stripe/resources/token.rbi +2 -2
- data/rbi/stripe/resources/transfer.rbi +1 -1
- data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
- data/rbi/stripe/services/account_external_account_service.rbi +2 -4
- data/rbi/stripe/services/account_login_link_service.rbi +1 -1
- data/rbi/stripe/services/account_person_service.rbi +1 -3
- data/rbi/stripe/services/account_service.rbi +40 -16
- data/rbi/stripe/services/account_session_service.rbi +86 -12
- data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
- data/rbi/stripe/services/balance_service.rbi +1 -1
- data/rbi/stripe/services/billing/alert_service.rbi +2 -2
- data/rbi/stripe/services/charge_service.rbi +4 -4
- data/rbi/stripe/services/checkout/session_service.rbi +12 -5
- data/rbi/stripe/services/coupon_service.rbi +1 -3
- data/rbi/stripe/services/credit_note_service.rbi +7 -8
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
- data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
- data/rbi/stripe/services/customer_service.rbi +3 -7
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -3
- data/rbi/stripe/services/dispute_service.rbi +1 -1
- data/rbi/stripe/services/file_service.rbi +1 -1
- data/rbi/stripe/services/identity/verification_session_service.rbi +5 -5
- data/rbi/stripe/services/invoice_item_service.rbi +1 -3
- data/rbi/stripe/services/invoice_service.rbi +90 -29
- data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
- data/rbi/stripe/services/issuing/card_service.rbi +1 -1
- data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +179 -339
- data/rbi/stripe/services/payment_method_configuration_service.rbi +236 -4
- data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
- data/rbi/stripe/services/payment_method_service.rbi +43 -113
- data/rbi/stripe/services/payout_service.rbi +2 -2
- data/rbi/stripe/services/plan_service.rbi +2 -4
- data/rbi/stripe/services/price_service.rbi +2 -2
- data/rbi/stripe/services/product_feature_service.rbi +1 -3
- data/rbi/stripe/services/product_service.rbi +2 -4
- data/rbi/stripe/services/promotion_code_service.rbi +1 -1
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
- data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
- data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
- data/rbi/stripe/services/setup_intent_service.rbi +110 -324
- data/rbi/stripe/services/source_service.rbi +1 -1
- data/rbi/stripe/services/subscription_item_service.rbi +28 -2
- data/rbi/stripe/services/subscription_schedule_service.rbi +107 -9
- data/rbi/stripe/services/subscription_service.rbi +85 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +5 -1
- data/rbi/stripe/services/tax/registration_service.rbi +1 -1
- data/rbi/stripe/services/tax_id_service.rbi +1 -3
- data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
- data/rbi/stripe/services/terminal/location_service.rbi +2 -4
- data/rbi/stripe/services/terminal/reader_service.rbi +115 -4
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +33 -99
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
- data/rbi/stripe/services/token_service.rbi +1 -1
- data/rbi/stripe/services/transfer_service.rbi +1 -1
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +4 -12
- data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
- metadata +3 -2
@@ -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.
|
@@ -596,6 +656,21 @@ module Stripe
|
|
596
656
|
attr_reader :display_preference
|
597
657
|
end
|
598
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
|
+
|
599
674
|
class Satispay < Stripe::StripeObject
|
600
675
|
class DisplayPreference < Stripe::StripeObject
|
601
676
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -1169,6 +1244,23 @@ module Stripe
|
|
1169
1244
|
end
|
1170
1245
|
end
|
1171
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
|
+
|
1172
1264
|
class Klarna < Stripe::RequestParams
|
1173
1265
|
class DisplayPreference < Stripe::RequestParams
|
1174
1266
|
# The account's preference for whether or not to display this payment method.
|
@@ -1203,6 +1295,23 @@ module Stripe
|
|
1203
1295
|
end
|
1204
1296
|
end
|
1205
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
|
+
|
1206
1315
|
class Link < Stripe::RequestParams
|
1207
1316
|
class DisplayPreference < Stripe::RequestParams
|
1208
1317
|
# The account's preference for whether or not to display this payment method.
|
@@ -1254,6 +1363,23 @@ module Stripe
|
|
1254
1363
|
end
|
1255
1364
|
end
|
1256
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
|
+
|
1257
1383
|
class NzBankAccount < Stripe::RequestParams
|
1258
1384
|
class DisplayPreference < Stripe::RequestParams
|
1259
1385
|
# The account's preference for whether or not to display this payment method.
|
@@ -1322,6 +1448,23 @@ module Stripe
|
|
1322
1448
|
end
|
1323
1449
|
end
|
1324
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
|
+
|
1325
1468
|
class Paynow < Stripe::RequestParams
|
1326
1469
|
class DisplayPreference < Stripe::RequestParams
|
1327
1470
|
# The account's preference for whether or not to display this payment method.
|
@@ -1407,6 +1550,23 @@ module Stripe
|
|
1407
1550
|
end
|
1408
1551
|
end
|
1409
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
|
+
|
1410
1570
|
class Satispay < Stripe::RequestParams
|
1411
1571
|
class DisplayPreference < Stripe::RequestParams
|
1412
1572
|
# The account's preference for whether or not to display this payment method.
|
@@ -1554,7 +1714,7 @@ module Stripe
|
|
1554
1714
|
attr_accessor :alma
|
1555
1715
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
1556
1716
|
attr_accessor :amazon_pay
|
1557
|
-
# 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.
|
1558
1718
|
attr_accessor :apple_pay
|
1559
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.
|
1560
1720
|
attr_accessor :apple_pay_later
|
@@ -1594,10 +1754,14 @@ module Stripe
|
|
1594
1754
|
attr_accessor :ideal
|
1595
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.
|
1596
1756
|
attr_accessor :jcb
|
1757
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
1758
|
+
attr_accessor :kakao_pay
|
1597
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.
|
1598
1760
|
attr_accessor :klarna
|
1599
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.
|
1600
1762
|
attr_accessor :konbini
|
1763
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
1764
|
+
attr_accessor :kr_card
|
1601
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.
|
1602
1766
|
attr_accessor :link
|
1603
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.
|
@@ -1606,6 +1770,8 @@ module Stripe
|
|
1606
1770
|
attr_accessor :multibanco
|
1607
1771
|
# Configuration name.
|
1608
1772
|
attr_accessor :name
|
1773
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
1774
|
+
attr_accessor :naver_pay
|
1609
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.
|
1610
1776
|
attr_accessor :nz_bank_account
|
1611
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.
|
@@ -1616,6 +1782,8 @@ module Stripe
|
|
1616
1782
|
attr_accessor :parent
|
1617
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.
|
1618
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
|
1619
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.
|
1620
1788
|
attr_accessor :paynow
|
1621
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.
|
@@ -1626,6 +1794,8 @@ module Stripe
|
|
1626
1794
|
attr_accessor :promptpay
|
1627
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.
|
1628
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
|
1629
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.
|
1630
1800
|
attr_accessor :satispay
|
1631
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.
|
@@ -1670,22 +1840,27 @@ module Stripe
|
|
1670
1840
|
grabpay: nil,
|
1671
1841
|
ideal: nil,
|
1672
1842
|
jcb: nil,
|
1843
|
+
kakao_pay: nil,
|
1673
1844
|
klarna: nil,
|
1674
1845
|
konbini: nil,
|
1846
|
+
kr_card: nil,
|
1675
1847
|
link: nil,
|
1676
1848
|
mobilepay: nil,
|
1677
1849
|
multibanco: nil,
|
1678
1850
|
name: nil,
|
1851
|
+
naver_pay: nil,
|
1679
1852
|
nz_bank_account: nil,
|
1680
1853
|
oxxo: nil,
|
1681
1854
|
p24: nil,
|
1682
1855
|
parent: nil,
|
1683
1856
|
pay_by_bank: nil,
|
1857
|
+
payco: nil,
|
1684
1858
|
paynow: nil,
|
1685
1859
|
paypal: nil,
|
1686
1860
|
pix: nil,
|
1687
1861
|
promptpay: nil,
|
1688
1862
|
revolut_pay: nil,
|
1863
|
+
samsung_pay: nil,
|
1689
1864
|
satispay: nil,
|
1690
1865
|
sepa_debit: nil,
|
1691
1866
|
sofort: nil,
|
@@ -1721,22 +1896,27 @@ module Stripe
|
|
1721
1896
|
@grabpay = grabpay
|
1722
1897
|
@ideal = ideal
|
1723
1898
|
@jcb = jcb
|
1899
|
+
@kakao_pay = kakao_pay
|
1724
1900
|
@klarna = klarna
|
1725
1901
|
@konbini = konbini
|
1902
|
+
@kr_card = kr_card
|
1726
1903
|
@link = link
|
1727
1904
|
@mobilepay = mobilepay
|
1728
1905
|
@multibanco = multibanco
|
1729
1906
|
@name = name
|
1907
|
+
@naver_pay = naver_pay
|
1730
1908
|
@nz_bank_account = nz_bank_account
|
1731
1909
|
@oxxo = oxxo
|
1732
1910
|
@p24 = p24
|
1733
1911
|
@parent = parent
|
1734
1912
|
@pay_by_bank = pay_by_bank
|
1913
|
+
@payco = payco
|
1735
1914
|
@paynow = paynow
|
1736
1915
|
@paypal = paypal
|
1737
1916
|
@pix = pix
|
1738
1917
|
@promptpay = promptpay
|
1739
1918
|
@revolut_pay = revolut_pay
|
1919
|
+
@samsung_pay = samsung_pay
|
1740
1920
|
@satispay = satispay
|
1741
1921
|
@sepa_debit = sepa_debit
|
1742
1922
|
@sofort = sofort
|
@@ -2174,6 +2354,23 @@ module Stripe
|
|
2174
2354
|
end
|
2175
2355
|
end
|
2176
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
|
+
|
2177
2374
|
class Klarna < Stripe::RequestParams
|
2178
2375
|
class DisplayPreference < Stripe::RequestParams
|
2179
2376
|
# The account's preference for whether or not to display this payment method.
|
@@ -2208,6 +2405,23 @@ module Stripe
|
|
2208
2405
|
end
|
2209
2406
|
end
|
2210
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
|
+
|
2211
2425
|
class Link < Stripe::RequestParams
|
2212
2426
|
class DisplayPreference < Stripe::RequestParams
|
2213
2427
|
# The account's preference for whether or not to display this payment method.
|
@@ -2259,6 +2473,23 @@ module Stripe
|
|
2259
2473
|
end
|
2260
2474
|
end
|
2261
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
|
+
|
2262
2493
|
class NzBankAccount < Stripe::RequestParams
|
2263
2494
|
class DisplayPreference < Stripe::RequestParams
|
2264
2495
|
# The account's preference for whether or not to display this payment method.
|
@@ -2327,6 +2558,23 @@ module Stripe
|
|
2327
2558
|
end
|
2328
2559
|
end
|
2329
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
|
+
|
2330
2578
|
class Paynow < Stripe::RequestParams
|
2331
2579
|
class DisplayPreference < Stripe::RequestParams
|
2332
2580
|
# The account's preference for whether or not to display this payment method.
|
@@ -2412,6 +2660,23 @@ module Stripe
|
|
2412
2660
|
end
|
2413
2661
|
end
|
2414
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
|
+
|
2415
2680
|
class Satispay < Stripe::RequestParams
|
2416
2681
|
class DisplayPreference < Stripe::RequestParams
|
2417
2682
|
# The account's preference for whether or not to display this payment method.
|
@@ -2561,7 +2826,7 @@ module Stripe
|
|
2561
2826
|
attr_accessor :alma
|
2562
2827
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
2563
2828
|
attr_accessor :amazon_pay
|
2564
|
-
# 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.
|
2565
2830
|
attr_accessor :apple_pay
|
2566
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.
|
2567
2832
|
attr_accessor :apple_pay_later
|
@@ -2601,10 +2866,14 @@ module Stripe
|
|
2601
2866
|
attr_accessor :ideal
|
2602
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.
|
2603
2868
|
attr_accessor :jcb
|
2869
|
+
# Kakao Pay is a popular local wallet available in South Korea.
|
2870
|
+
attr_accessor :kakao_pay
|
2604
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.
|
2605
2872
|
attr_accessor :klarna
|
2606
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.
|
2607
2874
|
attr_accessor :konbini
|
2875
|
+
# Korean cards let users pay using locally issued cards from South Korea.
|
2876
|
+
attr_accessor :kr_card
|
2608
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.
|
2609
2878
|
attr_accessor :link
|
2610
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.
|
@@ -2613,6 +2882,8 @@ module Stripe
|
|
2613
2882
|
attr_accessor :multibanco
|
2614
2883
|
# Configuration name.
|
2615
2884
|
attr_accessor :name
|
2885
|
+
# Naver Pay is a popular local wallet available in South Korea.
|
2886
|
+
attr_accessor :naver_pay
|
2616
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.
|
2617
2888
|
attr_accessor :nz_bank_account
|
2618
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.
|
@@ -2621,6 +2892,8 @@ module Stripe
|
|
2621
2892
|
attr_accessor :p24
|
2622
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.
|
2623
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
|
2624
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.
|
2625
2898
|
attr_accessor :paynow
|
2626
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.
|
@@ -2631,6 +2904,8 @@ module Stripe
|
|
2631
2904
|
attr_accessor :promptpay
|
2632
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.
|
2633
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
|
2634
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.
|
2635
2910
|
attr_accessor :satispay
|
2636
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.
|
@@ -2676,21 +2951,26 @@ module Stripe
|
|
2676
2951
|
grabpay: nil,
|
2677
2952
|
ideal: nil,
|
2678
2953
|
jcb: nil,
|
2954
|
+
kakao_pay: nil,
|
2679
2955
|
klarna: nil,
|
2680
2956
|
konbini: nil,
|
2957
|
+
kr_card: nil,
|
2681
2958
|
link: nil,
|
2682
2959
|
mobilepay: nil,
|
2683
2960
|
multibanco: nil,
|
2684
2961
|
name: nil,
|
2962
|
+
naver_pay: nil,
|
2685
2963
|
nz_bank_account: nil,
|
2686
2964
|
oxxo: nil,
|
2687
2965
|
p24: nil,
|
2688
2966
|
pay_by_bank: nil,
|
2967
|
+
payco: nil,
|
2689
2968
|
paynow: nil,
|
2690
2969
|
paypal: nil,
|
2691
2970
|
pix: nil,
|
2692
2971
|
promptpay: nil,
|
2693
2972
|
revolut_pay: nil,
|
2973
|
+
samsung_pay: nil,
|
2694
2974
|
satispay: nil,
|
2695
2975
|
sepa_debit: nil,
|
2696
2976
|
sofort: nil,
|
@@ -2727,21 +3007,26 @@ module Stripe
|
|
2727
3007
|
@grabpay = grabpay
|
2728
3008
|
@ideal = ideal
|
2729
3009
|
@jcb = jcb
|
3010
|
+
@kakao_pay = kakao_pay
|
2730
3011
|
@klarna = klarna
|
2731
3012
|
@konbini = konbini
|
3013
|
+
@kr_card = kr_card
|
2732
3014
|
@link = link
|
2733
3015
|
@mobilepay = mobilepay
|
2734
3016
|
@multibanco = multibanco
|
2735
3017
|
@name = name
|
3018
|
+
@naver_pay = naver_pay
|
2736
3019
|
@nz_bank_account = nz_bank_account
|
2737
3020
|
@oxxo = oxxo
|
2738
3021
|
@p24 = p24
|
2739
3022
|
@pay_by_bank = pay_by_bank
|
3023
|
+
@payco = payco
|
2740
3024
|
@paynow = paynow
|
2741
3025
|
@paypal = paypal
|
2742
3026
|
@pix = pix
|
2743
3027
|
@promptpay = promptpay
|
2744
3028
|
@revolut_pay = revolut_pay
|
3029
|
+
@samsung_pay = samsung_pay
|
2745
3030
|
@satispay = satispay
|
2746
3031
|
@sepa_debit = sepa_debit
|
2747
3032
|
@sofort = sofort
|
@@ -2808,10 +3093,14 @@ module Stripe
|
|
2808
3093
|
attr_reader :is_default
|
2809
3094
|
# Attribute for field jcb
|
2810
3095
|
attr_reader :jcb
|
3096
|
+
# Attribute for field kakao_pay
|
3097
|
+
attr_reader :kakao_pay
|
2811
3098
|
# Attribute for field klarna
|
2812
3099
|
attr_reader :klarna
|
2813
3100
|
# Attribute for field konbini
|
2814
3101
|
attr_reader :konbini
|
3102
|
+
# Attribute for field kr_card
|
3103
|
+
attr_reader :kr_card
|
2815
3104
|
# Attribute for field link
|
2816
3105
|
attr_reader :link
|
2817
3106
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
@@ -2822,6 +3111,8 @@ module Stripe
|
|
2822
3111
|
attr_reader :multibanco
|
2823
3112
|
# The configuration's name.
|
2824
3113
|
attr_reader :name
|
3114
|
+
# Attribute for field naver_pay
|
3115
|
+
attr_reader :naver_pay
|
2825
3116
|
# Attribute for field nz_bank_account
|
2826
3117
|
attr_reader :nz_bank_account
|
2827
3118
|
# String representing the object's type. Objects of the same type share the same value.
|
@@ -2834,6 +3125,8 @@ module Stripe
|
|
2834
3125
|
attr_reader :parent
|
2835
3126
|
# Attribute for field pay_by_bank
|
2836
3127
|
attr_reader :pay_by_bank
|
3128
|
+
# Attribute for field payco
|
3129
|
+
attr_reader :payco
|
2837
3130
|
# Attribute for field paynow
|
2838
3131
|
attr_reader :paynow
|
2839
3132
|
# Attribute for field paypal
|
@@ -2844,6 +3137,8 @@ module Stripe
|
|
2844
3137
|
attr_reader :promptpay
|
2845
3138
|
# Attribute for field revolut_pay
|
2846
3139
|
attr_reader :revolut_pay
|
3140
|
+
# Attribute for field samsung_pay
|
3141
|
+
attr_reader :samsung_pay
|
2847
3142
|
# Attribute for field satispay
|
2848
3143
|
attr_reader :satispay
|
2849
3144
|
# Attribute for field sepa_debit
|
@@ -208,7 +208,7 @@ module Stripe
|
|
208
208
|
#
|
209
209
|
# To activate a payment method on an existing payment method domain, complete the required registration steps specific to the payment method, and then validate the payment method domain with this endpoint.
|
210
210
|
#
|
211
|
-
# Related guides: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration).
|
211
|
+
# Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration).
|
212
212
|
def validate(params = {}, opts = {})
|
213
213
|
request_stripe_object(
|
214
214
|
method: :post,
|
@@ -223,7 +223,7 @@ module Stripe
|
|
223
223
|
#
|
224
224
|
# To activate a payment method on an existing payment method domain, complete the required registration steps specific to the payment method, and then validate the payment method domain with this endpoint.
|
225
225
|
#
|
226
|
-
# Related guides: [Payment method domains](https://stripe.com/docs/payments/payment-methods/pmd-registration).
|
226
|
+
# Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration).
|
227
227
|
def self.validate(payment_method_domain, params = {}, opts = {})
|
228
228
|
request_stripe_object(
|
229
229
|
method: :post,
|
@@ -4,9 +4,9 @@
|
|
4
4
|
module Stripe
|
5
5
|
# A `Payout` object is created when you receive funds from Stripe, or when you
|
6
6
|
# initiate a payout to either a bank account or debit card of a [connected
|
7
|
-
# Stripe account](https://stripe.com/docs/connect/bank-debit-card-payouts). You can retrieve individual payouts,
|
7
|
+
# Stripe account](https://docs.stripe.com/docs/connect/bank-debit-card-payouts). You can retrieve individual payouts,
|
8
8
|
# and list all payouts. Payouts are made on [varying
|
9
|
-
# schedules](https://stripe.com/docs/connect/manage-payout-schedule), depending on your country and
|
9
|
+
# schedules](https://docs.stripe.com/docs/connect/manage-payout-schedule), depending on your country and
|
10
10
|
# industry.
|
11
11
|
#
|
12
12
|
# Related guide: [Receiving payouts](https://stripe.com/docs/payouts)
|
@@ -249,11 +249,11 @@ module Stripe
|
|
249
249
|
)
|
250
250
|
end
|
251
251
|
|
252
|
-
# To send funds to your own bank account, create a new payout object. Your [Stripe balance](https://stripe.com/
|
252
|
+
# To send funds to your own bank account, create a new payout object. Your [Stripe balance](https://docs.stripe.com/api#balance) must cover the payout amount. If it doesn't, you receive an “Insufficient Funds” error.
|
253
253
|
#
|
254
254
|
# If your API key is in test mode, money won't actually be sent, though every other action occurs as if you're in live mode.
|
255
255
|
#
|
256
|
-
# If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The [balance object](https://stripe.com/
|
256
|
+
# If you create a manual payout on a Stripe account that uses multiple payment source types, you need to specify the source type balance that the payout draws from. The [balance object](https://docs.stripe.com/api#balance_object) details available and pending amounts by source type.
|
257
257
|
def self.create(params = {}, opts = {})
|
258
258
|
request_stripe_object(method: :post, path: "/v1/payouts", params: params, opts: opts)
|
259
259
|
end
|
@@ -4,9 +4,9 @@
|
|
4
4
|
module Stripe
|
5
5
|
# This is an object representing a person associated with a Stripe account.
|
6
6
|
#
|
7
|
-
# A platform can only access a subset of data in a person for an account where [account.controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding.
|
7
|
+
# A platform can only access a subset of data in a person for an account where [account.controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding.
|
8
8
|
#
|
9
|
-
# See the [Standard onboarding](https://stripe.com/connect/standard-accounts) or [Express onboarding](https://stripe.com/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](https://stripe.com/connect/handling-api-verification#person-information).
|
9
|
+
# See the [Standard onboarding](https://docs.stripe.com/connect/standard-accounts) or [Express onboarding](https://docs.stripe.com/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](https://docs.stripe.com/connect/handling-api-verification#person-information).
|
10
10
|
class Person < APIResource
|
11
11
|
include Stripe::APIOperations::Save
|
12
12
|
|