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
@@ -18,6 +18,135 @@ module Stripe
|
|
18
18
|
"issuing.authorization"
|
19
19
|
end
|
20
20
|
|
21
|
+
class AmountDetails < Stripe::StripeObject
|
22
|
+
attr_reader :atm_fee, :cashback_amount
|
23
|
+
end
|
24
|
+
|
25
|
+
class Fleet < Stripe::StripeObject
|
26
|
+
class CardholderPromptData < Stripe::StripeObject
|
27
|
+
attr_reader :alphanumeric_id, :driver_id, :odometer, :unspecified_id, :user_id, :vehicle_number
|
28
|
+
end
|
29
|
+
|
30
|
+
class ReportedBreakdown < Stripe::StripeObject
|
31
|
+
class Fuel < Stripe::StripeObject
|
32
|
+
attr_reader :gross_amount_decimal
|
33
|
+
end
|
34
|
+
|
35
|
+
class NonFuel < Stripe::StripeObject
|
36
|
+
attr_reader :gross_amount_decimal
|
37
|
+
end
|
38
|
+
|
39
|
+
class Tax < Stripe::StripeObject
|
40
|
+
attr_reader :local_amount_decimal, :national_amount_decimal
|
41
|
+
end
|
42
|
+
attr_reader :fuel, :non_fuel, :tax
|
43
|
+
end
|
44
|
+
attr_reader :cardholder_prompt_data, :purchase_type, :reported_breakdown, :service_type
|
45
|
+
end
|
46
|
+
|
47
|
+
class FraudChallenge < Stripe::StripeObject
|
48
|
+
attr_reader :channel, :status, :undeliverable_reason
|
49
|
+
end
|
50
|
+
|
51
|
+
class Fuel < Stripe::StripeObject
|
52
|
+
attr_reader :industry_product_code, :quantity_decimal, :type, :unit, :unit_cost_decimal
|
53
|
+
end
|
54
|
+
|
55
|
+
class MerchantData < Stripe::StripeObject
|
56
|
+
attr_reader :category, :category_code, :city, :country, :name, :network_id, :postal_code, :state, :terminal_id, :url
|
57
|
+
end
|
58
|
+
|
59
|
+
class NetworkData < Stripe::StripeObject
|
60
|
+
attr_reader :acquiring_institution_id, :system_trace_audit_number, :transaction_id
|
61
|
+
end
|
62
|
+
|
63
|
+
class PendingRequest < Stripe::StripeObject
|
64
|
+
class AmountDetails < Stripe::StripeObject
|
65
|
+
attr_reader :atm_fee, :cashback_amount
|
66
|
+
end
|
67
|
+
attr_reader :amount, :amount_details, :currency, :is_amount_controllable, :merchant_amount, :merchant_currency, :network_risk_score
|
68
|
+
end
|
69
|
+
|
70
|
+
class RequestHistory < Stripe::StripeObject
|
71
|
+
class AmountDetails < Stripe::StripeObject
|
72
|
+
attr_reader :atm_fee, :cashback_amount
|
73
|
+
end
|
74
|
+
attr_reader :amount, :amount_details, :approved, :authorization_code, :created, :currency, :merchant_amount, :merchant_currency, :network_risk_score, :reason, :reason_message, :requested_at
|
75
|
+
end
|
76
|
+
|
77
|
+
class Treasury < Stripe::StripeObject
|
78
|
+
attr_reader :received_credits, :received_debits, :transaction
|
79
|
+
end
|
80
|
+
|
81
|
+
class VerificationData < Stripe::StripeObject
|
82
|
+
class AuthenticationExemption < Stripe::StripeObject
|
83
|
+
attr_reader :claimed_by, :type
|
84
|
+
end
|
85
|
+
|
86
|
+
class ThreeDSecure < Stripe::StripeObject
|
87
|
+
attr_reader :result
|
88
|
+
end
|
89
|
+
attr_reader :address_line1_check, :address_postal_code_check, :authentication_exemption, :cvc_check, :expiry_check, :postal_code, :three_d_secure
|
90
|
+
end
|
91
|
+
# The total amount that was authorized or rejected. This amount is in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `amount` should be the same as `merchant_amount`, unless `currency` and `merchant_currency` are different.
|
92
|
+
attr_reader :amount
|
93
|
+
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
94
|
+
attr_reader :amount_details
|
95
|
+
# Whether the authorization has been approved.
|
96
|
+
attr_reader :approved
|
97
|
+
# How the card details were provided.
|
98
|
+
attr_reader :authorization_method
|
99
|
+
# List of balance transactions associated with this authorization.
|
100
|
+
attr_reader :balance_transactions
|
101
|
+
# You can [create physical or virtual cards](https://stripe.com/docs/issuing) that are issued to cardholders.
|
102
|
+
attr_reader :card
|
103
|
+
# The cardholder to whom this authorization belongs.
|
104
|
+
attr_reader :cardholder
|
105
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
106
|
+
attr_reader :created
|
107
|
+
# The currency of the cardholder. This currency can be different from the currency presented at authorization and the `merchant_currency` field on this authorization. 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).
|
108
|
+
attr_reader :currency
|
109
|
+
# Fleet-specific information for authorizations using Fleet cards.
|
110
|
+
attr_reader :fleet
|
111
|
+
# Fraud challenges sent to the cardholder, if this authorization was declined for fraud risk reasons.
|
112
|
+
attr_reader :fraud_challenges
|
113
|
+
# Information about fuel that was purchased with this transaction. Typically this information is received from the merchant after the authorization has been approved and the fuel dispensed.
|
114
|
+
attr_reader :fuel
|
115
|
+
# Unique identifier for the object.
|
116
|
+
attr_reader :id
|
117
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
118
|
+
attr_reader :livemode
|
119
|
+
# The total amount that was authorized or rejected. This amount is in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `merchant_amount` should be the same as `amount`, unless `merchant_currency` and `currency` are different.
|
120
|
+
attr_reader :merchant_amount
|
121
|
+
# The local currency that was presented to the cardholder for the authorization. This currency can be different from the cardholder currency and the `currency` field on this authorization. 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).
|
122
|
+
attr_reader :merchant_currency
|
123
|
+
# Attribute for field merchant_data
|
124
|
+
attr_reader :merchant_data
|
125
|
+
# 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.
|
126
|
+
attr_reader :metadata
|
127
|
+
# Details about the authorization, such as identifiers, set by the card network.
|
128
|
+
attr_reader :network_data
|
129
|
+
# String representing the object's type. Objects of the same type share the same value.
|
130
|
+
attr_reader :object
|
131
|
+
# The pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook.
|
132
|
+
attr_reader :pending_request
|
133
|
+
# History of every time a `pending_request` authorization was approved/declined, either by you directly or by Stripe (e.g. based on your spending_controls). If the merchant changes the authorization by performing an incremental authorization, you can look at this field to see the previous requests for the authorization. This field can be helpful in determining why a given authorization was approved/declined.
|
134
|
+
attr_reader :request_history
|
135
|
+
# The current status of the authorization in its lifecycle.
|
136
|
+
attr_reader :status
|
137
|
+
# [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this authorization. If a network token was not used for this authorization, this field will be null.
|
138
|
+
attr_reader :token
|
139
|
+
# List of [transactions](https://stripe.com/docs/api/issuing/transactions) associated with this authorization.
|
140
|
+
attr_reader :transactions
|
141
|
+
# [Treasury](https://stripe.com/docs/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://stripe.com/docs/api/treasury/financial_accounts).
|
142
|
+
attr_reader :treasury
|
143
|
+
# Attribute for field verification_data
|
144
|
+
attr_reader :verification_data
|
145
|
+
# Whether the authorization bypassed fraud risk checks because the cardholder has previously completed a fraud challenge on a similar high-risk authorization from the same merchant.
|
146
|
+
attr_reader :verified_by_fraud_challenge
|
147
|
+
# The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. Will populate as `null` when no digital wallet was utilized.
|
148
|
+
attr_reader :wallet
|
149
|
+
|
21
150
|
# [Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow.
|
22
151
|
# This method is deprecated. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
|
23
152
|
def approve(params = {}, opts = {})
|
@@ -14,6 +14,92 @@ module Stripe
|
|
14
14
|
"issuing.card"
|
15
15
|
end
|
16
16
|
|
17
|
+
class Shipping < Stripe::StripeObject
|
18
|
+
class Address < Stripe::StripeObject
|
19
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
20
|
+
end
|
21
|
+
|
22
|
+
class AddressValidation < Stripe::StripeObject
|
23
|
+
class NormalizedAddress < Stripe::StripeObject
|
24
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
25
|
+
end
|
26
|
+
attr_reader :mode, :normalized_address, :result
|
27
|
+
end
|
28
|
+
|
29
|
+
class Customs < Stripe::StripeObject
|
30
|
+
attr_reader :eori_number
|
31
|
+
end
|
32
|
+
attr_reader :address, :address_validation, :carrier, :customs, :eta, :name, :phone_number, :require_signature, :service, :status, :tracking_number, :tracking_url, :type
|
33
|
+
end
|
34
|
+
|
35
|
+
class SpendingControls < Stripe::StripeObject
|
36
|
+
class SpendingLimit < Stripe::StripeObject
|
37
|
+
attr_reader :amount, :categories, :interval
|
38
|
+
end
|
39
|
+
attr_reader :allowed_categories, :allowed_merchant_countries, :blocked_categories, :blocked_merchant_countries, :spending_limits, :spending_limits_currency
|
40
|
+
end
|
41
|
+
|
42
|
+
class Wallets < Stripe::StripeObject
|
43
|
+
class ApplePay < Stripe::StripeObject
|
44
|
+
attr_reader :eligible, :ineligible_reason
|
45
|
+
end
|
46
|
+
|
47
|
+
class GooglePay < Stripe::StripeObject
|
48
|
+
attr_reader :eligible, :ineligible_reason
|
49
|
+
end
|
50
|
+
attr_reader :apple_pay, :google_pay, :primary_account_identifier
|
51
|
+
end
|
52
|
+
# The brand of the card.
|
53
|
+
attr_reader :brand
|
54
|
+
# The reason why the card was canceled.
|
55
|
+
attr_reader :cancellation_reason
|
56
|
+
# An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards.
|
57
|
+
#
|
58
|
+
# Related guide: [How to create a cardholder](https://stripe.com/docs/issuing/cards/virtual/issue-cards#create-cardholder)
|
59
|
+
attr_reader :cardholder
|
60
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
61
|
+
attr_reader :created
|
62
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Supported currencies are `usd` in the US, `eur` in the EU, and `gbp` in the UK.
|
63
|
+
attr_reader :currency
|
64
|
+
# The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint.
|
65
|
+
attr_reader :cvc
|
66
|
+
# The expiration month of the card.
|
67
|
+
attr_reader :exp_month
|
68
|
+
# The expiration year of the card.
|
69
|
+
attr_reader :exp_year
|
70
|
+
# The financial account this card is attached to.
|
71
|
+
attr_reader :financial_account
|
72
|
+
# Unique identifier for the object.
|
73
|
+
attr_reader :id
|
74
|
+
# The last 4 digits of the card number.
|
75
|
+
attr_reader :last4
|
76
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
77
|
+
attr_reader :livemode
|
78
|
+
# 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.
|
79
|
+
attr_reader :metadata
|
80
|
+
# The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint.
|
81
|
+
attr_reader :number
|
82
|
+
# String representing the object's type. Objects of the same type share the same value.
|
83
|
+
attr_reader :object
|
84
|
+
# The personalization design object belonging to this card.
|
85
|
+
attr_reader :personalization_design
|
86
|
+
# The latest card that replaces this card, if any.
|
87
|
+
attr_reader :replaced_by
|
88
|
+
# The card this card replaces, if any.
|
89
|
+
attr_reader :replacement_for
|
90
|
+
# The reason why the previous card needed to be replaced.
|
91
|
+
attr_reader :replacement_reason
|
92
|
+
# Where and how the card will be shipped.
|
93
|
+
attr_reader :shipping
|
94
|
+
# Attribute for field spending_controls
|
95
|
+
attr_reader :spending_controls
|
96
|
+
# Whether authorizations can be approved on this card. May be blocked from activating cards depending on past-due Cardholder requirements. Defaults to `inactive`.
|
97
|
+
attr_reader :status
|
98
|
+
# The type of the card.
|
99
|
+
attr_reader :type
|
100
|
+
# Information relating to digital wallets (like Apple Pay and Google Pay).
|
101
|
+
attr_reader :wallets
|
102
|
+
|
17
103
|
# Creates an Issuing Card object.
|
18
104
|
def self.create(params = {}, opts = {})
|
19
105
|
request_stripe_object(method: :post, path: "/v1/issuing/cards", params: params, opts: opts)
|
@@ -16,6 +16,82 @@ module Stripe
|
|
16
16
|
"issuing.cardholder"
|
17
17
|
end
|
18
18
|
|
19
|
+
class Billing < Stripe::StripeObject
|
20
|
+
class Address < Stripe::StripeObject
|
21
|
+
attr_reader :city, :country, :line1, :line2, :postal_code, :state
|
22
|
+
end
|
23
|
+
attr_reader :address
|
24
|
+
end
|
25
|
+
|
26
|
+
class Company < Stripe::StripeObject
|
27
|
+
attr_reader :tax_id_provided
|
28
|
+
end
|
29
|
+
|
30
|
+
class Individual < Stripe::StripeObject
|
31
|
+
class CardIssuing < Stripe::StripeObject
|
32
|
+
class UserTermsAcceptance < Stripe::StripeObject
|
33
|
+
attr_reader :date, :ip, :user_agent
|
34
|
+
end
|
35
|
+
attr_reader :user_terms_acceptance
|
36
|
+
end
|
37
|
+
|
38
|
+
class Dob < Stripe::StripeObject
|
39
|
+
attr_reader :day, :month, :year
|
40
|
+
end
|
41
|
+
|
42
|
+
class Verification < Stripe::StripeObject
|
43
|
+
class Document < Stripe::StripeObject
|
44
|
+
attr_reader :back, :front
|
45
|
+
end
|
46
|
+
attr_reader :document
|
47
|
+
end
|
48
|
+
attr_reader :card_issuing, :dob, :first_name, :last_name, :verification
|
49
|
+
end
|
50
|
+
|
51
|
+
class Requirements < Stripe::StripeObject
|
52
|
+
attr_reader :disabled_reason, :past_due
|
53
|
+
end
|
54
|
+
|
55
|
+
class SpendingControls < Stripe::StripeObject
|
56
|
+
class SpendingLimit < Stripe::StripeObject
|
57
|
+
attr_reader :amount, :categories, :interval
|
58
|
+
end
|
59
|
+
attr_reader :allowed_categories, :allowed_merchant_countries, :blocked_categories, :blocked_merchant_countries, :spending_limits, :spending_limits_currency
|
60
|
+
end
|
61
|
+
# Attribute for field billing
|
62
|
+
attr_reader :billing
|
63
|
+
# Additional information about a `company` cardholder.
|
64
|
+
attr_reader :company
|
65
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
66
|
+
attr_reader :created
|
67
|
+
# The cardholder's email address.
|
68
|
+
attr_reader :email
|
69
|
+
# Unique identifier for the object.
|
70
|
+
attr_reader :id
|
71
|
+
# Additional information about an `individual` cardholder.
|
72
|
+
attr_reader :individual
|
73
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
74
|
+
attr_reader :livemode
|
75
|
+
# 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.
|
76
|
+
attr_reader :metadata
|
77
|
+
# The cardholder's name. This will be printed on cards issued to them.
|
78
|
+
attr_reader :name
|
79
|
+
# String representing the object's type. Objects of the same type share the same value.
|
80
|
+
attr_reader :object
|
81
|
+
# The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://stripe.com/docs/issuing/3d-secure#when-is-3d-secure-applied) for more details.
|
82
|
+
attr_reader :phone_number
|
83
|
+
# The cardholder’s preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
|
84
|
+
# This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.
|
85
|
+
attr_reader :preferred_locales
|
86
|
+
# Attribute for field requirements
|
87
|
+
attr_reader :requirements
|
88
|
+
# Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.
|
89
|
+
attr_reader :spending_controls
|
90
|
+
# Specifies whether to permit authorizations on this cardholder's cards.
|
91
|
+
attr_reader :status
|
92
|
+
# One of `individual` or `company`. See [Choose a cardholder type](https://stripe.com/docs/issuing/other/choose-cardholder) for more details.
|
93
|
+
attr_reader :type
|
94
|
+
|
19
95
|
# Creates a new Issuing Cardholder object that can be issued cards.
|
20
96
|
def self.create(params = {}, opts = {})
|
21
97
|
request_stripe_object(
|
@@ -14,6 +14,63 @@ module Stripe
|
|
14
14
|
"issuing.credit_underwriting_record"
|
15
15
|
end
|
16
16
|
|
17
|
+
class Application < Stripe::StripeObject
|
18
|
+
attr_reader :application_method, :purpose, :submitted_at
|
19
|
+
end
|
20
|
+
|
21
|
+
class CreditUser < Stripe::StripeObject
|
22
|
+
attr_reader :email, :name
|
23
|
+
end
|
24
|
+
|
25
|
+
class Decision < Stripe::StripeObject
|
26
|
+
class ApplicationRejected < Stripe::StripeObject
|
27
|
+
attr_reader :reason_other_explanation, :reasons
|
28
|
+
end
|
29
|
+
|
30
|
+
class CreditLimitApproved < Stripe::StripeObject
|
31
|
+
attr_reader :amount, :currency
|
32
|
+
end
|
33
|
+
|
34
|
+
class CreditLimitDecreased < Stripe::StripeObject
|
35
|
+
attr_reader :amount, :currency, :reason_other_explanation, :reasons
|
36
|
+
end
|
37
|
+
|
38
|
+
class CreditLineClosed < Stripe::StripeObject
|
39
|
+
attr_reader :reason_other_explanation, :reasons
|
40
|
+
end
|
41
|
+
attr_reader :application_rejected, :credit_limit_approved, :credit_limit_decreased, :credit_line_closed, :type
|
42
|
+
end
|
43
|
+
|
44
|
+
class UnderwritingException < Stripe::StripeObject
|
45
|
+
attr_reader :explanation, :original_decision_type
|
46
|
+
end
|
47
|
+
# For decisions triggered by an application, details about the submission.
|
48
|
+
attr_reader :application
|
49
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
50
|
+
attr_reader :created
|
51
|
+
# The event that triggered the underwriting.
|
52
|
+
attr_reader :created_from
|
53
|
+
# Attribute for field credit_user
|
54
|
+
attr_reader :credit_user
|
55
|
+
# Date when a decision was made.
|
56
|
+
attr_reader :decided_at
|
57
|
+
# Details about the decision.
|
58
|
+
attr_reader :decision
|
59
|
+
# For underwriting initiated by an application, a decision must be taken 30 days after the submission.
|
60
|
+
attr_reader :decision_deadline
|
61
|
+
# Unique identifier for the object.
|
62
|
+
attr_reader :id
|
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
|
+
# File containing regulatory reporting data for the decision. Required if you are subject to this [reporting requirement](https://stripe.com/docs/issuing/credit/report-required-regulatory-data-for-credit-decisions).
|
70
|
+
attr_reader :regulatory_reporting_file
|
71
|
+
# If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance.
|
72
|
+
attr_reader :underwriting_exception
|
73
|
+
|
17
74
|
# Update a CreditUnderwritingRecord object to correct mistakes.
|
18
75
|
def correct(params = {}, opts = {})
|
19
76
|
request_stripe_object(
|
@@ -16,6 +16,71 @@ module Stripe
|
|
16
16
|
"issuing.dispute"
|
17
17
|
end
|
18
18
|
|
19
|
+
class Evidence < Stripe::StripeObject
|
20
|
+
class Canceled < Stripe::StripeObject
|
21
|
+
attr_reader :additional_documentation, :canceled_at, :cancellation_policy_provided, :cancellation_reason, :expected_at, :explanation, :product_description, :product_type, :return_status, :returned_at
|
22
|
+
end
|
23
|
+
|
24
|
+
class Duplicate < Stripe::StripeObject
|
25
|
+
attr_reader :additional_documentation, :card_statement, :cash_receipt, :check_image, :explanation, :original_transaction
|
26
|
+
end
|
27
|
+
|
28
|
+
class Fraudulent < Stripe::StripeObject
|
29
|
+
attr_reader :additional_documentation, :explanation
|
30
|
+
end
|
31
|
+
|
32
|
+
class MerchandiseNotAsDescribed < Stripe::StripeObject
|
33
|
+
attr_reader :additional_documentation, :explanation, :received_at, :return_description, :return_status, :returned_at
|
34
|
+
end
|
35
|
+
|
36
|
+
class NoValidAuthorization < Stripe::StripeObject
|
37
|
+
attr_reader :additional_documentation, :explanation
|
38
|
+
end
|
39
|
+
|
40
|
+
class NotReceived < Stripe::StripeObject
|
41
|
+
attr_reader :additional_documentation, :expected_at, :explanation, :product_description, :product_type
|
42
|
+
end
|
43
|
+
|
44
|
+
class Other < Stripe::StripeObject
|
45
|
+
attr_reader :additional_documentation, :explanation, :product_description, :product_type
|
46
|
+
end
|
47
|
+
|
48
|
+
class ServiceNotAsDescribed < Stripe::StripeObject
|
49
|
+
attr_reader :additional_documentation, :canceled_at, :cancellation_reason, :explanation, :received_at
|
50
|
+
end
|
51
|
+
attr_reader :canceled, :duplicate, :fraudulent, :merchandise_not_as_described, :no_valid_authorization, :not_received, :other, :reason, :service_not_as_described
|
52
|
+
end
|
53
|
+
|
54
|
+
class Treasury < Stripe::StripeObject
|
55
|
+
attr_reader :debit_reversal, :received_debit
|
56
|
+
end
|
57
|
+
# Disputed amount in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation).
|
58
|
+
attr_reader :amount
|
59
|
+
# List of balance transactions associated with the dispute.
|
60
|
+
attr_reader :balance_transactions
|
61
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
62
|
+
attr_reader :created
|
63
|
+
# The currency the `transaction` was made in.
|
64
|
+
attr_reader :currency
|
65
|
+
# Attribute for field evidence
|
66
|
+
attr_reader :evidence
|
67
|
+
# Unique identifier for the object.
|
68
|
+
attr_reader :id
|
69
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
70
|
+
attr_reader :livemode
|
71
|
+
# The enum that describes the dispute loss outcome. If the dispute is not lost, this field will be absent. New enum values may be added in the future, so be sure to handle unknown values.
|
72
|
+
attr_reader :loss_reason
|
73
|
+
# 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.
|
74
|
+
attr_reader :metadata
|
75
|
+
# String representing the object's type. Objects of the same type share the same value.
|
76
|
+
attr_reader :object
|
77
|
+
# Current status of the dispute.
|
78
|
+
attr_reader :status
|
79
|
+
# The transaction being disputed.
|
80
|
+
attr_reader :transaction
|
81
|
+
# [Treasury](https://stripe.com/docs/api/treasury) details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
|
82
|
+
attr_reader :treasury
|
83
|
+
|
19
84
|
# Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to [Dispute reasons and evidence](https://stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence) for more details about evidence requirements.
|
20
85
|
def self.create(params = {}, opts = {})
|
21
86
|
request_stripe_object(
|
@@ -12,6 +12,29 @@ module Stripe
|
|
12
12
|
"issuing.dispute_settlement_detail"
|
13
13
|
end
|
14
14
|
|
15
|
+
# Disputed amount in the card’s currency and in the smallest currency unit. Usually the amount of the transaction, but can differ (usually because of currency fluctuation).
|
16
|
+
attr_reader :amount
|
17
|
+
# The card used to make the original transaction.
|
18
|
+
attr_reader :card
|
19
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
20
|
+
attr_reader :created
|
21
|
+
# The currency the original transaction was made in. 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).
|
22
|
+
attr_reader :currency
|
23
|
+
# The ID of the linked dispute.
|
24
|
+
attr_reader :dispute
|
25
|
+
# The type of event corresponding to this dispute settlement detail, representing the stage in the dispute network lifecycle.
|
26
|
+
attr_reader :event_type
|
27
|
+
# Unique identifier for the object.
|
28
|
+
attr_reader :id
|
29
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
30
|
+
attr_reader :livemode
|
31
|
+
# The card network for this dispute settlement detail. One of ["visa", "mastercard", "maestro"]
|
32
|
+
attr_reader :network
|
33
|
+
# String representing the object's type. Objects of the same type share the same value.
|
34
|
+
attr_reader :object
|
35
|
+
# The ID of the linked card network settlement.
|
36
|
+
attr_reader :settlement
|
37
|
+
|
15
38
|
# Returns a list of Issuing DisputeSettlementDetail objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
|
16
39
|
def self.list(filters = {}, opts = {})
|
17
40
|
request_stripe_object(
|
@@ -12,6 +12,23 @@ module Stripe
|
|
12
12
|
"issuing.fraud_liability_debit"
|
13
13
|
end
|
14
14
|
|
15
|
+
# Debited amount. This is equal to the disputed amount and is given in the card’s currency and in the smallest currency unit.
|
16
|
+
attr_reader :amount
|
17
|
+
# ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this debit.
|
18
|
+
attr_reader :balance_transaction
|
19
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
20
|
+
attr_reader :created
|
21
|
+
# The currency of the debit. 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).
|
22
|
+
attr_reader :currency
|
23
|
+
# The ID of the linked dispute.
|
24
|
+
attr_reader :dispute
|
25
|
+
# Unique identifier for the object.
|
26
|
+
attr_reader :id
|
27
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
28
|
+
attr_reader :livemode
|
29
|
+
# String representing the object's type. Objects of the same type share the same value.
|
30
|
+
attr_reader :object
|
31
|
+
|
15
32
|
# Returns a list of Issuing FraudLiabilityDebit objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
|
16
33
|
def self.list(filters = {}, opts = {})
|
17
34
|
request_stripe_object(
|
@@ -14,6 +14,44 @@ module Stripe
|
|
14
14
|
"issuing.personalization_design"
|
15
15
|
end
|
16
16
|
|
17
|
+
class CarrierText < Stripe::StripeObject
|
18
|
+
attr_reader :footer_body, :footer_title, :header_body, :header_title
|
19
|
+
end
|
20
|
+
|
21
|
+
class Preferences < Stripe::StripeObject
|
22
|
+
attr_reader :is_default, :is_platform_default
|
23
|
+
end
|
24
|
+
|
25
|
+
class RejectionReasons < Stripe::StripeObject
|
26
|
+
attr_reader :card_logo, :carrier_text
|
27
|
+
end
|
28
|
+
# The file for the card logo to use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`.
|
29
|
+
attr_reader :card_logo
|
30
|
+
# Hash containing carrier text, for use with physical bundles that support carrier text.
|
31
|
+
attr_reader :carrier_text
|
32
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
33
|
+
attr_reader :created
|
34
|
+
# Unique identifier for the object.
|
35
|
+
attr_reader :id
|
36
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
37
|
+
attr_reader :livemode
|
38
|
+
# A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.
|
39
|
+
attr_reader :lookup_key
|
40
|
+
# 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.
|
41
|
+
attr_reader :metadata
|
42
|
+
# Friendly display name.
|
43
|
+
attr_reader :name
|
44
|
+
# String representing the object's type. Objects of the same type share the same value.
|
45
|
+
attr_reader :object
|
46
|
+
# The physical bundle object belonging to this personalization design.
|
47
|
+
attr_reader :physical_bundle
|
48
|
+
# Attribute for field preferences
|
49
|
+
attr_reader :preferences
|
50
|
+
# Attribute for field rejection_reasons
|
51
|
+
attr_reader :rejection_reasons
|
52
|
+
# Whether this personalization design can be used to create cards.
|
53
|
+
attr_reader :status
|
54
|
+
|
17
55
|
# Creates a personalization design object.
|
18
56
|
def self.create(params = {}, opts = {})
|
19
57
|
request_stripe_object(
|
@@ -12,6 +12,24 @@ module Stripe
|
|
12
12
|
"issuing.physical_bundle"
|
13
13
|
end
|
14
14
|
|
15
|
+
class Features < Stripe::StripeObject
|
16
|
+
attr_reader :card_logo, :carrier_text, :second_line
|
17
|
+
end
|
18
|
+
# Attribute for field features
|
19
|
+
attr_reader :features
|
20
|
+
# Unique identifier for the object.
|
21
|
+
attr_reader :id
|
22
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
23
|
+
attr_reader :livemode
|
24
|
+
# Friendly display name.
|
25
|
+
attr_reader :name
|
26
|
+
# String representing the object's type. Objects of the same type share the same value.
|
27
|
+
attr_reader :object
|
28
|
+
# Whether this physical bundle can be used to create cards.
|
29
|
+
attr_reader :status
|
30
|
+
# Whether this physical bundle is a standard Stripe offering or custom-made for you.
|
31
|
+
attr_reader :type
|
32
|
+
|
15
33
|
# Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
|
16
34
|
def self.list(filters = {}, opts = {})
|
17
35
|
request_stripe_object(
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
module Issuing
|
6
|
+
# When a non-stripe BIN is used, any use of an [issued card](https://stripe.com/docs/issuing) must be settled directly with the card network. The net amount owed is represented by an Issuing `Settlement` object.
|
7
|
+
class Settlement < APIResource
|
8
|
+
OBJECT_NAME = "issuing.settlement"
|
9
|
+
def self.object_name
|
10
|
+
"issuing.settlement"
|
11
|
+
end
|
12
|
+
|
13
|
+
# The Bank Identification Number reflecting this settlement record.
|
14
|
+
attr_reader :bin
|
15
|
+
# The date that the transactions are cleared and posted to user's accounts.
|
16
|
+
attr_reader :clearing_date
|
17
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
18
|
+
attr_reader :created
|
19
|
+
# 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).
|
20
|
+
attr_reader :currency
|
21
|
+
# Unique identifier for the object.
|
22
|
+
attr_reader :id
|
23
|
+
# The total interchange received as reimbursement for the transactions.
|
24
|
+
attr_reader :interchange_fees
|
25
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
26
|
+
attr_reader :livemode
|
27
|
+
# 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.
|
28
|
+
attr_reader :metadata
|
29
|
+
# The total net amount required to settle with the network.
|
30
|
+
attr_reader :net_total
|
31
|
+
# The card network for this settlement report. One of ["visa", "maestro"]
|
32
|
+
attr_reader :network
|
33
|
+
# The total amount of fees owed to the network.
|
34
|
+
attr_reader :network_fees
|
35
|
+
# The Settlement Identification Number assigned by the network.
|
36
|
+
attr_reader :network_settlement_identifier
|
37
|
+
# String representing the object's type. Objects of the same type share the same value.
|
38
|
+
attr_reader :object
|
39
|
+
# One of `international` or `uk_national_net`.
|
40
|
+
attr_reader :settlement_service
|
41
|
+
# The current processing status of this settlement.
|
42
|
+
attr_reader :status
|
43
|
+
# The total number of transactions reflected in this settlement.
|
44
|
+
attr_reader :transaction_count
|
45
|
+
# The total transaction amount reflected in this settlement.
|
46
|
+
attr_reader :transaction_volume
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|