stripe 13.4.0.pre.beta.1 → 13.4.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 +12 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +23 -745
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +0 -125
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +4 -665
- data/lib/stripe/resources/checkout/session.rb +4 -512
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +2 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +2 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +2 -345
- data/lib/stripe/resources/payment_method_configuration.rb +0 -293
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +2 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +0 -164
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +4 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +8 -519
- data/lib/stripe/services/account_session_service.rb +0 -76
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +2 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +0 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +0 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +0 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +0 -108
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +4 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +29 -1001
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +0 -166
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +6 -738
- data/rbi/stripe/resources/checkout/session.rbi +4 -636
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +3 -364
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +3 -2224
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +3 -382
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +3 -688
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +5 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +10 -773
- data/rbi/stripe/services/account_session_service.rbi +0 -116
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +2 -395
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +0 -149
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +0 -595
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +5 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +2 -2
@@ -20,16 +20,13 @@ module Stripe
|
|
20
20
|
class Liability < Stripe::StripeObject
|
21
21
|
# The connected account being referenced when `type` is `account`.
|
22
22
|
attr_reader :account
|
23
|
-
|
24
23
|
# Type of the account referenced.
|
25
24
|
attr_reader :type
|
26
25
|
end
|
27
26
|
# If Stripe disabled automatic tax, this enum describes why.
|
28
27
|
attr_reader :disabled_reason
|
29
|
-
|
30
28
|
# Whether Stripe automatically computes tax on this subscription.
|
31
29
|
attr_reader :enabled
|
32
|
-
|
33
30
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
34
31
|
attr_reader :liability
|
35
32
|
end
|
@@ -37,16 +34,12 @@ module Stripe
|
|
37
34
|
class BillingCycleAnchorConfig < Stripe::StripeObject
|
38
35
|
# The day of the month of the billing_cycle_anchor.
|
39
36
|
attr_reader :day_of_month
|
40
|
-
|
41
37
|
# The hour of the day of the billing_cycle_anchor.
|
42
38
|
attr_reader :hour
|
43
|
-
|
44
39
|
# The minute of the hour of the billing_cycle_anchor.
|
45
40
|
attr_reader :minute
|
46
|
-
|
47
41
|
# The month to start full cycle billing periods.
|
48
42
|
attr_reader :month
|
49
|
-
|
50
43
|
# The second of the minute of the billing_cycle_anchor.
|
51
44
|
attr_reader :second
|
52
45
|
end
|
@@ -54,7 +47,6 @@ module Stripe
|
|
54
47
|
class BillingThresholds < Stripe::StripeObject
|
55
48
|
# Monetary threshold that triggers the subscription to create an invoice
|
56
49
|
attr_reader :amount_gte
|
57
|
-
|
58
50
|
# Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.
|
59
51
|
attr_reader :reset_billing_cycle_anchor
|
60
52
|
end
|
@@ -62,10 +54,8 @@ module Stripe
|
|
62
54
|
class CancellationDetails < Stripe::StripeObject
|
63
55
|
# Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
|
64
56
|
attr_reader :comment
|
65
|
-
|
66
57
|
# The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
67
58
|
attr_reader :feedback
|
68
|
-
|
69
59
|
# Why this subscription was canceled.
|
70
60
|
attr_reader :reason
|
71
61
|
end
|
@@ -74,13 +64,11 @@ module Stripe
|
|
74
64
|
class Issuer < Stripe::StripeObject
|
75
65
|
# The connected account being referenced when `type` is `account`.
|
76
66
|
attr_reader :account
|
77
|
-
|
78
67
|
# Type of the account referenced.
|
79
68
|
attr_reader :type
|
80
69
|
end
|
81
70
|
# The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
82
71
|
attr_reader :account_tax_ids
|
83
|
-
|
84
72
|
# Attribute for field issuer
|
85
73
|
attr_reader :issuer
|
86
74
|
end
|
@@ -89,16 +77,13 @@ module Stripe
|
|
89
77
|
class FailedTransition < Stripe::StripeObject
|
90
78
|
# The original price to be migrated.
|
91
79
|
attr_reader :source_price
|
92
|
-
|
93
80
|
# The intended resulting price of the migration.
|
94
81
|
attr_reader :target_price
|
95
82
|
end
|
96
83
|
# The time at which the price migration encountered an error.
|
97
84
|
attr_reader :errored_at
|
98
|
-
|
99
85
|
# The involved price pairs in each failed transition.
|
100
86
|
attr_reader :failed_transitions
|
101
|
-
|
102
87
|
# The type of error encountered by the price migration.
|
103
88
|
attr_reader :type
|
104
89
|
end
|
@@ -106,7 +91,6 @@ module Stripe
|
|
106
91
|
class PauseCollection < Stripe::StripeObject
|
107
92
|
# The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
108
93
|
attr_reader :behavior
|
109
|
-
|
110
94
|
# The time after which the subscription will resume collecting payments.
|
111
95
|
attr_reader :resumes_at
|
112
96
|
end
|
@@ -120,7 +104,6 @@ module Stripe
|
|
120
104
|
end
|
121
105
|
# Attribute for field mandate_options
|
122
106
|
attr_reader :mandate_options
|
123
|
-
|
124
107
|
# Bank account verification method.
|
125
108
|
attr_reader :verification_method
|
126
109
|
end
|
@@ -134,19 +117,15 @@ module Stripe
|
|
134
117
|
class MandateOptions < Stripe::StripeObject
|
135
118
|
# Amount to be charged for future payments.
|
136
119
|
attr_reader :amount
|
137
|
-
|
138
120
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
139
121
|
attr_reader :amount_type
|
140
|
-
|
141
122
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
142
123
|
attr_reader :description
|
143
124
|
end
|
144
125
|
# Attribute for field mandate_options
|
145
126
|
attr_reader :mandate_options
|
146
|
-
|
147
127
|
# Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.
|
148
128
|
attr_reader :network
|
149
|
-
|
150
129
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
151
130
|
attr_reader :request_three_d_secure
|
152
131
|
end
|
@@ -159,13 +138,11 @@ module Stripe
|
|
159
138
|
end
|
160
139
|
# Attribute for field eu_bank_transfer
|
161
140
|
attr_reader :eu_bank_transfer
|
162
|
-
|
163
141
|
# The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
164
142
|
attr_reader :type
|
165
143
|
end
|
166
144
|
# Attribute for field bank_transfer
|
167
145
|
attr_reader :bank_transfer
|
168
|
-
|
169
146
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
170
147
|
attr_reader :funding_type
|
171
148
|
end
|
@@ -179,55 +156,42 @@ module Stripe
|
|
179
156
|
class Filters < Stripe::StripeObject
|
180
157
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
181
158
|
attr_reader :account_subcategories
|
182
|
-
|
183
159
|
# The institution to use to filter for possible accounts to link.
|
184
160
|
attr_reader :institution
|
185
161
|
end
|
186
162
|
# Attribute for field filters
|
187
163
|
attr_reader :filters
|
188
|
-
|
189
164
|
# The list of permissions to request. The `payment_method` permission must be included.
|
190
165
|
attr_reader :permissions
|
191
|
-
|
192
166
|
# Data features requested to be retrieved upon account creation.
|
193
167
|
attr_reader :prefetch
|
194
168
|
end
|
195
169
|
# Attribute for field financial_connections
|
196
170
|
attr_reader :financial_connections
|
197
|
-
|
198
171
|
# Bank account verification method.
|
199
172
|
attr_reader :verification_method
|
200
173
|
end
|
201
174
|
# This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to invoices created by the subscription.
|
202
175
|
attr_reader :acss_debit
|
203
|
-
|
204
176
|
# This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.
|
205
177
|
attr_reader :bancontact
|
206
|
-
|
207
178
|
# This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.
|
208
179
|
attr_reader :card
|
209
|
-
|
210
180
|
# This sub-hash contains details about the Bank transfer payment method options to pass to invoices created by the subscription.
|
211
181
|
attr_reader :customer_balance
|
212
|
-
|
213
182
|
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to invoices created by the subscription.
|
214
183
|
attr_reader :id_bank_transfer
|
215
|
-
|
216
184
|
# This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.
|
217
185
|
attr_reader :konbini
|
218
|
-
|
219
186
|
# This sub-hash contains details about the SEPA Direct Debit payment method options to pass to invoices created by the subscription.
|
220
187
|
attr_reader :sepa_debit
|
221
|
-
|
222
188
|
# This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
|
223
189
|
attr_reader :us_bank_account
|
224
190
|
end
|
225
191
|
# Payment-method-specific configuration to provide to invoices created by the subscription.
|
226
192
|
attr_reader :payment_method_options
|
227
|
-
|
228
193
|
# The list of payment method types to provide to every invoice created by the subscription. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice).
|
229
194
|
attr_reader :payment_method_types
|
230
|
-
|
231
195
|
# Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off`.
|
232
196
|
attr_reader :save_default_payment_method
|
233
197
|
end
|
@@ -235,7 +199,6 @@ module Stripe
|
|
235
199
|
class PendingInvoiceItemInterval < Stripe::StripeObject
|
236
200
|
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
237
201
|
attr_reader :interval
|
238
|
-
|
239
202
|
# The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
240
203
|
attr_reader :interval_count
|
241
204
|
end
|
@@ -243,19 +206,14 @@ module Stripe
|
|
243
206
|
class PendingUpdate < Stripe::StripeObject
|
244
207
|
# If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. The timestamp is in UTC format.
|
245
208
|
attr_reader :billing_cycle_anchor
|
246
|
-
|
247
209
|
# The point after which the changes reflected by this update will be discarded and no longer applied.
|
248
210
|
attr_reader :expires_at
|
249
|
-
|
250
211
|
# The number of iterations of prebilling to apply.
|
251
212
|
attr_reader :prebilling_iterations
|
252
|
-
|
253
213
|
# List of subscription items, each with an attached plan, that will be set if the update is applied.
|
254
214
|
attr_reader :subscription_items
|
255
|
-
|
256
215
|
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied.
|
257
216
|
attr_reader :trial_end
|
258
|
-
|
259
217
|
# Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
260
218
|
attr_reader :trial_from_plan
|
261
219
|
end
|
@@ -263,13 +221,10 @@ module Stripe
|
|
263
221
|
class Prebilling < Stripe::StripeObject
|
264
222
|
# ID of the prebilling invoice.
|
265
223
|
attr_reader :invoice
|
266
|
-
|
267
224
|
# The end of the last period for which the invoice pre-bills.
|
268
225
|
attr_reader :period_end
|
269
|
-
|
270
226
|
# The start of the first period for which the invoice pre-bills.
|
271
227
|
attr_reader :period_start
|
272
|
-
|
273
228
|
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
274
229
|
attr_reader :update_behavior
|
275
230
|
end
|
@@ -277,7 +232,6 @@ module Stripe
|
|
277
232
|
class TransferData < Stripe::StripeObject
|
278
233
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
279
234
|
attr_reader :amount_percent
|
280
|
-
|
281
235
|
# The account where funds from the payment will be transferred to upon payment success.
|
282
236
|
attr_reader :destination
|
283
237
|
end
|
@@ -295,7 +249,6 @@ module Stripe
|
|
295
249
|
class CancellationDetails < Stripe::RequestParams
|
296
250
|
# Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
|
297
251
|
attr_accessor :comment
|
298
|
-
|
299
252
|
# The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
300
253
|
attr_accessor :feedback
|
301
254
|
|
@@ -306,13 +259,10 @@ module Stripe
|
|
306
259
|
end
|
307
260
|
# Details about why this subscription was cancelled
|
308
261
|
attr_accessor :cancellation_details
|
309
|
-
|
310
262
|
# Specifies which fields in the response should be expanded.
|
311
263
|
attr_accessor :expand
|
312
|
-
|
313
264
|
# Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `false`.
|
314
265
|
attr_accessor :invoice_now
|
315
|
-
|
316
266
|
# Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`.
|
317
267
|
attr_accessor :prorate
|
318
268
|
|
@@ -340,7 +290,6 @@ module Stripe
|
|
340
290
|
class Duration < Stripe::RequestParams
|
341
291
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
342
292
|
attr_accessor :interval
|
343
|
-
|
344
293
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
345
294
|
attr_accessor :interval_count
|
346
295
|
|
@@ -351,10 +300,8 @@ module Stripe
|
|
351
300
|
end
|
352
301
|
# Time span for the redeemed discount.
|
353
302
|
attr_accessor :duration
|
354
|
-
|
355
303
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
356
304
|
attr_accessor :timestamp
|
357
|
-
|
358
305
|
# The type of calculation made to determine when the discount ends.
|
359
306
|
attr_accessor :type
|
360
307
|
|
@@ -366,13 +313,10 @@ module Stripe
|
|
366
313
|
end
|
367
314
|
# ID of the coupon to create a new discount for.
|
368
315
|
attr_accessor :coupon
|
369
|
-
|
370
316
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
371
317
|
attr_accessor :discount
|
372
|
-
|
373
318
|
# Details to determine how long the discount should be applied for.
|
374
319
|
attr_accessor :discount_end
|
375
|
-
|
376
320
|
# ID of the promotion code to create a new discount for.
|
377
321
|
attr_accessor :promotion_code
|
378
322
|
|
@@ -387,16 +331,12 @@ module Stripe
|
|
387
331
|
class PriceData < Stripe::RequestParams
|
388
332
|
# 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).
|
389
333
|
attr_accessor :currency
|
390
|
-
|
391
334
|
# The ID of the product that this price will belong to.
|
392
335
|
attr_accessor :product
|
393
|
-
|
394
336
|
# Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
395
337
|
attr_accessor :tax_behavior
|
396
|
-
|
397
338
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
|
398
339
|
attr_accessor :unit_amount
|
399
|
-
|
400
340
|
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
401
341
|
attr_accessor :unit_amount_decimal
|
402
342
|
|
@@ -416,16 +356,12 @@ module Stripe
|
|
416
356
|
end
|
417
357
|
# The coupons to redeem into discounts for the item.
|
418
358
|
attr_accessor :discounts
|
419
|
-
|
420
359
|
# The ID of the price object. One of `price` or `price_data` is required.
|
421
360
|
attr_accessor :price
|
422
|
-
|
423
361
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
424
362
|
attr_accessor :price_data
|
425
|
-
|
426
363
|
# Quantity for this item. Defaults to 1.
|
427
364
|
attr_accessor :quantity
|
428
|
-
|
429
365
|
# The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
430
366
|
attr_accessor :tax_rates
|
431
367
|
|
@@ -442,7 +378,6 @@ module Stripe
|
|
442
378
|
class Liability < Stripe::RequestParams
|
443
379
|
# The connected account being referenced when `type` is `account`.
|
444
380
|
attr_accessor :account
|
445
|
-
|
446
381
|
# Type of the account referenced in the request.
|
447
382
|
attr_accessor :type
|
448
383
|
|
@@ -453,7 +388,6 @@ module Stripe
|
|
453
388
|
end
|
454
389
|
# Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
|
455
390
|
attr_accessor :enabled
|
456
|
-
|
457
391
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
458
392
|
attr_accessor :liability
|
459
393
|
|
@@ -466,7 +400,6 @@ module Stripe
|
|
466
400
|
class BillingThresholds < Stripe::RequestParams
|
467
401
|
# Monetary threshold that triggers the subscription to advance to a new billing period
|
468
402
|
attr_accessor :amount_gte
|
469
|
-
|
470
403
|
# Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.
|
471
404
|
attr_accessor :reset_billing_cycle_anchor
|
472
405
|
|
@@ -479,7 +412,6 @@ module Stripe
|
|
479
412
|
class CancellationDetails < Stripe::RequestParams
|
480
413
|
# Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
|
481
414
|
attr_accessor :comment
|
482
|
-
|
483
415
|
# The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
|
484
416
|
attr_accessor :feedback
|
485
417
|
|
@@ -494,7 +426,6 @@ module Stripe
|
|
494
426
|
class Duration < Stripe::RequestParams
|
495
427
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
496
428
|
attr_accessor :interval
|
497
|
-
|
498
429
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
499
430
|
attr_accessor :interval_count
|
500
431
|
|
@@ -505,10 +436,8 @@ module Stripe
|
|
505
436
|
end
|
506
437
|
# Time span for the redeemed discount.
|
507
438
|
attr_accessor :duration
|
508
|
-
|
509
439
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
510
440
|
attr_accessor :timestamp
|
511
|
-
|
512
441
|
# The type of calculation made to determine when the discount ends.
|
513
442
|
attr_accessor :type
|
514
443
|
|
@@ -520,13 +449,10 @@ module Stripe
|
|
520
449
|
end
|
521
450
|
# ID of the coupon to create a new discount for.
|
522
451
|
attr_accessor :coupon
|
523
|
-
|
524
452
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
525
453
|
attr_accessor :discount
|
526
|
-
|
527
454
|
# Details to determine how long the discount should be applied for.
|
528
455
|
attr_accessor :discount_end
|
529
|
-
|
530
456
|
# ID of the promotion code to create a new discount for.
|
531
457
|
attr_accessor :promotion_code
|
532
458
|
|
@@ -542,7 +468,6 @@ module Stripe
|
|
542
468
|
class Issuer < Stripe::RequestParams
|
543
469
|
# The connected account being referenced when `type` is `account`.
|
544
470
|
attr_accessor :account
|
545
|
-
|
546
471
|
# Type of the account referenced in the request.
|
547
472
|
attr_accessor :type
|
548
473
|
|
@@ -553,7 +478,6 @@ module Stripe
|
|
553
478
|
end
|
554
479
|
# The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
555
480
|
attr_accessor :account_tax_ids
|
556
|
-
|
557
481
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
558
482
|
attr_accessor :issuer
|
559
483
|
|
@@ -578,7 +502,6 @@ module Stripe
|
|
578
502
|
class Duration < Stripe::RequestParams
|
579
503
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
580
504
|
attr_accessor :interval
|
581
|
-
|
582
505
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
583
506
|
attr_accessor :interval_count
|
584
507
|
|
@@ -589,10 +512,8 @@ module Stripe
|
|
589
512
|
end
|
590
513
|
# Time span for the redeemed discount.
|
591
514
|
attr_accessor :duration
|
592
|
-
|
593
515
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
594
516
|
attr_accessor :timestamp
|
595
|
-
|
596
517
|
# The type of calculation made to determine when the discount ends.
|
597
518
|
attr_accessor :type
|
598
519
|
|
@@ -604,13 +525,10 @@ module Stripe
|
|
604
525
|
end
|
605
526
|
# ID of the coupon to create a new discount for.
|
606
527
|
attr_accessor :coupon
|
607
|
-
|
608
528
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
609
529
|
attr_accessor :discount
|
610
|
-
|
611
530
|
# Details to determine how long the discount should be applied for.
|
612
531
|
attr_accessor :discount_end
|
613
|
-
|
614
532
|
# ID of the promotion code to create a new discount for.
|
615
533
|
attr_accessor :promotion_code
|
616
534
|
|
@@ -626,7 +544,6 @@ module Stripe
|
|
626
544
|
class Recurring < Stripe::RequestParams
|
627
545
|
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
628
546
|
attr_accessor :interval
|
629
|
-
|
630
547
|
# The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
631
548
|
attr_accessor :interval_count
|
632
549
|
|
@@ -637,19 +554,14 @@ module Stripe
|
|
637
554
|
end
|
638
555
|
# 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).
|
639
556
|
attr_accessor :currency
|
640
|
-
|
641
557
|
# The ID of the product that this price will belong to.
|
642
558
|
attr_accessor :product
|
643
|
-
|
644
559
|
# The recurring components of a price such as `interval` and `interval_count`.
|
645
560
|
attr_accessor :recurring
|
646
|
-
|
647
561
|
# Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
648
562
|
attr_accessor :tax_behavior
|
649
|
-
|
650
563
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
651
564
|
attr_accessor :unit_amount
|
652
|
-
|
653
565
|
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
654
566
|
attr_accessor :unit_amount_decimal
|
655
567
|
|
@@ -671,34 +583,24 @@ module Stripe
|
|
671
583
|
end
|
672
584
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
|
673
585
|
attr_accessor :billing_thresholds
|
674
|
-
|
675
586
|
# Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached.
|
676
587
|
attr_accessor :clear_usage
|
677
|
-
|
678
588
|
# A flag that, if set to `true`, will delete the specified item.
|
679
589
|
attr_accessor :deleted
|
680
|
-
|
681
590
|
# The coupons to redeem into discounts for the subscription item.
|
682
591
|
attr_accessor :discounts
|
683
|
-
|
684
592
|
# Subscription item to update.
|
685
593
|
attr_accessor :id
|
686
|
-
|
687
594
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
688
595
|
attr_accessor :metadata
|
689
|
-
|
690
596
|
# Plan ID for this item, as a string.
|
691
597
|
attr_accessor :plan
|
692
|
-
|
693
598
|
# The ID of the price object. One of `price` or `price_data` is required. When changing a subscription item's price, `quantity` is set to 1 unless a `quantity` parameter is provided.
|
694
599
|
attr_accessor :price
|
695
|
-
|
696
600
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
697
601
|
attr_accessor :price_data
|
698
|
-
|
699
602
|
# Quantity for this item.
|
700
603
|
attr_accessor :quantity
|
701
|
-
|
702
604
|
# A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
703
605
|
attr_accessor :tax_rates
|
704
606
|
|
@@ -732,7 +634,6 @@ module Stripe
|
|
732
634
|
class PauseCollection < Stripe::RequestParams
|
733
635
|
# The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
734
636
|
attr_accessor :behavior
|
735
|
-
|
736
637
|
# The time after which the subscription will resume collecting payments.
|
737
638
|
attr_accessor :resumes_at
|
738
639
|
|
@@ -755,7 +656,6 @@ module Stripe
|
|
755
656
|
end
|
756
657
|
# Additional fields for Mandate creation
|
757
658
|
attr_accessor :mandate_options
|
758
|
-
|
759
659
|
# Verification method for the intent
|
760
660
|
attr_accessor :verification_method
|
761
661
|
|
@@ -778,10 +678,8 @@ module Stripe
|
|
778
678
|
class MandateOptions < Stripe::RequestParams
|
779
679
|
# Amount to be charged for future payments.
|
780
680
|
attr_accessor :amount
|
781
|
-
|
782
681
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
783
682
|
attr_accessor :amount_type
|
784
|
-
|
785
683
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
786
684
|
attr_accessor :description
|
787
685
|
|
@@ -793,10 +691,8 @@ module Stripe
|
|
793
691
|
end
|
794
692
|
# Configuration options for setting up an eMandate for cards issued in India.
|
795
693
|
attr_accessor :mandate_options
|
796
|
-
|
797
694
|
# Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.
|
798
695
|
attr_accessor :network
|
799
|
-
|
800
696
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
801
697
|
attr_accessor :request_three_d_secure
|
802
698
|
|
@@ -819,7 +715,6 @@ module Stripe
|
|
819
715
|
end
|
820
716
|
# Configuration for eu_bank_transfer funding type.
|
821
717
|
attr_accessor :eu_bank_transfer
|
822
|
-
|
823
718
|
# The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
824
719
|
attr_accessor :type
|
825
720
|
|
@@ -830,7 +725,6 @@ module Stripe
|
|
830
725
|
end
|
831
726
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
832
727
|
attr_accessor :bank_transfer
|
833
|
-
|
834
728
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
835
729
|
attr_accessor :funding_type
|
836
730
|
|
@@ -854,7 +748,6 @@ module Stripe
|
|
854
748
|
class Filters < Stripe::RequestParams
|
855
749
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
856
750
|
attr_accessor :account_subcategories
|
857
|
-
|
858
751
|
# ID of the institution to use to filter for selectable accounts.
|
859
752
|
attr_accessor :institution
|
860
753
|
|
@@ -865,10 +758,8 @@ module Stripe
|
|
865
758
|
end
|
866
759
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
867
760
|
attr_accessor :filters
|
868
|
-
|
869
761
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
870
762
|
attr_accessor :permissions
|
871
|
-
|
872
763
|
# List of data features that you would like to retrieve upon account creation.
|
873
764
|
attr_accessor :prefetch
|
874
765
|
|
@@ -880,7 +771,6 @@ module Stripe
|
|
880
771
|
end
|
881
772
|
# Additional fields for Financial Connections Session creation
|
882
773
|
attr_accessor :financial_connections
|
883
|
-
|
884
774
|
# Verification method for the intent
|
885
775
|
attr_accessor :verification_method
|
886
776
|
|
@@ -891,25 +781,18 @@ module Stripe
|
|
891
781
|
end
|
892
782
|
# This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
|
893
783
|
attr_accessor :acss_debit
|
894
|
-
|
895
784
|
# This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
|
896
785
|
attr_accessor :bancontact
|
897
|
-
|
898
786
|
# This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
|
899
787
|
attr_accessor :card
|
900
|
-
|
901
788
|
# This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
902
789
|
attr_accessor :customer_balance
|
903
|
-
|
904
790
|
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
905
791
|
attr_accessor :id_bank_transfer
|
906
|
-
|
907
792
|
# This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.
|
908
793
|
attr_accessor :konbini
|
909
|
-
|
910
794
|
# This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
|
911
795
|
attr_accessor :sepa_debit
|
912
|
-
|
913
796
|
# This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
|
914
797
|
attr_accessor :us_bank_account
|
915
798
|
|
@@ -935,10 +818,8 @@ module Stripe
|
|
935
818
|
end
|
936
819
|
# Payment-method-specific configuration to provide to invoices created by the subscription.
|
937
820
|
attr_accessor :payment_method_options
|
938
|
-
|
939
821
|
# The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice). Should not be specified with payment_method_configuration
|
940
822
|
attr_accessor :payment_method_types
|
941
|
-
|
942
823
|
# Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.
|
943
824
|
attr_accessor :save_default_payment_method
|
944
825
|
|
@@ -956,7 +837,6 @@ module Stripe
|
|
956
837
|
class PendingInvoiceItemInterval < Stripe::RequestParams
|
957
838
|
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
958
839
|
attr_accessor :interval
|
959
|
-
|
960
840
|
# The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
961
841
|
attr_accessor :interval_count
|
962
842
|
|
@@ -969,7 +849,6 @@ module Stripe
|
|
969
849
|
class Prebilling < Stripe::RequestParams
|
970
850
|
# This is used to determine the number of billing cycles to prebill.
|
971
851
|
attr_accessor :iterations
|
972
|
-
|
973
852
|
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
974
853
|
attr_accessor :update_behavior
|
975
854
|
|
@@ -982,7 +861,6 @@ module Stripe
|
|
982
861
|
class TransferData < Stripe::RequestParams
|
983
862
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
984
863
|
attr_accessor :amount_percent
|
985
|
-
|
986
864
|
# ID of an existing, connected Stripe account.
|
987
865
|
attr_accessor :destination
|
988
866
|
|
@@ -1010,73 +888,50 @@ module Stripe
|
|
1010
888
|
end
|
1011
889
|
# A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.
|
1012
890
|
attr_accessor :add_invoice_items
|
1013
|
-
|
1014
891
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
1015
892
|
attr_accessor :application_fee_percent
|
1016
|
-
|
1017
893
|
# Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
1018
894
|
attr_accessor :automatic_tax
|
1019
|
-
|
1020
895
|
# Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time (in UTC). For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).
|
1021
896
|
attr_accessor :billing_cycle_anchor
|
1022
|
-
|
1023
897
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
|
1024
898
|
attr_accessor :billing_thresholds
|
1025
|
-
|
1026
899
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
1027
900
|
attr_accessor :cancel_at
|
1028
|
-
|
1029
901
|
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
1030
902
|
attr_accessor :cancel_at_period_end
|
1031
|
-
|
1032
903
|
# Details about why this subscription was cancelled
|
1033
904
|
attr_accessor :cancellation_details
|
1034
|
-
|
1035
905
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.
|
1036
906
|
attr_accessor :collection_method
|
1037
|
-
|
1038
907
|
# The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
1039
908
|
attr_accessor :coupon
|
1040
|
-
|
1041
909
|
# Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.
|
1042
910
|
attr_accessor :days_until_due
|
1043
|
-
|
1044
911
|
# ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
1045
912
|
attr_accessor :default_payment_method
|
1046
|
-
|
1047
913
|
# ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
1048
914
|
attr_accessor :default_source
|
1049
|
-
|
1050
915
|
# The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. Pass an empty string to remove previously-defined tax rates.
|
1051
916
|
attr_accessor :default_tax_rates
|
1052
|
-
|
1053
917
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
1054
918
|
attr_accessor :description
|
1055
|
-
|
1056
919
|
# The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer.
|
1057
920
|
attr_accessor :discounts
|
1058
|
-
|
1059
921
|
# Specifies which fields in the response should be expanded.
|
1060
922
|
attr_accessor :expand
|
1061
|
-
|
1062
923
|
# All invoices will be billed using the specified settings.
|
1063
924
|
attr_accessor :invoice_settings
|
1064
|
-
|
1065
925
|
# A list of up to 20 subscription items, each with an attached price.
|
1066
926
|
attr_accessor :items
|
1067
|
-
|
1068
927
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1069
928
|
attr_accessor :metadata
|
1070
|
-
|
1071
929
|
# Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session).
|
1072
930
|
attr_accessor :off_session
|
1073
|
-
|
1074
931
|
# The account on behalf of which to charge, for each of the subscription's invoices.
|
1075
932
|
attr_accessor :on_behalf_of
|
1076
|
-
|
1077
933
|
# If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment).
|
1078
934
|
attr_accessor :pause_collection
|
1079
|
-
|
1080
935
|
# Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.
|
1081
936
|
#
|
1082
937
|
# Use `default_incomplete` to transition the subscription to `status=past_due` when payment is required and await explicit confirmation of the invoice's payment intent. This allows simpler management of scenarios where additional user actions are needed to pay a subscription’s invoice. Such as failed payments, [SCA regulation](https://stripe.com/docs/billing/migration/strong-customer-authentication), or collecting a mandate for a bank debit payment method.
|
@@ -1085,34 +940,24 @@ module Stripe
|
|
1085
940
|
#
|
1086
941
|
# Use `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more.
|
1087
942
|
attr_accessor :payment_behavior
|
1088
|
-
|
1089
943
|
# Payment settings to pass to invoices created by the subscription.
|
1090
944
|
attr_accessor :payment_settings
|
1091
|
-
|
1092
945
|
# Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.
|
1093
946
|
attr_accessor :pending_invoice_item_interval
|
1094
|
-
|
1095
947
|
# If specified, the invoicing for the given billing cycle iterations will be processed now.
|
1096
948
|
attr_accessor :prebilling
|
1097
|
-
|
1098
949
|
# The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
1099
950
|
attr_accessor :promotion_code
|
1100
|
-
|
1101
951
|
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
|
1102
952
|
attr_accessor :proration_behavior
|
1103
|
-
|
1104
953
|
# If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#upcoming_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations.
|
1105
954
|
attr_accessor :proration_date
|
1106
|
-
|
1107
955
|
# If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges. This will be unset if you POST an empty value.
|
1108
956
|
attr_accessor :transfer_data
|
1109
|
-
|
1110
957
|
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`.
|
1111
958
|
attr_accessor :trial_end
|
1112
|
-
|
1113
959
|
# Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
1114
960
|
attr_accessor :trial_from_plan
|
1115
|
-
|
1116
961
|
# Settings related to subscription trials.
|
1117
962
|
attr_accessor :trial_settings
|
1118
963
|
|
@@ -1205,13 +1050,10 @@ module Stripe
|
|
1205
1050
|
class Created < Stripe::RequestParams
|
1206
1051
|
# Minimum value to filter by (exclusive)
|
1207
1052
|
attr_accessor :gt
|
1208
|
-
|
1209
1053
|
# Minimum value to filter by (inclusive)
|
1210
1054
|
attr_accessor :gte
|
1211
|
-
|
1212
1055
|
# Maximum value to filter by (exclusive)
|
1213
1056
|
attr_accessor :lt
|
1214
|
-
|
1215
1057
|
# Maximum value to filter by (inclusive)
|
1216
1058
|
attr_accessor :lte
|
1217
1059
|
|
@@ -1226,13 +1068,10 @@ module Stripe
|
|
1226
1068
|
class CurrentPeriodEnd < Stripe::RequestParams
|
1227
1069
|
# Minimum value to filter by (exclusive)
|
1228
1070
|
attr_accessor :gt
|
1229
|
-
|
1230
1071
|
# Minimum value to filter by (inclusive)
|
1231
1072
|
attr_accessor :gte
|
1232
|
-
|
1233
1073
|
# Maximum value to filter by (exclusive)
|
1234
1074
|
attr_accessor :lt
|
1235
|
-
|
1236
1075
|
# Maximum value to filter by (inclusive)
|
1237
1076
|
attr_accessor :lte
|
1238
1077
|
|
@@ -1247,13 +1086,10 @@ module Stripe
|
|
1247
1086
|
class CurrentPeriodStart < Stripe::RequestParams
|
1248
1087
|
# Minimum value to filter by (exclusive)
|
1249
1088
|
attr_accessor :gt
|
1250
|
-
|
1251
1089
|
# Minimum value to filter by (inclusive)
|
1252
1090
|
attr_accessor :gte
|
1253
|
-
|
1254
1091
|
# Maximum value to filter by (exclusive)
|
1255
1092
|
attr_accessor :lt
|
1256
|
-
|
1257
1093
|
# Maximum value to filter by (inclusive)
|
1258
1094
|
attr_accessor :lte
|
1259
1095
|
|
@@ -1266,43 +1102,30 @@ module Stripe
|
|
1266
1102
|
end
|
1267
1103
|
# Filter subscriptions by their automatic tax settings.
|
1268
1104
|
attr_accessor :automatic_tax
|
1269
|
-
|
1270
1105
|
# The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
|
1271
1106
|
attr_accessor :collection_method
|
1272
|
-
|
1273
1107
|
# Only return subscriptions that were created during the given date interval.
|
1274
1108
|
attr_accessor :created
|
1275
|
-
|
1276
1109
|
# Only return subscriptions whose current_period_end falls within the given date interval.
|
1277
1110
|
attr_accessor :current_period_end
|
1278
|
-
|
1279
1111
|
# Only return subscriptions whose current_period_start falls within the given date interval.
|
1280
1112
|
attr_accessor :current_period_start
|
1281
|
-
|
1282
1113
|
# The ID of the customer whose subscriptions will be retrieved.
|
1283
1114
|
attr_accessor :customer
|
1284
|
-
|
1285
1115
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
1286
1116
|
attr_accessor :ending_before
|
1287
|
-
|
1288
1117
|
# Specifies which fields in the response should be expanded.
|
1289
1118
|
attr_accessor :expand
|
1290
|
-
|
1291
1119
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
1292
1120
|
attr_accessor :limit
|
1293
|
-
|
1294
1121
|
# The ID of the plan whose subscriptions will be retrieved.
|
1295
1122
|
attr_accessor :plan
|
1296
|
-
|
1297
1123
|
# Filter for subscriptions that contain this recurring price ID.
|
1298
1124
|
attr_accessor :price
|
1299
|
-
|
1300
1125
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
1301
1126
|
attr_accessor :starting_after
|
1302
|
-
|
1303
1127
|
# The status of the subscriptions to retrieve. Passing in a value of `canceled` will return all canceled subscriptions, including those belonging to deleted customers. Pass `ended` to find subscriptions that are canceled and subscriptions that are expired due to [incomplete payment](https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses). Passing in a value of `all` will return subscriptions of all statuses. If no value is supplied, all subscriptions that have not been canceled are returned.
|
1304
1128
|
attr_accessor :status
|
1305
|
-
|
1306
1129
|
# Filter for subscriptions that are associated with the specified test clock. The response will not include subscriptions with test clocks if this and the customer parameter is not set.
|
1307
1130
|
attr_accessor :test_clock
|
1308
1131
|
|
@@ -1346,7 +1169,6 @@ module Stripe
|
|
1346
1169
|
class Duration < Stripe::RequestParams
|
1347
1170
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
1348
1171
|
attr_accessor :interval
|
1349
|
-
|
1350
1172
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
1351
1173
|
attr_accessor :interval_count
|
1352
1174
|
|
@@ -1357,10 +1179,8 @@ module Stripe
|
|
1357
1179
|
end
|
1358
1180
|
# Time span for the redeemed discount.
|
1359
1181
|
attr_accessor :duration
|
1360
|
-
|
1361
1182
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
1362
1183
|
attr_accessor :timestamp
|
1363
|
-
|
1364
1184
|
# The type of calculation made to determine when the discount ends.
|
1365
1185
|
attr_accessor :type
|
1366
1186
|
|
@@ -1372,13 +1192,10 @@ module Stripe
|
|
1372
1192
|
end
|
1373
1193
|
# ID of the coupon to create a new discount for.
|
1374
1194
|
attr_accessor :coupon
|
1375
|
-
|
1376
1195
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1377
1196
|
attr_accessor :discount
|
1378
|
-
|
1379
1197
|
# Details to determine how long the discount should be applied for.
|
1380
1198
|
attr_accessor :discount_end
|
1381
|
-
|
1382
1199
|
# ID of the promotion code to create a new discount for.
|
1383
1200
|
attr_accessor :promotion_code
|
1384
1201
|
|
@@ -1393,16 +1210,12 @@ module Stripe
|
|
1393
1210
|
class PriceData < Stripe::RequestParams
|
1394
1211
|
# 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).
|
1395
1212
|
attr_accessor :currency
|
1396
|
-
|
1397
1213
|
# The ID of the product that this price will belong to.
|
1398
1214
|
attr_accessor :product
|
1399
|
-
|
1400
1215
|
# Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
1401
1216
|
attr_accessor :tax_behavior
|
1402
|
-
|
1403
1217
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
|
1404
1218
|
attr_accessor :unit_amount
|
1405
|
-
|
1406
1219
|
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
1407
1220
|
attr_accessor :unit_amount_decimal
|
1408
1221
|
|
@@ -1422,16 +1235,12 @@ module Stripe
|
|
1422
1235
|
end
|
1423
1236
|
# The coupons to redeem into discounts for the item.
|
1424
1237
|
attr_accessor :discounts
|
1425
|
-
|
1426
1238
|
# The ID of the price object. One of `price` or `price_data` is required.
|
1427
1239
|
attr_accessor :price
|
1428
|
-
|
1429
1240
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
|
1430
1241
|
attr_accessor :price_data
|
1431
|
-
|
1432
1242
|
# Quantity for this item. Defaults to 1.
|
1433
1243
|
attr_accessor :quantity
|
1434
|
-
|
1435
1244
|
# The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
1436
1245
|
attr_accessor :tax_rates
|
1437
1246
|
|
@@ -1448,7 +1257,6 @@ module Stripe
|
|
1448
1257
|
class Liability < Stripe::RequestParams
|
1449
1258
|
# The connected account being referenced when `type` is `account`.
|
1450
1259
|
attr_accessor :account
|
1451
|
-
|
1452
1260
|
# Type of the account referenced in the request.
|
1453
1261
|
attr_accessor :type
|
1454
1262
|
|
@@ -1459,7 +1267,6 @@ module Stripe
|
|
1459
1267
|
end
|
1460
1268
|
# Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
|
1461
1269
|
attr_accessor :enabled
|
1462
|
-
|
1463
1270
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
1464
1271
|
attr_accessor :liability
|
1465
1272
|
|
@@ -1472,16 +1279,12 @@ module Stripe
|
|
1472
1279
|
class BillingCycleAnchorConfig < Stripe::RequestParams
|
1473
1280
|
# The day of the month the billing_cycle_anchor should be. Ranges from 1 to 31.
|
1474
1281
|
attr_accessor :day_of_month
|
1475
|
-
|
1476
1282
|
# The hour of the day the billing_cycle_anchor should be. Ranges from 0 to 23.
|
1477
1283
|
attr_accessor :hour
|
1478
|
-
|
1479
1284
|
# The minute of the hour the billing_cycle_anchor should be. Ranges from 0 to 59.
|
1480
1285
|
attr_accessor :minute
|
1481
|
-
|
1482
1286
|
# The month to start full cycle billing periods. Ranges from 1 to 12.
|
1483
1287
|
attr_accessor :month
|
1484
|
-
|
1485
1288
|
# The second of the minute the billing_cycle_anchor should be. Ranges from 0 to 59.
|
1486
1289
|
attr_accessor :second
|
1487
1290
|
|
@@ -1497,7 +1300,6 @@ module Stripe
|
|
1497
1300
|
class BillingThresholds < Stripe::RequestParams
|
1498
1301
|
# Monetary threshold that triggers the subscription to advance to a new billing period
|
1499
1302
|
attr_accessor :amount_gte
|
1500
|
-
|
1501
1303
|
# Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.
|
1502
1304
|
attr_accessor :reset_billing_cycle_anchor
|
1503
1305
|
|
@@ -1512,7 +1314,6 @@ module Stripe
|
|
1512
1314
|
class Duration < Stripe::RequestParams
|
1513
1315
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
1514
1316
|
attr_accessor :interval
|
1515
|
-
|
1516
1317
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
1517
1318
|
attr_accessor :interval_count
|
1518
1319
|
|
@@ -1523,10 +1324,8 @@ module Stripe
|
|
1523
1324
|
end
|
1524
1325
|
# Time span for the redeemed discount.
|
1525
1326
|
attr_accessor :duration
|
1526
|
-
|
1527
1327
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
1528
1328
|
attr_accessor :timestamp
|
1529
|
-
|
1530
1329
|
# The type of calculation made to determine when the discount ends.
|
1531
1330
|
attr_accessor :type
|
1532
1331
|
|
@@ -1538,13 +1337,10 @@ module Stripe
|
|
1538
1337
|
end
|
1539
1338
|
# ID of the coupon to create a new discount for.
|
1540
1339
|
attr_accessor :coupon
|
1541
|
-
|
1542
1340
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1543
1341
|
attr_accessor :discount
|
1544
|
-
|
1545
1342
|
# Details to determine how long the discount should be applied for.
|
1546
1343
|
attr_accessor :discount_end
|
1547
|
-
|
1548
1344
|
# ID of the promotion code to create a new discount for.
|
1549
1345
|
attr_accessor :promotion_code
|
1550
1346
|
|
@@ -1560,7 +1356,6 @@ module Stripe
|
|
1560
1356
|
class Issuer < Stripe::RequestParams
|
1561
1357
|
# The connected account being referenced when `type` is `account`.
|
1562
1358
|
attr_accessor :account
|
1563
|
-
|
1564
1359
|
# Type of the account referenced in the request.
|
1565
1360
|
attr_accessor :type
|
1566
1361
|
|
@@ -1571,7 +1366,6 @@ module Stripe
|
|
1571
1366
|
end
|
1572
1367
|
# The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
|
1573
1368
|
attr_accessor :account_tax_ids
|
1574
|
-
|
1575
1369
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
1576
1370
|
attr_accessor :issuer
|
1577
1371
|
|
@@ -1596,7 +1390,6 @@ module Stripe
|
|
1596
1390
|
class Duration < Stripe::RequestParams
|
1597
1391
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
1598
1392
|
attr_accessor :interval
|
1599
|
-
|
1600
1393
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
1601
1394
|
attr_accessor :interval_count
|
1602
1395
|
|
@@ -1607,10 +1400,8 @@ module Stripe
|
|
1607
1400
|
end
|
1608
1401
|
# Time span for the redeemed discount.
|
1609
1402
|
attr_accessor :duration
|
1610
|
-
|
1611
1403
|
# A precise Unix timestamp for the discount to end. Must be in the future.
|
1612
1404
|
attr_accessor :timestamp
|
1613
|
-
|
1614
1405
|
# The type of calculation made to determine when the discount ends.
|
1615
1406
|
attr_accessor :type
|
1616
1407
|
|
@@ -1622,13 +1413,10 @@ module Stripe
|
|
1622
1413
|
end
|
1623
1414
|
# ID of the coupon to create a new discount for.
|
1624
1415
|
attr_accessor :coupon
|
1625
|
-
|
1626
1416
|
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
1627
1417
|
attr_accessor :discount
|
1628
|
-
|
1629
1418
|
# Details to determine how long the discount should be applied for.
|
1630
1419
|
attr_accessor :discount_end
|
1631
|
-
|
1632
1420
|
# ID of the promotion code to create a new discount for.
|
1633
1421
|
attr_accessor :promotion_code
|
1634
1422
|
|
@@ -1644,7 +1432,6 @@ module Stripe
|
|
1644
1432
|
class Recurring < Stripe::RequestParams
|
1645
1433
|
# Specifies billing frequency. Either `day`, `week`, `month` or `year`.
|
1646
1434
|
attr_accessor :interval
|
1647
|
-
|
1648
1435
|
# The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
|
1649
1436
|
attr_accessor :interval_count
|
1650
1437
|
|
@@ -1655,19 +1442,14 @@ module Stripe
|
|
1655
1442
|
end
|
1656
1443
|
# 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).
|
1657
1444
|
attr_accessor :currency
|
1658
|
-
|
1659
1445
|
# The ID of the product that this price will belong to.
|
1660
1446
|
attr_accessor :product
|
1661
|
-
|
1662
1447
|
# The recurring components of a price such as `interval` and `interval_count`.
|
1663
1448
|
attr_accessor :recurring
|
1664
|
-
|
1665
1449
|
# Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
1666
1450
|
attr_accessor :tax_behavior
|
1667
|
-
|
1668
1451
|
# A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
|
1669
1452
|
attr_accessor :unit_amount
|
1670
|
-
|
1671
1453
|
# Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
|
1672
1454
|
attr_accessor :unit_amount_decimal
|
1673
1455
|
|
@@ -1691,7 +1473,6 @@ module Stripe
|
|
1691
1473
|
class Trial < Stripe::RequestParams
|
1692
1474
|
# List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
1693
1475
|
attr_accessor :converts_to
|
1694
|
-
|
1695
1476
|
# Determines the type of trial for this item.
|
1696
1477
|
attr_accessor :type
|
1697
1478
|
|
@@ -1702,28 +1483,20 @@ module Stripe
|
|
1702
1483
|
end
|
1703
1484
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds.
|
1704
1485
|
attr_accessor :billing_thresholds
|
1705
|
-
|
1706
1486
|
# The coupons to redeem into discounts for the subscription item.
|
1707
1487
|
attr_accessor :discounts
|
1708
|
-
|
1709
1488
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1710
1489
|
attr_accessor :metadata
|
1711
|
-
|
1712
1490
|
# Plan ID for this item, as a string.
|
1713
1491
|
attr_accessor :plan
|
1714
|
-
|
1715
1492
|
# The ID of the price object.
|
1716
1493
|
attr_accessor :price
|
1717
|
-
|
1718
1494
|
# Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline.
|
1719
1495
|
attr_accessor :price_data
|
1720
|
-
|
1721
1496
|
# Quantity for this item.
|
1722
1497
|
attr_accessor :quantity
|
1723
|
-
|
1724
1498
|
# A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
|
1725
1499
|
attr_accessor :tax_rates
|
1726
|
-
|
1727
1500
|
# Define options to configure the trial on the subscription item.
|
1728
1501
|
attr_accessor :trial
|
1729
1502
|
|
@@ -1763,7 +1536,6 @@ module Stripe
|
|
1763
1536
|
end
|
1764
1537
|
# Additional fields for Mandate creation
|
1765
1538
|
attr_accessor :mandate_options
|
1766
|
-
|
1767
1539
|
# Verification method for the intent
|
1768
1540
|
attr_accessor :verification_method
|
1769
1541
|
|
@@ -1786,10 +1558,8 @@ module Stripe
|
|
1786
1558
|
class MandateOptions < Stripe::RequestParams
|
1787
1559
|
# Amount to be charged for future payments.
|
1788
1560
|
attr_accessor :amount
|
1789
|
-
|
1790
1561
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
1791
1562
|
attr_accessor :amount_type
|
1792
|
-
|
1793
1563
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
1794
1564
|
attr_accessor :description
|
1795
1565
|
|
@@ -1801,10 +1571,8 @@ module Stripe
|
|
1801
1571
|
end
|
1802
1572
|
# Configuration options for setting up an eMandate for cards issued in India.
|
1803
1573
|
attr_accessor :mandate_options
|
1804
|
-
|
1805
1574
|
# Selected network to process this Subscription on. Depends on the available networks of the card attached to the Subscription. Can be only set confirm-time.
|
1806
1575
|
attr_accessor :network
|
1807
|
-
|
1808
1576
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
1809
1577
|
attr_accessor :request_three_d_secure
|
1810
1578
|
|
@@ -1827,7 +1595,6 @@ module Stripe
|
|
1827
1595
|
end
|
1828
1596
|
# Configuration for eu_bank_transfer funding type.
|
1829
1597
|
attr_accessor :eu_bank_transfer
|
1830
|
-
|
1831
1598
|
# The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
|
1832
1599
|
attr_accessor :type
|
1833
1600
|
|
@@ -1838,7 +1605,6 @@ module Stripe
|
|
1838
1605
|
end
|
1839
1606
|
# Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
|
1840
1607
|
attr_accessor :bank_transfer
|
1841
|
-
|
1842
1608
|
# The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
|
1843
1609
|
attr_accessor :funding_type
|
1844
1610
|
|
@@ -1862,7 +1628,6 @@ module Stripe
|
|
1862
1628
|
class Filters < Stripe::RequestParams
|
1863
1629
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1864
1630
|
attr_accessor :account_subcategories
|
1865
|
-
|
1866
1631
|
# ID of the institution to use to filter for selectable accounts.
|
1867
1632
|
attr_accessor :institution
|
1868
1633
|
|
@@ -1873,10 +1638,8 @@ module Stripe
|
|
1873
1638
|
end
|
1874
1639
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
1875
1640
|
attr_accessor :filters
|
1876
|
-
|
1877
1641
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1878
1642
|
attr_accessor :permissions
|
1879
|
-
|
1880
1643
|
# List of data features that you would like to retrieve upon account creation.
|
1881
1644
|
attr_accessor :prefetch
|
1882
1645
|
|
@@ -1888,7 +1651,6 @@ module Stripe
|
|
1888
1651
|
end
|
1889
1652
|
# Additional fields for Financial Connections Session creation
|
1890
1653
|
attr_accessor :financial_connections
|
1891
|
-
|
1892
1654
|
# Verification method for the intent
|
1893
1655
|
attr_accessor :verification_method
|
1894
1656
|
|
@@ -1899,25 +1661,18 @@ module Stripe
|
|
1899
1661
|
end
|
1900
1662
|
# This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
|
1901
1663
|
attr_accessor :acss_debit
|
1902
|
-
|
1903
1664
|
# This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
|
1904
1665
|
attr_accessor :bancontact
|
1905
|
-
|
1906
1666
|
# This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
|
1907
1667
|
attr_accessor :card
|
1908
|
-
|
1909
1668
|
# This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
1910
1669
|
attr_accessor :customer_balance
|
1911
|
-
|
1912
1670
|
# This sub-hash contains details about the Indonesia bank transfer payment method options to pass to the invoice’s PaymentIntent.
|
1913
1671
|
attr_accessor :id_bank_transfer
|
1914
|
-
|
1915
1672
|
# This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.
|
1916
1673
|
attr_accessor :konbini
|
1917
|
-
|
1918
1674
|
# This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
|
1919
1675
|
attr_accessor :sepa_debit
|
1920
|
-
|
1921
1676
|
# This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
|
1922
1677
|
attr_accessor :us_bank_account
|
1923
1678
|
|
@@ -1943,10 +1698,8 @@ module Stripe
|
|
1943
1698
|
end
|
1944
1699
|
# Payment-method-specific configuration to provide to invoices created by the subscription.
|
1945
1700
|
attr_accessor :payment_method_options
|
1946
|
-
|
1947
1701
|
# The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your [invoice template settings](https://dashboard.stripe.com/settings/billing/invoice). Should not be specified with payment_method_configuration
|
1948
1702
|
attr_accessor :payment_method_types
|
1949
|
-
|
1950
1703
|
# Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.
|
1951
1704
|
attr_accessor :save_default_payment_method
|
1952
1705
|
|
@@ -1964,7 +1717,6 @@ module Stripe
|
|
1964
1717
|
class PendingInvoiceItemInterval < Stripe::RequestParams
|
1965
1718
|
# Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.
|
1966
1719
|
attr_accessor :interval
|
1967
|
-
|
1968
1720
|
# The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
|
1969
1721
|
attr_accessor :interval_count
|
1970
1722
|
|
@@ -1977,7 +1729,6 @@ module Stripe
|
|
1977
1729
|
class Prebilling < Stripe::RequestParams
|
1978
1730
|
# This is used to determine the number of billing cycles to prebill.
|
1979
1731
|
attr_accessor :iterations
|
1980
|
-
|
1981
1732
|
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
1982
1733
|
attr_accessor :update_behavior
|
1983
1734
|
|
@@ -1990,7 +1741,6 @@ module Stripe
|
|
1990
1741
|
class TransferData < Stripe::RequestParams
|
1991
1742
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
|
1992
1743
|
attr_accessor :amount_percent
|
1993
|
-
|
1994
1744
|
# ID of an existing, connected Stripe account.
|
1995
1745
|
attr_accessor :destination
|
1996
1746
|
|
@@ -2018,79 +1768,54 @@ module Stripe
|
|
2018
1768
|
end
|
2019
1769
|
# A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.
|
2020
1770
|
attr_accessor :add_invoice_items
|
2021
|
-
|
2022
1771
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
|
2023
1772
|
attr_accessor :application_fee_percent
|
2024
|
-
|
2025
1773
|
# Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.
|
2026
1774
|
attr_accessor :automatic_tax
|
2027
|
-
|
2028
1775
|
# For new subscriptions, a past timestamp to backdate the subscription's start date to. If set, the first invoice will contain a proration for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.
|
2029
1776
|
attr_accessor :backdate_start_date
|
2030
|
-
|
2031
1777
|
# A future timestamp in UTC format to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). The anchor is the reference point that aligns future billing cycle dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals.
|
2032
1778
|
attr_accessor :billing_cycle_anchor
|
2033
|
-
|
2034
1779
|
# Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.
|
2035
1780
|
attr_accessor :billing_cycle_anchor_config
|
2036
|
-
|
2037
1781
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
|
2038
1782
|
attr_accessor :billing_thresholds
|
2039
|
-
|
2040
1783
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
2041
1784
|
attr_accessor :cancel_at
|
2042
|
-
|
2043
1785
|
# Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`.
|
2044
1786
|
attr_accessor :cancel_at_period_end
|
2045
|
-
|
2046
1787
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.
|
2047
1788
|
attr_accessor :collection_method
|
2048
|
-
|
2049
1789
|
# The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
2050
1790
|
attr_accessor :coupon
|
2051
|
-
|
2052
1791
|
# 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).
|
2053
1792
|
attr_accessor :currency
|
2054
|
-
|
2055
1793
|
# The identifier of the customer to subscribe.
|
2056
1794
|
attr_accessor :customer
|
2057
|
-
|
2058
1795
|
# Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`.
|
2059
1796
|
attr_accessor :days_until_due
|
2060
|
-
|
2061
1797
|
# ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
2062
1798
|
attr_accessor :default_payment_method
|
2063
|
-
|
2064
1799
|
# ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
2065
1800
|
attr_accessor :default_source
|
2066
|
-
|
2067
1801
|
# The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription.
|
2068
1802
|
attr_accessor :default_tax_rates
|
2069
|
-
|
2070
1803
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
2071
1804
|
attr_accessor :description
|
2072
|
-
|
2073
1805
|
# The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer.
|
2074
1806
|
attr_accessor :discounts
|
2075
|
-
|
2076
1807
|
# Specifies which fields in the response should be expanded.
|
2077
1808
|
attr_accessor :expand
|
2078
|
-
|
2079
1809
|
# All invoices will be billed using the specified settings.
|
2080
1810
|
attr_accessor :invoice_settings
|
2081
|
-
|
2082
1811
|
# A list of up to 20 subscription items, each with an attached price.
|
2083
1812
|
attr_accessor :items
|
2084
|
-
|
2085
1813
|
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2086
1814
|
attr_accessor :metadata
|
2087
|
-
|
2088
1815
|
# Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session).
|
2089
1816
|
attr_accessor :off_session
|
2090
|
-
|
2091
1817
|
# The account on behalf of which to charge, for each of the subscription's invoices.
|
2092
1818
|
attr_accessor :on_behalf_of
|
2093
|
-
|
2094
1819
|
# Only applies to subscriptions with `collection_method=charge_automatically`.
|
2095
1820
|
#
|
2096
1821
|
# Use `allow_incomplete` to create Subscriptions with `status=incomplete` if the first invoice can't be paid. Creating Subscriptions with this status allows you to manage scenarios where additional customer actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior.
|
@@ -2103,34 +1828,24 @@ module Stripe
|
|
2103
1828
|
#
|
2104
1829
|
# Subscriptions with `collection_method=send_invoice` are automatically activated regardless of the first Invoice status.
|
2105
1830
|
attr_accessor :payment_behavior
|
2106
|
-
|
2107
1831
|
# Payment settings to pass to invoices created by the subscription.
|
2108
1832
|
attr_accessor :payment_settings
|
2109
|
-
|
2110
1833
|
# Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.
|
2111
1834
|
attr_accessor :pending_invoice_item_interval
|
2112
|
-
|
2113
1835
|
# If specified, the invoicing for the given billing cycle iterations will be processed now.
|
2114
1836
|
attr_accessor :prebilling
|
2115
|
-
|
2116
1837
|
# The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
2117
1838
|
attr_accessor :promotion_code
|
2118
|
-
|
2119
1839
|
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor`. If no value is passed, the default is `create_prorations`.
|
2120
1840
|
attr_accessor :proration_behavior
|
2121
|
-
|
2122
1841
|
# If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges.
|
2123
1842
|
attr_accessor :transfer_data
|
2124
|
-
|
2125
1843
|
# Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
2126
1844
|
attr_accessor :trial_end
|
2127
|
-
|
2128
1845
|
# Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
2129
1846
|
attr_accessor :trial_from_plan
|
2130
|
-
|
2131
1847
|
# Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. See [Using trial periods on subscriptions](https://stripe.com/docs/billing/subscriptions/trials) to learn more.
|
2132
1848
|
attr_accessor :trial_period_days
|
2133
|
-
|
2134
1849
|
# Settings related to subscription trials.
|
2135
1850
|
attr_accessor :trial_settings
|
2136
1851
|
|
@@ -2214,13 +1929,10 @@ module Stripe
|
|
2214
1929
|
class SearchParams < Stripe::RequestParams
|
2215
1930
|
# Specifies which fields in the response should be expanded.
|
2216
1931
|
attr_accessor :expand
|
2217
|
-
|
2218
1932
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
2219
1933
|
attr_accessor :limit
|
2220
|
-
|
2221
1934
|
# A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
|
2222
1935
|
attr_accessor :page
|
2223
|
-
|
2224
1936
|
# The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for subscriptions](https://stripe.com/docs/search#query-fields-for-subscriptions).
|
2225
1937
|
attr_accessor :query
|
2226
1938
|
|
@@ -2235,13 +1947,10 @@ module Stripe
|
|
2235
1947
|
class ResumeParams < Stripe::RequestParams
|
2236
1948
|
# The billing cycle anchor that applies when the subscription is resumed. Either `now` or `unchanged`. The default is `now`. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle).
|
2237
1949
|
attr_accessor :billing_cycle_anchor
|
2238
|
-
|
2239
1950
|
# Specifies which fields in the response should be expanded.
|
2240
1951
|
attr_accessor :expand
|
2241
|
-
|
2242
1952
|
# Determines how to handle [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. The default value is `create_prorations`.
|
2243
1953
|
attr_accessor :proration_behavior
|
2244
|
-
|
2245
1954
|
# If set, the proration will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint.
|
2246
1955
|
attr_accessor :proration_date
|
2247
1956
|
|
@@ -2259,130 +1968,88 @@ module Stripe
|
|
2259
1968
|
end
|
2260
1969
|
# ID of the Connect Application that created the subscription.
|
2261
1970
|
attr_reader :application
|
2262
|
-
|
2263
1971
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account.
|
2264
1972
|
attr_reader :application_fee_percent
|
2265
|
-
|
2266
1973
|
# Attribute for field automatic_tax
|
2267
1974
|
attr_reader :automatic_tax
|
2268
|
-
|
2269
1975
|
# The reference point that aligns future [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle) dates. It sets the day of week for `week` intervals, the day of month for `month` and `year` intervals, and the month of year for `year` intervals. The timestamp is in UTC format.
|
2270
1976
|
attr_reader :billing_cycle_anchor
|
2271
|
-
|
2272
1977
|
# The fixed values used to calculate the `billing_cycle_anchor`.
|
2273
1978
|
attr_reader :billing_cycle_anchor_config
|
2274
|
-
|
2275
1979
|
# Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
|
2276
1980
|
attr_reader :billing_thresholds
|
2277
|
-
|
2278
1981
|
# A date in the future at which the subscription will automatically get canceled
|
2279
1982
|
attr_reader :cancel_at
|
2280
|
-
|
2281
1983
|
# Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period.
|
2282
1984
|
attr_reader :cancel_at_period_end
|
2283
|
-
|
2284
1985
|
# If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state.
|
2285
1986
|
attr_reader :canceled_at
|
2286
|
-
|
2287
1987
|
# Details about why this subscription was cancelled
|
2288
1988
|
attr_reader :cancellation_details
|
2289
|
-
|
2290
1989
|
# Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`.
|
2291
1990
|
attr_reader :collection_method
|
2292
|
-
|
2293
1991
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
2294
1992
|
attr_reader :created
|
2295
|
-
|
2296
1993
|
# 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).
|
2297
1994
|
attr_reader :currency
|
2298
|
-
|
2299
1995
|
# End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created.
|
2300
1996
|
attr_reader :current_period_end
|
2301
|
-
|
2302
1997
|
# Start of the current period that the subscription has been invoiced for.
|
2303
1998
|
attr_reader :current_period_start
|
2304
|
-
|
2305
1999
|
# ID of the customer who owns the subscription.
|
2306
2000
|
attr_reader :customer
|
2307
|
-
|
2308
2001
|
# Number of days a customer has to pay invoices generated by this subscription. This value will be `null` for subscriptions where `collection_method=charge_automatically`.
|
2309
2002
|
attr_reader :days_until_due
|
2310
|
-
|
2311
2003
|
# ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
2312
2004
|
attr_reader :default_payment_method
|
2313
|
-
|
2314
2005
|
# ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source).
|
2315
2006
|
attr_reader :default_source
|
2316
|
-
|
2317
2007
|
# The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription.
|
2318
2008
|
attr_reader :default_tax_rates
|
2319
|
-
|
2320
2009
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
2321
2010
|
attr_reader :description
|
2322
|
-
|
2323
2011
|
# Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.
|
2324
2012
|
attr_reader :discount
|
2325
|
-
|
2326
2013
|
# The discounts applied to the subscription. Subscription item discounts are applied before subscription discounts. Use `expand[]=discounts` to expand each discount.
|
2327
2014
|
attr_reader :discounts
|
2328
|
-
|
2329
2015
|
# If the subscription has ended, the date the subscription ended.
|
2330
2016
|
attr_reader :ended_at
|
2331
|
-
|
2332
2017
|
# Unique identifier for the object.
|
2333
2018
|
attr_reader :id
|
2334
|
-
|
2335
2019
|
# Attribute for field invoice_settings
|
2336
2020
|
attr_reader :invoice_settings
|
2337
|
-
|
2338
2021
|
# List of subscription items, each with an attached price.
|
2339
2022
|
attr_reader :items
|
2340
|
-
|
2341
2023
|
# Details of the most recent price migration that failed for the subscription.
|
2342
2024
|
attr_reader :last_price_migration_error
|
2343
|
-
|
2344
2025
|
# The most recent invoice this subscription has generated.
|
2345
2026
|
attr_reader :latest_invoice
|
2346
|
-
|
2347
2027
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2348
2028
|
attr_reader :livemode
|
2349
|
-
|
2350
2029
|
# 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.
|
2351
2030
|
attr_reader :metadata
|
2352
|
-
|
2353
2031
|
# Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at `pending_invoice_item_interval`.
|
2354
2032
|
attr_reader :next_pending_invoice_item_invoice
|
2355
|
-
|
2356
2033
|
# String representing the object's type. Objects of the same type share the same value.
|
2357
2034
|
attr_reader :object
|
2358
|
-
|
2359
2035
|
# The account (if any) the charge was made on behalf of for charges associated with this subscription. See the Connect documentation for details.
|
2360
2036
|
attr_reader :on_behalf_of
|
2361
|
-
|
2362
2037
|
# If specified, payment collection for this subscription will be paused. Note that the subscription status will be unchanged and will not be updated to `paused`. Learn more about [pausing collection](https://stripe.com/docs/billing/subscriptions/pause-payment).
|
2363
2038
|
attr_reader :pause_collection
|
2364
|
-
|
2365
2039
|
# Payment settings passed on to invoices created by the subscription.
|
2366
2040
|
attr_reader :payment_settings
|
2367
|
-
|
2368
2041
|
# Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval.
|
2369
2042
|
attr_reader :pending_invoice_item_interval
|
2370
|
-
|
2371
2043
|
# You can use this [SetupIntent](https://stripe.com/docs/api/setup_intents) to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method, allowing you to optimize for off-session payments. Learn more in the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication#scenario-2).
|
2372
2044
|
attr_reader :pending_setup_intent
|
2373
|
-
|
2374
2045
|
# If specified, [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.
|
2375
2046
|
attr_reader :pending_update
|
2376
|
-
|
2377
2047
|
# Time period and invoice for a Subscription billed in advance.
|
2378
2048
|
attr_reader :prebilling
|
2379
|
-
|
2380
2049
|
# The schedule attached to the subscription
|
2381
2050
|
attr_reader :schedule
|
2382
|
-
|
2383
2051
|
# Date when the subscription was first created. The date might differ from the `created` date due to backdating.
|
2384
2052
|
attr_reader :start_date
|
2385
|
-
|
2386
2053
|
# Possible values are `incomplete`, `incomplete_expired`, `trialing`, `active`, `past_due`, `canceled`, `unpaid`, or `paused`.
|
2387
2054
|
#
|
2388
2055
|
# For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated.
|
@@ -2395,19 +2062,14 @@ module Stripe
|
|
2395
2062
|
#
|
2396
2063
|
# If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.
|
2397
2064
|
attr_reader :status
|
2398
|
-
|
2399
2065
|
# ID of the test clock this subscription belongs to.
|
2400
2066
|
attr_reader :test_clock
|
2401
|
-
|
2402
2067
|
# The account (if any) the subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
|
2403
2068
|
attr_reader :transfer_data
|
2404
|
-
|
2405
2069
|
# If the subscription has a trial, the end of that trial.
|
2406
2070
|
attr_reader :trial_end
|
2407
|
-
|
2408
2071
|
# Settings related to subscription trials.
|
2409
2072
|
attr_reader :trial_settings
|
2410
|
-
|
2411
2073
|
# If the subscription has a trial, the beginning of that trial.
|
2412
2074
|
attr_reader :trial_start
|
2413
2075
|
|