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
|
@@ -9,7 +9,7 @@ module Stripe
|
|
|
9
9
|
attr_accessor :limit
|
|
10
10
|
# A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
|
|
11
11
|
attr_accessor :page
|
|
12
|
-
# The search query string. See [search query language](https://stripe.com/
|
|
12
|
+
# The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for payment intents](https://docs.stripe.com/search#query-fields-for-payment-intents).
|
|
13
13
|
attr_accessor :query
|
|
14
14
|
|
|
15
15
|
def initialize(expand: nil, limit: nil, page: nil, query: nil)
|
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentUpdateParams < ::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 Hooks < ::Stripe::RequestParams
|
|
178
187
|
class Inputs < ::Stripe::RequestParams
|
|
179
188
|
class Tax < ::Stripe::RequestParams
|
|
180
|
-
# The [TaxCalculation](https://stripe.com/
|
|
189
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
181
190
|
attr_accessor :calculation
|
|
182
191
|
|
|
183
192
|
def initialize(calculation: nil)
|
|
@@ -231,6 +240,23 @@ module Stripe
|
|
|
231
240
|
end
|
|
232
241
|
|
|
233
242
|
class PaymentDetails < ::Stripe::RequestParams
|
|
243
|
+
class Benefit < ::Stripe::RequestParams
|
|
244
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
245
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
246
|
+
attr_accessor :siret
|
|
247
|
+
|
|
248
|
+
def initialize(siret: nil)
|
|
249
|
+
@siret = siret
|
|
250
|
+
end
|
|
251
|
+
end
|
|
252
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
253
|
+
attr_accessor :fr_meal_voucher
|
|
254
|
+
|
|
255
|
+
def initialize(fr_meal_voucher: nil)
|
|
256
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
|
|
234
260
|
class CarRental < ::Stripe::RequestParams
|
|
235
261
|
class Affiliate < ::Stripe::RequestParams
|
|
236
262
|
# The name of the affiliate that originated the purchase.
|
|
@@ -305,7 +331,7 @@ module Stripe
|
|
|
305
331
|
attr_accessor :line2
|
|
306
332
|
# ZIP or postal code.
|
|
307
333
|
attr_accessor :postal_code
|
|
308
|
-
# State, county, province, or region.
|
|
334
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
309
335
|
attr_accessor :state
|
|
310
336
|
|
|
311
337
|
def initialize(
|
|
@@ -336,7 +362,7 @@ module Stripe
|
|
|
336
362
|
attr_accessor :line2
|
|
337
363
|
# ZIP or postal code.
|
|
338
364
|
attr_accessor :postal_code
|
|
339
|
-
# State, county, province, or region.
|
|
365
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
340
366
|
attr_accessor :state
|
|
341
367
|
|
|
342
368
|
def initialize(
|
|
@@ -531,7 +557,7 @@ module Stripe
|
|
|
531
557
|
attr_accessor :line2
|
|
532
558
|
# ZIP or postal code.
|
|
533
559
|
attr_accessor :postal_code
|
|
534
|
-
# State, county, province, or region.
|
|
560
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
535
561
|
attr_accessor :state
|
|
536
562
|
|
|
537
563
|
def initialize(
|
|
@@ -599,7 +625,7 @@ module Stripe
|
|
|
599
625
|
attr_accessor :line2
|
|
600
626
|
# ZIP or postal code.
|
|
601
627
|
attr_accessor :postal_code
|
|
602
|
-
# State, county, province, or region.
|
|
628
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
603
629
|
attr_accessor :state
|
|
604
630
|
|
|
605
631
|
def initialize(
|
|
@@ -827,7 +853,7 @@ module Stripe
|
|
|
827
853
|
attr_accessor :line2
|
|
828
854
|
# ZIP or postal code.
|
|
829
855
|
attr_accessor :postal_code
|
|
830
|
-
# State, county, province, or region.
|
|
856
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
831
857
|
attr_accessor :state
|
|
832
858
|
|
|
833
859
|
def initialize(
|
|
@@ -1325,7 +1351,7 @@ module Stripe
|
|
|
1325
1351
|
attr_accessor :line2
|
|
1326
1352
|
# ZIP or postal code.
|
|
1327
1353
|
attr_accessor :postal_code
|
|
1328
|
-
# State, county, province, or region.
|
|
1354
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1329
1355
|
attr_accessor :state
|
|
1330
1356
|
|
|
1331
1357
|
def initialize(
|
|
@@ -1547,7 +1573,7 @@ module Stripe
|
|
|
1547
1573
|
attr_accessor :line2
|
|
1548
1574
|
# ZIP or postal code.
|
|
1549
1575
|
attr_accessor :postal_code
|
|
1550
|
-
# State, county, province, or region.
|
|
1576
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1551
1577
|
attr_accessor :state
|
|
1552
1578
|
|
|
1553
1579
|
def initialize(
|
|
@@ -1822,6 +1848,8 @@ module Stripe
|
|
|
1822
1848
|
@starts_at = starts_at
|
|
1823
1849
|
end
|
|
1824
1850
|
end
|
|
1851
|
+
# Benefit details for this PaymentIntent
|
|
1852
|
+
attr_accessor :benefit
|
|
1825
1853
|
# Car rental details for this PaymentIntent.
|
|
1826
1854
|
attr_accessor :car_rental
|
|
1827
1855
|
# Car rental data for this PaymentIntent.
|
|
@@ -1850,6 +1878,7 @@ module Stripe
|
|
|
1850
1878
|
attr_accessor :subscription
|
|
1851
1879
|
|
|
1852
1880
|
def initialize(
|
|
1881
|
+
benefit: nil,
|
|
1853
1882
|
car_rental: nil,
|
|
1854
1883
|
car_rental_data: nil,
|
|
1855
1884
|
customer_reference: nil,
|
|
@@ -1861,6 +1890,7 @@ module Stripe
|
|
|
1861
1890
|
order_reference: nil,
|
|
1862
1891
|
subscription: nil
|
|
1863
1892
|
)
|
|
1893
|
+
@benefit = benefit
|
|
1864
1894
|
@car_rental = car_rental
|
|
1865
1895
|
@car_rental_data = car_rental_data
|
|
1866
1896
|
@customer_reference = customer_reference
|
|
@@ -1935,7 +1965,7 @@ module Stripe
|
|
|
1935
1965
|
attr_accessor :line2
|
|
1936
1966
|
# ZIP or postal code.
|
|
1937
1967
|
attr_accessor :postal_code
|
|
1938
|
-
# State, county, province, or region.
|
|
1968
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1939
1969
|
attr_accessor :state
|
|
1940
1970
|
|
|
1941
1971
|
def initialize(
|
|
@@ -2142,7 +2172,7 @@ module Stripe
|
|
|
2142
2172
|
class Qris < ::Stripe::RequestParams; end
|
|
2143
2173
|
|
|
2144
2174
|
class RadarOptions < ::Stripe::RequestParams
|
|
2145
|
-
# A [Radar Session](https://stripe.com/
|
|
2175
|
+
# 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.
|
|
2146
2176
|
attr_accessor :session
|
|
2147
2177
|
|
|
2148
2178
|
def initialize(session: nil)
|
|
@@ -2303,7 +2333,7 @@ module Stripe
|
|
|
2303
2333
|
attr_accessor :link
|
|
2304
2334
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
2305
2335
|
attr_accessor :mb_way
|
|
2306
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
2336
|
+
# 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`.
|
|
2307
2337
|
attr_accessor :metadata
|
|
2308
2338
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
|
2309
2339
|
attr_accessor :mobilepay
|
|
@@ -2335,7 +2365,7 @@ module Stripe
|
|
|
2335
2365
|
attr_accessor :promptpay
|
|
2336
2366
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2337
2367
|
attr_accessor :qris
|
|
2338
|
-
# Options to configure Radar. See [Radar Session](https://stripe.com/
|
|
2368
|
+
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2339
2369
|
attr_accessor :radar_options
|
|
2340
2370
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2341
2371
|
attr_accessor :rechnung
|
|
@@ -2868,7 +2898,7 @@ module Stripe
|
|
|
2868
2898
|
attr_accessor :line2
|
|
2869
2899
|
# ZIP or postal code.
|
|
2870
2900
|
attr_accessor :postal_code
|
|
2871
|
-
# State, county, province, or region.
|
|
2901
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2872
2902
|
attr_accessor :state
|
|
2873
2903
|
|
|
2874
2904
|
def initialize(
|
|
@@ -2982,7 +3012,7 @@ module Stripe
|
|
|
2982
3012
|
attr_accessor :cvc_token
|
|
2983
3013
|
# Installment configuration for payments attempted on this PaymentIntent.
|
|
2984
3014
|
#
|
|
2985
|
-
# For more information, see the [installments integration guide](https://stripe.com/
|
|
3015
|
+
# For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
|
|
2986
3016
|
attr_accessor :installments
|
|
2987
3017
|
# Configuration options for setting up an eMandate for cards issued in India.
|
|
2988
3018
|
attr_accessor :mandate_options
|
|
@@ -2992,19 +3022,19 @@ module Stripe
|
|
|
2992
3022
|
attr_accessor :moto
|
|
2993
3023
|
# 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.
|
|
2994
3024
|
attr_accessor :network
|
|
2995
|
-
# Request ability to [decrement the authorization](https://stripe.com/
|
|
3025
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
2996
3026
|
attr_accessor :request_decremental_authorization
|
|
2997
|
-
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/
|
|
3027
|
+
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
2998
3028
|
attr_accessor :request_extended_authorization
|
|
2999
|
-
# Request ability to [increment the authorization](https://stripe.com/
|
|
3029
|
+
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
3000
3030
|
attr_accessor :request_incremental_authorization
|
|
3001
|
-
# Request ability to make [multiple captures](https://stripe.com/
|
|
3031
|
+
# Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
3002
3032
|
attr_accessor :request_multicapture
|
|
3003
|
-
# Request ability to [overcapture](https://stripe.com/
|
|
3033
|
+
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
3004
3034
|
attr_accessor :request_overcapture
|
|
3005
3035
|
# Request partial authorization on this PaymentIntent.
|
|
3006
3036
|
attr_accessor :request_partial_authorization
|
|
3007
|
-
# 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/
|
|
3037
|
+
# 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.
|
|
3008
3038
|
attr_accessor :request_three_d_secure
|
|
3009
3039
|
# 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).
|
|
3010
3040
|
attr_accessor :require_cvc_recollection
|
|
@@ -3086,9 +3116,9 @@ module Stripe
|
|
|
3086
3116
|
#
|
|
3087
3117
|
# 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.
|
|
3088
3118
|
attr_accessor :capture_method
|
|
3089
|
-
# Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/
|
|
3119
|
+
# Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
3090
3120
|
attr_accessor :request_extended_authorization
|
|
3091
|
-
# Request ability to [increment](https://stripe.com/
|
|
3121
|
+
# 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.
|
|
3092
3122
|
attr_accessor :request_incremental_authorization_support
|
|
3093
3123
|
# Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
|
|
3094
3124
|
attr_accessor :routing
|
|
@@ -4693,7 +4723,7 @@ module Stripe
|
|
|
4693
4723
|
attr_accessor :capture_method
|
|
4694
4724
|
# The line items purchased by the customer.
|
|
4695
4725
|
attr_accessor :line_items
|
|
4696
|
-
# [Preferred locale](https://stripe.com/
|
|
4726
|
+
# [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
4697
4727
|
attr_accessor :preferred_locale
|
|
4698
4728
|
# 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.
|
|
4699
4729
|
attr_accessor :reference
|
|
@@ -5477,7 +5507,7 @@ module Stripe
|
|
|
5477
5507
|
attr_accessor :line2
|
|
5478
5508
|
# ZIP or postal code.
|
|
5479
5509
|
attr_accessor :postal_code
|
|
5480
|
-
# State, county, province, or region.
|
|
5510
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5481
5511
|
attr_accessor :state
|
|
5482
5512
|
|
|
5483
5513
|
def initialize(
|
|
@@ -5524,11 +5554,13 @@ module Stripe
|
|
|
5524
5554
|
@amount = amount
|
|
5525
5555
|
end
|
|
5526
5556
|
end
|
|
5527
|
-
#
|
|
5557
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
5558
|
+
attr_accessor :allocated_funds
|
|
5559
|
+
# 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).
|
|
5528
5560
|
attr_accessor :amount
|
|
5529
5561
|
# Provides industry-specific information about the amount.
|
|
5530
5562
|
attr_accessor :amount_details
|
|
5531
|
-
# 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/
|
|
5563
|
+
# 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).
|
|
5532
5564
|
attr_accessor :application_fee_amount
|
|
5533
5565
|
# Controls when the funds will be captured from the customer's account.
|
|
5534
5566
|
attr_accessor :capture_method
|
|
@@ -5538,13 +5570,13 @@ module Stripe
|
|
|
5538
5570
|
#
|
|
5539
5571
|
# Payment methods attached to other Customers cannot be used with this PaymentIntent.
|
|
5540
5572
|
#
|
|
5541
|
-
# If [setup_future_usage](https://stripe.com
|
|
5573
|
+
# 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.
|
|
5542
5574
|
attr_accessor :customer
|
|
5543
|
-
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
5575
|
+
# ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
|
|
5544
5576
|
#
|
|
5545
5577
|
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
5546
5578
|
#
|
|
5547
|
-
# If [setup_future_usage](https://stripe.com
|
|
5579
|
+
# 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.
|
|
5548
5580
|
attr_accessor :customer_account
|
|
5549
5581
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
5550
5582
|
attr_accessor :description
|
|
@@ -5558,16 +5590,16 @@ module Stripe
|
|
|
5558
5590
|
attr_accessor :hooks
|
|
5559
5591
|
# This hash contains details about the Mandate to create.
|
|
5560
5592
|
attr_accessor :mandate_data
|
|
5561
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
5593
|
+
# 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`.
|
|
5562
5594
|
attr_accessor :metadata
|
|
5563
5595
|
# Provides industry-specific information about the charge.
|
|
5564
5596
|
attr_accessor :payment_details
|
|
5565
5597
|
# Attribute for param field payment_method
|
|
5566
5598
|
attr_accessor :payment_method
|
|
5567
|
-
# The ID of the [payment method configuration](https://stripe.com/
|
|
5599
|
+
# The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
|
|
5568
5600
|
attr_accessor :payment_method_configuration
|
|
5569
5601
|
# If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
|
|
5570
|
-
# in the [payment_method](https://stripe.com/
|
|
5602
|
+
# in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
|
|
5571
5603
|
# property on the PaymentIntent.
|
|
5572
5604
|
attr_accessor :payment_method_data
|
|
5573
5605
|
# Payment-method-specific configuration for this PaymentIntent.
|
|
@@ -5594,12 +5626,13 @@ module Stripe
|
|
|
5594
5626
|
attr_accessor :statement_descriptor
|
|
5595
5627
|
# 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.
|
|
5596
5628
|
attr_accessor :statement_descriptor_suffix
|
|
5597
|
-
# Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
5629
|
+
# Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
5598
5630
|
attr_accessor :transfer_data
|
|
5599
|
-
# A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
5631
|
+
# A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
5600
5632
|
attr_accessor :transfer_group
|
|
5601
5633
|
|
|
5602
5634
|
def initialize(
|
|
5635
|
+
allocated_funds: nil,
|
|
5603
5636
|
amount: nil,
|
|
5604
5637
|
amount_details: nil,
|
|
5605
5638
|
application_fee_amount: nil,
|
|
@@ -5628,6 +5661,7 @@ module Stripe
|
|
|
5628
5661
|
transfer_data: nil,
|
|
5629
5662
|
transfer_group: nil
|
|
5630
5663
|
)
|
|
5664
|
+
@allocated_funds = allocated_funds
|
|
5631
5665
|
@amount = amount
|
|
5632
5666
|
@amount_details = amount_details
|
|
5633
5667
|
@application_fee_amount = application_fee_amount
|
|
@@ -14,7 +14,7 @@ module Stripe
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
class Redirect < ::Stripe::RequestParams
|
|
17
|
-
# The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://stripe.com/
|
|
17
|
+
# The URL the customer will be redirected to after the purchase is complete. You can embed `{CHECKOUT_SESSION_ID}` into the URL to have the `id` of the completed [checkout session](https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-id) included.
|
|
18
18
|
attr_accessor :url
|
|
19
19
|
|
|
20
20
|
def initialize(url: nil)
|
|
@@ -291,7 +291,7 @@ module Stripe
|
|
|
291
291
|
attr_accessor :footer
|
|
292
292
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
|
293
293
|
attr_accessor :issuer
|
|
294
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
294
|
+
# 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`.
|
|
295
295
|
attr_accessor :metadata
|
|
296
296
|
# Default options for invoice PDF rendering for this customer.
|
|
297
297
|
attr_accessor :rendering_options
|
|
@@ -343,18 +343,28 @@ module Stripe
|
|
|
343
343
|
|
|
344
344
|
class PriceData < ::Stripe::RequestParams
|
|
345
345
|
class ProductData < ::Stripe::RequestParams
|
|
346
|
+
class TaxDetails < ::Stripe::RequestParams
|
|
347
|
+
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
348
|
+
attr_accessor :tax_code
|
|
349
|
+
|
|
350
|
+
def initialize(tax_code: nil)
|
|
351
|
+
@tax_code = tax_code
|
|
352
|
+
end
|
|
353
|
+
end
|
|
346
354
|
# The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
|
|
347
355
|
attr_accessor :description
|
|
348
356
|
# A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
|
|
349
357
|
attr_accessor :images
|
|
350
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
358
|
+
# 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`.
|
|
351
359
|
attr_accessor :metadata
|
|
352
360
|
# The product's name, meant to be displayable to the customer.
|
|
353
361
|
attr_accessor :name
|
|
354
|
-
# A [tax code](https://stripe.com/
|
|
362
|
+
# A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
|
|
355
363
|
attr_accessor :tax_code
|
|
356
364
|
# A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
|
|
357
365
|
attr_accessor :unit_label
|
|
366
|
+
# Tax details for this product, including the [tax code](/tax/tax-codes) and an optional performance location.
|
|
367
|
+
attr_accessor :tax_details
|
|
358
368
|
|
|
359
369
|
def initialize(
|
|
360
370
|
description: nil,
|
|
@@ -362,7 +372,8 @@ module Stripe
|
|
|
362
372
|
metadata: nil,
|
|
363
373
|
name: nil,
|
|
364
374
|
tax_code: nil,
|
|
365
|
-
unit_label: nil
|
|
375
|
+
unit_label: nil,
|
|
376
|
+
tax_details: nil
|
|
366
377
|
)
|
|
367
378
|
@description = description
|
|
368
379
|
@images = images
|
|
@@ -370,6 +381,7 @@ module Stripe
|
|
|
370
381
|
@name = name
|
|
371
382
|
@tax_code = tax_code
|
|
372
383
|
@unit_label = unit_label
|
|
384
|
+
@tax_details = tax_details
|
|
373
385
|
end
|
|
374
386
|
end
|
|
375
387
|
|
|
@@ -392,7 +404,7 @@ module Stripe
|
|
|
392
404
|
attr_accessor :product_data
|
|
393
405
|
# The recurring components of a price such as `interval` and `interval_count`.
|
|
394
406
|
attr_accessor :recurring
|
|
395
|
-
# Only required if a [default tax behavior](https://stripe.com/
|
|
407
|
+
# Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
|
|
396
408
|
attr_accessor :tax_behavior
|
|
397
409
|
# A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
|
|
398
410
|
attr_accessor :unit_amount
|
|
@@ -419,9 +431,9 @@ module Stripe
|
|
|
419
431
|
end
|
|
420
432
|
# When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.
|
|
421
433
|
attr_accessor :adjustable_quantity
|
|
422
|
-
# The ID of the [Price](https://stripe.com/
|
|
434
|
+
# The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object. One of `price` or `price_data` is required.
|
|
423
435
|
attr_accessor :price
|
|
424
|
-
# Data used to generate a new [Price](https://stripe.com/
|
|
436
|
+
# Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
|
|
425
437
|
attr_accessor :price_data
|
|
426
438
|
# The quantity of the line item being purchased.
|
|
427
439
|
attr_accessor :quantity
|
|
@@ -486,7 +498,7 @@ module Stripe
|
|
|
486
498
|
end
|
|
487
499
|
# When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order.
|
|
488
500
|
attr_accessor :adjustable_quantity
|
|
489
|
-
# The ID of the [Price](https://stripe.com/
|
|
501
|
+
# The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object.
|
|
490
502
|
attr_accessor :price
|
|
491
503
|
# The initial quantity of the line item created when a customer chooses to add this optional item to their order.
|
|
492
504
|
attr_accessor :quantity
|
|
@@ -503,9 +515,9 @@ module Stripe
|
|
|
503
515
|
attr_accessor :capture_method
|
|
504
516
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
505
517
|
attr_accessor :description
|
|
506
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
518
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will declaratively set metadata on [Payment Intents](https://docs.stripe.com/api/payment_intents) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
|
|
507
519
|
attr_accessor :metadata
|
|
508
|
-
# Indicates that you intend to [make future payments](https://stripe.com/
|
|
520
|
+
# Indicates that you intend to [make future payments](https://docs.stripe.com/payments/payment-intents#future-usage) with the payment method collected by this Checkout Session.
|
|
509
521
|
#
|
|
510
522
|
# When setting this to `on_session`, Checkout will show a notice to the customer that their payment details will be saved.
|
|
511
523
|
#
|
|
@@ -523,7 +535,7 @@ module Stripe
|
|
|
523
535
|
attr_accessor :statement_descriptor
|
|
524
536
|
# 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.
|
|
525
537
|
attr_accessor :statement_descriptor_suffix
|
|
526
|
-
# A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/
|
|
538
|
+
# A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
|
|
527
539
|
attr_accessor :transfer_group
|
|
528
540
|
|
|
529
541
|
def initialize(
|
|
@@ -631,7 +643,7 @@ module Stripe
|
|
|
631
643
|
attr_accessor :description
|
|
632
644
|
# All invoices will be billed using the specified settings.
|
|
633
645
|
attr_accessor :invoice_settings
|
|
634
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
646
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will declaratively set metadata on [Subscriptions](https://docs.stripe.com/api/subscriptions) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
|
|
635
647
|
attr_accessor :metadata
|
|
636
648
|
# Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
|
|
637
649
|
attr_accessor :trial_period_days
|
|
@@ -699,7 +711,7 @@ module Stripe
|
|
|
699
711
|
attr_accessor :custom_fields
|
|
700
712
|
# Display additional text for your customers using custom text.
|
|
701
713
|
attr_accessor :custom_text
|
|
702
|
-
# Configures whether [checkout sessions](https://stripe.com/
|
|
714
|
+
# Configures whether [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link create a [Customer](https://docs.stripe.com/api/customers).
|
|
703
715
|
attr_accessor :customer_creation
|
|
704
716
|
# Specifies which fields in the response should be expanded.
|
|
705
717
|
attr_accessor :expand
|
|
@@ -709,13 +721,13 @@ module Stripe
|
|
|
709
721
|
attr_accessor :invoice_creation
|
|
710
722
|
# The line items representing what is being sold. Each line item represents an item being sold. Up to 20 line items are supported.
|
|
711
723
|
attr_accessor :line_items
|
|
712
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
724
|
+
# 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`. Metadata associated with this Payment Link will automatically be copied to [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link.
|
|
713
725
|
attr_accessor :metadata
|
|
714
726
|
# Controls settings applied for collecting the customer's name.
|
|
715
727
|
attr_accessor :name_collection
|
|
716
728
|
# The account on behalf of which to charge.
|
|
717
729
|
attr_accessor :on_behalf_of
|
|
718
|
-
# A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/
|
|
730
|
+
# A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).
|
|
719
731
|
# There is a maximum of 10 optional items allowed on a payment link, and the existing limits on the number of line items allowed on a payment link apply to the combined number of line items and optional items.
|
|
720
732
|
# There is a maximum of 20 combined line items and optional items.
|
|
721
733
|
attr_accessor :optional_items
|
|
@@ -725,9 +737,9 @@ module Stripe
|
|
|
725
737
|
#
|
|
726
738
|
# Can only be set in `subscription` mode. Defaults to `always`.
|
|
727
739
|
#
|
|
728
|
-
# If you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://stripe.com/
|
|
740
|
+
# If you'd like information on how to collect a payment method outside of Checkout, read the guide on [configuring subscriptions with a free trial](https://docs.stripe.com/payments/checkout/free-trials).
|
|
729
741
|
attr_accessor :payment_method_collection
|
|
730
|
-
# The list of payment method types that customers can use. If no value is passed, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods) (20+ payment methods [supported](https://stripe.com/
|
|
742
|
+
# The list of payment method types that customers can use. If no value is passed, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods) (20+ payment methods [supported](https://docs.stripe.com/payments/payment-methods/integration-options#payment-method-product-support)).
|
|
731
743
|
attr_accessor :payment_method_types
|
|
732
744
|
# Controls phone number collection settings during checkout.
|
|
733
745
|
#
|
|
@@ -737,9 +749,9 @@ module Stripe
|
|
|
737
749
|
attr_accessor :restrictions
|
|
738
750
|
# Configuration for collecting the customer's shipping address.
|
|
739
751
|
attr_accessor :shipping_address_collection
|
|
740
|
-
# The shipping rate options to apply to [checkout sessions](https://stripe.com/
|
|
752
|
+
# The shipping rate options to apply to [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link.
|
|
741
753
|
attr_accessor :shipping_options
|
|
742
|
-
# Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the [url](https://stripe.com/
|
|
754
|
+
# Describes the type of transaction being performed in order to customize relevant text on the page, such as the submit button. Changing this value will also affect the hostname in the [url](https://docs.stripe.com/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`).
|
|
743
755
|
attr_accessor :submit_type
|
|
744
756
|
# When creating a subscription, the specified configuration data will be used. There must be at least one line item with a recurring price to use `subscription_data`.
|
|
745
757
|
attr_accessor :subscription_data
|