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
@@ -20,6 +20,475 @@ module Stripe
|
|
20
20
|
|
21
21
|
nested_resource_class_methods :refund, operations: %i[retrieve list]
|
22
22
|
|
23
|
+
class BillingDetails < Stripe::StripeObject
|
24
|
+
class Address < Stripe::StripeObject
|
25
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
26
|
+
end
|
27
|
+
attr_reader :address, :email, :name, :phone
|
28
|
+
end
|
29
|
+
|
30
|
+
class FraudDetails < Stripe::StripeObject
|
31
|
+
attr_reader :stripe_report, :user_report
|
32
|
+
end
|
33
|
+
|
34
|
+
class Level3 < Stripe::StripeObject
|
35
|
+
class LineItem < Stripe::StripeObject
|
36
|
+
attr_reader :discount_amount, :product_code, :product_description, :quantity, :tax_amount, :unit_cost
|
37
|
+
end
|
38
|
+
attr_reader :customer_reference, :line_items, :merchant_reference, :shipping_address_zip, :shipping_amount, :shipping_from_zip
|
39
|
+
end
|
40
|
+
|
41
|
+
class Outcome < Stripe::StripeObject
|
42
|
+
class Rule < Stripe::StripeObject
|
43
|
+
attr_reader :action, :id, :predicate
|
44
|
+
end
|
45
|
+
attr_reader :network_advice_code, :network_decline_code, :network_status, :reason, :risk_level, :risk_score, :rule, :seller_message, :type
|
46
|
+
end
|
47
|
+
|
48
|
+
class PaymentMethodDetails < Stripe::StripeObject
|
49
|
+
class AchCreditTransfer < Stripe::StripeObject
|
50
|
+
attr_reader :account_number, :bank_name, :routing_number, :swift_code
|
51
|
+
end
|
52
|
+
|
53
|
+
class AchDebit < Stripe::StripeObject
|
54
|
+
attr_reader :account_holder_type, :bank_name, :country, :fingerprint, :last4, :routing_number
|
55
|
+
end
|
56
|
+
|
57
|
+
class AcssDebit < Stripe::StripeObject
|
58
|
+
attr_reader :bank_name, :fingerprint, :institution_number, :last4, :mandate, :transit_number
|
59
|
+
end
|
60
|
+
|
61
|
+
class Affirm < Stripe::StripeObject
|
62
|
+
attr_reader :transaction_id
|
63
|
+
end
|
64
|
+
|
65
|
+
class AfterpayClearpay < Stripe::StripeObject
|
66
|
+
attr_reader :order_id, :reference
|
67
|
+
end
|
68
|
+
|
69
|
+
class Alipay < Stripe::StripeObject
|
70
|
+
attr_reader :buyer_id, :fingerprint, :transaction_id
|
71
|
+
end
|
72
|
+
|
73
|
+
class Alma < Stripe::StripeObject; end
|
74
|
+
|
75
|
+
class AmazonPay < Stripe::StripeObject
|
76
|
+
class Funding < Stripe::StripeObject
|
77
|
+
class Card < Stripe::StripeObject
|
78
|
+
attr_reader :brand, :country, :exp_month, :exp_year, :funding, :last4
|
79
|
+
end
|
80
|
+
attr_reader :card, :type
|
81
|
+
end
|
82
|
+
attr_reader :funding
|
83
|
+
end
|
84
|
+
|
85
|
+
class AuBecsDebit < Stripe::StripeObject
|
86
|
+
attr_reader :bsb_number, :fingerprint, :last4, :mandate
|
87
|
+
end
|
88
|
+
|
89
|
+
class BacsDebit < Stripe::StripeObject
|
90
|
+
attr_reader :fingerprint, :last4, :mandate, :sort_code
|
91
|
+
end
|
92
|
+
|
93
|
+
class Bancontact < Stripe::StripeObject
|
94
|
+
attr_reader :bank_code, :bank_name, :bic, :generated_sepa_debit, :generated_sepa_debit_mandate, :iban_last4, :preferred_language, :verified_name
|
95
|
+
end
|
96
|
+
|
97
|
+
class Blik < Stripe::StripeObject
|
98
|
+
attr_reader :buyer_id
|
99
|
+
end
|
100
|
+
|
101
|
+
class Boleto < Stripe::StripeObject
|
102
|
+
attr_reader :tax_id
|
103
|
+
end
|
104
|
+
|
105
|
+
class Card < Stripe::StripeObject
|
106
|
+
class Checks < Stripe::StripeObject
|
107
|
+
attr_reader :address_line1_check, :address_postal_code_check, :cvc_check
|
108
|
+
end
|
109
|
+
|
110
|
+
class DecrementalAuthorization < Stripe::StripeObject
|
111
|
+
attr_reader :status
|
112
|
+
end
|
113
|
+
|
114
|
+
class ExtendedAuthorization < Stripe::StripeObject
|
115
|
+
attr_reader :status
|
116
|
+
end
|
117
|
+
|
118
|
+
class IncrementalAuthorization < Stripe::StripeObject
|
119
|
+
attr_reader :status
|
120
|
+
end
|
121
|
+
|
122
|
+
class Installments < Stripe::StripeObject
|
123
|
+
class Plan < Stripe::StripeObject
|
124
|
+
attr_reader :count, :interval, :type
|
125
|
+
end
|
126
|
+
attr_reader :plan
|
127
|
+
end
|
128
|
+
|
129
|
+
class Multicapture < Stripe::StripeObject
|
130
|
+
attr_reader :status
|
131
|
+
end
|
132
|
+
|
133
|
+
class NetworkToken < Stripe::StripeObject
|
134
|
+
attr_reader :used
|
135
|
+
end
|
136
|
+
|
137
|
+
class Overcapture < Stripe::StripeObject
|
138
|
+
attr_reader :maximum_amount_capturable, :status
|
139
|
+
end
|
140
|
+
|
141
|
+
class PartialAuthorization < Stripe::StripeObject
|
142
|
+
attr_reader :status
|
143
|
+
end
|
144
|
+
|
145
|
+
class ThreeDSecure < Stripe::StripeObject
|
146
|
+
attr_reader :authentication_flow, :electronic_commerce_indicator, :exemption_indicator, :exemption_indicator_applied, :result, :result_reason, :transaction_id, :version
|
147
|
+
end
|
148
|
+
|
149
|
+
class Wallet < Stripe::StripeObject
|
150
|
+
class AmexExpressCheckout < Stripe::StripeObject; end
|
151
|
+
class ApplePay < Stripe::StripeObject; end
|
152
|
+
class GooglePay < Stripe::StripeObject; end
|
153
|
+
class Link < Stripe::StripeObject; end
|
154
|
+
|
155
|
+
class Masterpass < Stripe::StripeObject
|
156
|
+
class BillingAddress < Stripe::StripeObject
|
157
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
158
|
+
end
|
159
|
+
|
160
|
+
class ShippingAddress < Stripe::StripeObject
|
161
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
162
|
+
end
|
163
|
+
attr_reader :billing_address, :email, :name, :shipping_address
|
164
|
+
end
|
165
|
+
|
166
|
+
class SamsungPay < Stripe::StripeObject; end
|
167
|
+
|
168
|
+
class VisaCheckout < Stripe::StripeObject
|
169
|
+
class BillingAddress < Stripe::StripeObject
|
170
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
171
|
+
end
|
172
|
+
|
173
|
+
class ShippingAddress < Stripe::StripeObject
|
174
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
175
|
+
end
|
176
|
+
attr_reader :billing_address, :email, :name, :shipping_address
|
177
|
+
end
|
178
|
+
attr_reader :amex_express_checkout, :apple_pay, :dynamic_last4, :google_pay, :link, :masterpass, :samsung_pay, :type, :visa_checkout
|
179
|
+
end
|
180
|
+
attr_reader :amount_authorized, :amount_requested, :authorization_code, :brand, :capture_before, :checks, :country, :decremental_authorization, :description, :exp_month, :exp_year, :extended_authorization, :fingerprint, :funding, :iin, :incremental_authorization, :installments, :issuer, :last4, :mandate, :moto, :multicapture, :network, :network_token, :overcapture, :partial_authorization, :three_d_secure, :wallet
|
181
|
+
end
|
182
|
+
|
183
|
+
class CardPresent < Stripe::StripeObject
|
184
|
+
class Offline < Stripe::StripeObject
|
185
|
+
attr_reader :stored_at, :type
|
186
|
+
end
|
187
|
+
|
188
|
+
class Receipt < Stripe::StripeObject
|
189
|
+
attr_reader :account_type, :application_cryptogram, :application_preferred_name, :authorization_code, :authorization_response_code, :cardholder_verification_method, :dedicated_file_name, :terminal_verification_results, :transaction_status_information
|
190
|
+
end
|
191
|
+
|
192
|
+
class Wallet < Stripe::StripeObject
|
193
|
+
attr_reader :type
|
194
|
+
end
|
195
|
+
attr_reader :amount_authorized, :brand, :brand_product, :capture_before, :cardholder_name, :country, :description, :emv_auth_data, :exp_month, :exp_year, :fingerprint, :funding, :generated_card, :iin, :incremental_authorization_supported, :issuer, :last4, :network, :network_transaction_id, :offline, :overcapture_supported, :preferred_locales, :read_method, :receipt, :wallet
|
196
|
+
end
|
197
|
+
|
198
|
+
class Cashapp < Stripe::StripeObject
|
199
|
+
attr_reader :buyer_id, :cashtag
|
200
|
+
end
|
201
|
+
|
202
|
+
class CustomerBalance < Stripe::StripeObject; end
|
203
|
+
|
204
|
+
class Eps < Stripe::StripeObject
|
205
|
+
attr_reader :bank, :verified_name
|
206
|
+
end
|
207
|
+
|
208
|
+
class Fpx < Stripe::StripeObject
|
209
|
+
attr_reader :account_holder_type, :bank, :transaction_id
|
210
|
+
end
|
211
|
+
|
212
|
+
class Giropay < Stripe::StripeObject
|
213
|
+
attr_reader :bank_code, :bank_name, :bic, :verified_name
|
214
|
+
end
|
215
|
+
|
216
|
+
class Gopay < Stripe::StripeObject; end
|
217
|
+
|
218
|
+
class Grabpay < Stripe::StripeObject
|
219
|
+
attr_reader :transaction_id
|
220
|
+
end
|
221
|
+
|
222
|
+
class IdBankTransfer < Stripe::StripeObject
|
223
|
+
attr_reader :account_number, :bank, :bank_code, :bank_name, :display_name
|
224
|
+
end
|
225
|
+
|
226
|
+
class Ideal < Stripe::StripeObject
|
227
|
+
attr_reader :bank, :bic, :generated_sepa_debit, :generated_sepa_debit_mandate, :iban_last4, :verified_name
|
228
|
+
end
|
229
|
+
|
230
|
+
class InteracPresent < Stripe::StripeObject
|
231
|
+
class Receipt < Stripe::StripeObject
|
232
|
+
attr_reader :account_type, :application_cryptogram, :application_preferred_name, :authorization_code, :authorization_response_code, :cardholder_verification_method, :dedicated_file_name, :terminal_verification_results, :transaction_status_information
|
233
|
+
end
|
234
|
+
attr_reader :brand, :cardholder_name, :country, :description, :emv_auth_data, :exp_month, :exp_year, :fingerprint, :funding, :generated_card, :iin, :issuer, :last4, :network, :network_transaction_id, :preferred_locales, :read_method, :receipt
|
235
|
+
end
|
236
|
+
|
237
|
+
class KakaoPay < Stripe::StripeObject
|
238
|
+
attr_reader :buyer_id
|
239
|
+
end
|
240
|
+
|
241
|
+
class Klarna < Stripe::StripeObject
|
242
|
+
class PayerDetails < Stripe::StripeObject
|
243
|
+
class Address < Stripe::StripeObject
|
244
|
+
attr_reader :country
|
245
|
+
end
|
246
|
+
attr_reader :address
|
247
|
+
end
|
248
|
+
attr_reader :payer_details, :payment_method_category, :preferred_locale
|
249
|
+
end
|
250
|
+
|
251
|
+
class Konbini < Stripe::StripeObject
|
252
|
+
class Store < Stripe::StripeObject
|
253
|
+
attr_reader :chain
|
254
|
+
end
|
255
|
+
attr_reader :store
|
256
|
+
end
|
257
|
+
|
258
|
+
class KrCard < Stripe::StripeObject
|
259
|
+
attr_reader :brand, :buyer_id, :last4
|
260
|
+
end
|
261
|
+
|
262
|
+
class Link < Stripe::StripeObject
|
263
|
+
attr_reader :country
|
264
|
+
end
|
265
|
+
|
266
|
+
class MbWay < Stripe::StripeObject; end
|
267
|
+
|
268
|
+
class Mobilepay < Stripe::StripeObject
|
269
|
+
class Card < Stripe::StripeObject
|
270
|
+
attr_reader :brand, :country, :exp_month, :exp_year, :last4
|
271
|
+
end
|
272
|
+
attr_reader :card
|
273
|
+
end
|
274
|
+
|
275
|
+
class Multibanco < Stripe::StripeObject
|
276
|
+
attr_reader :entity, :reference
|
277
|
+
end
|
278
|
+
|
279
|
+
class NaverPay < Stripe::StripeObject
|
280
|
+
attr_reader :buyer_id
|
281
|
+
end
|
282
|
+
|
283
|
+
class Oxxo < Stripe::StripeObject
|
284
|
+
attr_reader :number
|
285
|
+
end
|
286
|
+
|
287
|
+
class P24 < Stripe::StripeObject
|
288
|
+
attr_reader :bank, :reference, :verified_name
|
289
|
+
end
|
290
|
+
|
291
|
+
class Payco < Stripe::StripeObject
|
292
|
+
attr_reader :buyer_id
|
293
|
+
end
|
294
|
+
|
295
|
+
class Paynow < Stripe::StripeObject
|
296
|
+
attr_reader :reference
|
297
|
+
end
|
298
|
+
|
299
|
+
class Paypal < Stripe::StripeObject
|
300
|
+
class SellerProtection < Stripe::StripeObject
|
301
|
+
attr_reader :dispute_categories, :status
|
302
|
+
end
|
303
|
+
|
304
|
+
class Shipping < Stripe::StripeObject
|
305
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
306
|
+
end
|
307
|
+
|
308
|
+
class VerifiedAddress < Stripe::StripeObject
|
309
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
310
|
+
end
|
311
|
+
attr_reader :payer_email, :payer_id, :payer_name, :seller_protection, :shipping, :transaction_id, :verified_address, :verified_email, :verified_name
|
312
|
+
end
|
313
|
+
|
314
|
+
class Payto < Stripe::StripeObject
|
315
|
+
attr_reader :bsb_number, :last4, :mandate, :pay_id
|
316
|
+
end
|
317
|
+
|
318
|
+
class Pix < Stripe::StripeObject
|
319
|
+
attr_reader :bank_transaction_id
|
320
|
+
end
|
321
|
+
|
322
|
+
class Promptpay < Stripe::StripeObject
|
323
|
+
attr_reader :reference
|
324
|
+
end
|
325
|
+
|
326
|
+
class Qris < Stripe::StripeObject; end
|
327
|
+
class Rechnung < Stripe::StripeObject; end
|
328
|
+
|
329
|
+
class RevolutPay < Stripe::StripeObject
|
330
|
+
class Funding < Stripe::StripeObject
|
331
|
+
class Card < Stripe::StripeObject
|
332
|
+
attr_reader :brand, :country, :exp_month, :exp_year, :funding, :last4
|
333
|
+
end
|
334
|
+
attr_reader :card, :type
|
335
|
+
end
|
336
|
+
attr_reader :funding
|
337
|
+
end
|
338
|
+
|
339
|
+
class SamsungPay < Stripe::StripeObject
|
340
|
+
attr_reader :buyer_id
|
341
|
+
end
|
342
|
+
|
343
|
+
class SepaCreditTransfer < Stripe::StripeObject
|
344
|
+
attr_reader :bank_name, :bic, :iban
|
345
|
+
end
|
346
|
+
|
347
|
+
class SepaDebit < Stripe::StripeObject
|
348
|
+
attr_reader :bank_code, :branch_code, :country, :fingerprint, :last4, :mandate
|
349
|
+
end
|
350
|
+
|
351
|
+
class Shopeepay < Stripe::StripeObject; end
|
352
|
+
|
353
|
+
class Sofort < Stripe::StripeObject
|
354
|
+
attr_reader :bank_code, :bank_name, :bic, :country, :generated_sepa_debit, :generated_sepa_debit_mandate, :iban_last4, :preferred_language, :verified_name
|
355
|
+
end
|
356
|
+
|
357
|
+
class StripeAccount < Stripe::StripeObject; end
|
358
|
+
|
359
|
+
class Swish < Stripe::StripeObject
|
360
|
+
attr_reader :fingerprint, :payment_reference, :verified_phone_last4
|
361
|
+
end
|
362
|
+
|
363
|
+
class Twint < Stripe::StripeObject; end
|
364
|
+
|
365
|
+
class UsBankAccount < Stripe::StripeObject
|
366
|
+
attr_reader :account_holder_type, :account_type, :bank_name, :fingerprint, :last4, :mandate, :payment_reference, :routing_number
|
367
|
+
end
|
368
|
+
|
369
|
+
class Wechat < Stripe::StripeObject; end
|
370
|
+
|
371
|
+
class WechatPay < Stripe::StripeObject
|
372
|
+
attr_reader :fingerprint, :transaction_id
|
373
|
+
end
|
374
|
+
|
375
|
+
class Zip < Stripe::StripeObject; end
|
376
|
+
attr_reader :ach_credit_transfer, :ach_debit, :acss_debit, :affirm, :afterpay_clearpay, :alipay, :alma, :amazon_pay, :au_becs_debit, :bacs_debit, :bancontact, :blik, :boleto, :card, :card_present, :cashapp, :customer_balance, :eps, :fpx, :giropay, :gopay, :grabpay, :id_bank_transfer, :ideal, :interac_present, :kakao_pay, :klarna, :konbini, :kr_card, :link, :mb_way, :mobilepay, :multibanco, :naver_pay, :oxxo, :p24, :payco, :paynow, :paypal, :payto, :pix, :promptpay, :qris, :rechnung, :revolut_pay, :samsung_pay, :sepa_credit_transfer, :sepa_debit, :shopeepay, :sofort, :stripe_account, :swish, :twint, :type, :us_bank_account, :wechat, :wechat_pay, :zip
|
377
|
+
end
|
378
|
+
|
379
|
+
class RadarOptions < Stripe::StripeObject
|
380
|
+
attr_reader :session
|
381
|
+
end
|
382
|
+
|
383
|
+
class Shipping < Stripe::StripeObject
|
384
|
+
class Address < Stripe::StripeObject
|
385
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
386
|
+
end
|
387
|
+
attr_reader :address, :carrier, :name, :phone, :tracking_number
|
388
|
+
end
|
389
|
+
|
390
|
+
class TransferData < Stripe::StripeObject
|
391
|
+
attr_reader :amount, :destination
|
392
|
+
end
|
393
|
+
# Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
394
|
+
attr_reader :amount
|
395
|
+
# Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
|
396
|
+
attr_reader :amount_captured
|
397
|
+
# Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
|
398
|
+
attr_reader :amount_refunded
|
399
|
+
# ID of the Connect application that created the charge.
|
400
|
+
attr_reader :application
|
401
|
+
# The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
|
402
|
+
attr_reader :application_fee
|
403
|
+
# The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
|
404
|
+
attr_reader :application_fee_amount
|
405
|
+
# Authorization code on the charge.
|
406
|
+
attr_reader :authorization_code
|
407
|
+
# ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
|
408
|
+
attr_reader :balance_transaction
|
409
|
+
# Attribute for field billing_details
|
410
|
+
attr_reader :billing_details
|
411
|
+
# The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
|
412
|
+
attr_reader :calculated_statement_descriptor
|
413
|
+
# If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
|
414
|
+
attr_reader :captured
|
415
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
416
|
+
attr_reader :created
|
417
|
+
# 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).
|
418
|
+
attr_reader :currency
|
419
|
+
# ID of the customer this charge is for if one exists.
|
420
|
+
attr_reader :customer
|
421
|
+
# An arbitrary string attached to the object. Often useful for displaying to users.
|
422
|
+
attr_reader :description
|
423
|
+
# Whether the charge has been disputed.
|
424
|
+
attr_reader :disputed
|
425
|
+
# ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
|
426
|
+
attr_reader :failure_balance_transaction
|
427
|
+
# Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).
|
428
|
+
attr_reader :failure_code
|
429
|
+
# Message to user further explaining reason for charge failure if available.
|
430
|
+
attr_reader :failure_message
|
431
|
+
# Information on fraud assessments for the charge.
|
432
|
+
attr_reader :fraud_details
|
433
|
+
# Unique identifier for the object.
|
434
|
+
attr_reader :id
|
435
|
+
# ID of the invoice this charge is for if one exists.
|
436
|
+
attr_reader :invoice
|
437
|
+
# Attribute for field level3
|
438
|
+
attr_reader :level3
|
439
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
440
|
+
attr_reader :livemode
|
441
|
+
# 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.
|
442
|
+
attr_reader :metadata
|
443
|
+
# String representing the object's type. Objects of the same type share the same value.
|
444
|
+
attr_reader :object
|
445
|
+
# The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
|
446
|
+
attr_reader :on_behalf_of
|
447
|
+
# Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
|
448
|
+
attr_reader :outcome
|
449
|
+
# `true` if the charge succeeded, or was successfully authorized for later capture.
|
450
|
+
attr_reader :paid
|
451
|
+
# ID of the PaymentIntent associated with this charge, if one exists.
|
452
|
+
attr_reader :payment_intent
|
453
|
+
# ID of the payment method used in this charge.
|
454
|
+
attr_reader :payment_method
|
455
|
+
# Details about the payment method at the time of the transaction.
|
456
|
+
attr_reader :payment_method_details
|
457
|
+
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
458
|
+
attr_reader :radar_options
|
459
|
+
# This is the email address that the receipt for this charge was sent to.
|
460
|
+
attr_reader :receipt_email
|
461
|
+
# This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.
|
462
|
+
attr_reader :receipt_number
|
463
|
+
# This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
464
|
+
attr_reader :receipt_url
|
465
|
+
# Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
466
|
+
attr_reader :refunded
|
467
|
+
# A list of refunds that have been applied to the charge.
|
468
|
+
attr_reader :refunds
|
469
|
+
# ID of the review associated with this charge if one exists.
|
470
|
+
attr_reader :review
|
471
|
+
# Shipping information for the charge.
|
472
|
+
attr_reader :shipping
|
473
|
+
# This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead.
|
474
|
+
attr_reader :source
|
475
|
+
# The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
|
476
|
+
attr_reader :source_transfer
|
477
|
+
# For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
478
|
+
#
|
479
|
+
# For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
|
480
|
+
attr_reader :statement_descriptor
|
481
|
+
# Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
|
482
|
+
attr_reader :statement_descriptor_suffix
|
483
|
+
# The status of the payment is either `succeeded`, `pending`, or `failed`.
|
484
|
+
attr_reader :status
|
485
|
+
# ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
|
486
|
+
attr_reader :transfer
|
487
|
+
# An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
|
488
|
+
attr_reader :transfer_data
|
489
|
+
# A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
|
490
|
+
attr_reader :transfer_group
|
491
|
+
|
23
492
|
# Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
|
24
493
|
#
|
25
494
|
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
|