stripe 15.4.0.pre.beta.2 → 15.5.0.pre.beta.1
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 -1
- data/CHANGELOG.md +61 -5
- data/OPENAPI_VERSION +1 -1
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +2 -2
- data/lib/stripe/events/{v2_core_account_link_completed_event.rb → v2_core_account_link_returned_event.rb} +2 -2
- data/lib/stripe/events/{v2_off_session_payment_requires_capture_event.rb → v2_money_management_payout_method_updated_event.rb} +3 -3
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +2 -1
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +1 -1
- data/lib/stripe/object_types.rb +3 -0
- data/lib/stripe/resources/account.rb +5 -5
- data/lib/stripe/resources/account_link.rb +3 -1
- data/lib/stripe/resources/account_session.rb +51 -0
- data/lib/stripe/resources/balance_settings.rb +13 -13
- data/lib/stripe/resources/billing/credit_grant.rb +1 -1
- data/lib/stripe/resources/billing/meter_usage.rb +23 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +28 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +46 -2
- data/lib/stripe/resources/charge.rb +7 -5
- data/lib/stripe/resources/checkout/session.rb +106 -6
- data/lib/stripe/resources/confirmation_token.rb +3 -3
- data/lib/stripe/resources/customer.rb +1 -1
- data/lib/stripe/resources/dispute.rb +10 -1
- data/lib/stripe/resources/event.rb +14 -26
- data/lib/stripe/resources/fx_quote.rb +6 -4
- data/lib/stripe/resources/invoice.rb +101 -8
- data/lib/stripe/resources/invoice_item.rb +1 -1
- data/lib/stripe/resources/payment_attempt_record.rb +6 -4
- data/lib/stripe/resources/payment_intent.rb +815 -4
- data/lib/stripe/resources/payment_link.rb +83 -5
- data/lib/stripe/resources/payment_method.rb +4 -4
- data/lib/stripe/resources/payment_record.rb +6 -4
- data/lib/stripe/resources/quote.rb +1 -1
- data/lib/stripe/resources/quote_preview_invoice.rb +17 -0
- data/lib/stripe/resources/radar/value_list.rb +2 -2
- data/lib/stripe/resources/refund.rb +1 -1
- data/lib/stripe/resources/review.rb +2 -2
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/subscription.rb +79 -2
- data/lib/stripe/resources/subscription_item.rb +2 -2
- data/lib/stripe/resources/subscription_schedule.rb +35 -3
- data/lib/stripe/resources/tax/registration.rb +408 -30
- data/lib/stripe/resources/terminal/configuration.rb +196 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +84 -0
- data/lib/stripe/resources/v2/core/account.rb +11 -0
- data/lib/stripe/resources/v2/core/account_link.rb +18 -2
- data/lib/stripe/resources/v2/money_management/payout_method.rb +2 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +40 -23
- data/lib/stripe/resources.rb +5 -2
- data/lib/stripe/services/account_link_service.rb +3 -1
- data/lib/stripe/services/account_service.rb +3 -3
- data/lib/stripe/services/account_session_service.rb +34 -0
- data/lib/stripe/services/balance_settings_service.rb +10 -10
- data/lib/stripe/services/billing/credit_grant_service.rb +1 -1
- data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +36 -2
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/checkout/session_service.rb +93 -5
- data/lib/stripe/services/invoice_item_service.rb +1 -1
- data/lib/stripe/services/invoice_service.rb +84 -8
- data/lib/stripe/services/payment_intent_service.rb +809 -3
- data/lib/stripe/services/payment_link_service.rb +81 -5
- data/lib/stripe/services/payment_method_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +2 -2
- data/lib/stripe/services/subscription_schedule_service.rb +35 -3
- data/lib/stripe/services/subscription_service.rb +62 -2
- data/lib/stripe/services/tax/registration_service.rb +360 -30
- data/lib/stripe/services/terminal/configuration_service.rb +152 -0
- data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +41 -3
- data/lib/stripe/services/v2/core/account_service.rb +38 -2
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +34 -19
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +4 -0
- data/lib/stripe/services.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +4893 -390
- metadata +9 -4
@@ -314,6 +314,21 @@ module Stripe
|
|
314
314
|
class Konbini < Stripe::StripeObject; end
|
315
315
|
class SepaDebit < Stripe::StripeObject; end
|
316
316
|
|
317
|
+
class Upi < Stripe::StripeObject
|
318
|
+
class MandateOptions < Stripe::StripeObject
|
319
|
+
# Amount to be charged for future payments.
|
320
|
+
attr_reader :amount
|
321
|
+
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
322
|
+
attr_reader :amount_type
|
323
|
+
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
324
|
+
attr_reader :description
|
325
|
+
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
326
|
+
attr_reader :end_date
|
327
|
+
end
|
328
|
+
# Attribute for field mandate_options
|
329
|
+
attr_reader :mandate_options
|
330
|
+
end
|
331
|
+
|
317
332
|
class UsBankAccount < Stripe::StripeObject
|
318
333
|
class FinancialConnections < Stripe::StripeObject
|
319
334
|
class Filters < Stripe::StripeObject
|
@@ -348,6 +363,8 @@ module Stripe
|
|
348
363
|
attr_reader :konbini
|
349
364
|
# If paying by `sepa_debit`, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
|
350
365
|
attr_reader :sepa_debit
|
366
|
+
# If paying by `upi`, this sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.
|
367
|
+
attr_reader :upi
|
351
368
|
# If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
|
352
369
|
attr_reader :us_bank_account
|
353
370
|
end
|
@@ -666,7 +683,7 @@ module Stripe
|
|
666
683
|
@plan = plan
|
667
684
|
end
|
668
685
|
end
|
669
|
-
# Installment configuration for payments attempted on this invoice
|
686
|
+
# Installment configuration for payments attempted on this invoice.
|
670
687
|
#
|
671
688
|
# For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
|
672
689
|
attr_accessor :installments
|
@@ -714,6 +731,32 @@ module Stripe
|
|
714
731
|
class Konbini < Stripe::RequestParams; end
|
715
732
|
class SepaDebit < Stripe::RequestParams; end
|
716
733
|
|
734
|
+
class Upi < Stripe::RequestParams
|
735
|
+
class MandateOptions < Stripe::RequestParams
|
736
|
+
# Amount to be charged for future payments.
|
737
|
+
attr_accessor :amount
|
738
|
+
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
739
|
+
attr_accessor :amount_type
|
740
|
+
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
741
|
+
attr_accessor :description
|
742
|
+
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
743
|
+
attr_accessor :end_date
|
744
|
+
|
745
|
+
def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
|
746
|
+
@amount = amount
|
747
|
+
@amount_type = amount_type
|
748
|
+
@description = description
|
749
|
+
@end_date = end_date
|
750
|
+
end
|
751
|
+
end
|
752
|
+
# Configuration options for setting up an eMandate
|
753
|
+
attr_accessor :mandate_options
|
754
|
+
|
755
|
+
def initialize(mandate_options: nil)
|
756
|
+
@mandate_options = mandate_options
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
717
760
|
class UsBankAccount < Stripe::RequestParams
|
718
761
|
class FinancialConnections < Stripe::RequestParams
|
719
762
|
class Filters < Stripe::RequestParams
|
@@ -764,6 +807,8 @@ module Stripe
|
|
764
807
|
attr_accessor :konbini
|
765
808
|
# If paying by `sepa_debit`, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
|
766
809
|
attr_accessor :sepa_debit
|
810
|
+
# If paying by `upi`, this sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.
|
811
|
+
attr_accessor :upi
|
767
812
|
# If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
|
768
813
|
attr_accessor :us_bank_account
|
769
814
|
|
@@ -775,6 +820,7 @@ module Stripe
|
|
775
820
|
id_bank_transfer: nil,
|
776
821
|
konbini: nil,
|
777
822
|
sepa_debit: nil,
|
823
|
+
upi: nil,
|
778
824
|
us_bank_account: nil
|
779
825
|
)
|
780
826
|
@acss_debit = acss_debit
|
@@ -784,6 +830,7 @@ module Stripe
|
|
784
830
|
@id_bank_transfer = id_bank_transfer
|
785
831
|
@konbini = konbini
|
786
832
|
@sepa_debit = sepa_debit
|
833
|
+
@upi = upi
|
787
834
|
@us_bank_account = us_bank_account
|
788
835
|
end
|
789
836
|
end
|
@@ -1001,7 +1048,7 @@ module Stripe
|
|
1001
1048
|
attr_accessor :auto_advance
|
1002
1049
|
# Settings for automatic tax lookup for this invoice.
|
1003
1050
|
attr_accessor :automatic_tax
|
1004
|
-
# The time when this invoice should be scheduled to finalize. The invoice
|
1051
|
+
# The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false.
|
1005
1052
|
attr_accessor :automatically_finalizes_at
|
1006
1053
|
# Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices.
|
1007
1054
|
attr_accessor :collection_method
|
@@ -1379,7 +1426,7 @@ module Stripe
|
|
1379
1426
|
@plan = plan
|
1380
1427
|
end
|
1381
1428
|
end
|
1382
|
-
# Installment configuration for payments attempted on this invoice
|
1429
|
+
# Installment configuration for payments attempted on this invoice.
|
1383
1430
|
#
|
1384
1431
|
# For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
|
1385
1432
|
attr_accessor :installments
|
@@ -1427,6 +1474,32 @@ module Stripe
|
|
1427
1474
|
class Konbini < Stripe::RequestParams; end
|
1428
1475
|
class SepaDebit < Stripe::RequestParams; end
|
1429
1476
|
|
1477
|
+
class Upi < Stripe::RequestParams
|
1478
|
+
class MandateOptions < Stripe::RequestParams
|
1479
|
+
# Amount to be charged for future payments.
|
1480
|
+
attr_accessor :amount
|
1481
|
+
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
1482
|
+
attr_accessor :amount_type
|
1483
|
+
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
1484
|
+
attr_accessor :description
|
1485
|
+
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
1486
|
+
attr_accessor :end_date
|
1487
|
+
|
1488
|
+
def initialize(amount: nil, amount_type: nil, description: nil, end_date: nil)
|
1489
|
+
@amount = amount
|
1490
|
+
@amount_type = amount_type
|
1491
|
+
@description = description
|
1492
|
+
@end_date = end_date
|
1493
|
+
end
|
1494
|
+
end
|
1495
|
+
# Configuration options for setting up an eMandate
|
1496
|
+
attr_accessor :mandate_options
|
1497
|
+
|
1498
|
+
def initialize(mandate_options: nil)
|
1499
|
+
@mandate_options = mandate_options
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1430
1503
|
class UsBankAccount < Stripe::RequestParams
|
1431
1504
|
class FinancialConnections < Stripe::RequestParams
|
1432
1505
|
class Filters < Stripe::RequestParams
|
@@ -1477,6 +1550,8 @@ module Stripe
|
|
1477
1550
|
attr_accessor :konbini
|
1478
1551
|
# If paying by `sepa_debit`, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
|
1479
1552
|
attr_accessor :sepa_debit
|
1553
|
+
# If paying by `upi`, this sub-hash contains details about the UPI payment method options to pass to the invoice’s PaymentIntent.
|
1554
|
+
attr_accessor :upi
|
1480
1555
|
# If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
|
1481
1556
|
attr_accessor :us_bank_account
|
1482
1557
|
|
@@ -1488,6 +1563,7 @@ module Stripe
|
|
1488
1563
|
id_bank_transfer: nil,
|
1489
1564
|
konbini: nil,
|
1490
1565
|
sepa_debit: nil,
|
1566
|
+
upi: nil,
|
1491
1567
|
us_bank_account: nil
|
1492
1568
|
)
|
1493
1569
|
@acss_debit = acss_debit
|
@@ -1497,6 +1573,7 @@ module Stripe
|
|
1497
1573
|
@id_bank_transfer = id_bank_transfer
|
1498
1574
|
@konbini = konbini
|
1499
1575
|
@sepa_debit = sepa_debit
|
1576
|
+
@upi = upi
|
1500
1577
|
@us_bank_account = us_bank_account
|
1501
1578
|
end
|
1502
1579
|
end
|
@@ -1710,11 +1787,11 @@ module Stripe
|
|
1710
1787
|
attr_accessor :amounts_due
|
1711
1788
|
# A fee in cents (or local equivalent) that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/billing/invoices/connect#collecting-fees).
|
1712
1789
|
attr_accessor :application_fee_amount
|
1713
|
-
# Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action.
|
1790
|
+
# Controls whether Stripe performs [automatic collection](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. Defaults to false.
|
1714
1791
|
attr_accessor :auto_advance
|
1715
1792
|
# Settings for automatic tax lookup for this invoice.
|
1716
1793
|
attr_accessor :automatic_tax
|
1717
|
-
# The time when this invoice should be scheduled to finalize. The invoice
|
1794
|
+
# The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state.
|
1718
1795
|
attr_accessor :automatically_finalizes_at
|
1719
1796
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`.
|
1720
1797
|
attr_accessor :collection_method
|
@@ -3337,7 +3414,7 @@ module Stripe
|
|
3337
3414
|
end
|
3338
3415
|
|
3339
3416
|
class BillingMode < Stripe::RequestParams
|
3340
|
-
#
|
3417
|
+
# Controls the calculation and orchestration of prorations and invoices for subscriptions.
|
3341
3418
|
attr_accessor :type
|
3342
3419
|
|
3343
3420
|
def initialize(type: nil)
|
@@ -3520,6 +3597,18 @@ module Stripe
|
|
3520
3597
|
end
|
3521
3598
|
end
|
3522
3599
|
|
3600
|
+
class Duration < Stripe::RequestParams
|
3601
|
+
# Specifies phase duration. Either `day`, `week`, `month` or `year`.
|
3602
|
+
attr_accessor :interval
|
3603
|
+
# The multiplier applied to the interval.
|
3604
|
+
attr_accessor :interval_count
|
3605
|
+
|
3606
|
+
def initialize(interval: nil, interval_count: nil)
|
3607
|
+
@interval = interval
|
3608
|
+
@interval_count = interval_count
|
3609
|
+
end
|
3610
|
+
end
|
3611
|
+
|
3523
3612
|
class InvoiceSettings < Stripe::RequestParams
|
3524
3613
|
class Issuer < Stripe::RequestParams
|
3525
3614
|
# The connected account being referenced when `type` is `account`.
|
@@ -3753,13 +3842,15 @@ module Stripe
|
|
3753
3842
|
attr_accessor :description
|
3754
3843
|
# The coupons to redeem into discounts for the schedule phase. If not specified, inherits the discount from the subscription's customer. Pass an empty string to avoid inheriting any discounts.
|
3755
3844
|
attr_accessor :discounts
|
3845
|
+
# The number of intervals the phase should last. If set, `end_date` must not be set.
|
3846
|
+
attr_accessor :duration
|
3756
3847
|
# The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set.
|
3757
3848
|
attr_accessor :end_date
|
3758
3849
|
# All invoices will be billed using the specified settings.
|
3759
3850
|
attr_accessor :invoice_settings
|
3760
3851
|
# List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.
|
3761
3852
|
attr_accessor :items
|
3762
|
-
# Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set.
|
3853
|
+
# Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set. This parameter is deprecated and will be removed in a future version. Use `duration` instead.
|
3763
3854
|
attr_accessor :iterations
|
3764
3855
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered, adding new keys and replacing existing keys in the subscription's `metadata`. Individual keys in the subscription's `metadata` can be unset by posting an empty value to them in the phase's `metadata`. To unset all keys in the subscription's `metadata`, update the subscription directly or unset every key individually from the phase's `metadata`.
|
3765
3856
|
attr_accessor :metadata
|
@@ -3794,6 +3885,7 @@ module Stripe
|
|
3794
3885
|
default_tax_rates: nil,
|
3795
3886
|
description: nil,
|
3796
3887
|
discounts: nil,
|
3888
|
+
duration: nil,
|
3797
3889
|
end_date: nil,
|
3798
3890
|
invoice_settings: nil,
|
3799
3891
|
items: nil,
|
@@ -3820,6 +3912,7 @@ module Stripe
|
|
3820
3912
|
@default_tax_rates = default_tax_rates
|
3821
3913
|
@description = description
|
3822
3914
|
@discounts = discounts
|
3915
|
+
@duration = duration
|
3823
3916
|
@end_date = end_date
|
3824
3917
|
@invoice_settings = invoice_settings
|
3825
3918
|
@items = items
|
@@ -3921,7 +4014,7 @@ module Stripe
|
|
3921
4014
|
|
3922
4015
|
class SubscriptionDetails < Stripe::RequestParams
|
3923
4016
|
class BillingMode < Stripe::RequestParams
|
3924
|
-
#
|
4017
|
+
# Controls the calculation and orchestration of prorations and invoices for subscriptions.
|
3925
4018
|
attr_accessor :type
|
3926
4019
|
|
3927
4020
|
def initialize(type: nil)
|
@@ -382,7 +382,7 @@ module Stripe
|
|
382
382
|
attr_accessor :discounts
|
383
383
|
# Specifies which fields in the response should be expanded.
|
384
384
|
attr_accessor :expand
|
385
|
-
# The ID of an existing invoice to add this invoice item to.
|
385
|
+
# The ID of an existing invoice to add this invoice item to. For subscription invoices, when left blank, the invoice item will be added to the next upcoming scheduled invoice. For standalone invoices, the invoice item won't be automatically added unless you pass `pending_invoice_item_behavior: 'include'` when creating the invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices and there is a maximum of 250 items per invoice.
|
386
386
|
attr_accessor :invoice
|
387
387
|
# The ids of the margins to apply to the invoice item. When set, the `default_margins` on the invoice do not apply to this invoice item.
|
388
388
|
attr_accessor :margins
|
@@ -125,7 +125,7 @@ module Stripe
|
|
125
125
|
class AmazonPay < Stripe::StripeObject
|
126
126
|
class Funding < Stripe::StripeObject
|
127
127
|
class Card < Stripe::StripeObject
|
128
|
-
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa
|
128
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
129
129
|
attr_reader :brand
|
130
130
|
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
131
131
|
attr_reader :brand_product
|
@@ -254,7 +254,7 @@ module Stripe
|
|
254
254
|
# Attribute for field version
|
255
255
|
attr_reader :version
|
256
256
|
end
|
257
|
-
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa
|
257
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
258
258
|
attr_reader :brand
|
259
259
|
# When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
|
260
260
|
attr_reader :capture_before
|
@@ -321,7 +321,7 @@ module Stripe
|
|
321
321
|
end
|
322
322
|
# The authorized amount
|
323
323
|
attr_reader :amount_authorized
|
324
|
-
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa
|
324
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
325
325
|
attr_reader :brand
|
326
326
|
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
|
327
327
|
attr_reader :brand_product
|
@@ -378,6 +378,8 @@ module Stripe
|
|
378
378
|
attr_reader :buyer_id
|
379
379
|
# A public identifier for buyers using Cash App.
|
380
380
|
attr_reader :cashtag
|
381
|
+
# A unique and immutable identifier of payments assigned by Cash App
|
382
|
+
attr_reader :transaction_id
|
381
383
|
end
|
382
384
|
|
383
385
|
class Crypto < Stripe::StripeObject
|
@@ -744,7 +746,7 @@ module Stripe
|
|
744
746
|
class RevolutPay < Stripe::StripeObject
|
745
747
|
class Funding < Stripe::StripeObject
|
746
748
|
class Card < Stripe::StripeObject
|
747
|
-
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa
|
749
|
+
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
748
750
|
attr_reader :brand
|
749
751
|
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
750
752
|
attr_reader :brand_product
|