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
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentCreateParams < ::Stripe::RequestParams
|
|
6
|
+
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
+
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
+
attr_accessor :enabled
|
|
9
|
+
|
|
10
|
+
def initialize(enabled: nil)
|
|
11
|
+
@enabled = enabled
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
6
15
|
class AmountDetails < ::Stripe::RequestParams
|
|
7
16
|
class LineItem < ::Stripe::RequestParams
|
|
8
17
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
@@ -79,7 +88,7 @@ module Stripe
|
|
|
79
88
|
end
|
|
80
89
|
|
|
81
90
|
class Tax < ::Stripe::RequestParams
|
|
82
|
-
# The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/
|
|
91
|
+
# The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
83
92
|
#
|
|
84
93
|
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
85
94
|
attr_accessor :total_tax_amount
|
|
@@ -88,7 +97,7 @@ module Stripe
|
|
|
88
97
|
@total_tax_amount = total_tax_amount
|
|
89
98
|
end
|
|
90
99
|
end
|
|
91
|
-
# The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/
|
|
100
|
+
# The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
92
101
|
#
|
|
93
102
|
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
94
103
|
attr_accessor :discount_amount
|
|
@@ -104,7 +113,7 @@ module Stripe
|
|
|
104
113
|
attr_accessor :quantity
|
|
105
114
|
# Contains information about the tax on the item.
|
|
106
115
|
attr_accessor :tax
|
|
107
|
-
# The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/
|
|
116
|
+
# The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
108
117
|
attr_accessor :unit_cost
|
|
109
118
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
110
119
|
attr_accessor :unit_of_measure
|
|
@@ -131,7 +140,7 @@ module Stripe
|
|
|
131
140
|
end
|
|
132
141
|
|
|
133
142
|
class Shipping < ::Stripe::RequestParams
|
|
134
|
-
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/
|
|
143
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
135
144
|
attr_accessor :amount
|
|
136
145
|
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
137
146
|
attr_accessor :from_postal_code
|
|
@@ -146,7 +155,7 @@ module Stripe
|
|
|
146
155
|
end
|
|
147
156
|
|
|
148
157
|
class Tax < ::Stripe::RequestParams
|
|
149
|
-
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
158
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
150
159
|
#
|
|
151
160
|
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
152
161
|
attr_accessor :total_tax_amount
|
|
@@ -155,7 +164,7 @@ module Stripe
|
|
|
155
164
|
@total_tax_amount = total_tax_amount
|
|
156
165
|
end
|
|
157
166
|
end
|
|
158
|
-
# The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
167
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
159
168
|
#
|
|
160
169
|
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
161
170
|
attr_accessor :discount_amount
|
|
@@ -177,7 +186,7 @@ module Stripe
|
|
|
177
186
|
class AutomaticPaymentMethods < ::Stripe::RequestParams
|
|
178
187
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
179
188
|
#
|
|
180
|
-
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/
|
|
189
|
+
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
181
190
|
attr_accessor :allow_redirects
|
|
182
191
|
# Whether this feature is enabled.
|
|
183
192
|
attr_accessor :enabled
|
|
@@ -191,7 +200,7 @@ module Stripe
|
|
|
191
200
|
class Hooks < ::Stripe::RequestParams
|
|
192
201
|
class Inputs < ::Stripe::RequestParams
|
|
193
202
|
class Tax < ::Stripe::RequestParams
|
|
194
|
-
# The [TaxCalculation](https://stripe.com/
|
|
203
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
195
204
|
attr_accessor :calculation
|
|
196
205
|
|
|
197
206
|
def initialize(calculation: nil)
|
|
@@ -253,6 +262,23 @@ module Stripe
|
|
|
253
262
|
end
|
|
254
263
|
|
|
255
264
|
class PaymentDetails < ::Stripe::RequestParams
|
|
265
|
+
class Benefit < ::Stripe::RequestParams
|
|
266
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
267
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
268
|
+
attr_accessor :siret
|
|
269
|
+
|
|
270
|
+
def initialize(siret: nil)
|
|
271
|
+
@siret = siret
|
|
272
|
+
end
|
|
273
|
+
end
|
|
274
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
275
|
+
attr_accessor :fr_meal_voucher
|
|
276
|
+
|
|
277
|
+
def initialize(fr_meal_voucher: nil)
|
|
278
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
256
282
|
class CarRental < ::Stripe::RequestParams
|
|
257
283
|
class Affiliate < ::Stripe::RequestParams
|
|
258
284
|
# The name of the affiliate that originated the purchase.
|
|
@@ -327,7 +353,7 @@ module Stripe
|
|
|
327
353
|
attr_accessor :line2
|
|
328
354
|
# ZIP or postal code.
|
|
329
355
|
attr_accessor :postal_code
|
|
330
|
-
# State, county, province, or region.
|
|
356
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
331
357
|
attr_accessor :state
|
|
332
358
|
|
|
333
359
|
def initialize(
|
|
@@ -358,7 +384,7 @@ module Stripe
|
|
|
358
384
|
attr_accessor :line2
|
|
359
385
|
# ZIP or postal code.
|
|
360
386
|
attr_accessor :postal_code
|
|
361
|
-
# State, county, province, or region.
|
|
387
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
362
388
|
attr_accessor :state
|
|
363
389
|
|
|
364
390
|
def initialize(
|
|
@@ -553,7 +579,7 @@ module Stripe
|
|
|
553
579
|
attr_accessor :line2
|
|
554
580
|
# ZIP or postal code.
|
|
555
581
|
attr_accessor :postal_code
|
|
556
|
-
# State, county, province, or region.
|
|
582
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
557
583
|
attr_accessor :state
|
|
558
584
|
|
|
559
585
|
def initialize(
|
|
@@ -621,7 +647,7 @@ module Stripe
|
|
|
621
647
|
attr_accessor :line2
|
|
622
648
|
# ZIP or postal code.
|
|
623
649
|
attr_accessor :postal_code
|
|
624
|
-
# State, county, province, or region.
|
|
650
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
625
651
|
attr_accessor :state
|
|
626
652
|
|
|
627
653
|
def initialize(
|
|
@@ -849,7 +875,7 @@ module Stripe
|
|
|
849
875
|
attr_accessor :line2
|
|
850
876
|
# ZIP or postal code.
|
|
851
877
|
attr_accessor :postal_code
|
|
852
|
-
# State, county, province, or region.
|
|
878
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
853
879
|
attr_accessor :state
|
|
854
880
|
|
|
855
881
|
def initialize(
|
|
@@ -1347,7 +1373,7 @@ module Stripe
|
|
|
1347
1373
|
attr_accessor :line2
|
|
1348
1374
|
# ZIP or postal code.
|
|
1349
1375
|
attr_accessor :postal_code
|
|
1350
|
-
# State, county, province, or region.
|
|
1376
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1351
1377
|
attr_accessor :state
|
|
1352
1378
|
|
|
1353
1379
|
def initialize(
|
|
@@ -1569,7 +1595,7 @@ module Stripe
|
|
|
1569
1595
|
attr_accessor :line2
|
|
1570
1596
|
# ZIP or postal code.
|
|
1571
1597
|
attr_accessor :postal_code
|
|
1572
|
-
# State, county, province, or region.
|
|
1598
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1573
1599
|
attr_accessor :state
|
|
1574
1600
|
|
|
1575
1601
|
def initialize(
|
|
@@ -1844,6 +1870,8 @@ module Stripe
|
|
|
1844
1870
|
@starts_at = starts_at
|
|
1845
1871
|
end
|
|
1846
1872
|
end
|
|
1873
|
+
# Benefit details for this PaymentIntent
|
|
1874
|
+
attr_accessor :benefit
|
|
1847
1875
|
# Car rental details for this PaymentIntent.
|
|
1848
1876
|
attr_accessor :car_rental
|
|
1849
1877
|
# Car rental data for this PaymentIntent.
|
|
@@ -1872,6 +1900,7 @@ module Stripe
|
|
|
1872
1900
|
attr_accessor :subscription
|
|
1873
1901
|
|
|
1874
1902
|
def initialize(
|
|
1903
|
+
benefit: nil,
|
|
1875
1904
|
car_rental: nil,
|
|
1876
1905
|
car_rental_data: nil,
|
|
1877
1906
|
customer_reference: nil,
|
|
@@ -1883,6 +1912,7 @@ module Stripe
|
|
|
1883
1912
|
order_reference: nil,
|
|
1884
1913
|
subscription: nil
|
|
1885
1914
|
)
|
|
1915
|
+
@benefit = benefit
|
|
1886
1916
|
@car_rental = car_rental
|
|
1887
1917
|
@car_rental_data = car_rental_data
|
|
1888
1918
|
@customer_reference = customer_reference
|
|
@@ -1957,7 +1987,7 @@ module Stripe
|
|
|
1957
1987
|
attr_accessor :line2
|
|
1958
1988
|
# ZIP or postal code.
|
|
1959
1989
|
attr_accessor :postal_code
|
|
1960
|
-
# State, county, province, or region.
|
|
1990
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1961
1991
|
attr_accessor :state
|
|
1962
1992
|
|
|
1963
1993
|
def initialize(
|
|
@@ -2164,7 +2194,7 @@ module Stripe
|
|
|
2164
2194
|
class Qris < ::Stripe::RequestParams; end
|
|
2165
2195
|
|
|
2166
2196
|
class RadarOptions < ::Stripe::RequestParams
|
|
2167
|
-
# A [Radar Session](https://stripe.com/
|
|
2197
|
+
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
2168
2198
|
attr_accessor :session
|
|
2169
2199
|
|
|
2170
2200
|
def initialize(session: nil)
|
|
@@ -2325,7 +2355,7 @@ module Stripe
|
|
|
2325
2355
|
attr_accessor :link
|
|
2326
2356
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
2327
2357
|
attr_accessor :mb_way
|
|
2328
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
2358
|
+
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2329
2359
|
attr_accessor :metadata
|
|
2330
2360
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
|
2331
2361
|
attr_accessor :mobilepay
|
|
@@ -2357,7 +2387,7 @@ module Stripe
|
|
|
2357
2387
|
attr_accessor :promptpay
|
|
2358
2388
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2359
2389
|
attr_accessor :qris
|
|
2360
|
-
# Options to configure Radar. See [Radar Session](https://stripe.com/
|
|
2390
|
+
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2361
2391
|
attr_accessor :radar_options
|
|
2362
2392
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2363
2393
|
attr_accessor :rechnung
|
|
@@ -2890,7 +2920,7 @@ module Stripe
|
|
|
2890
2920
|
attr_accessor :line2
|
|
2891
2921
|
# ZIP or postal code.
|
|
2892
2922
|
attr_accessor :postal_code
|
|
2893
|
-
# State, county, province, or region.
|
|
2923
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2894
2924
|
attr_accessor :state
|
|
2895
2925
|
|
|
2896
2926
|
def initialize(
|
|
@@ -3004,7 +3034,7 @@ module Stripe
|
|
|
3004
3034
|
attr_accessor :cvc_token
|
|
3005
3035
|
# Installment configuration for payments attempted on this PaymentIntent.
|
|
3006
3036
|
#
|
|
3007
|
-
# For more information, see the [installments integration guide](https://stripe.com/
|
|
3037
|
+
# For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
|
|
3008
3038
|
attr_accessor :installments
|
|
3009
3039
|
# Configuration options for setting up an eMandate for cards issued in India.
|
|
3010
3040
|
attr_accessor :mandate_options
|
|
@@ -3014,19 +3044,19 @@ module Stripe
|
|
|
3014
3044
|
attr_accessor :moto
|
|
3015
3045
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
3016
3046
|
attr_accessor :network
|
|
3017
|
-
# Request ability to [decrement the authorization](https://stripe.com/
|
|
3047
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
3018
3048
|
attr_accessor :request_decremental_authorization
|
|
3019
|
-
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/
|
|
3049
|
+
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
3020
3050
|
attr_accessor :request_extended_authorization
|
|
3021
|
-
# Request ability to [increment the authorization](https://stripe.com/
|
|
3051
|
+
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
3022
3052
|
attr_accessor :request_incremental_authorization
|
|
3023
|
-
# Request ability to make [multiple captures](https://stripe.com/
|
|
3053
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
3024
3054
|
attr_accessor :request_multicapture
|
|
3025
|
-
# Request ability to [overcapture](https://stripe.com/
|
|
3055
|
+
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
3026
3056
|
attr_accessor :request_overcapture
|
|
3027
3057
|
# Request partial authorization on this PaymentIntent.
|
|
3028
3058
|
attr_accessor :request_partial_authorization
|
|
3029
|
-
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/
|
|
3059
|
+
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
3030
3060
|
attr_accessor :request_three_d_secure
|
|
3031
3061
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
3032
3062
|
attr_accessor :require_cvc_recollection
|
|
@@ -3108,9 +3138,9 @@ module Stripe
|
|
|
3108
3138
|
#
|
|
3109
3139
|
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
3110
3140
|
attr_accessor :capture_method
|
|
3111
|
-
# Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/
|
|
3141
|
+
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
3112
3142
|
attr_accessor :request_extended_authorization
|
|
3113
|
-
# Request ability to [increment](https://stripe.com/
|
|
3143
|
+
# Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
|
|
3114
3144
|
attr_accessor :request_incremental_authorization_support
|
|
3115
3145
|
# Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
|
|
3116
3146
|
attr_accessor :routing
|
|
@@ -4715,7 +4745,7 @@ module Stripe
|
|
|
4715
4745
|
attr_accessor :capture_method
|
|
4716
4746
|
# The line items purchased by the customer.
|
|
4717
4747
|
attr_accessor :line_items
|
|
4718
|
-
# [Preferred locale](https://stripe.com/
|
|
4748
|
+
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
4719
4749
|
attr_accessor :preferred_locale
|
|
4720
4750
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
4721
4751
|
attr_accessor :reference
|
|
@@ -5487,8 +5517,17 @@ module Stripe
|
|
|
5487
5517
|
end
|
|
5488
5518
|
end
|
|
5489
5519
|
|
|
5520
|
+
class PaymentsOrchestration < ::Stripe::RequestParams
|
|
5521
|
+
# Whether this feature is enabled.
|
|
5522
|
+
attr_accessor :enabled
|
|
5523
|
+
|
|
5524
|
+
def initialize(enabled: nil)
|
|
5525
|
+
@enabled = enabled
|
|
5526
|
+
end
|
|
5527
|
+
end
|
|
5528
|
+
|
|
5490
5529
|
class RadarOptions < ::Stripe::RequestParams
|
|
5491
|
-
# A [Radar Session](https://stripe.com/
|
|
5530
|
+
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
5492
5531
|
attr_accessor :session
|
|
5493
5532
|
|
|
5494
5533
|
def initialize(session: nil)
|
|
@@ -5508,7 +5547,7 @@ module Stripe
|
|
|
5508
5547
|
attr_accessor :line2
|
|
5509
5548
|
# ZIP or postal code.
|
|
5510
5549
|
attr_accessor :postal_code
|
|
5511
|
-
# State, county, province, or region.
|
|
5550
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5512
5551
|
attr_accessor :state
|
|
5513
5552
|
|
|
5514
5553
|
def initialize(
|
|
@@ -5553,7 +5592,7 @@ module Stripe
|
|
|
5553
5592
|
# the full amount is transferred.
|
|
5554
5593
|
#
|
|
5555
5594
|
# If you intend to collect a fee and you need a more robust reporting experience, using
|
|
5556
|
-
# [application_fee_amount](https://stripe.com/
|
|
5595
|
+
# [application_fee_amount](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-application_fee_amount)
|
|
5557
5596
|
# might be a better fit for your integration.
|
|
5558
5597
|
attr_accessor :amount
|
|
5559
5598
|
# If specified, successful charges will be attributed to the destination
|
|
@@ -5567,17 +5606,19 @@ module Stripe
|
|
|
5567
5606
|
@destination = destination
|
|
5568
5607
|
end
|
|
5569
5608
|
end
|
|
5570
|
-
#
|
|
5609
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
5610
|
+
attr_accessor :allocated_funds
|
|
5611
|
+
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
5571
5612
|
attr_accessor :amount
|
|
5572
5613
|
# Provides industry-specific information about the amount.
|
|
5573
5614
|
attr_accessor :amount_details
|
|
5574
|
-
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/
|
|
5615
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
5575
5616
|
attr_accessor :application_fee_amount
|
|
5576
5617
|
# When you enable this parameter, this PaymentIntent accepts payment methods that you enable in the Dashboard and that are compatible with this PaymentIntent's other parameters.
|
|
5577
5618
|
attr_accessor :automatic_payment_methods
|
|
5578
5619
|
# Controls when the funds will be captured from the customer's account.
|
|
5579
5620
|
attr_accessor :capture_method
|
|
5580
|
-
# Set to `true` to attempt to [confirm this PaymentIntent](https://stripe.com/
|
|
5621
|
+
# Set to `true` to attempt to [confirm this PaymentIntent](https://docs.stripe.com/api/payment_intents/confirm) immediately. This parameter defaults to `false`. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://docs.stripe.com/api/payment_intents/confirm).
|
|
5581
5622
|
attr_accessor :confirm
|
|
5582
5623
|
# Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
|
|
5583
5624
|
attr_accessor :confirmation_method
|
|
@@ -5591,17 +5632,17 @@ module Stripe
|
|
|
5591
5632
|
#
|
|
5592
5633
|
# Payment methods attached to other Customers cannot be used with this PaymentIntent.
|
|
5593
5634
|
#
|
|
5594
|
-
# If [setup_future_usage](https://stripe.com
|
|
5635
|
+
# If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
5595
5636
|
attr_accessor :customer
|
|
5596
|
-
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
5637
|
+
# ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
|
|
5597
5638
|
#
|
|
5598
5639
|
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
5599
5640
|
#
|
|
5600
|
-
# If [setup_future_usage](https://stripe.com
|
|
5641
|
+
# If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
5601
5642
|
attr_accessor :customer_account
|
|
5602
5643
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
5603
5644
|
attr_accessor :description
|
|
5604
|
-
# Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://stripe.com/
|
|
5645
|
+
# Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
5605
5646
|
attr_accessor :error_on_requires_action
|
|
5606
5647
|
# The list of payment method types to exclude from use with this payment.
|
|
5607
5648
|
attr_accessor :excluded_payment_method_types
|
|
@@ -5611,39 +5652,41 @@ module Stripe
|
|
|
5611
5652
|
attr_accessor :fx_quote
|
|
5612
5653
|
# Automations to be run during the PaymentIntent lifecycle
|
|
5613
5654
|
attr_accessor :hooks
|
|
5614
|
-
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/
|
|
5655
|
+
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
5615
5656
|
attr_accessor :mandate
|
|
5616
|
-
# This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/
|
|
5657
|
+
# This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
5617
5658
|
attr_accessor :mandate_data
|
|
5618
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
5659
|
+
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
5619
5660
|
attr_accessor :metadata
|
|
5620
|
-
# Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/
|
|
5661
|
+
# Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://docs.stripe.com/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
5621
5662
|
attr_accessor :off_session
|
|
5622
|
-
# The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
5663
|
+
# The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
5623
5664
|
attr_accessor :on_behalf_of
|
|
5624
5665
|
# Provides industry-specific information about the charge.
|
|
5625
5666
|
attr_accessor :payment_details
|
|
5626
|
-
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/
|
|
5667
|
+
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.
|
|
5627
5668
|
#
|
|
5628
5669
|
# If you don't provide the `payment_method` parameter or the `source` parameter with `confirm=true`, `source` automatically populates with `customer.default_source` to improve migration for users of the Charges API. We recommend that you explicitly provide the `payment_method` moving forward.
|
|
5629
|
-
# If the payment method is attached to a Customer, you must also provide the ID of that Customer as the [customer](https://stripe.com
|
|
5670
|
+
# If the payment method is attached to a Customer, you must also provide the ID of that Customer as the [customer](https://api.stripe.com#create_payment_intent-customer) parameter of this PaymentIntent.
|
|
5630
5671
|
# end
|
|
5631
5672
|
attr_accessor :payment_method
|
|
5632
|
-
# The ID of the [payment method configuration](https://stripe.com/
|
|
5673
|
+
# The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
|
|
5633
5674
|
attr_accessor :payment_method_configuration
|
|
5634
5675
|
# If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
|
|
5635
|
-
# in the [payment_method](https://stripe.com/
|
|
5676
|
+
# in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
|
|
5636
5677
|
# property on the PaymentIntent.
|
|
5637
5678
|
attr_accessor :payment_method_data
|
|
5638
5679
|
# Payment method-specific configuration for this PaymentIntent.
|
|
5639
5680
|
attr_accessor :payment_method_options
|
|
5640
5681
|
# The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
5641
5682
|
attr_accessor :payment_method_types
|
|
5642
|
-
#
|
|
5683
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
5684
|
+
attr_accessor :payments_orchestration
|
|
5685
|
+
# Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
|
|
5643
5686
|
attr_accessor :radar_options
|
|
5644
5687
|
# Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
|
5645
5688
|
attr_accessor :receipt_email
|
|
5646
|
-
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/
|
|
5689
|
+
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
|
|
5647
5690
|
attr_accessor :return_url
|
|
5648
5691
|
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
5649
5692
|
attr_accessor :secret_key_confirmation
|
|
@@ -5664,14 +5707,17 @@ module Stripe
|
|
|
5664
5707
|
# Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
|
|
5665
5708
|
attr_accessor :statement_descriptor_suffix
|
|
5666
5709
|
# The parameters that you can use to automatically create a Transfer.
|
|
5667
|
-
# Learn more about the [use case for connected accounts](https://stripe.com/
|
|
5710
|
+
# Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
5668
5711
|
attr_accessor :transfer_data
|
|
5669
|
-
# A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
5712
|
+
# A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
5670
5713
|
attr_accessor :transfer_group
|
|
5671
5714
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
5672
5715
|
attr_accessor :use_stripe_sdk
|
|
5716
|
+
# ID of the SharedPaymentToken used to confirm this PaymentIntent.
|
|
5717
|
+
attr_accessor :shared_payment_granted_token
|
|
5673
5718
|
|
|
5674
5719
|
def initialize(
|
|
5720
|
+
allocated_funds: nil,
|
|
5675
5721
|
amount: nil,
|
|
5676
5722
|
amount_details: nil,
|
|
5677
5723
|
application_fee_amount: nil,
|
|
@@ -5700,6 +5746,7 @@ module Stripe
|
|
|
5700
5746
|
payment_method_data: nil,
|
|
5701
5747
|
payment_method_options: nil,
|
|
5702
5748
|
payment_method_types: nil,
|
|
5749
|
+
payments_orchestration: nil,
|
|
5703
5750
|
radar_options: nil,
|
|
5704
5751
|
receipt_email: nil,
|
|
5705
5752
|
return_url: nil,
|
|
@@ -5710,8 +5757,10 @@ module Stripe
|
|
|
5710
5757
|
statement_descriptor_suffix: nil,
|
|
5711
5758
|
transfer_data: nil,
|
|
5712
5759
|
transfer_group: nil,
|
|
5713
|
-
use_stripe_sdk: nil
|
|
5760
|
+
use_stripe_sdk: nil,
|
|
5761
|
+
shared_payment_granted_token: nil
|
|
5714
5762
|
)
|
|
5763
|
+
@allocated_funds = allocated_funds
|
|
5715
5764
|
@amount = amount
|
|
5716
5765
|
@amount_details = amount_details
|
|
5717
5766
|
@application_fee_amount = application_fee_amount
|
|
@@ -5740,6 +5789,7 @@ module Stripe
|
|
|
5740
5789
|
@payment_method_data = payment_method_data
|
|
5741
5790
|
@payment_method_options = payment_method_options
|
|
5742
5791
|
@payment_method_types = payment_method_types
|
|
5792
|
+
@payments_orchestration = payments_orchestration
|
|
5743
5793
|
@radar_options = radar_options
|
|
5744
5794
|
@receipt_email = receipt_email
|
|
5745
5795
|
@return_url = return_url
|
|
@@ -5751,6 +5801,7 @@ module Stripe
|
|
|
5751
5801
|
@transfer_data = transfer_data
|
|
5752
5802
|
@transfer_group = transfer_group
|
|
5753
5803
|
@use_stripe_sdk = use_stripe_sdk
|
|
5804
|
+
@shared_payment_granted_token = shared_payment_granted_token
|
|
5754
5805
|
end
|
|
5755
5806
|
end
|
|
5756
5807
|
end
|
|
@@ -6,7 +6,7 @@ module Stripe
|
|
|
6
6
|
class Hooks < ::Stripe::RequestParams
|
|
7
7
|
class Inputs < ::Stripe::RequestParams
|
|
8
8
|
class Tax < ::Stripe::RequestParams
|
|
9
|
-
# The [TaxCalculation](https://stripe.com/
|
|
9
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
10
10
|
attr_accessor :calculation
|
|
11
11
|
|
|
12
12
|
def initialize(calculation: nil)
|
|
@@ -38,7 +38,7 @@ module Stripe
|
|
|
38
38
|
end
|
|
39
39
|
# The updated total amount that you intend to collect from the cardholder. This amount must be smaller than the currently authorized amount and greater than the already captured amount.
|
|
40
40
|
attr_accessor :amount
|
|
41
|
-
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/
|
|
41
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
42
42
|
attr_accessor :application_fee_amount
|
|
43
43
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
44
44
|
attr_accessor :description
|
|
@@ -46,10 +46,10 @@ module Stripe
|
|
|
46
46
|
attr_accessor :expand
|
|
47
47
|
# Automations to be run during the PaymentIntent lifecycle
|
|
48
48
|
attr_accessor :hooks
|
|
49
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
49
|
+
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
50
50
|
attr_accessor :metadata
|
|
51
51
|
# The parameters used to automatically create a transfer after the payment is captured.
|
|
52
|
-
# Learn more about the [use case for connected accounts](https://stripe.com/
|
|
52
|
+
# Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
53
53
|
attr_accessor :transfer_data
|
|
54
54
|
|
|
55
55
|
def initialize(
|
|
@@ -79,7 +79,7 @@ module Stripe
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
class Tax < ::Stripe::RequestParams
|
|
82
|
-
# The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/
|
|
82
|
+
# The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
83
83
|
#
|
|
84
84
|
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
85
85
|
attr_accessor :total_tax_amount
|
|
@@ -88,7 +88,7 @@ module Stripe
|
|
|
88
88
|
@total_tax_amount = total_tax_amount
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
|
-
# The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/
|
|
91
|
+
# The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
92
92
|
#
|
|
93
93
|
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
94
94
|
attr_accessor :discount_amount
|
|
@@ -104,7 +104,7 @@ module Stripe
|
|
|
104
104
|
attr_accessor :quantity
|
|
105
105
|
# Contains information about the tax on the item.
|
|
106
106
|
attr_accessor :tax
|
|
107
|
-
# The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/
|
|
107
|
+
# The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
108
108
|
attr_accessor :unit_cost
|
|
109
109
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
110
110
|
attr_accessor :unit_of_measure
|
|
@@ -131,7 +131,7 @@ module Stripe
|
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
class Shipping < ::Stripe::RequestParams
|
|
134
|
-
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/
|
|
134
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
135
135
|
attr_accessor :amount
|
|
136
136
|
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
137
137
|
attr_accessor :from_postal_code
|
|
@@ -146,7 +146,7 @@ module Stripe
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
class Tax < ::Stripe::RequestParams
|
|
149
|
-
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
149
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
150
150
|
#
|
|
151
151
|
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
152
152
|
attr_accessor :total_tax_amount
|
|
@@ -155,7 +155,7 @@ module Stripe
|
|
|
155
155
|
@total_tax_amount = total_tax_amount
|
|
156
156
|
end
|
|
157
157
|
end
|
|
158
|
-
# The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
158
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
159
159
|
#
|
|
160
160
|
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
161
161
|
attr_accessor :discount_amount
|
|
@@ -177,7 +177,7 @@ module Stripe
|
|
|
177
177
|
class Hooks < ::Stripe::RequestParams
|
|
178
178
|
class Inputs < ::Stripe::RequestParams
|
|
179
179
|
class Tax < ::Stripe::RequestParams
|
|
180
|
-
# The [TaxCalculation](https://stripe.com/
|
|
180
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
181
181
|
attr_accessor :calculation
|
|
182
182
|
|
|
183
183
|
def initialize(calculation: nil)
|
|
@@ -246,7 +246,7 @@ module Stripe
|
|
|
246
246
|
attr_accessor :amount
|
|
247
247
|
# Provides industry-specific information about the amount.
|
|
248
248
|
attr_accessor :amount_details
|
|
249
|
-
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/
|
|
249
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
250
250
|
attr_accessor :application_fee_amount
|
|
251
251
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
252
252
|
attr_accessor :description
|
|
@@ -254,7 +254,7 @@ module Stripe
|
|
|
254
254
|
attr_accessor :expand
|
|
255
255
|
# Automations to be run during the PaymentIntent lifecycle
|
|
256
256
|
attr_accessor :hooks
|
|
257
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
257
|
+
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
258
258
|
attr_accessor :metadata
|
|
259
259
|
# Provides industry-specific information about the charge.
|
|
260
260
|
attr_accessor :payment_details
|
|
@@ -263,7 +263,7 @@ module Stripe
|
|
|
263
263
|
# Text that appears on the customer's statement as the statement descriptor for a non-card or card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
264
264
|
attr_accessor :statement_descriptor
|
|
265
265
|
# The parameters used to automatically create a transfer after the payment is captured.
|
|
266
|
-
# Learn more about the [use case for connected accounts](https://stripe.com/
|
|
266
|
+
# Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
267
267
|
attr_accessor :transfer_data
|
|
268
268
|
|
|
269
269
|
def initialize(
|
|
@@ -24,7 +24,7 @@ module Stripe
|
|
|
24
24
|
attr_accessor :created
|
|
25
25
|
# Only return PaymentIntents for the customer that this customer ID specifies.
|
|
26
26
|
attr_accessor :customer
|
|
27
|
-
# Only return PaymentIntents for the account that this ID specifies.
|
|
27
|
+
# Only return PaymentIntents for the account representing the customer that this ID specifies.
|
|
28
28
|
attr_accessor :customer_account
|
|
29
29
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
30
30
|
attr_accessor :ending_before
|