stripe 18.1.0.pre.beta.1 → 18.2.0.pre.alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/data/ca-certificates.crt +682 -518
- data/lib/stripe/api_requestor.rb +2 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +3 -0
- data/lib/stripe/event_types.rb +360 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +86 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +86 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +84 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +84 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +91 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +82 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +82 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +20 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +40 -0
- data/lib/stripe/params/account_create_params.rb +82 -28
- data/lib/stripe/params/account_external_account_create_params.rb +2 -2
- data/lib/stripe/params/account_external_account_update_params.rb +2 -2
- data/lib/stripe/params/account_notice_update_params.rb +1 -1
- data/lib/stripe/params/account_person_create_params.rb +42 -10
- data/lib/stripe/params/account_person_update_params.rb +42 -10
- data/lib/stripe/params/account_session_create_params.rb +17 -0
- data/lib/stripe/params/account_update_params.rb +81 -27
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +121 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +5 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +15 -3
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/billing/credit_grant_create_params.rb +31 -4
- data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
- data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/charge_capture_params.rb +9 -9
- data/lib/stripe/params/charge_create_params.rb +12 -12
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +10 -10
- data/lib/stripe/params/checkout/session_create_params.rb +133 -42
- data/lib/stripe/params/checkout/session_update_params.rb +27 -15
- data/lib/stripe/params/climate/order_create_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +6 -6
- data/lib/stripe/params/coupon_create_params.rb +1 -1
- data/lib/stripe/params/coupon_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_create_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
- data/lib/stripe/params/customer_create_params.rb +5 -5
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_update_params.rb +7 -7
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +138 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/dispute_update_params.rb +3 -3
- data/lib/stripe/params/external_account_create_params.rb +2 -2
- data/lib/stripe/params/external_account_update_params.rb +2 -2
- data/lib/stripe/params/file_create_params.rb +3 -3
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/session_create_params.rb +3 -3
- data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
- data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
- data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
- data/lib/stripe/params/invoice_add_lines_params.rb +21 -9
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -1
- data/lib/stripe/params/invoice_create_params.rb +37 -13
- data/lib/stripe/params/invoice_create_preview_params.rb +158 -39
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +8 -8
- data/lib/stripe/params/invoice_item_list_params.rb +2 -2
- data/lib/stripe/params/invoice_item_update_params.rb +6 -6
- data/lib/stripe/params/invoice_line_item_update_params.rb +20 -8
- data/lib/stripe/params/invoice_list_params.rb +6 -2
- data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +21 -9
- data/lib/stripe/params/invoice_update_params.rb +34 -10
- data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +7 -7
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/card_update_params.rb +6 -6
- data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -11
- data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +5 -5
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +1 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +5 -5
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +4 -4
- data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/mandate_list_params.rb +1 -1
- data/lib/stripe/params/margin_create_params.rb +1 -1
- data/lib/stripe/params/margin_update_params.rb +1 -1
- data/lib/stripe/params/order_create_params.rb +12 -12
- data/lib/stripe/params/order_update_params.rb +12 -12
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +18 -18
- data/lib/stripe/params/payment_intent_confirm_params.rb +77 -39
- data/lib/stripe/params/payment_intent_create_params.rb +105 -54
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +4 -4
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +10 -10
- data/lib/stripe/params/payment_intent_list_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +74 -40
- data/lib/stripe/params/payment_link_create_params.rb +32 -20
- data/lib/stripe/params/payment_link_update_params.rb +9 -9
- data/lib/stripe/params/payment_method_attach_params.rb +1 -1
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +40 -40
- data/lib/stripe/params/payment_method_configuration_update_params.rb +40 -40
- data/lib/stripe/params/payment_method_create_params.rb +4 -4
- data/lib/stripe/params/payment_method_update_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
- data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
- data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_update_params.rb +2 -2
- data/lib/stripe/params/price_create_params.rb +6 -6
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +3 -3
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +60 -0
- data/lib/stripe/params/product_create_params.rb +21 -8
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +18 -5
- data/lib/stripe/params/promotion_code_create_params.rb +3 -3
- data/lib/stripe/params/promotion_code_list_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +231 -11
- data/lib/stripe/params/quote_list_params.rb +2 -2
- data/lib/stripe/params/quote_update_params.rb +231 -11
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +18 -0
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +2 -2
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/setup_intent_confirm_params.rb +35 -6
- data/lib/stripe/params/setup_intent_create_params.rb +41 -12
- data/lib/stripe/params/setup_intent_update_params.rb +38 -9
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_update_params.rb +15 -0
- data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +3 -3
- data/lib/stripe/params/source_update_params.rb +3 -3
- data/lib/stripe/params/subscription_create_params.rb +62 -22
- data/lib/stripe/params/subscription_item_create_params.rb +26 -10
- data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
- data/lib/stripe/params/subscription_item_update_params.rb +26 -10
- data/lib/stripe/params/subscription_list_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +2 -2
- data/lib/stripe/params/subscription_schedule_amend_params.rb +42 -3
- data/lib/stripe/params/subscription_schedule_create_params.rb +85 -17
- data/lib/stripe/params/subscription_schedule_update_params.rb +85 -17
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +60 -20
- data/lib/stripe/params/tax/association_find_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
- data/lib/stripe/params/tax/settings_update_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
- data/lib/stripe/params/tax_id_create_params.rb +2 -2
- data/lib/stripe/params/tax_id_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- data/lib/stripe/params/terminal/location_create_params.rb +2 -2
- data/lib/stripe/params/terminal/location_update_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -6
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_update_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -1
- data/lib/stripe/params/token_create_params.rb +86 -22
- data/lib/stripe/params/topup_create_params.rb +2 -2
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +7 -3
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -3
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +8 -1
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +4 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +4 -1
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +425 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +278 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +758 -29
- data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +267 -9
- data/lib/stripe/params/v2/core/account_update_params.rb +750 -35
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +68 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +4 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +12 -1
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +12 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +20 -1
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +16 -1
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +19 -1
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +16 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +57 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +161 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +46 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +31 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +39 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +94 -0
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +94 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +11 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +125 -0
- data/lib/stripe/resources/account.rb +27 -27
- data/lib/stripe/resources/account_link.rb +1 -1
- data/lib/stripe/resources/account_notice.rb +6 -6
- data/lib/stripe/resources/account_session.rb +29 -2
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/application_fee_refund.rb +2 -2
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +85 -2
- data/lib/stripe/resources/balance_settings.rb +1 -1
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/balance_transfer.rb +139 -0
- data/lib/stripe/resources/bank_account.rb +10 -10
- data/lib/stripe/resources/billing/alert.rb +106 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +60 -4
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event.rb +1 -1
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
- data/lib/stripe/resources/billing_portal/session.rb +6 -6
- data/lib/stripe/resources/capability.rb +16 -16
- data/lib/stripe/resources/capital/financing_offer.rb +43 -2
- data/lib/stripe/resources/capital/financing_summary.rb +7 -4
- data/lib/stripe/resources/card.rb +20 -3
- data/lib/stripe/resources/cash_balance.rb +2 -2
- data/lib/stripe/resources/charge.rb +65 -35
- data/lib/stripe/resources/checkout/session.rb +111 -19
- data/lib/stripe/resources/climate/order.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +29 -11
- data/lib/stripe/resources/coupon.rb +3 -3
- data/lib/stripe/resources/credit_note.rb +5 -5
- data/lib/stripe/resources/credit_note_line_item.rb +1 -1
- data/lib/stripe/resources/customer.rb +8 -8
- data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +479 -0
- data/lib/stripe/resources/discount.rb +5 -3
- data/lib/stripe/resources/dispute.rb +5 -5
- data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/exchange_rate.rb +2 -2
- data/lib/stripe/resources/file.rb +4 -4
- data/lib/stripe/resources/file_link.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +3 -3
- data/lib/stripe/resources/financial_connections/session.rb +2 -2
- data/lib/stripe/resources/forwarding/request.rb +1 -1
- data/lib/stripe/resources/funding_instructions.rb +14 -14
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +13 -9
- data/lib/stripe/resources/identity/verification_session.rb +11 -11
- data/lib/stripe/resources/invoice.rb +79 -31
- data/lib/stripe/resources/invoice_item.rb +112 -8
- data/lib/stripe/resources/invoice_line_item.rb +111 -5
- data/lib/stripe/resources/invoice_payment.rb +1 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
- data/lib/stripe/resources/issuing/authorization.rb +20 -20
- data/lib/stripe/resources/issuing/card.rb +16 -12
- data/lib/stripe/resources/issuing/cardholder.rb +14 -14
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +5 -5
- data/lib/stripe/resources/issuing/dispute.rb +7 -7
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +2 -2
- data/lib/stripe/resources/issuing/token.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +13 -13
- data/lib/stripe/resources/line_item.rb +3 -3
- data/lib/stripe/resources/login_link.rb +1 -1
- data/lib/stripe/resources/margin.rb +1 -1
- data/lib/stripe/resources/order.rb +13 -13
- data/lib/stripe/resources/payment_attempt_record.rb +80 -22
- data/lib/stripe/resources/payment_intent.rb +161 -58
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
- data/lib/stripe/resources/payment_link.rb +7 -7
- data/lib/stripe/resources/payment_method.rb +51 -13
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +4 -4
- data/lib/stripe/resources/payment_method_domain.rb +1 -1
- data/lib/stripe/resources/payment_record.rb +82 -22
- data/lib/stripe/resources/payout.rb +7 -7
- data/lib/stripe/resources/person.rb +59 -23
- data/lib/stripe/resources/plan.rb +5 -5
- data/lib/stripe/resources/price.rb +6 -6
- data/lib/stripe/resources/product.rb +9 -9
- data/lib/stripe/resources/product_catalog/trial_offer.rb +101 -0
- data/lib/stripe/resources/promotion_code.rb +4 -4
- data/lib/stripe/resources/quote.rb +253 -16
- data/lib/stripe/resources/quote_line.rb +9 -3
- data/lib/stripe/resources/quote_preview_invoice.rb +77 -29
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +102 -8
- data/lib/stripe/resources/radar/account_evaluation.rb +116 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
- data/lib/stripe/resources/radar/value_list.rb +2 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -1
- data/lib/stripe/resources/refund.rb +3 -3
- data/lib/stripe/resources/reporting/report_run.rb +3 -3
- data/lib/stripe/resources/reporting/report_type.rb +3 -3
- data/lib/stripe/resources/reversal.rb +4 -4
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +17 -17
- data/lib/stripe/resources/setup_intent.rb +59 -19
- data/lib/stripe/resources/shared_payment/granted_token.rb +126 -0
- data/lib/stripe/resources/shipping_rate.rb +3 -3
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +8 -8
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/subscription.rb +66 -15
- data/lib/stripe/resources/subscription_item.rb +31 -8
- data/lib/stripe/resources/subscription_schedule.rb +103 -9
- data/lib/stripe/resources/tax/association.rb +3 -3
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
- data/lib/stripe/resources/tax/registration.rb +3 -3
- data/lib/stripe/resources/tax/settings.rb +2 -2
- data/lib/stripe/resources/tax/transaction.rb +9 -9
- data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
- data/lib/stripe/resources/tax_id.rb +4 -4
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/connection_token.rb +1 -1
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/reader.rb +10 -10
- data/lib/stripe/resources/token.rb +4 -4
- data/lib/stripe/resources/topup.rb +3 -3
- data/lib/stripe/resources/transfer.rb +9 -5
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/financial_account.rb +1 -1
- data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
- data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
- data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -5
- data/lib/stripe/resources/treasury/received_credit.rb +10 -10
- data/lib/stripe/resources/treasury/received_debit.rb +7 -7
- data/lib/stripe/resources/treasury/transaction.rb +11 -11
- data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
- data/lib/stripe/resources/v2/billing/cadence.rb +46 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +483 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +274 -0
- data/lib/stripe/resources/v2/core/account.rb +1227 -253
- data/lib/stripe/resources/v2/core/account_link.rb +11 -11
- data/lib/stripe/resources/v2/core/account_person.rb +10 -10
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +50 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +21 -1
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +23 -1
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +15 -1
- data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +16 -1
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +94 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +83 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +52 -3
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +50 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +63 -3
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +48 -2
- data/lib/stripe/resources/v2/money_management/payout_method.rb +49 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +52 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +73 -1
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +65 -1
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +49 -1
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +186 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +92 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +78 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +115 -0
- data/lib/stripe/resources/webhook_endpoint.rb +1 -1
- data/lib/stripe/resources.rb +133 -0
- data/lib/stripe/services/balance_transfer_service.rb +17 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +1 -1
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +2 -1
- data/lib/stripe/services/payment_method_service.rb +12 -1
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar_service.rb +2 -1
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment_service.rb +13 -0
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +5 -1
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
- data/lib/stripe/services/v2/billing_service.rb +14 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_service.rb +0 -4
- data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core_service.rb +2 -1
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +2 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +2 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management_service.rb +5 -1
- data/lib/stripe/services/v2/payment_service.rb +17 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +72 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +45 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +2 -1
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +5 -1
- data/lib/stripe/services.rb +47 -0
- data/lib/stripe/stripe_object.rb +30 -1
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +24028 -3406
- metadata +307 -2
|
@@ -15,7 +15,7 @@ module Stripe
|
|
|
15
15
|
class Amount < ::Stripe::StripeObject
|
|
16
16
|
# 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).
|
|
17
17
|
attr_reader :currency
|
|
18
|
-
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
18
|
+
# A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
19
19
|
attr_reader :value
|
|
20
20
|
|
|
21
21
|
def self.inner_class_types
|
|
@@ -30,7 +30,7 @@ module Stripe
|
|
|
30
30
|
class AmountAuthorized < ::Stripe::StripeObject
|
|
31
31
|
# 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).
|
|
32
32
|
attr_reader :currency
|
|
33
|
-
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
33
|
+
# A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
34
34
|
attr_reader :value
|
|
35
35
|
|
|
36
36
|
def self.inner_class_types
|
|
@@ -45,7 +45,7 @@ module Stripe
|
|
|
45
45
|
class AmountCanceled < ::Stripe::StripeObject
|
|
46
46
|
# 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).
|
|
47
47
|
attr_reader :currency
|
|
48
|
-
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
48
|
+
# A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
49
49
|
attr_reader :value
|
|
50
50
|
|
|
51
51
|
def self.inner_class_types
|
|
@@ -60,7 +60,7 @@ module Stripe
|
|
|
60
60
|
class AmountFailed < ::Stripe::StripeObject
|
|
61
61
|
# 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).
|
|
62
62
|
attr_reader :currency
|
|
63
|
-
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
63
|
+
# A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
64
64
|
attr_reader :value
|
|
65
65
|
|
|
66
66
|
def self.inner_class_types
|
|
@@ -75,7 +75,7 @@ module Stripe
|
|
|
75
75
|
class AmountGuaranteed < ::Stripe::StripeObject
|
|
76
76
|
# 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).
|
|
77
77
|
attr_reader :currency
|
|
78
|
-
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
78
|
+
# A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
79
79
|
attr_reader :value
|
|
80
80
|
|
|
81
81
|
def self.inner_class_types
|
|
@@ -90,7 +90,7 @@ module Stripe
|
|
|
90
90
|
class AmountRefunded < ::Stripe::StripeObject
|
|
91
91
|
# 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).
|
|
92
92
|
attr_reader :currency
|
|
93
|
-
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
93
|
+
# A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
94
94
|
attr_reader :value
|
|
95
95
|
|
|
96
96
|
def self.inner_class_types
|
|
@@ -105,7 +105,7 @@ module Stripe
|
|
|
105
105
|
class AmountRequested < ::Stripe::StripeObject
|
|
106
106
|
# 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).
|
|
107
107
|
attr_reader :currency
|
|
108
|
-
# A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
108
|
+
# A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
109
109
|
attr_reader :value
|
|
110
110
|
|
|
111
111
|
def self.inner_class_types
|
|
@@ -182,6 +182,8 @@ module Stripe
|
|
|
182
182
|
class AcssDebit < ::Stripe::StripeObject
|
|
183
183
|
# Name of the bank associated with the bank account.
|
|
184
184
|
attr_reader :bank_name
|
|
185
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
186
|
+
attr_reader :expected_debit_date
|
|
185
187
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
186
188
|
attr_reader :fingerprint
|
|
187
189
|
# Institution number of the bank account
|
|
@@ -203,9 +205,9 @@ module Stripe
|
|
|
203
205
|
end
|
|
204
206
|
|
|
205
207
|
class Affirm < ::Stripe::StripeObject
|
|
206
|
-
# ID of the [location](https://stripe.com/
|
|
208
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
207
209
|
attr_reader :location
|
|
208
|
-
# ID of the [reader](https://stripe.com/
|
|
210
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
209
211
|
attr_reader :reader
|
|
210
212
|
# The Affirm transaction ID associated with this payment.
|
|
211
213
|
attr_reader :transaction_id
|
|
@@ -334,6 +336,8 @@ module Stripe
|
|
|
334
336
|
class AuBecsDebit < ::Stripe::StripeObject
|
|
335
337
|
# Bank-State-Branch number of the bank account.
|
|
336
338
|
attr_reader :bsb_number
|
|
339
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
340
|
+
attr_reader :expected_debit_date
|
|
337
341
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
338
342
|
attr_reader :fingerprint
|
|
339
343
|
# Last four digits of the bank account number.
|
|
@@ -351,6 +355,8 @@ module Stripe
|
|
|
351
355
|
end
|
|
352
356
|
|
|
353
357
|
class BacsDebit < ::Stripe::StripeObject
|
|
358
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
359
|
+
attr_reader :expected_debit_date
|
|
354
360
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
355
361
|
attr_reader :fingerprint
|
|
356
362
|
# Last four digits of the bank account number.
|
|
@@ -423,7 +429,7 @@ module Stripe
|
|
|
423
429
|
attr_reader :line2
|
|
424
430
|
# ZIP or postal code.
|
|
425
431
|
attr_reader :postal_code
|
|
426
|
-
# State, county, province, or region.
|
|
432
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
427
433
|
attr_reader :state
|
|
428
434
|
|
|
429
435
|
def self.inner_class_types
|
|
@@ -496,6 +502,35 @@ module Stripe
|
|
|
496
502
|
end
|
|
497
503
|
end
|
|
498
504
|
|
|
505
|
+
class Installments < ::Stripe::StripeObject
|
|
506
|
+
class Plan < ::Stripe::StripeObject
|
|
507
|
+
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
508
|
+
attr_reader :count
|
|
509
|
+
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. One of `month`.
|
|
510
|
+
attr_reader :interval
|
|
511
|
+
# Type of installment plan, one of `fixed_count`, `revolving`, or `bonus`.
|
|
512
|
+
attr_reader :type
|
|
513
|
+
|
|
514
|
+
def self.inner_class_types
|
|
515
|
+
@inner_class_types = {}
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
def self.field_remappings
|
|
519
|
+
@field_remappings = {}
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
# Attribute for field plan
|
|
523
|
+
attr_reader :plan
|
|
524
|
+
|
|
525
|
+
def self.inner_class_types
|
|
526
|
+
@inner_class_types = { plan: Plan }
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
def self.field_remappings
|
|
530
|
+
@field_remappings = {}
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
|
|
499
534
|
class NetworkToken < ::Stripe::StripeObject
|
|
500
535
|
# Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
501
536
|
attr_reader :used
|
|
@@ -568,6 +603,8 @@ module Stripe
|
|
|
568
603
|
@field_remappings = {}
|
|
569
604
|
end
|
|
570
605
|
end
|
|
606
|
+
# The authorization code of the payment.
|
|
607
|
+
attr_reader :authorization_code
|
|
571
608
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
572
609
|
attr_reader :brand
|
|
573
610
|
# When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
|
|
@@ -576,6 +613,8 @@ module Stripe
|
|
|
576
613
|
attr_reader :checks
|
|
577
614
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
578
615
|
attr_reader :country
|
|
616
|
+
# A high-level description of the type of cards issued in this range.
|
|
617
|
+
attr_reader :description
|
|
579
618
|
# Two-digit number representing the card's expiration month.
|
|
580
619
|
attr_reader :exp_month
|
|
581
620
|
# Four-digit number representing the card's expiration year.
|
|
@@ -586,16 +625,28 @@ module Stripe
|
|
|
586
625
|
attr_reader :fingerprint
|
|
587
626
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
588
627
|
attr_reader :funding
|
|
628
|
+
# Issuer identification number of the card.
|
|
629
|
+
attr_reader :iin
|
|
630
|
+
# Installment details for this payment.
|
|
631
|
+
attr_reader :installments
|
|
632
|
+
# The name of the card's issuing bank.
|
|
633
|
+
attr_reader :issuer
|
|
589
634
|
# The last four digits of the card.
|
|
590
635
|
attr_reader :last4
|
|
591
636
|
# True if this payment was marked as MOTO and out of scope for SCA.
|
|
592
637
|
attr_reader :moto
|
|
593
638
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
594
639
|
attr_reader :network
|
|
640
|
+
# Advice code from the card network for the failed payment.
|
|
641
|
+
attr_reader :network_advice_code
|
|
642
|
+
# Decline code from the card network for the failed payment.
|
|
643
|
+
attr_reader :network_decline_code
|
|
595
644
|
# If this card has network token credentials, this contains the details of the network token credentials.
|
|
596
645
|
attr_reader :network_token
|
|
597
646
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
598
647
|
attr_reader :network_transaction_id
|
|
648
|
+
# The transaction type that was passed for an off-session, Merchant-Initiated transaction, one of `recurring` or `unscheduled`.
|
|
649
|
+
attr_reader :stored_credential_usage
|
|
599
650
|
# Populated if this transaction used 3D Secure authentication.
|
|
600
651
|
attr_reader :three_d_secure
|
|
601
652
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
|
@@ -604,6 +655,7 @@ module Stripe
|
|
|
604
655
|
def self.inner_class_types
|
|
605
656
|
@inner_class_types = {
|
|
606
657
|
checks: Checks,
|
|
658
|
+
installments: Installments,
|
|
607
659
|
network_token: NetworkToken,
|
|
608
660
|
three_d_secure: ThreeDSecure,
|
|
609
661
|
wallet: Wallet,
|
|
@@ -702,7 +754,7 @@ module Stripe
|
|
|
702
754
|
attr_reader :generated_card
|
|
703
755
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
704
756
|
attr_reader :iin
|
|
705
|
-
# Whether this [PaymentIntent](https://stripe.com/
|
|
757
|
+
# Whether this [PaymentIntent](https://docs.stripe.com/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
|
|
706
758
|
attr_reader :incremental_authorization_supported
|
|
707
759
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
708
760
|
attr_reader :issuer
|
|
@@ -895,7 +947,7 @@ module Stripe
|
|
|
895
947
|
end
|
|
896
948
|
|
|
897
949
|
class Ideal < ::Stripe::StripeObject
|
|
898
|
-
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
950
|
+
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
899
951
|
attr_reader :bank
|
|
900
952
|
# The Bank Identifier Code of the customer's bank.
|
|
901
953
|
attr_reader :bic
|
|
@@ -1195,6 +1247,8 @@ module Stripe
|
|
|
1195
1247
|
attr_reader :bank_name
|
|
1196
1248
|
# The numeric code for the bank account's bank branch.
|
|
1197
1249
|
attr_reader :branch_code
|
|
1250
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
1251
|
+
attr_reader :expected_debit_date
|
|
1198
1252
|
# Last four digits of the bank account number.
|
|
1199
1253
|
attr_reader :last4
|
|
1200
1254
|
# The suffix of the bank account number.
|
|
@@ -1267,9 +1321,9 @@ module Stripe
|
|
|
1267
1321
|
end
|
|
1268
1322
|
|
|
1269
1323
|
class Paynow < ::Stripe::StripeObject
|
|
1270
|
-
# ID of the [location](https://stripe.com/
|
|
1324
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1271
1325
|
attr_reader :location
|
|
1272
|
-
# ID of the [reader](https://stripe.com/
|
|
1326
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1273
1327
|
attr_reader :reader
|
|
1274
1328
|
# Reference number associated with this PayNow payment
|
|
1275
1329
|
attr_reader :reference
|
|
@@ -1310,7 +1364,7 @@ module Stripe
|
|
|
1310
1364
|
attr_reader :line2
|
|
1311
1365
|
# ZIP or postal code.
|
|
1312
1366
|
attr_reader :postal_code
|
|
1313
|
-
# State, county, province, or region.
|
|
1367
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1314
1368
|
attr_reader :state
|
|
1315
1369
|
|
|
1316
1370
|
def self.inner_class_types
|
|
@@ -1333,7 +1387,7 @@ module Stripe
|
|
|
1333
1387
|
attr_reader :line2
|
|
1334
1388
|
# ZIP or postal code.
|
|
1335
1389
|
attr_reader :postal_code
|
|
1336
|
-
# State, county, province, or region.
|
|
1390
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1337
1391
|
attr_reader :state
|
|
1338
1392
|
|
|
1339
1393
|
def self.inner_class_types
|
|
@@ -1571,11 +1625,13 @@ module Stripe
|
|
|
1571
1625
|
attr_reader :branch_code
|
|
1572
1626
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
1573
1627
|
attr_reader :country
|
|
1628
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
1629
|
+
attr_reader :expected_debit_date
|
|
1574
1630
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1575
1631
|
attr_reader :fingerprint
|
|
1576
1632
|
# Last four characters of the IBAN.
|
|
1577
1633
|
attr_reader :last4
|
|
1578
|
-
# Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/
|
|
1634
|
+
# Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).
|
|
1579
1635
|
attr_reader :mandate
|
|
1580
1636
|
|
|
1581
1637
|
def self.inner_class_types
|
|
@@ -1687,6 +1743,8 @@ module Stripe
|
|
|
1687
1743
|
attr_reader :account_type
|
|
1688
1744
|
# Name of the bank associated with the bank account.
|
|
1689
1745
|
attr_reader :bank_name
|
|
1746
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
1747
|
+
attr_reader :expected_debit_date
|
|
1690
1748
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1691
1749
|
attr_reader :fingerprint
|
|
1692
1750
|
# Last four digits of the bank account number.
|
|
@@ -1720,9 +1778,9 @@ module Stripe
|
|
|
1720
1778
|
class WechatPay < ::Stripe::StripeObject
|
|
1721
1779
|
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
|
1722
1780
|
attr_reader :fingerprint
|
|
1723
|
-
# ID of the [location](https://stripe.com/
|
|
1781
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1724
1782
|
attr_reader :location
|
|
1725
|
-
# ID of the [reader](https://stripe.com/
|
|
1783
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1726
1784
|
attr_reader :reader
|
|
1727
1785
|
# Transaction ID of this particular WeChat Pay transaction.
|
|
1728
1786
|
attr_reader :transaction_id
|
|
@@ -1873,7 +1931,7 @@ module Stripe
|
|
|
1873
1931
|
attr_reader :swish
|
|
1874
1932
|
# Attribute for field twint
|
|
1875
1933
|
attr_reader :twint
|
|
1876
|
-
# The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/
|
|
1934
|
+
# The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
|
|
1877
1935
|
# An additional hash is included on `payment_method_details` with a name matching this value.
|
|
1878
1936
|
# It contains information specific to the payment method.
|
|
1879
1937
|
attr_reader :type
|
|
@@ -2003,7 +2061,7 @@ module Stripe
|
|
|
2003
2061
|
attr_reader :line2
|
|
2004
2062
|
# ZIP or postal code.
|
|
2005
2063
|
attr_reader :postal_code
|
|
2006
|
-
# State, county, province, or region.
|
|
2064
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2007
2065
|
attr_reader :state
|
|
2008
2066
|
|
|
2009
2067
|
def self.inner_class_types
|
|
@@ -2059,7 +2117,7 @@ module Stripe
|
|
|
2059
2117
|
attr_reader :latest_payment_attempt_record
|
|
2060
2118
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
2061
2119
|
attr_reader :livemode
|
|
2062
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
2120
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
2063
2121
|
attr_reader :metadata
|
|
2064
2122
|
# String representing the object's type. Objects of the same type share the same value.
|
|
2065
2123
|
attr_reader :object
|
|
@@ -2067,6 +2125,8 @@ module Stripe
|
|
|
2067
2125
|
attr_reader :payment_method_details
|
|
2068
2126
|
# Processor information associated with this payment.
|
|
2069
2127
|
attr_reader :processor_details
|
|
2128
|
+
# Indicates who reported the payment.
|
|
2129
|
+
attr_reader :reported_by
|
|
2070
2130
|
# Shipping information for this payment.
|
|
2071
2131
|
attr_reader :shipping_details
|
|
2072
2132
|
|
|
@@ -9,7 +9,7 @@ module Stripe
|
|
|
9
9
|
# schedules](https://docs.stripe.com/docs/connect/manage-payout-schedule), depending on your country and
|
|
10
10
|
# industry.
|
|
11
11
|
#
|
|
12
|
-
# Related guide: [Receiving payouts](https://stripe.com/
|
|
12
|
+
# Related guide: [Receiving payouts](https://docs.stripe.com/payouts)
|
|
13
13
|
class Payout < APIResource
|
|
14
14
|
extend Stripe::APIOperations::Create
|
|
15
15
|
extend Stripe::APIOperations::List
|
|
@@ -36,13 +36,13 @@ module Stripe
|
|
|
36
36
|
end
|
|
37
37
|
# The amount (in cents (or local equivalent)) that transfers to your bank account or debit card.
|
|
38
38
|
attr_reader :amount
|
|
39
|
-
# The application fee (if any) for the payout. [See the Connect documentation](https://stripe.com/
|
|
39
|
+
# The application fee (if any) for the payout. [See the Connect documentation](https://docs.stripe.com/connect/instant-payouts#monetization-and-fees) for details.
|
|
40
40
|
attr_reader :application_fee
|
|
41
|
-
# The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://stripe.com/
|
|
41
|
+
# The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://docs.stripe.com/connect/instant-payouts#monetization-and-fees) for details.
|
|
42
42
|
attr_reader :application_fee_amount
|
|
43
43
|
# Date that you can expect the payout to arrive in the bank. This factors in delays to account for weekends or bank holidays.
|
|
44
44
|
attr_reader :arrival_date
|
|
45
|
-
# Returns `true` if the payout is created by an [automated payout schedule](https://stripe.com/
|
|
45
|
+
# Returns `true` if the payout is created by an [automated payout schedule](https://docs.stripe.com/payouts#payout-schedule) and `false` if it's [requested manually](https://stripe.com/docs/payouts#manual-payouts).
|
|
46
46
|
attr_reader :automatic
|
|
47
47
|
# ID of the balance transaction that describes the impact of this payout on your account balance.
|
|
48
48
|
attr_reader :balance_transaction
|
|
@@ -56,7 +56,7 @@ module Stripe
|
|
|
56
56
|
attr_reader :destination
|
|
57
57
|
# If the payout fails or cancels, this is the ID of the balance transaction that reverses the initial balance transaction and returns the funds from the failed payout back in your balance.
|
|
58
58
|
attr_reader :failure_balance_transaction
|
|
59
|
-
# Error code that provides a reason for a payout failure, if available. View our [list of failure codes](https://stripe.com/
|
|
59
|
+
# Error code that provides a reason for a payout failure, if available. View our [list of failure codes](https://docs.stripe.com/api#payout_failures).
|
|
60
60
|
attr_reader :failure_code
|
|
61
61
|
# Message that provides the reason for a payout failure, if available.
|
|
62
62
|
attr_reader :failure_message
|
|
@@ -64,7 +64,7 @@ module Stripe
|
|
|
64
64
|
attr_reader :id
|
|
65
65
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
66
66
|
attr_reader :livemode
|
|
67
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
67
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
68
68
|
attr_reader :metadata
|
|
69
69
|
# The method used to send this payout, which can be `standard` or `instant`. `instant` is supported for payouts to debit cards and bank accounts in certain countries. Learn more about [bank support for Instant Payouts](https://stripe.com/docs/payouts/instant-payouts-banks).
|
|
70
70
|
attr_reader :method
|
|
@@ -74,7 +74,7 @@ module Stripe
|
|
|
74
74
|
attr_reader :original_payout
|
|
75
75
|
# ID of the v2 FinancialAccount the funds are sent to.
|
|
76
76
|
attr_reader :payout_method
|
|
77
|
-
# If `completed`, you can use the [Balance Transactions API](https://stripe.com/
|
|
77
|
+
# If `completed`, you can use the [Balance Transactions API](https://docs.stripe.com/api/balance_transactions/list#balance_transaction_list-payout) to list all balance transactions that are paid out in this payout.
|
|
78
78
|
attr_reader :reconciliation_status
|
|
79
79
|
# If the payout reverses, this is the ID of the payout that reverses this payout.
|
|
80
80
|
attr_reader :reversed_by
|
|
@@ -55,7 +55,7 @@ module Stripe
|
|
|
55
55
|
attr_reader :line2
|
|
56
56
|
# ZIP or postal code.
|
|
57
57
|
attr_reader :postal_code
|
|
58
|
-
# State, county, province, or region.
|
|
58
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
59
59
|
attr_reader :state
|
|
60
60
|
|
|
61
61
|
def self.inner_class_types
|
|
@@ -136,9 +136,9 @@ module Stripe
|
|
|
136
136
|
|
|
137
137
|
class FutureRequirements < ::Stripe::StripeObject
|
|
138
138
|
class Alternative < ::Stripe::StripeObject
|
|
139
|
-
# Fields that can be provided to
|
|
139
|
+
# Fields that can be provided to resolve all fields in `original_fields_due`.
|
|
140
140
|
attr_reader :alternative_fields_due
|
|
141
|
-
# Fields that are due and can be
|
|
141
|
+
# Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
|
|
142
142
|
attr_reader :original_fields_due
|
|
143
143
|
|
|
144
144
|
def self.inner_class_types
|
|
@@ -166,17 +166,17 @@ module Stripe
|
|
|
166
166
|
@field_remappings = {}
|
|
167
167
|
end
|
|
168
168
|
end
|
|
169
|
-
# Fields that are due and can be
|
|
169
|
+
# Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.
|
|
170
170
|
attr_reader :alternatives
|
|
171
|
-
# Fields that need to be
|
|
171
|
+
# Fields that need to be resolved to keep the person's account enabled. If not resolved by the account's `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash, and may immediately become `past_due`, but the account may also be given a grace period depending on the account's enablement state prior to transition.
|
|
172
172
|
attr_reader :currently_due
|
|
173
|
-
#
|
|
173
|
+
# Details about validation and verification failures for `due` requirements that must be resolved.
|
|
174
174
|
attr_reader :errors
|
|
175
175
|
# Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `future_requirements[current_deadline]` becomes set.
|
|
176
176
|
attr_reader :eventually_due
|
|
177
|
-
# Fields that
|
|
177
|
+
# Fields that haven't been resolved by the account's `requirements.current_deadline`. These fields need to be resolved to enable the person's account. `future_requirements.past_due` is a subset of `requirements.past_due`.
|
|
178
178
|
attr_reader :past_due
|
|
179
|
-
# Fields that might become required depending on the results of
|
|
179
|
+
# Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
|
|
180
180
|
attr_reader :pending_verification
|
|
181
181
|
|
|
182
182
|
def self.inner_class_types
|
|
@@ -199,7 +199,7 @@ module Stripe
|
|
|
199
199
|
attr_reader :line2
|
|
200
200
|
# ZIP or postal code.
|
|
201
201
|
attr_reader :postal_code
|
|
202
|
-
# State, county, province, or region.
|
|
202
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
203
203
|
attr_reader :state
|
|
204
204
|
|
|
205
205
|
def self.inner_class_types
|
|
@@ -240,9 +240,9 @@ module Stripe
|
|
|
240
240
|
|
|
241
241
|
class Requirements < ::Stripe::StripeObject
|
|
242
242
|
class Alternative < ::Stripe::StripeObject
|
|
243
|
-
# Fields that can be provided to
|
|
243
|
+
# Fields that can be provided to resolve all fields in `original_fields_due`.
|
|
244
244
|
attr_reader :alternative_fields_due
|
|
245
|
-
# Fields that are due and can be
|
|
245
|
+
# Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
|
|
246
246
|
attr_reader :original_fields_due
|
|
247
247
|
|
|
248
248
|
def self.inner_class_types
|
|
@@ -270,17 +270,17 @@ module Stripe
|
|
|
270
270
|
@field_remappings = {}
|
|
271
271
|
end
|
|
272
272
|
end
|
|
273
|
-
# Fields that are due and can be
|
|
273
|
+
# Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.
|
|
274
274
|
attr_reader :alternatives
|
|
275
|
-
# Fields that need to be
|
|
275
|
+
# Fields that need to be resolved to keep the person's account enabled. If not resolved by the account's `current_deadline`, these fields will appear in `past_due` as well, and the account is disabled.
|
|
276
276
|
attr_reader :currently_due
|
|
277
|
-
#
|
|
277
|
+
# Details about validation and verification failures for `due` requirements that must be resolved.
|
|
278
278
|
attr_reader :errors
|
|
279
279
|
# Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and the account's `current_deadline` becomes set.
|
|
280
280
|
attr_reader :eventually_due
|
|
281
|
-
# Fields that
|
|
281
|
+
# Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the person's account.
|
|
282
282
|
attr_reader :past_due
|
|
283
|
-
# Fields that might become required depending on the results of
|
|
283
|
+
# Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
|
|
284
284
|
attr_reader :pending_verification
|
|
285
285
|
|
|
286
286
|
def self.inner_class_types
|
|
@@ -292,6 +292,36 @@ module Stripe
|
|
|
292
292
|
end
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
+
class SelfReportedIncome < ::Stripe::StripeObject
|
|
296
|
+
# The amount in the minor currency unit (for example, cents for USD).
|
|
297
|
+
attr_reader :amount
|
|
298
|
+
# 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).
|
|
299
|
+
attr_reader :currency
|
|
300
|
+
|
|
301
|
+
def self.inner_class_types
|
|
302
|
+
@inner_class_types = {}
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
def self.field_remappings
|
|
306
|
+
@field_remappings = {}
|
|
307
|
+
end
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
class SelfReportedMonthlyHousingPayment < ::Stripe::StripeObject
|
|
311
|
+
# The amount in the minor currency unit (for example, cents for USD).
|
|
312
|
+
attr_reader :amount
|
|
313
|
+
# 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).
|
|
314
|
+
attr_reader :currency
|
|
315
|
+
|
|
316
|
+
def self.inner_class_types
|
|
317
|
+
@inner_class_types = {}
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
def self.field_remappings
|
|
321
|
+
@field_remappings = {}
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
|
|
295
325
|
class UsCfpbData < ::Stripe::StripeObject
|
|
296
326
|
class EthnicityDetails < ::Stripe::StripeObject
|
|
297
327
|
# The persons ethnicity
|
|
@@ -340,13 +370,13 @@ module Stripe
|
|
|
340
370
|
|
|
341
371
|
class Verification < ::Stripe::StripeObject
|
|
342
372
|
class AdditionalDocument < ::Stripe::StripeObject
|
|
343
|
-
# The back of an ID returned by a [file upload](https://stripe.com
|
|
373
|
+
# The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
|
|
344
374
|
attr_reader :back
|
|
345
375
|
# A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read".
|
|
346
376
|
attr_reader :details
|
|
347
377
|
# One of `document_corrupt`, `document_country_not_supported`, `document_expired`, `document_failed_copy`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_failed_greyscale`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_missing_back`, `document_missing_front`, `document_not_readable`, `document_not_uploaded`, `document_photo_mismatch`, `document_too_large`, or `document_type_not_supported`. A machine-readable code specifying the verification state for this document.
|
|
348
378
|
attr_reader :details_code
|
|
349
|
-
# The front of an ID returned by a [file upload](https://stripe.com
|
|
379
|
+
# The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
|
|
350
380
|
attr_reader :front
|
|
351
381
|
|
|
352
382
|
def self.inner_class_types
|
|
@@ -359,13 +389,13 @@ module Stripe
|
|
|
359
389
|
end
|
|
360
390
|
|
|
361
391
|
class Document < ::Stripe::StripeObject
|
|
362
|
-
# The back of an ID returned by a [file upload](https://stripe.com
|
|
392
|
+
# The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
|
|
363
393
|
attr_reader :back
|
|
364
394
|
# A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read".
|
|
365
395
|
attr_reader :details
|
|
366
396
|
# One of `document_corrupt`, `document_country_not_supported`, `document_expired`, `document_failed_copy`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_failed_greyscale`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_missing_back`, `document_missing_front`, `document_not_readable`, `document_not_uploaded`, `document_photo_mismatch`, `document_too_large`, or `document_type_not_supported`. A machine-readable code specifying the verification state for this document.
|
|
367
397
|
attr_reader :details_code
|
|
368
|
-
# The front of an ID returned by a [file upload](https://stripe.com
|
|
398
|
+
# The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
|
|
369
399
|
attr_reader :front
|
|
370
400
|
|
|
371
401
|
def self.inner_class_types
|
|
@@ -384,7 +414,7 @@ module Stripe
|
|
|
384
414
|
attr_reader :details_code
|
|
385
415
|
# Attribute for field document
|
|
386
416
|
attr_reader :document
|
|
387
|
-
# The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. Please refer [guide](https://stripe.com/
|
|
417
|
+
# The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. Please refer [guide](https://docs.stripe.com/connect/handling-api-verification) to handle verification updates.
|
|
388
418
|
attr_reader :status
|
|
389
419
|
|
|
390
420
|
def self.inner_class_types
|
|
@@ -419,7 +449,7 @@ module Stripe
|
|
|
419
449
|
attr_reader :first_name_kanji
|
|
420
450
|
# A list of alternate names or aliases that the person is known by. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.
|
|
421
451
|
attr_reader :full_name_aliases
|
|
422
|
-
# Information about the [upcoming new requirements for this person](https://stripe.com/
|
|
452
|
+
# Information about the [upcoming new requirements for this person](https://docs.stripe.com/connect/custom-accounts/future-requirements), including what information needs to be collected, and by when.
|
|
423
453
|
attr_reader :future_requirements
|
|
424
454
|
# The person's gender.
|
|
425
455
|
attr_reader :gender
|
|
@@ -437,7 +467,7 @@ module Stripe
|
|
|
437
467
|
attr_reader :last_name_kanji
|
|
438
468
|
# The person's maiden name.
|
|
439
469
|
attr_reader :maiden_name
|
|
440
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
470
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
441
471
|
attr_reader :metadata
|
|
442
472
|
# The country where the person is a national.
|
|
443
473
|
attr_reader :nationality
|
|
@@ -453,6 +483,10 @@ module Stripe
|
|
|
453
483
|
attr_reader :relationship
|
|
454
484
|
# Information about the requirements for this person, including what information needs to be collected, and by when.
|
|
455
485
|
attr_reader :requirements
|
|
486
|
+
# Attribute for field self_reported_income
|
|
487
|
+
attr_reader :self_reported_income
|
|
488
|
+
# Attribute for field self_reported_monthly_housing_payment
|
|
489
|
+
attr_reader :self_reported_monthly_housing_payment
|
|
456
490
|
# Whether the last four digits of the person's Social Security number have been provided (U.S. only).
|
|
457
491
|
attr_reader :ssn_last_4_provided
|
|
458
492
|
# Demographic data related to the person.
|
|
@@ -494,6 +528,8 @@ module Stripe
|
|
|
494
528
|
registered_address: RegisteredAddress,
|
|
495
529
|
relationship: Relationship,
|
|
496
530
|
requirements: Requirements,
|
|
531
|
+
self_reported_income: SelfReportedIncome,
|
|
532
|
+
self_reported_monthly_housing_payment: SelfReportedMonthlyHousingPayment,
|
|
497
533
|
us_cfpb_data: UsCfpbData,
|
|
498
534
|
verification: Verification,
|
|
499
535
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
|
-
# You can now model subscriptions more flexibly using the [Prices API](https://stripe.com
|
|
5
|
+
# You can now model subscriptions more flexibly using the [Prices API](https://api.stripe.com#prices). It replaces the Plans API and is backwards compatible to simplify your migration.
|
|
6
6
|
#
|
|
7
7
|
# Plans define the base price, currency, and billing cycle for recurring purchases of products.
|
|
8
|
-
# [Products](https://stripe.com
|
|
8
|
+
# [Products](https://api.stripe.com#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme.
|
|
9
9
|
#
|
|
10
10
|
# For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year.
|
|
11
11
|
#
|
|
12
|
-
# Related guides: [Set up a subscription](https://stripe.com/
|
|
12
|
+
# Related guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription) and more about [products and prices](https://docs.stripe.com/products-prices/overview).
|
|
13
13
|
class Plan < APIResource
|
|
14
14
|
extend Stripe::APIOperations::Create
|
|
15
15
|
include Stripe::APIOperations::Delete
|
|
@@ -76,7 +76,7 @@ module Stripe
|
|
|
76
76
|
attr_reader :interval_count
|
|
77
77
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
78
78
|
attr_reader :livemode
|
|
79
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
79
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
80
80
|
attr_reader :metadata
|
|
81
81
|
# The meter tracking the usage of a metered price
|
|
82
82
|
attr_reader :meter
|
|
@@ -92,7 +92,7 @@ module Stripe
|
|
|
92
92
|
attr_reader :tiers_mode
|
|
93
93
|
# Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`.
|
|
94
94
|
attr_reader :transform_usage
|
|
95
|
-
# Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/
|
|
95
|
+
# Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).
|
|
96
96
|
attr_reader :trial_period_days
|
|
97
97
|
# Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`.
|
|
98
98
|
attr_reader :usage_type
|