stripe 13.3.0.pre.beta.1 → 13.3.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +10 -0
- data/lib/stripe/resources/account.rb +230 -0
- data/lib/stripe/resources/account_link.rb +9 -0
- data/lib/stripe/resources/account_notice.rb +28 -0
- data/lib/stripe/resources/account_session.rb +103 -0
- data/lib/stripe/resources/apple_pay_domain.rb +13 -0
- data/lib/stripe/resources/application.rb +20 -0
- data/lib/stripe/resources/application_fee.rb +34 -0
- data/lib/stripe/resources/application_fee_refund.rb +17 -0
- data/lib/stripe/resources/apps/secret.rb +22 -0
- data/lib/stripe/resources/balance.rb +59 -0
- data/lib/stripe/resources/balance_transaction.rb +34 -0
- data/lib/stripe/resources/bank_account.rb +60 -2
- data/lib/stripe/resources/billing/alert.rb +21 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +26 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +25 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +45 -1
- data/lib/stripe/resources/billing/credit_grant.rb +46 -2
- data/lib/stripe/resources/billing/meter.rb +49 -7
- data/lib/stripe/resources/billing/meter_error_report.rb +44 -0
- data/lib/stripe/resources/billing/meter_event.rb +17 -3
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +17 -1
- data/lib/stripe/resources/billing/meter_event_summary.rb +15 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +70 -0
- data/lib/stripe/resources/billing_portal/session.rb +61 -0
- data/lib/stripe/resources/capability.rb +38 -0
- data/lib/stripe/resources/capital/financing_offer.rb +45 -0
- data/lib/stripe/resources/capital/financing_summary.rb +17 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +29 -0
- data/lib/stripe/resources/card.rb +72 -0
- data/lib/stripe/resources/cash_balance.rb +14 -0
- data/lib/stripe/resources/charge.rb +469 -0
- data/lib/stripe/resources/checkout/session.rb +496 -0
- data/lib/stripe/resources/climate/order.rb +55 -0
- data/lib/stripe/resources/climate/product.rb +24 -0
- data/lib/stripe/resources/climate/supplier.rb +18 -0
- data/lib/stripe/resources/confirmation_token.rb +297 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +24 -0
- data/lib/stripe/resources/country_spec.rb +27 -0
- data/lib/stripe/resources/coupon.rb +44 -0
- data/lib/stripe/resources/credit_note.rb +91 -0
- data/lib/stripe/resources/credit_note_line_item.rb +46 -0
- data/lib/stripe/resources/customer.rb +93 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +27 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +72 -0
- data/lib/stripe/resources/customer_session.rb +34 -0
- data/lib/stripe/resources/discount.rb +29 -0
- data/lib/stripe/resources/dispute.rb +88 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +11 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +23 -0
- data/lib/stripe/resources/entitlements/feature.rb +15 -0
- data/lib/stripe/resources/ephemeral_key.rb +13 -0
- data/lib/stripe/resources/event.rb +44 -0
- data/lib/stripe/resources/exchange_rate.rb +7 -0
- data/lib/stripe/resources/file.rb +23 -0
- data/lib/stripe/resources/file_link.rb +19 -0
- data/lib/stripe/resources/financial_connections/account.rb +84 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +13 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +17 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +9 -0
- data/lib/stripe/resources/financial_connections/institution.rb +35 -0
- data/lib/stripe/resources/financial_connections/session.rb +49 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +28 -0
- data/lib/stripe/resources/forwarding/request.rb +40 -0
- data/lib/stripe/resources/funding_instructions.rb +82 -0
- data/lib/stripe/resources/gift_cards/card.rb +37 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +39 -0
- data/lib/stripe/resources/identity/verification_report.rb +92 -0
- data/lib/stripe/resources/identity/verification_session.rb +76 -0
- data/lib/stripe/resources/invoice.rb +337 -0
- data/lib/stripe/resources/invoice_item.rb +54 -0
- data/lib/stripe/resources/invoice_line_item.rb +83 -0
- data/lib/stripe/resources/invoice_payment.rb +34 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +17 -0
- data/lib/stripe/resources/issuing/authorization.rb +129 -0
- data/lib/stripe/resources/issuing/card.rb +86 -0
- data/lib/stripe/resources/issuing/cardholder.rb +76 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +57 -0
- data/lib/stripe/resources/issuing/dispute.rb +65 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +23 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +17 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +38 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +18 -0
- data/lib/stripe/resources/issuing/settlement.rb +49 -0
- data/lib/stripe/resources/issuing/token.rb +46 -0
- data/lib/stripe/resources/issuing/transaction.rb +106 -0
- data/lib/stripe/resources/line_item.rb +50 -0
- data/lib/stripe/resources/login_link.rb +7 -0
- data/lib/stripe/resources/mandate.rb +78 -0
- data/lib/stripe/resources/margin.rb +19 -0
- data/lib/stripe/resources/order.rb +202 -0
- data/lib/stripe/resources/payment_attempt_record.rb +73 -0
- data/lib/stripe/resources/payment_intent.rb +642 -0
- data/lib/stripe/resources/payment_link.rb +198 -0
- data/lib/stripe/resources/payment_method.rb +368 -0
- data/lib/stripe/resources/payment_method_configuration.rb +430 -0
- data/lib/stripe/resources/payment_method_domain.rb +57 -0
- data/lib/stripe/resources/payment_record.rb +79 -0
- data/lib/stripe/resources/payout.rb +56 -0
- data/lib/stripe/resources/person.rb +128 -0
- data/lib/stripe/resources/plan.rb +52 -0
- data/lib/stripe/resources/price.rb +77 -0
- data/lib/stripe/resources/product.rb +60 -0
- data/lib/stripe/resources/product_feature.rb +12 -0
- data/lib/stripe/resources/promotion_code.rb +35 -0
- data/lib/stripe/resources/quote.rb +252 -0
- data/lib/stripe/resources/quote_line.rb +136 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +331 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +159 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +17 -0
- data/lib/stripe/resources/radar/value_list.rb +23 -0
- data/lib/stripe/resources/radar/value_list_item.rb +17 -0
- data/lib/stripe/resources/refund.rb +130 -0
- data/lib/stripe/resources/reporting/report_run.rb +29 -0
- data/lib/stripe/resources/reporting/report_type.rb +19 -0
- data/lib/stripe/resources/reserve_transaction.rb +22 -0
- data/lib/stripe/resources/reversal.rb +21 -0
- data/lib/stripe/resources/review.rb +36 -0
- data/lib/stripe/resources/setup_attempt.rb +101 -0
- data/lib/stripe/resources/setup_intent.rb +158 -0
- data/lib/stripe/resources/shipping_rate.rb +42 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +26 -0
- data/lib/stripe/resources/source.rb +195 -0
- data/lib/stripe/resources/source_mandate_notification.rb +59 -0
- data/lib/stripe/resources/source_transaction.rb +48 -0
- data/lib/stripe/resources/subscription.rb +214 -0
- data/lib/stripe/resources/subscription_item.rb +46 -0
- data/lib/stripe/resources/subscription_schedule.rb +153 -0
- data/lib/stripe/resources/tax/association.rb +36 -0
- data/lib/stripe/resources/tax/calculation.rb +72 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +33 -0
- data/lib/stripe/resources/tax/form.rb +75 -0
- data/lib/stripe/resources/tax/registration.rb +379 -0
- data/lib/stripe/resources/tax/settings.rb +33 -0
- data/lib/stripe/resources/tax/transaction.rb +68 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +30 -0
- data/lib/stripe/resources/tax_code.rb +9 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +22 -0
- data/lib/stripe/resources/tax_id.rb +30 -0
- data/lib/stripe/resources/tax_rate.rb +42 -0
- data/lib/stripe/resources/terminal/configuration.rb +107 -0
- data/lib/stripe/resources/terminal/connection_token.rb +7 -0
- data/lib/stripe/resources/terminal/location.rb +20 -0
- data/lib/stripe/resources/terminal/reader.rb +118 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +16 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +27 -0
- data/lib/stripe/resources/token.rb +29 -0
- data/lib/stripe/resources/topup.rb +33 -0
- data/lib/stripe/resources/transfer.rb +35 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +32 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +38 -0
- data/lib/stripe/resources/treasury/financial_account.rb +57 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +91 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +66 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +85 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +82 -0
- data/lib/stripe/resources/treasury/received_credit.rb +70 -0
- data/lib/stripe/resources/treasury/received_debit.rb +67 -0
- data/lib/stripe/resources/treasury/transaction.rb +42 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +34 -0
- data/lib/stripe/resources/usage_record.rb +13 -0
- data/lib/stripe/resources/usage_record_summary.rb +18 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +18 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +20 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +14 -0
- data/lib/stripe/resources/v2/event.rb +21 -0
- data/lib/stripe/resources/v2/event_destination.rb +49 -0
- data/lib/stripe/resources/webhook_endpoint.rb +27 -0
- data/lib/stripe/resources.rb +10 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/billing/credit_grant_service.rb +3 -3
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +1 -1
- data/lib/stripe/services/billing/meter_event_service.rb +1 -1
- data/lib/stripe/services/billing/meter_service.rb +5 -5
- data/lib/stripe/stripe_object.rb +5 -0
- data/lib/stripe/version.rb +1 -1
- data/stripe.gemspec +2 -1
- metadata +13 -2
@@ -10,6 +10,97 @@ module Stripe
|
|
10
10
|
def self.object_name
|
11
11
|
"treasury.financial_account_features"
|
12
12
|
end
|
13
|
+
|
14
|
+
class CardIssuing < Stripe::StripeObject
|
15
|
+
class StatusDetail < Stripe::StripeObject
|
16
|
+
attr_reader :code, :resolution, :restriction
|
17
|
+
end
|
18
|
+
attr_reader :requested, :status, :status_details
|
19
|
+
end
|
20
|
+
|
21
|
+
class DepositInsurance < Stripe::StripeObject
|
22
|
+
class StatusDetail < Stripe::StripeObject
|
23
|
+
attr_reader :code, :resolution, :restriction
|
24
|
+
end
|
25
|
+
attr_reader :requested, :status, :status_details
|
26
|
+
end
|
27
|
+
|
28
|
+
class FinancialAddresses < Stripe::StripeObject
|
29
|
+
class Aba < Stripe::StripeObject
|
30
|
+
class StatusDetail < Stripe::StripeObject
|
31
|
+
attr_reader :code, :resolution, :restriction
|
32
|
+
end
|
33
|
+
attr_reader :bank, :requested, :status, :status_details
|
34
|
+
end
|
35
|
+
attr_reader :aba
|
36
|
+
end
|
37
|
+
|
38
|
+
class InboundTransfers < Stripe::StripeObject
|
39
|
+
class Ach < Stripe::StripeObject
|
40
|
+
class StatusDetail < Stripe::StripeObject
|
41
|
+
attr_reader :code, :resolution, :restriction
|
42
|
+
end
|
43
|
+
attr_reader :requested, :status, :status_details
|
44
|
+
end
|
45
|
+
attr_reader :ach
|
46
|
+
end
|
47
|
+
|
48
|
+
class IntraStripeFlows < Stripe::StripeObject
|
49
|
+
class StatusDetail < Stripe::StripeObject
|
50
|
+
attr_reader :code, :resolution, :restriction
|
51
|
+
end
|
52
|
+
attr_reader :requested, :status, :status_details
|
53
|
+
end
|
54
|
+
|
55
|
+
class OutboundPayments < Stripe::StripeObject
|
56
|
+
class Ach < Stripe::StripeObject
|
57
|
+
class StatusDetail < Stripe::StripeObject
|
58
|
+
attr_reader :code, :resolution, :restriction
|
59
|
+
end
|
60
|
+
attr_reader :requested, :status, :status_details
|
61
|
+
end
|
62
|
+
|
63
|
+
class UsDomesticWire < Stripe::StripeObject
|
64
|
+
class StatusDetail < Stripe::StripeObject
|
65
|
+
attr_reader :code, :resolution, :restriction
|
66
|
+
end
|
67
|
+
attr_reader :requested, :status, :status_details
|
68
|
+
end
|
69
|
+
attr_reader :ach, :us_domestic_wire
|
70
|
+
end
|
71
|
+
|
72
|
+
class OutboundTransfers < Stripe::StripeObject
|
73
|
+
class Ach < Stripe::StripeObject
|
74
|
+
class StatusDetail < Stripe::StripeObject
|
75
|
+
attr_reader :code, :resolution, :restriction
|
76
|
+
end
|
77
|
+
attr_reader :requested, :status, :status_details
|
78
|
+
end
|
79
|
+
|
80
|
+
class UsDomesticWire < Stripe::StripeObject
|
81
|
+
class StatusDetail < Stripe::StripeObject
|
82
|
+
attr_reader :code, :resolution, :restriction
|
83
|
+
end
|
84
|
+
attr_reader :requested, :status, :status_details
|
85
|
+
end
|
86
|
+
attr_reader :ach, :us_domestic_wire
|
87
|
+
end
|
88
|
+
# Toggle settings for enabling/disabling a feature
|
89
|
+
attr_reader :card_issuing
|
90
|
+
# Toggle settings for enabling/disabling a feature
|
91
|
+
attr_reader :deposit_insurance
|
92
|
+
# Settings related to Financial Addresses features on a Financial Account
|
93
|
+
attr_reader :financial_addresses
|
94
|
+
# InboundTransfers contains inbound transfers features for a FinancialAccount.
|
95
|
+
attr_reader :inbound_transfers
|
96
|
+
# Toggle settings for enabling/disabling a feature
|
97
|
+
attr_reader :intra_stripe_flows
|
98
|
+
# String representing the object's type. Objects of the same type share the same value.
|
99
|
+
attr_reader :object
|
100
|
+
# Settings related to Outbound Payments features on a Financial Account
|
101
|
+
attr_reader :outbound_payments
|
102
|
+
# OutboundTransfers contains outbound transfers features for a FinancialAccount.
|
103
|
+
attr_reader :outbound_transfers
|
13
104
|
end
|
14
105
|
end
|
15
106
|
end
|
@@ -15,6 +15,72 @@ module Stripe
|
|
15
15
|
"treasury.inbound_transfer"
|
16
16
|
end
|
17
17
|
|
18
|
+
class FailureDetails < Stripe::StripeObject
|
19
|
+
attr_reader :code
|
20
|
+
end
|
21
|
+
|
22
|
+
class LinkedFlows < Stripe::StripeObject
|
23
|
+
attr_reader :received_debit
|
24
|
+
end
|
25
|
+
|
26
|
+
class OriginPaymentMethodDetails < Stripe::StripeObject
|
27
|
+
class BillingDetails < Stripe::StripeObject
|
28
|
+
class Address < Stripe::StripeObject
|
29
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
30
|
+
end
|
31
|
+
attr_reader :address, :email, :name
|
32
|
+
end
|
33
|
+
|
34
|
+
class UsBankAccount < Stripe::StripeObject
|
35
|
+
attr_reader :account_holder_type, :account_type, :bank_name, :fingerprint, :last4, :mandate, :network, :routing_number
|
36
|
+
end
|
37
|
+
attr_reader :billing_details, :type, :us_bank_account
|
38
|
+
end
|
39
|
+
|
40
|
+
class StatusTransitions < Stripe::StripeObject
|
41
|
+
attr_reader :canceled_at, :failed_at, :succeeded_at
|
42
|
+
end
|
43
|
+
# Amount (in cents) transferred.
|
44
|
+
attr_reader :amount
|
45
|
+
# Returns `true` if the InboundTransfer is able to be canceled.
|
46
|
+
attr_reader :cancelable
|
47
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
48
|
+
attr_reader :created
|
49
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
50
|
+
attr_reader :currency
|
51
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
52
|
+
attr_reader :description
|
53
|
+
# Details about this InboundTransfer's failure. Only set when status is `failed`.
|
54
|
+
attr_reader :failure_details
|
55
|
+
# The FinancialAccount that received the funds.
|
56
|
+
attr_reader :financial_account
|
57
|
+
# A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
58
|
+
attr_reader :hosted_regulatory_receipt_url
|
59
|
+
# Unique identifier for the object.
|
60
|
+
attr_reader :id
|
61
|
+
# Attribute for field linked_flows
|
62
|
+
attr_reader :linked_flows
|
63
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
64
|
+
attr_reader :livemode
|
65
|
+
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
66
|
+
attr_reader :metadata
|
67
|
+
# String representing the object's type. Objects of the same type share the same value.
|
68
|
+
attr_reader :object
|
69
|
+
# The origin payment method to be debited for an InboundTransfer.
|
70
|
+
attr_reader :origin_payment_method
|
71
|
+
# Details about the PaymentMethod for an InboundTransfer.
|
72
|
+
attr_reader :origin_payment_method_details
|
73
|
+
# Returns `true` if the funds for an InboundTransfer were returned after the InboundTransfer went to the `succeeded` state.
|
74
|
+
attr_reader :returned
|
75
|
+
# Statement descriptor shown when funds are debited from the source. Not all payment networks support `statement_descriptor`.
|
76
|
+
attr_reader :statement_descriptor
|
77
|
+
# Status of the InboundTransfer: `processing`, `succeeded`, `failed`, and `canceled`. An InboundTransfer is `processing` if it is created and pending. The status changes to `succeeded` once the funds have been "confirmed" and a `transaction` is created and posted. The status changes to `failed` if the transfer fails.
|
78
|
+
attr_reader :status
|
79
|
+
# Attribute for field status_transitions
|
80
|
+
attr_reader :status_transitions
|
81
|
+
# The Transaction associated with this object.
|
82
|
+
attr_reader :transaction
|
83
|
+
|
18
84
|
# Cancels an InboundTransfer.
|
19
85
|
def cancel(params = {}, opts = {})
|
20
86
|
request_stripe_object(
|
@@ -17,6 +17,91 @@ module Stripe
|
|
17
17
|
"treasury.outbound_payment"
|
18
18
|
end
|
19
19
|
|
20
|
+
class DestinationPaymentMethodDetails < Stripe::StripeObject
|
21
|
+
class BillingDetails < Stripe::StripeObject
|
22
|
+
class Address < Stripe::StripeObject
|
23
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
24
|
+
end
|
25
|
+
attr_reader :address, :email, :name
|
26
|
+
end
|
27
|
+
|
28
|
+
class FinancialAccount < Stripe::StripeObject
|
29
|
+
attr_reader :id, :network
|
30
|
+
end
|
31
|
+
|
32
|
+
class UsBankAccount < Stripe::StripeObject
|
33
|
+
attr_reader :account_holder_type, :account_type, :bank_name, :fingerprint, :last4, :mandate, :network, :routing_number
|
34
|
+
end
|
35
|
+
attr_reader :billing_details, :financial_account, :type, :us_bank_account
|
36
|
+
end
|
37
|
+
|
38
|
+
class EndUserDetails < Stripe::StripeObject
|
39
|
+
attr_reader :ip_address, :present
|
40
|
+
end
|
41
|
+
|
42
|
+
class ReturnedDetails < Stripe::StripeObject
|
43
|
+
attr_reader :code, :transaction
|
44
|
+
end
|
45
|
+
|
46
|
+
class StatusTransitions < Stripe::StripeObject
|
47
|
+
attr_reader :canceled_at, :failed_at, :posted_at, :returned_at
|
48
|
+
end
|
49
|
+
|
50
|
+
class TrackingDetails < Stripe::StripeObject
|
51
|
+
class Ach < Stripe::StripeObject
|
52
|
+
attr_reader :trace_id
|
53
|
+
end
|
54
|
+
|
55
|
+
class UsDomesticWire < Stripe::StripeObject
|
56
|
+
attr_reader :chips, :imad, :omad
|
57
|
+
end
|
58
|
+
attr_reader :ach, :type, :us_domestic_wire
|
59
|
+
end
|
60
|
+
# Amount (in cents) transferred.
|
61
|
+
attr_reader :amount
|
62
|
+
# Returns `true` if the object can be canceled, and `false` otherwise.
|
63
|
+
attr_reader :cancelable
|
64
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
65
|
+
attr_reader :created
|
66
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
67
|
+
attr_reader :currency
|
68
|
+
# ID of the [customer](https://stripe.com/docs/api/customers) to whom an OutboundPayment is sent.
|
69
|
+
attr_reader :customer
|
70
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
71
|
+
attr_reader :description
|
72
|
+
# The PaymentMethod via which an OutboundPayment is sent. This field can be empty if the OutboundPayment was created using `destination_payment_method_data`.
|
73
|
+
attr_reader :destination_payment_method
|
74
|
+
# Details about the PaymentMethod for an OutboundPayment.
|
75
|
+
attr_reader :destination_payment_method_details
|
76
|
+
# Details about the end user.
|
77
|
+
attr_reader :end_user_details
|
78
|
+
# The date when funds are expected to arrive in the destination account.
|
79
|
+
attr_reader :expected_arrival_date
|
80
|
+
# The FinancialAccount that funds were pulled from.
|
81
|
+
attr_reader :financial_account
|
82
|
+
# A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
83
|
+
attr_reader :hosted_regulatory_receipt_url
|
84
|
+
# Unique identifier for the object.
|
85
|
+
attr_reader :id
|
86
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
87
|
+
attr_reader :livemode
|
88
|
+
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
89
|
+
attr_reader :metadata
|
90
|
+
# String representing the object's type. Objects of the same type share the same value.
|
91
|
+
attr_reader :object
|
92
|
+
# Details about a returned OutboundPayment. Only set when the status is `returned`.
|
93
|
+
attr_reader :returned_details
|
94
|
+
# The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer).
|
95
|
+
attr_reader :statement_descriptor
|
96
|
+
# Current status of the OutboundPayment: `processing`, `failed`, `posted`, `returned`, `canceled`. An OutboundPayment is `processing` if it has been created and is pending. The status changes to `posted` once the OutboundPayment has been "confirmed" and funds have left the account, or to `failed` or `canceled`. If an OutboundPayment fails to arrive at its destination, its status will change to `returned`.
|
97
|
+
attr_reader :status
|
98
|
+
# Attribute for field status_transitions
|
99
|
+
attr_reader :status_transitions
|
100
|
+
# Details about network-specific tracking information if available.
|
101
|
+
attr_reader :tracking_details
|
102
|
+
# The Transaction associated with this object.
|
103
|
+
attr_reader :transaction
|
104
|
+
|
20
105
|
# Cancel an OutboundPayment.
|
21
106
|
def cancel(params = {}, opts = {})
|
22
107
|
request_stripe_object(
|
@@ -17,6 +17,88 @@ module Stripe
|
|
17
17
|
"treasury.outbound_transfer"
|
18
18
|
end
|
19
19
|
|
20
|
+
class DestinationPaymentMethodDetails < Stripe::StripeObject
|
21
|
+
class BillingDetails < Stripe::StripeObject
|
22
|
+
class Address < Stripe::StripeObject
|
23
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
24
|
+
end
|
25
|
+
attr_reader :address, :email, :name
|
26
|
+
end
|
27
|
+
|
28
|
+
class UsBankAccount < Stripe::StripeObject
|
29
|
+
attr_reader :account_holder_type, :account_type, :bank_name, :fingerprint, :last4, :mandate, :network, :routing_number
|
30
|
+
end
|
31
|
+
attr_reader :billing_details, :type, :us_bank_account
|
32
|
+
end
|
33
|
+
|
34
|
+
class NetworkDetails < Stripe::StripeObject
|
35
|
+
class Ach < Stripe::StripeObject
|
36
|
+
attr_reader :addenda
|
37
|
+
end
|
38
|
+
attr_reader :ach, :type
|
39
|
+
end
|
40
|
+
|
41
|
+
class ReturnedDetails < Stripe::StripeObject
|
42
|
+
attr_reader :code, :transaction
|
43
|
+
end
|
44
|
+
|
45
|
+
class StatusTransitions < Stripe::StripeObject
|
46
|
+
attr_reader :canceled_at, :failed_at, :posted_at, :returned_at
|
47
|
+
end
|
48
|
+
|
49
|
+
class TrackingDetails < Stripe::StripeObject
|
50
|
+
class Ach < Stripe::StripeObject
|
51
|
+
attr_reader :trace_id
|
52
|
+
end
|
53
|
+
|
54
|
+
class UsDomesticWire < Stripe::StripeObject
|
55
|
+
attr_reader :chips, :imad, :omad
|
56
|
+
end
|
57
|
+
attr_reader :ach, :type, :us_domestic_wire
|
58
|
+
end
|
59
|
+
# Amount (in cents) transferred.
|
60
|
+
attr_reader :amount
|
61
|
+
# Returns `true` if the object can be canceled, and `false` otherwise.
|
62
|
+
attr_reader :cancelable
|
63
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
64
|
+
attr_reader :created
|
65
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
66
|
+
attr_reader :currency
|
67
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
68
|
+
attr_reader :description
|
69
|
+
# The PaymentMethod used as the payment instrument for an OutboundTransfer.
|
70
|
+
attr_reader :destination_payment_method
|
71
|
+
# Attribute for field destination_payment_method_details
|
72
|
+
attr_reader :destination_payment_method_details
|
73
|
+
# The date when funds are expected to arrive in the destination account.
|
74
|
+
attr_reader :expected_arrival_date
|
75
|
+
# The FinancialAccount that funds were pulled from.
|
76
|
+
attr_reader :financial_account
|
77
|
+
# A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
78
|
+
attr_reader :hosted_regulatory_receipt_url
|
79
|
+
# Unique identifier for the object.
|
80
|
+
attr_reader :id
|
81
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
82
|
+
attr_reader :livemode
|
83
|
+
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
84
|
+
attr_reader :metadata
|
85
|
+
# Details about the network used for the OutboundTransfer.
|
86
|
+
attr_reader :network_details
|
87
|
+
# String representing the object's type. Objects of the same type share the same value.
|
88
|
+
attr_reader :object
|
89
|
+
# Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
90
|
+
attr_reader :returned_details
|
91
|
+
# Information about the OutboundTransfer to be sent to the recipient account.
|
92
|
+
attr_reader :statement_descriptor
|
93
|
+
# Current status of the OutboundTransfer: `processing`, `failed`, `canceled`, `posted`, `returned`. An OutboundTransfer is `processing` if it has been created and is pending. The status changes to `posted` once the OutboundTransfer has been "confirmed" and funds have left the account, or to `failed` or `canceled`. If an OutboundTransfer fails to arrive at its destination, its status will change to `returned`.
|
94
|
+
attr_reader :status
|
95
|
+
# Attribute for field status_transitions
|
96
|
+
attr_reader :status_transitions
|
97
|
+
# Details about network-specific tracking information if available.
|
98
|
+
attr_reader :tracking_details
|
99
|
+
# The Transaction associated with this object.
|
100
|
+
attr_reader :transaction
|
101
|
+
|
20
102
|
# An OutboundTransfer can be canceled if the funds have not yet been paid out.
|
21
103
|
def cancel(params = {}, opts = {})
|
22
104
|
request_stripe_object(
|
@@ -12,6 +12,76 @@ module Stripe
|
|
12
12
|
"treasury.received_credit"
|
13
13
|
end
|
14
14
|
|
15
|
+
class InitiatingPaymentMethodDetails < Stripe::StripeObject
|
16
|
+
class BillingDetails < Stripe::StripeObject
|
17
|
+
class Address < Stripe::StripeObject
|
18
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
19
|
+
end
|
20
|
+
attr_reader :address, :email, :name
|
21
|
+
end
|
22
|
+
|
23
|
+
class FinancialAccount < Stripe::StripeObject
|
24
|
+
attr_reader :id, :network
|
25
|
+
end
|
26
|
+
|
27
|
+
class UsBankAccount < Stripe::StripeObject
|
28
|
+
attr_reader :bank_name, :last4, :routing_number
|
29
|
+
end
|
30
|
+
attr_reader :balance, :billing_details, :financial_account, :issuing_card, :type, :us_bank_account
|
31
|
+
end
|
32
|
+
|
33
|
+
class LinkedFlows < Stripe::StripeObject
|
34
|
+
class SourceFlowDetails < Stripe::StripeObject
|
35
|
+
attr_reader :credit_reversal, :outbound_payment, :payout, :type
|
36
|
+
end
|
37
|
+
attr_reader :credit_reversal, :issuing_authorization, :issuing_transaction, :source_flow, :source_flow_details, :source_flow_type
|
38
|
+
end
|
39
|
+
|
40
|
+
class NetworkDetails < Stripe::StripeObject
|
41
|
+
class Ach < Stripe::StripeObject
|
42
|
+
attr_reader :addenda
|
43
|
+
end
|
44
|
+
attr_reader :ach, :type
|
45
|
+
end
|
46
|
+
|
47
|
+
class ReversalDetails < Stripe::StripeObject
|
48
|
+
attr_reader :deadline, :restricted_reason
|
49
|
+
end
|
50
|
+
# Amount (in cents) transferred.
|
51
|
+
attr_reader :amount
|
52
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
53
|
+
attr_reader :created
|
54
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
55
|
+
attr_reader :currency
|
56
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
57
|
+
attr_reader :description
|
58
|
+
# Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen.
|
59
|
+
attr_reader :failure_code
|
60
|
+
# The FinancialAccount that received the funds.
|
61
|
+
attr_reader :financial_account
|
62
|
+
# A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
63
|
+
attr_reader :hosted_regulatory_receipt_url
|
64
|
+
# Unique identifier for the object.
|
65
|
+
attr_reader :id
|
66
|
+
# Attribute for field initiating_payment_method_details
|
67
|
+
attr_reader :initiating_payment_method_details
|
68
|
+
# Attribute for field linked_flows
|
69
|
+
attr_reader :linked_flows
|
70
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
71
|
+
attr_reader :livemode
|
72
|
+
# The rails used to send the funds.
|
73
|
+
attr_reader :network
|
74
|
+
# Details specific to the money movement rails.
|
75
|
+
attr_reader :network_details
|
76
|
+
# String representing the object's type. Objects of the same type share the same value.
|
77
|
+
attr_reader :object
|
78
|
+
# Details describing when a ReceivedCredit may be reversed.
|
79
|
+
attr_reader :reversal_details
|
80
|
+
# Status of the ReceivedCredit. ReceivedCredits are created either `succeeded` (approved) or `failed` (declined). If a ReceivedCredit is declined, the failure reason can be found in the `failure_code` field.
|
81
|
+
attr_reader :status
|
82
|
+
# The Transaction associated with this object.
|
83
|
+
attr_reader :transaction
|
84
|
+
|
15
85
|
# Returns a list of ReceivedCredits.
|
16
86
|
def self.list(filters = {}, opts = {})
|
17
87
|
request_stripe_object(
|
@@ -12,6 +12,73 @@ module Stripe
|
|
12
12
|
"treasury.received_debit"
|
13
13
|
end
|
14
14
|
|
15
|
+
class InitiatingPaymentMethodDetails < Stripe::StripeObject
|
16
|
+
class BillingDetails < Stripe::StripeObject
|
17
|
+
class Address < Stripe::StripeObject
|
18
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
19
|
+
end
|
20
|
+
attr_reader :address, :email, :name
|
21
|
+
end
|
22
|
+
|
23
|
+
class FinancialAccount < Stripe::StripeObject
|
24
|
+
attr_reader :id, :network
|
25
|
+
end
|
26
|
+
|
27
|
+
class UsBankAccount < Stripe::StripeObject
|
28
|
+
attr_reader :bank_name, :last4, :routing_number
|
29
|
+
end
|
30
|
+
attr_reader :balance, :billing_details, :financial_account, :issuing_card, :type, :us_bank_account
|
31
|
+
end
|
32
|
+
|
33
|
+
class LinkedFlows < Stripe::StripeObject
|
34
|
+
attr_reader :debit_reversal, :inbound_transfer, :issuing_authorization, :issuing_transaction, :payout, :received_credit_capital_withholding
|
35
|
+
end
|
36
|
+
|
37
|
+
class NetworkDetails < Stripe::StripeObject
|
38
|
+
class Ach < Stripe::StripeObject
|
39
|
+
attr_reader :addenda
|
40
|
+
end
|
41
|
+
attr_reader :ach, :type
|
42
|
+
end
|
43
|
+
|
44
|
+
class ReversalDetails < Stripe::StripeObject
|
45
|
+
attr_reader :deadline, :restricted_reason
|
46
|
+
end
|
47
|
+
# Amount (in cents) transferred.
|
48
|
+
attr_reader :amount
|
49
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
50
|
+
attr_reader :created
|
51
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
52
|
+
attr_reader :currency
|
53
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
54
|
+
attr_reader :description
|
55
|
+
# Reason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn't have sufficient funds, is closed, or is frozen.
|
56
|
+
attr_reader :failure_code
|
57
|
+
# The FinancialAccount that funds were pulled from.
|
58
|
+
attr_reader :financial_account
|
59
|
+
# A [hosted transaction receipt](https://stripe.com/docs/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
60
|
+
attr_reader :hosted_regulatory_receipt_url
|
61
|
+
# Unique identifier for the object.
|
62
|
+
attr_reader :id
|
63
|
+
# Attribute for field initiating_payment_method_details
|
64
|
+
attr_reader :initiating_payment_method_details
|
65
|
+
# Attribute for field linked_flows
|
66
|
+
attr_reader :linked_flows
|
67
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
68
|
+
attr_reader :livemode
|
69
|
+
# The network used for the ReceivedDebit.
|
70
|
+
attr_reader :network
|
71
|
+
# Details specific to the money movement rails.
|
72
|
+
attr_reader :network_details
|
73
|
+
# String representing the object's type. Objects of the same type share the same value.
|
74
|
+
attr_reader :object
|
75
|
+
# Details describing when a ReceivedDebit might be reversed.
|
76
|
+
attr_reader :reversal_details
|
77
|
+
# Status of the ReceivedDebit. ReceivedDebits are created with a status of either `succeeded` (approved) or `failed` (declined). The failure reason can be found under the `failure_code`.
|
78
|
+
attr_reader :status
|
79
|
+
# The Transaction associated with this object.
|
80
|
+
attr_reader :transaction
|
81
|
+
|
15
82
|
# Returns a list of ReceivedDebits.
|
16
83
|
def self.list(filters = {}, opts = {})
|
17
84
|
request_stripe_object(
|
@@ -12,6 +12,48 @@ module Stripe
|
|
12
12
|
"treasury.transaction"
|
13
13
|
end
|
14
14
|
|
15
|
+
class BalanceImpact < Stripe::StripeObject
|
16
|
+
attr_reader :cash, :inbound_pending, :outbound_pending
|
17
|
+
end
|
18
|
+
|
19
|
+
class FlowDetails < Stripe::StripeObject
|
20
|
+
attr_reader :credit_reversal, :debit_reversal, :inbound_transfer, :issuing_authorization, :outbound_payment, :outbound_transfer, :received_credit, :received_debit, :type
|
21
|
+
end
|
22
|
+
|
23
|
+
class StatusTransitions < Stripe::StripeObject
|
24
|
+
attr_reader :posted_at, :void_at
|
25
|
+
end
|
26
|
+
# Amount (in cents) transferred.
|
27
|
+
attr_reader :amount
|
28
|
+
# Change to a FinancialAccount's balance
|
29
|
+
attr_reader :balance_impact
|
30
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
31
|
+
attr_reader :created
|
32
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
33
|
+
attr_reader :currency
|
34
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
35
|
+
attr_reader :description
|
36
|
+
# A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints.
|
37
|
+
attr_reader :entries
|
38
|
+
# The FinancialAccount associated with this object.
|
39
|
+
attr_reader :financial_account
|
40
|
+
# ID of the flow that created the Transaction.
|
41
|
+
attr_reader :flow
|
42
|
+
# Details of the flow that created the Transaction.
|
43
|
+
attr_reader :flow_details
|
44
|
+
# Type of the flow that created the Transaction.
|
45
|
+
attr_reader :flow_type
|
46
|
+
# Unique identifier for the object.
|
47
|
+
attr_reader :id
|
48
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
49
|
+
attr_reader :livemode
|
50
|
+
# String representing the object's type. Objects of the same type share the same value.
|
51
|
+
attr_reader :object
|
52
|
+
# Status of the Transaction.
|
53
|
+
attr_reader :status
|
54
|
+
# Attribute for field status_transitions
|
55
|
+
attr_reader :status_transitions
|
56
|
+
|
15
57
|
# Retrieves a list of Transaction objects.
|
16
58
|
def self.list(filters = {}, opts = {})
|
17
59
|
request_stripe_object(
|
@@ -12,6 +12,40 @@ module Stripe
|
|
12
12
|
"treasury.transaction_entry"
|
13
13
|
end
|
14
14
|
|
15
|
+
class BalanceImpact < Stripe::StripeObject
|
16
|
+
attr_reader :cash, :inbound_pending, :outbound_pending
|
17
|
+
end
|
18
|
+
|
19
|
+
class FlowDetails < Stripe::StripeObject
|
20
|
+
attr_reader :credit_reversal, :debit_reversal, :inbound_transfer, :issuing_authorization, :outbound_payment, :outbound_transfer, :received_credit, :received_debit, :type
|
21
|
+
end
|
22
|
+
# Change to a FinancialAccount's balance
|
23
|
+
attr_reader :balance_impact
|
24
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
25
|
+
attr_reader :created
|
26
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
27
|
+
attr_reader :currency
|
28
|
+
# When the TransactionEntry will impact the FinancialAccount's balance.
|
29
|
+
attr_reader :effective_at
|
30
|
+
# The FinancialAccount associated with this object.
|
31
|
+
attr_reader :financial_account
|
32
|
+
# Token of the flow associated with the TransactionEntry.
|
33
|
+
attr_reader :flow
|
34
|
+
# Details of the flow associated with the TransactionEntry.
|
35
|
+
attr_reader :flow_details
|
36
|
+
# Type of the flow associated with the TransactionEntry.
|
37
|
+
attr_reader :flow_type
|
38
|
+
# Unique identifier for the object.
|
39
|
+
attr_reader :id
|
40
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
41
|
+
attr_reader :livemode
|
42
|
+
# String representing the object's type. Objects of the same type share the same value.
|
43
|
+
attr_reader :object
|
44
|
+
# The Transaction associated with this object.
|
45
|
+
attr_reader :transaction
|
46
|
+
# The specific money movement that generated the TransactionEntry.
|
47
|
+
attr_reader :type
|
48
|
+
|
15
49
|
# Retrieves a list of TransactionEntry objects.
|
16
50
|
def self.list(filters = {}, opts = {})
|
17
51
|
request_stripe_object(
|
@@ -13,5 +13,18 @@ module Stripe
|
|
13
13
|
def self.object_name
|
14
14
|
"usage_record"
|
15
15
|
end
|
16
|
+
|
17
|
+
# Unique identifier for the object.
|
18
|
+
attr_reader :id
|
19
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
20
|
+
attr_reader :livemode
|
21
|
+
# String representing the object's type. Objects of the same type share the same value.
|
22
|
+
attr_reader :object
|
23
|
+
# The usage quantity for the specified date.
|
24
|
+
attr_reader :quantity
|
25
|
+
# The ID of the subscription item this usage record contains data for.
|
26
|
+
attr_reader :subscription_item
|
27
|
+
# The timestamp when this usage occurred.
|
28
|
+
attr_reader :timestamp
|
16
29
|
end
|
17
30
|
end
|
@@ -8,5 +8,23 @@ module Stripe
|
|
8
8
|
def self.object_name
|
9
9
|
"usage_record_summary"
|
10
10
|
end
|
11
|
+
|
12
|
+
class Period < Stripe::StripeObject
|
13
|
+
attr_reader :end, :start
|
14
|
+
end
|
15
|
+
# Unique identifier for the object.
|
16
|
+
attr_reader :id
|
17
|
+
# The invoice in which this usage period has been billed for.
|
18
|
+
attr_reader :invoice
|
19
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
20
|
+
attr_reader :livemode
|
21
|
+
# String representing the object's type. Objects of the same type share the same value.
|
22
|
+
attr_reader :object
|
23
|
+
# Attribute for field period
|
24
|
+
attr_reader :period
|
25
|
+
# The ID of the subscription item this summary is describing.
|
26
|
+
attr_reader :subscription_item
|
27
|
+
# The total usage within this usage period.
|
28
|
+
attr_reader :total_usage
|
11
29
|
end
|
12
30
|
end
|
@@ -10,6 +10,24 @@ module Stripe
|
|
10
10
|
def self.object_name
|
11
11
|
"v2.billing.meter_event"
|
12
12
|
end
|
13
|
+
|
14
|
+
# The creation time of this meter event.
|
15
|
+
attr_reader :created
|
16
|
+
# The name of the meter event. Corresponds with the `event_name` field on a meter.
|
17
|
+
attr_reader :event_name
|
18
|
+
# A unique identifier for the event. If not provided, one will be generated. We recommend using a globally unique identifier for this. We’ll enforce uniqueness within a rolling 24 hour period.
|
19
|
+
attr_reader :identifier
|
20
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
21
|
+
attr_reader :livemode
|
22
|
+
# String representing the object's type. Objects of the same type share the same value of the object field.
|
23
|
+
attr_reader :object
|
24
|
+
# The payload of the event. This must contain the fields corresponding to a meter’s
|
25
|
+
# `customer_mapping.event_payload_key` (default is `stripe_customer_id`) and
|
26
|
+
# `value_settings.event_payload_key` (default is `value`). Read more about the payload.
|
27
|
+
attr_reader :payload
|
28
|
+
# The time of the event. Must be within the past 35 calendar days or up to
|
29
|
+
# 5 minutes in the future. Defaults to current timestamp if not specified.
|
30
|
+
attr_reader :timestamp
|
13
31
|
end
|
14
32
|
end
|
15
33
|
end
|