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
|
@@ -6,6 +6,143 @@ module Stripe
|
|
|
6
6
|
module Core
|
|
7
7
|
class AccountCreateParams < ::Stripe::RequestParams
|
|
8
8
|
class Configuration < ::Stripe::RequestParams
|
|
9
|
+
class CardCreator < ::Stripe::RequestParams
|
|
10
|
+
class Capabilities < ::Stripe::RequestParams
|
|
11
|
+
class Commercial < ::Stripe::RequestParams
|
|
12
|
+
class Celtic < ::Stripe::RequestParams
|
|
13
|
+
class ChargeCard < ::Stripe::RequestParams
|
|
14
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
15
|
+
attr_accessor :requested
|
|
16
|
+
|
|
17
|
+
def initialize(requested: nil)
|
|
18
|
+
@requested = requested
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
class SpendCard < ::Stripe::RequestParams
|
|
23
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
24
|
+
attr_accessor :requested
|
|
25
|
+
|
|
26
|
+
def initialize(requested: nil)
|
|
27
|
+
@requested = requested
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
# Can create commercial issuing charge cards with Celtic as BIN sponsor.
|
|
31
|
+
attr_accessor :charge_card
|
|
32
|
+
# Can create commercial issuing spend cards with Celtic as BIN sponsor.
|
|
33
|
+
attr_accessor :spend_card
|
|
34
|
+
|
|
35
|
+
def initialize(charge_card: nil, spend_card: nil)
|
|
36
|
+
@charge_card = charge_card
|
|
37
|
+
@spend_card = spend_card
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
class CrossRiverBank < ::Stripe::RequestParams
|
|
42
|
+
class ChargeCard < ::Stripe::RequestParams
|
|
43
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
44
|
+
attr_accessor :requested
|
|
45
|
+
|
|
46
|
+
def initialize(requested: nil)
|
|
47
|
+
@requested = requested
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
class SpendCard < ::Stripe::RequestParams
|
|
52
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
53
|
+
attr_accessor :requested
|
|
54
|
+
|
|
55
|
+
def initialize(requested: nil)
|
|
56
|
+
@requested = requested
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
# Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
60
|
+
attr_accessor :charge_card
|
|
61
|
+
# Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
62
|
+
attr_accessor :spend_card
|
|
63
|
+
|
|
64
|
+
def initialize(charge_card: nil, spend_card: nil)
|
|
65
|
+
@charge_card = charge_card
|
|
66
|
+
@spend_card = spend_card
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
class Lead < ::Stripe::RequestParams
|
|
71
|
+
class PrepaidCard < ::Stripe::RequestParams
|
|
72
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
73
|
+
attr_accessor :requested
|
|
74
|
+
|
|
75
|
+
def initialize(requested: nil)
|
|
76
|
+
@requested = requested
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
# Can create commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
80
|
+
attr_accessor :prepaid_card
|
|
81
|
+
|
|
82
|
+
def initialize(prepaid_card: nil)
|
|
83
|
+
@prepaid_card = prepaid_card
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
class Stripe < ::Stripe::RequestParams
|
|
88
|
+
class ChargeCard < ::Stripe::RequestParams
|
|
89
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
90
|
+
attr_accessor :requested
|
|
91
|
+
|
|
92
|
+
def initialize(requested: nil)
|
|
93
|
+
@requested = requested
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class PrepaidCard < ::Stripe::RequestParams
|
|
98
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
99
|
+
attr_accessor :requested
|
|
100
|
+
|
|
101
|
+
def initialize(requested: nil)
|
|
102
|
+
@requested = requested
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
# Can create commercial issuing charge cards with Stripe as BIN sponsor.
|
|
106
|
+
attr_accessor :charge_card
|
|
107
|
+
# Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
|
|
108
|
+
attr_accessor :prepaid_card
|
|
109
|
+
|
|
110
|
+
def initialize(charge_card: nil, prepaid_card: nil)
|
|
111
|
+
@charge_card = charge_card
|
|
112
|
+
@prepaid_card = prepaid_card
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
# Can create commercial issuing cards with Celtic as BIN sponsor.
|
|
116
|
+
attr_accessor :celtic
|
|
117
|
+
# Can create commercial issuing cards with Cross River Bank as BIN sponsor.
|
|
118
|
+
attr_accessor :cross_river_bank
|
|
119
|
+
# Can create commercial issuing cards with Stripe as BIN sponsor.
|
|
120
|
+
attr_accessor :lead
|
|
121
|
+
# Can create commercial issuing cards with Stripe as BIN sponsor.
|
|
122
|
+
attr_accessor :stripe
|
|
123
|
+
|
|
124
|
+
def initialize(celtic: nil, cross_river_bank: nil, lead: nil, stripe: nil)
|
|
125
|
+
@celtic = celtic
|
|
126
|
+
@cross_river_bank = cross_river_bank
|
|
127
|
+
@lead = lead
|
|
128
|
+
@stripe = stripe
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
# Can create cards for commercial issuing use cases.
|
|
132
|
+
attr_accessor :commercial
|
|
133
|
+
|
|
134
|
+
def initialize(commercial: nil)
|
|
135
|
+
@commercial = commercial
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
# Capabilities to request on the CardCreator Configuration.
|
|
139
|
+
attr_accessor :capabilities
|
|
140
|
+
|
|
141
|
+
def initialize(capabilities: nil)
|
|
142
|
+
@capabilities = capabilities
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
9
146
|
class Customer < ::Stripe::RequestParams
|
|
10
147
|
class AutomaticIndirectTax < ::Stripe::RequestParams
|
|
11
148
|
# Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.
|
|
@@ -37,7 +174,7 @@ module Stripe
|
|
|
37
174
|
end
|
|
38
175
|
|
|
39
176
|
class Rendering < ::Stripe::RequestParams
|
|
40
|
-
#
|
|
177
|
+
# Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
|
|
41
178
|
attr_accessor :amount_tax_display
|
|
42
179
|
# ID of the invoice rendering template to use for future invoices.
|
|
43
180
|
attr_accessor :template
|
|
@@ -49,13 +186,13 @@ module Stripe
|
|
|
49
186
|
end
|
|
50
187
|
# The list of up to 4 default custom fields to be displayed on invoices for this customer.
|
|
51
188
|
attr_accessor :custom_fields
|
|
52
|
-
# Default footer
|
|
189
|
+
# Default invoice footer.
|
|
53
190
|
attr_accessor :footer
|
|
54
|
-
#
|
|
191
|
+
# Sequence number to use on the customer account's next invoice. Defaults to 1.
|
|
55
192
|
attr_accessor :next_sequence
|
|
56
|
-
#
|
|
193
|
+
# Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
|
|
57
194
|
attr_accessor :prefix
|
|
58
|
-
# Default
|
|
195
|
+
# Default invoice PDF rendering options.
|
|
59
196
|
attr_accessor :rendering
|
|
60
197
|
|
|
61
198
|
def initialize(
|
|
@@ -72,7 +209,7 @@ module Stripe
|
|
|
72
209
|
@rendering = rendering
|
|
73
210
|
end
|
|
74
211
|
end
|
|
75
|
-
# Default settings
|
|
212
|
+
# Default invoice settings for the customer account.
|
|
76
213
|
attr_accessor :invoice
|
|
77
214
|
|
|
78
215
|
def initialize(invoice: nil)
|
|
@@ -169,7 +306,7 @@ module Stripe
|
|
|
169
306
|
|
|
170
307
|
class Merchant < ::Stripe::RequestParams
|
|
171
308
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
172
|
-
# Display name for Bacs
|
|
309
|
+
# Display name for Bacs Direct Debit payments.
|
|
173
310
|
attr_accessor :display_name
|
|
174
311
|
|
|
175
312
|
def initialize(display_name: nil)
|
|
@@ -888,7 +1025,7 @@ module Stripe
|
|
|
888
1025
|
attr_accessor :postal_code
|
|
889
1026
|
# State, county, province, or region.
|
|
890
1027
|
attr_accessor :state
|
|
891
|
-
# Town or
|
|
1028
|
+
# Town or district.
|
|
892
1029
|
attr_accessor :town
|
|
893
1030
|
|
|
894
1031
|
def initialize(
|
|
@@ -935,7 +1072,7 @@ module Stripe
|
|
|
935
1072
|
attr_accessor :card_payments
|
|
936
1073
|
# Settings specific to Konbini payments on the account.
|
|
937
1074
|
attr_accessor :konbini_payments
|
|
938
|
-
# The
|
|
1075
|
+
# The Merchant Category Code (MCC) for the Merchant Configuration. MCCs classify businesses based on the goods or services they provide.
|
|
939
1076
|
attr_accessor :mcc
|
|
940
1077
|
# Settings for the default text that appears on statements for language variations.
|
|
941
1078
|
attr_accessor :script_statement_descriptor
|
|
@@ -970,6 +1107,15 @@ module Stripe
|
|
|
970
1107
|
class Recipient < ::Stripe::RequestParams
|
|
971
1108
|
class Capabilities < ::Stripe::RequestParams
|
|
972
1109
|
class BankAccounts < ::Stripe::RequestParams
|
|
1110
|
+
class Instant < ::Stripe::RequestParams
|
|
1111
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1112
|
+
attr_accessor :requested
|
|
1113
|
+
|
|
1114
|
+
def initialize(requested: nil)
|
|
1115
|
+
@requested = requested
|
|
1116
|
+
end
|
|
1117
|
+
end
|
|
1118
|
+
|
|
973
1119
|
class Local < ::Stripe::RequestParams
|
|
974
1120
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
975
1121
|
attr_accessor :requested
|
|
@@ -987,12 +1133,15 @@ module Stripe
|
|
|
987
1133
|
@requested = requested
|
|
988
1134
|
end
|
|
989
1135
|
end
|
|
1136
|
+
# Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
|
|
1137
|
+
attr_accessor :instant
|
|
990
1138
|
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
991
1139
|
attr_accessor :local
|
|
992
1140
|
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
993
1141
|
attr_accessor :wire
|
|
994
1142
|
|
|
995
|
-
def initialize(local: nil, wire: nil)
|
|
1143
|
+
def initialize(instant: nil, local: nil, wire: nil)
|
|
1144
|
+
@instant = instant
|
|
996
1145
|
@local = local
|
|
997
1146
|
@wire = wire
|
|
998
1147
|
end
|
|
@@ -1007,6 +1156,15 @@ module Stripe
|
|
|
1007
1156
|
end
|
|
1008
1157
|
end
|
|
1009
1158
|
|
|
1159
|
+
class CryptoWallets < ::Stripe::RequestParams
|
|
1160
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1161
|
+
attr_accessor :requested
|
|
1162
|
+
|
|
1163
|
+
def initialize(requested: nil)
|
|
1164
|
+
@requested = requested
|
|
1165
|
+
end
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1010
1168
|
class StripeBalance < ::Stripe::RequestParams
|
|
1011
1169
|
class StripeTransfers < ::Stripe::RequestParams
|
|
1012
1170
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -1016,7 +1174,7 @@ module Stripe
|
|
|
1016
1174
|
@requested = requested
|
|
1017
1175
|
end
|
|
1018
1176
|
end
|
|
1019
|
-
#
|
|
1177
|
+
# Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
1020
1178
|
attr_accessor :stripe_transfers
|
|
1021
1179
|
|
|
1022
1180
|
def initialize(stripe_transfers: nil)
|
|
@@ -1027,12 +1185,20 @@ module Stripe
|
|
|
1027
1185
|
attr_accessor :bank_accounts
|
|
1028
1186
|
# Capabilities that enable OutboundPayments to a card linked to this Account.
|
|
1029
1187
|
attr_accessor :cards
|
|
1188
|
+
# Capabilities that enable OutboundPayments to a crypto wallet linked to this Account.
|
|
1189
|
+
attr_accessor :crypto_wallets
|
|
1030
1190
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1031
1191
|
attr_accessor :stripe_balance
|
|
1032
1192
|
|
|
1033
|
-
def initialize(
|
|
1193
|
+
def initialize(
|
|
1194
|
+
bank_accounts: nil,
|
|
1195
|
+
cards: nil,
|
|
1196
|
+
crypto_wallets: nil,
|
|
1197
|
+
stripe_balance: nil
|
|
1198
|
+
)
|
|
1034
1199
|
@bank_accounts = bank_accounts
|
|
1035
1200
|
@cards = cards
|
|
1201
|
+
@crypto_wallets = crypto_wallets
|
|
1036
1202
|
@stripe_balance = stripe_balance
|
|
1037
1203
|
end
|
|
1038
1204
|
end
|
|
@@ -1055,11 +1221,23 @@ module Stripe
|
|
|
1055
1221
|
@requested = requested
|
|
1056
1222
|
end
|
|
1057
1223
|
end
|
|
1224
|
+
|
|
1225
|
+
class CryptoWallets < ::Stripe::RequestParams
|
|
1226
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1227
|
+
attr_accessor :requested
|
|
1228
|
+
|
|
1229
|
+
def initialize(requested: nil)
|
|
1230
|
+
@requested = requested
|
|
1231
|
+
end
|
|
1232
|
+
end
|
|
1058
1233
|
# Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
1059
1234
|
attr_accessor :bank_accounts
|
|
1235
|
+
# Can provision a crypto wallet like financial address to credit a FinancialAccount.
|
|
1236
|
+
attr_accessor :crypto_wallets
|
|
1060
1237
|
|
|
1061
|
-
def initialize(bank_accounts: nil)
|
|
1238
|
+
def initialize(bank_accounts: nil, crypto_wallets: nil)
|
|
1062
1239
|
@bank_accounts = bank_accounts
|
|
1240
|
+
@crypto_wallets = crypto_wallets
|
|
1063
1241
|
end
|
|
1064
1242
|
end
|
|
1065
1243
|
|
|
@@ -1090,17 +1268,29 @@ module Stripe
|
|
|
1090
1268
|
@requested = requested
|
|
1091
1269
|
end
|
|
1092
1270
|
end
|
|
1271
|
+
|
|
1272
|
+
class Usdc < ::Stripe::RequestParams
|
|
1273
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1274
|
+
attr_accessor :requested
|
|
1275
|
+
|
|
1276
|
+
def initialize(requested: nil)
|
|
1277
|
+
@requested = requested
|
|
1278
|
+
end
|
|
1279
|
+
end
|
|
1093
1280
|
# Can hold storage-type funds on Stripe in EUR.
|
|
1094
1281
|
attr_accessor :eur
|
|
1095
1282
|
# Can hold storage-type funds on Stripe in GBP.
|
|
1096
1283
|
attr_accessor :gbp
|
|
1097
1284
|
# Can hold storage-type funds on Stripe in USD.
|
|
1098
1285
|
attr_accessor :usd
|
|
1286
|
+
# Can hold storage-type funds on Stripe in USDC.
|
|
1287
|
+
attr_accessor :usdc
|
|
1099
1288
|
|
|
1100
|
-
def initialize(eur: nil, gbp: nil, usd: nil)
|
|
1289
|
+
def initialize(eur: nil, gbp: nil, usd: nil, usdc: nil)
|
|
1101
1290
|
@eur = eur
|
|
1102
1291
|
@gbp = gbp
|
|
1103
1292
|
@usd = usd
|
|
1293
|
+
@usdc = usdc
|
|
1104
1294
|
end
|
|
1105
1295
|
end
|
|
1106
1296
|
|
|
@@ -1140,6 +1330,15 @@ module Stripe
|
|
|
1140
1330
|
end
|
|
1141
1331
|
end
|
|
1142
1332
|
|
|
1333
|
+
class CryptoWallets < ::Stripe::RequestParams
|
|
1334
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1335
|
+
attr_accessor :requested
|
|
1336
|
+
|
|
1337
|
+
def initialize(requested: nil)
|
|
1338
|
+
@requested = requested
|
|
1339
|
+
end
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1143
1342
|
class FinancialAccounts < ::Stripe::RequestParams
|
|
1144
1343
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1145
1344
|
attr_accessor :requested
|
|
@@ -1152,12 +1351,20 @@ module Stripe
|
|
|
1152
1351
|
attr_accessor :bank_accounts
|
|
1153
1352
|
# Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1154
1353
|
attr_accessor :cards
|
|
1354
|
+
# Can send funds from a FinancialAccount to a crypto wallet owned by someone else.
|
|
1355
|
+
attr_accessor :crypto_wallets
|
|
1155
1356
|
# Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1156
1357
|
attr_accessor :financial_accounts
|
|
1157
1358
|
|
|
1158
|
-
def initialize(
|
|
1359
|
+
def initialize(
|
|
1360
|
+
bank_accounts: nil,
|
|
1361
|
+
cards: nil,
|
|
1362
|
+
crypto_wallets: nil,
|
|
1363
|
+
financial_accounts: nil
|
|
1364
|
+
)
|
|
1159
1365
|
@bank_accounts = bank_accounts
|
|
1160
1366
|
@cards = cards
|
|
1367
|
+
@crypto_wallets = crypto_wallets
|
|
1161
1368
|
@financial_accounts = financial_accounts
|
|
1162
1369
|
end
|
|
1163
1370
|
end
|
|
@@ -1172,6 +1379,15 @@ module Stripe
|
|
|
1172
1379
|
end
|
|
1173
1380
|
end
|
|
1174
1381
|
|
|
1382
|
+
class CryptoWallets < ::Stripe::RequestParams
|
|
1383
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1384
|
+
attr_accessor :requested
|
|
1385
|
+
|
|
1386
|
+
def initialize(requested: nil)
|
|
1387
|
+
@requested = requested
|
|
1388
|
+
end
|
|
1389
|
+
end
|
|
1390
|
+
|
|
1175
1391
|
class FinancialAccounts < ::Stripe::RequestParams
|
|
1176
1392
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1177
1393
|
attr_accessor :requested
|
|
@@ -1182,11 +1398,14 @@ module Stripe
|
|
|
1182
1398
|
end
|
|
1183
1399
|
# Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1184
1400
|
attr_accessor :bank_accounts
|
|
1401
|
+
# Can send funds from a FinancialAccount to a crypto wallet owned by yourself.
|
|
1402
|
+
attr_accessor :crypto_wallets
|
|
1185
1403
|
# Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1186
1404
|
attr_accessor :financial_accounts
|
|
1187
1405
|
|
|
1188
|
-
def initialize(bank_accounts: nil, financial_accounts: nil)
|
|
1406
|
+
def initialize(bank_accounts: nil, crypto_wallets: nil, financial_accounts: nil)
|
|
1189
1407
|
@bank_accounts = bank_accounts
|
|
1408
|
+
@crypto_wallets = crypto_wallets
|
|
1190
1409
|
@financial_accounts = financial_accounts
|
|
1191
1410
|
end
|
|
1192
1411
|
end
|
|
@@ -1215,23 +1434,97 @@ module Stripe
|
|
|
1215
1434
|
@outbound_transfers = outbound_transfers
|
|
1216
1435
|
end
|
|
1217
1436
|
end
|
|
1437
|
+
|
|
1438
|
+
class RegulatedActivity < ::Stripe::RequestParams
|
|
1439
|
+
# A detailed description of the regulated activities the business is licensed to conduct.
|
|
1440
|
+
attr_accessor :description
|
|
1441
|
+
# The license number or registration number assigned by the business's primary regulator.
|
|
1442
|
+
attr_accessor :license_number
|
|
1443
|
+
# The country of the primary regulatory authority that oversees the business's regulated activities.
|
|
1444
|
+
attr_accessor :primary_regulatory_authority_country
|
|
1445
|
+
# The name of the primary regulatory authority that oversees the business's regulated activities.
|
|
1446
|
+
attr_accessor :primary_regulatory_authority_name
|
|
1447
|
+
|
|
1448
|
+
def initialize(
|
|
1449
|
+
description: nil,
|
|
1450
|
+
license_number: nil,
|
|
1451
|
+
primary_regulatory_authority_country: nil,
|
|
1452
|
+
primary_regulatory_authority_name: nil
|
|
1453
|
+
)
|
|
1454
|
+
@description = description
|
|
1455
|
+
@license_number = license_number
|
|
1456
|
+
@primary_regulatory_authority_country = primary_regulatory_authority_country
|
|
1457
|
+
@primary_regulatory_authority_name = primary_regulatory_authority_name
|
|
1458
|
+
end
|
|
1459
|
+
end
|
|
1218
1460
|
# Capabilities to request on the Storer Configuration.
|
|
1219
1461
|
attr_accessor :capabilities
|
|
1462
|
+
# List of high-risk activities the business is involved in.
|
|
1463
|
+
attr_accessor :high_risk_activities
|
|
1464
|
+
# Description of the high-risk activities the business offers.
|
|
1465
|
+
attr_accessor :high_risk_activities_description
|
|
1466
|
+
# Description of the money services offered by the business.
|
|
1467
|
+
attr_accessor :money_services_description
|
|
1468
|
+
# Indicates whether the business operates in any prohibited countries.
|
|
1469
|
+
attr_accessor :operates_in_prohibited_countries
|
|
1470
|
+
# Indicates whether the business participates in any regulated activity.
|
|
1471
|
+
attr_accessor :participates_in_regulated_activity
|
|
1472
|
+
# Primary purpose of the stored funds.
|
|
1473
|
+
attr_accessor :purpose_of_funds
|
|
1474
|
+
# Description of the purpose of the stored funds.
|
|
1475
|
+
attr_accessor :purpose_of_funds_description
|
|
1476
|
+
# Details of the regulated activity if the business participates in one.
|
|
1477
|
+
attr_accessor :regulated_activity
|
|
1478
|
+
# The source of funds for the business, e.g. profits, income, venture capital, etc.
|
|
1479
|
+
attr_accessor :source_of_funds
|
|
1480
|
+
# Description of the source of funds for the business' account.
|
|
1481
|
+
attr_accessor :source_of_funds_description
|
|
1220
1482
|
|
|
1221
|
-
def initialize(
|
|
1483
|
+
def initialize(
|
|
1484
|
+
capabilities: nil,
|
|
1485
|
+
high_risk_activities: nil,
|
|
1486
|
+
high_risk_activities_description: nil,
|
|
1487
|
+
money_services_description: nil,
|
|
1488
|
+
operates_in_prohibited_countries: nil,
|
|
1489
|
+
participates_in_regulated_activity: nil,
|
|
1490
|
+
purpose_of_funds: nil,
|
|
1491
|
+
purpose_of_funds_description: nil,
|
|
1492
|
+
regulated_activity: nil,
|
|
1493
|
+
source_of_funds: nil,
|
|
1494
|
+
source_of_funds_description: nil
|
|
1495
|
+
)
|
|
1222
1496
|
@capabilities = capabilities
|
|
1497
|
+
@high_risk_activities = high_risk_activities
|
|
1498
|
+
@high_risk_activities_description = high_risk_activities_description
|
|
1499
|
+
@money_services_description = money_services_description
|
|
1500
|
+
@operates_in_prohibited_countries = operates_in_prohibited_countries
|
|
1501
|
+
@participates_in_regulated_activity = participates_in_regulated_activity
|
|
1502
|
+
@purpose_of_funds = purpose_of_funds
|
|
1503
|
+
@purpose_of_funds_description = purpose_of_funds_description
|
|
1504
|
+
@regulated_activity = regulated_activity
|
|
1505
|
+
@source_of_funds = source_of_funds
|
|
1506
|
+
@source_of_funds_description = source_of_funds_description
|
|
1223
1507
|
end
|
|
1224
1508
|
end
|
|
1509
|
+
# The CardCreator Configuration allows the Account to create and issue cards to users.
|
|
1510
|
+
attr_accessor :card_creator
|
|
1225
1511
|
# The Customer Configuration allows the Account to be used in inbound payment flows.
|
|
1226
1512
|
attr_accessor :customer
|
|
1227
|
-
#
|
|
1513
|
+
# Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
|
|
1228
1514
|
attr_accessor :merchant
|
|
1229
|
-
# The Recipient Configuration allows the Account to receive funds.
|
|
1515
|
+
# The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
1230
1516
|
attr_accessor :recipient
|
|
1231
1517
|
# The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
1232
1518
|
attr_accessor :storer
|
|
1233
1519
|
|
|
1234
|
-
def initialize(
|
|
1520
|
+
def initialize(
|
|
1521
|
+
card_creator: nil,
|
|
1522
|
+
customer: nil,
|
|
1523
|
+
merchant: nil,
|
|
1524
|
+
recipient: nil,
|
|
1525
|
+
storer: nil
|
|
1526
|
+
)
|
|
1527
|
+
@card_creator = card_creator
|
|
1235
1528
|
@customer = customer
|
|
1236
1529
|
@merchant = merchant
|
|
1237
1530
|
@recipient = recipient
|
|
@@ -1369,6 +1662,410 @@ module Stripe
|
|
|
1369
1662
|
end
|
|
1370
1663
|
end
|
|
1371
1664
|
|
|
1665
|
+
class CardCreator < ::Stripe::RequestParams
|
|
1666
|
+
class Commercial < ::Stripe::RequestParams
|
|
1667
|
+
class AccountHolder < ::Stripe::RequestParams
|
|
1668
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1669
|
+
attr_accessor :date
|
|
1670
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1671
|
+
attr_accessor :ip
|
|
1672
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1673
|
+
attr_accessor :user_agent
|
|
1674
|
+
|
|
1675
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1676
|
+
@date = date
|
|
1677
|
+
@ip = ip
|
|
1678
|
+
@user_agent = user_agent
|
|
1679
|
+
end
|
|
1680
|
+
end
|
|
1681
|
+
|
|
1682
|
+
class Celtic < ::Stripe::RequestParams
|
|
1683
|
+
class ApplePay < ::Stripe::RequestParams
|
|
1684
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1685
|
+
attr_accessor :date
|
|
1686
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1687
|
+
attr_accessor :ip
|
|
1688
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1689
|
+
attr_accessor :user_agent
|
|
1690
|
+
|
|
1691
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1692
|
+
@date = date
|
|
1693
|
+
@ip = ip
|
|
1694
|
+
@user_agent = user_agent
|
|
1695
|
+
end
|
|
1696
|
+
end
|
|
1697
|
+
|
|
1698
|
+
class ChargeCard < ::Stripe::RequestParams
|
|
1699
|
+
class BankTerms < ::Stripe::RequestParams
|
|
1700
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1701
|
+
attr_accessor :date
|
|
1702
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1703
|
+
attr_accessor :ip
|
|
1704
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1705
|
+
attr_accessor :user_agent
|
|
1706
|
+
|
|
1707
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1708
|
+
@date = date
|
|
1709
|
+
@ip = ip
|
|
1710
|
+
@user_agent = user_agent
|
|
1711
|
+
end
|
|
1712
|
+
end
|
|
1713
|
+
|
|
1714
|
+
class Platform < ::Stripe::RequestParams
|
|
1715
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1716
|
+
attr_accessor :date
|
|
1717
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1718
|
+
attr_accessor :ip
|
|
1719
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1720
|
+
attr_accessor :user_agent
|
|
1721
|
+
|
|
1722
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1723
|
+
@date = date
|
|
1724
|
+
@ip = ip
|
|
1725
|
+
@user_agent = user_agent
|
|
1726
|
+
end
|
|
1727
|
+
end
|
|
1728
|
+
# Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
|
|
1729
|
+
attr_accessor :bank_terms
|
|
1730
|
+
# Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
|
|
1731
|
+
attr_accessor :platform
|
|
1732
|
+
|
|
1733
|
+
def initialize(bank_terms: nil, platform: nil)
|
|
1734
|
+
@bank_terms = bank_terms
|
|
1735
|
+
@platform = platform
|
|
1736
|
+
end
|
|
1737
|
+
end
|
|
1738
|
+
|
|
1739
|
+
class SpendCard < ::Stripe::RequestParams
|
|
1740
|
+
class BankTerms < ::Stripe::RequestParams
|
|
1741
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1742
|
+
attr_accessor :date
|
|
1743
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1744
|
+
attr_accessor :ip
|
|
1745
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1746
|
+
attr_accessor :user_agent
|
|
1747
|
+
|
|
1748
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1749
|
+
@date = date
|
|
1750
|
+
@ip = ip
|
|
1751
|
+
@user_agent = user_agent
|
|
1752
|
+
end
|
|
1753
|
+
end
|
|
1754
|
+
|
|
1755
|
+
class FinancingDisclosures < ::Stripe::RequestParams
|
|
1756
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1757
|
+
attr_accessor :date
|
|
1758
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1759
|
+
attr_accessor :ip
|
|
1760
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1761
|
+
attr_accessor :user_agent
|
|
1762
|
+
|
|
1763
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1764
|
+
@date = date
|
|
1765
|
+
@ip = ip
|
|
1766
|
+
@user_agent = user_agent
|
|
1767
|
+
end
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
class Platform < ::Stripe::RequestParams
|
|
1771
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1772
|
+
attr_accessor :date
|
|
1773
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1774
|
+
attr_accessor :ip
|
|
1775
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1776
|
+
attr_accessor :user_agent
|
|
1777
|
+
|
|
1778
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1779
|
+
@date = date
|
|
1780
|
+
@ip = ip
|
|
1781
|
+
@user_agent = user_agent
|
|
1782
|
+
end
|
|
1783
|
+
end
|
|
1784
|
+
# Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
1785
|
+
attr_accessor :bank_terms
|
|
1786
|
+
# Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
1787
|
+
attr_accessor :financing_disclosures
|
|
1788
|
+
# Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
1789
|
+
attr_accessor :platform
|
|
1790
|
+
|
|
1791
|
+
def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
|
|
1792
|
+
@bank_terms = bank_terms
|
|
1793
|
+
@financing_disclosures = financing_disclosures
|
|
1794
|
+
@platform = platform
|
|
1795
|
+
end
|
|
1796
|
+
end
|
|
1797
|
+
# Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
|
|
1798
|
+
attr_accessor :apple_pay
|
|
1799
|
+
# Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
|
|
1800
|
+
attr_accessor :charge_card
|
|
1801
|
+
# Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
1802
|
+
attr_accessor :spend_card
|
|
1803
|
+
|
|
1804
|
+
def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
|
|
1805
|
+
@apple_pay = apple_pay
|
|
1806
|
+
@charge_card = charge_card
|
|
1807
|
+
@spend_card = spend_card
|
|
1808
|
+
end
|
|
1809
|
+
end
|
|
1810
|
+
|
|
1811
|
+
class CrossRiverBank < ::Stripe::RequestParams
|
|
1812
|
+
class ApplePay < ::Stripe::RequestParams
|
|
1813
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1814
|
+
attr_accessor :date
|
|
1815
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1816
|
+
attr_accessor :ip
|
|
1817
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1818
|
+
attr_accessor :user_agent
|
|
1819
|
+
|
|
1820
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1821
|
+
@date = date
|
|
1822
|
+
@ip = ip
|
|
1823
|
+
@user_agent = user_agent
|
|
1824
|
+
end
|
|
1825
|
+
end
|
|
1826
|
+
|
|
1827
|
+
class ChargeCard < ::Stripe::RequestParams
|
|
1828
|
+
class BankTerms < ::Stripe::RequestParams
|
|
1829
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1830
|
+
attr_accessor :date
|
|
1831
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1832
|
+
attr_accessor :ip
|
|
1833
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1834
|
+
attr_accessor :user_agent
|
|
1835
|
+
|
|
1836
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1837
|
+
@date = date
|
|
1838
|
+
@ip = ip
|
|
1839
|
+
@user_agent = user_agent
|
|
1840
|
+
end
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1843
|
+
class FinancingDisclosures < ::Stripe::RequestParams
|
|
1844
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1845
|
+
attr_accessor :date
|
|
1846
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1847
|
+
attr_accessor :ip
|
|
1848
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1849
|
+
attr_accessor :user_agent
|
|
1850
|
+
|
|
1851
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1852
|
+
@date = date
|
|
1853
|
+
@ip = ip
|
|
1854
|
+
@user_agent = user_agent
|
|
1855
|
+
end
|
|
1856
|
+
end
|
|
1857
|
+
|
|
1858
|
+
class Platform < ::Stripe::RequestParams
|
|
1859
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1860
|
+
attr_accessor :date
|
|
1861
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1862
|
+
attr_accessor :ip
|
|
1863
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1864
|
+
attr_accessor :user_agent
|
|
1865
|
+
|
|
1866
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1867
|
+
@date = date
|
|
1868
|
+
@ip = ip
|
|
1869
|
+
@user_agent = user_agent
|
|
1870
|
+
end
|
|
1871
|
+
end
|
|
1872
|
+
# Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
1873
|
+
attr_accessor :bank_terms
|
|
1874
|
+
# Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
1875
|
+
attr_accessor :financing_disclosures
|
|
1876
|
+
# Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
1877
|
+
attr_accessor :platform
|
|
1878
|
+
|
|
1879
|
+
def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
|
|
1880
|
+
@bank_terms = bank_terms
|
|
1881
|
+
@financing_disclosures = financing_disclosures
|
|
1882
|
+
@platform = platform
|
|
1883
|
+
end
|
|
1884
|
+
end
|
|
1885
|
+
|
|
1886
|
+
class SpendCard < ::Stripe::RequestParams
|
|
1887
|
+
class BankTerms < ::Stripe::RequestParams
|
|
1888
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1889
|
+
attr_accessor :date
|
|
1890
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1891
|
+
attr_accessor :ip
|
|
1892
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1893
|
+
attr_accessor :user_agent
|
|
1894
|
+
|
|
1895
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1896
|
+
@date = date
|
|
1897
|
+
@ip = ip
|
|
1898
|
+
@user_agent = user_agent
|
|
1899
|
+
end
|
|
1900
|
+
end
|
|
1901
|
+
|
|
1902
|
+
class FinancingDisclosures < ::Stripe::RequestParams
|
|
1903
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1904
|
+
attr_accessor :date
|
|
1905
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1906
|
+
attr_accessor :ip
|
|
1907
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1908
|
+
attr_accessor :user_agent
|
|
1909
|
+
|
|
1910
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1911
|
+
@date = date
|
|
1912
|
+
@ip = ip
|
|
1913
|
+
@user_agent = user_agent
|
|
1914
|
+
end
|
|
1915
|
+
end
|
|
1916
|
+
# Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
1917
|
+
attr_accessor :bank_terms
|
|
1918
|
+
# Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
1919
|
+
attr_accessor :financing_disclosures
|
|
1920
|
+
|
|
1921
|
+
def initialize(bank_terms: nil, financing_disclosures: nil)
|
|
1922
|
+
@bank_terms = bank_terms
|
|
1923
|
+
@financing_disclosures = financing_disclosures
|
|
1924
|
+
end
|
|
1925
|
+
end
|
|
1926
|
+
# Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
|
|
1927
|
+
attr_accessor :apple_pay
|
|
1928
|
+
# Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
1929
|
+
attr_accessor :charge_card
|
|
1930
|
+
# Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
1931
|
+
attr_accessor :spend_card
|
|
1932
|
+
|
|
1933
|
+
def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
|
|
1934
|
+
@apple_pay = apple_pay
|
|
1935
|
+
@charge_card = charge_card
|
|
1936
|
+
@spend_card = spend_card
|
|
1937
|
+
end
|
|
1938
|
+
end
|
|
1939
|
+
|
|
1940
|
+
class GlobalAccountHolder < ::Stripe::RequestParams
|
|
1941
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1942
|
+
attr_accessor :date
|
|
1943
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1944
|
+
attr_accessor :ip
|
|
1945
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1946
|
+
attr_accessor :user_agent
|
|
1947
|
+
|
|
1948
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1949
|
+
@date = date
|
|
1950
|
+
@ip = ip
|
|
1951
|
+
@user_agent = user_agent
|
|
1952
|
+
end
|
|
1953
|
+
end
|
|
1954
|
+
|
|
1955
|
+
class Lead < ::Stripe::RequestParams
|
|
1956
|
+
class ApplePay < ::Stripe::RequestParams
|
|
1957
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1958
|
+
attr_accessor :date
|
|
1959
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1960
|
+
attr_accessor :ip
|
|
1961
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1962
|
+
attr_accessor :user_agent
|
|
1963
|
+
|
|
1964
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1965
|
+
@date = date
|
|
1966
|
+
@ip = ip
|
|
1967
|
+
@user_agent = user_agent
|
|
1968
|
+
end
|
|
1969
|
+
end
|
|
1970
|
+
|
|
1971
|
+
class PrepaidCard < ::Stripe::RequestParams
|
|
1972
|
+
class BankTerms < ::Stripe::RequestParams
|
|
1973
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1974
|
+
attr_accessor :date
|
|
1975
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1976
|
+
attr_accessor :ip
|
|
1977
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1978
|
+
attr_accessor :user_agent
|
|
1979
|
+
|
|
1980
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1981
|
+
@date = date
|
|
1982
|
+
@ip = ip
|
|
1983
|
+
@user_agent = user_agent
|
|
1984
|
+
end
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
class Platform < ::Stripe::RequestParams
|
|
1988
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1989
|
+
attr_accessor :date
|
|
1990
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
1991
|
+
attr_accessor :ip
|
|
1992
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1993
|
+
attr_accessor :user_agent
|
|
1994
|
+
|
|
1995
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1996
|
+
@date = date
|
|
1997
|
+
@ip = ip
|
|
1998
|
+
@user_agent = user_agent
|
|
1999
|
+
end
|
|
2000
|
+
end
|
|
2001
|
+
# Bank terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
2002
|
+
attr_accessor :bank_terms
|
|
2003
|
+
# Platform terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
2004
|
+
attr_accessor :platform
|
|
2005
|
+
|
|
2006
|
+
def initialize(bank_terms: nil, platform: nil)
|
|
2007
|
+
@bank_terms = bank_terms
|
|
2008
|
+
@platform = platform
|
|
2009
|
+
end
|
|
2010
|
+
end
|
|
2011
|
+
# Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
|
|
2012
|
+
attr_accessor :apple_pay
|
|
2013
|
+
# Terms of service acceptances for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
2014
|
+
attr_accessor :prepaid_card
|
|
2015
|
+
|
|
2016
|
+
def initialize(apple_pay: nil, prepaid_card: nil)
|
|
2017
|
+
@apple_pay = apple_pay
|
|
2018
|
+
@prepaid_card = prepaid_card
|
|
2019
|
+
end
|
|
2020
|
+
end
|
|
2021
|
+
# Terms of service acceptances for Stripe commercial card issuing.
|
|
2022
|
+
attr_accessor :account_holder
|
|
2023
|
+
# Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
|
|
2024
|
+
attr_accessor :celtic
|
|
2025
|
+
# Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
|
|
2026
|
+
attr_accessor :cross_river_bank
|
|
2027
|
+
# Terms of service acceptances for Stripe commercial card Global issuing.
|
|
2028
|
+
attr_accessor :global_account_holder
|
|
2029
|
+
# Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
|
|
2030
|
+
attr_accessor :lead
|
|
2031
|
+
|
|
2032
|
+
def initialize(
|
|
2033
|
+
account_holder: nil,
|
|
2034
|
+
celtic: nil,
|
|
2035
|
+
cross_river_bank: nil,
|
|
2036
|
+
global_account_holder: nil,
|
|
2037
|
+
lead: nil
|
|
2038
|
+
)
|
|
2039
|
+
@account_holder = account_holder
|
|
2040
|
+
@celtic = celtic
|
|
2041
|
+
@cross_river_bank = cross_river_bank
|
|
2042
|
+
@global_account_holder = global_account_holder
|
|
2043
|
+
@lead = lead
|
|
2044
|
+
end
|
|
2045
|
+
end
|
|
2046
|
+
# Terms of service acceptances to create cards for commercial issuing use cases.
|
|
2047
|
+
attr_accessor :commercial
|
|
2048
|
+
|
|
2049
|
+
def initialize(commercial: nil)
|
|
2050
|
+
@commercial = commercial
|
|
2051
|
+
end
|
|
2052
|
+
end
|
|
2053
|
+
|
|
2054
|
+
class CryptoStorer < ::Stripe::RequestParams
|
|
2055
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
2056
|
+
attr_accessor :date
|
|
2057
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
2058
|
+
attr_accessor :ip
|
|
2059
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
2060
|
+
attr_accessor :user_agent
|
|
2061
|
+
|
|
2062
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
2063
|
+
@date = date
|
|
2064
|
+
@ip = ip
|
|
2065
|
+
@user_agent = user_agent
|
|
2066
|
+
end
|
|
2067
|
+
end
|
|
2068
|
+
|
|
1372
2069
|
class Storer < ::Stripe::RequestParams
|
|
1373
2070
|
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1374
2071
|
attr_accessor :date
|
|
@@ -1385,11 +2082,17 @@ module Stripe
|
|
|
1385
2082
|
end
|
|
1386
2083
|
# Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
1387
2084
|
attr_accessor :account
|
|
2085
|
+
# Details on the Account's acceptance of Issuing-specific terms of service.
|
|
2086
|
+
attr_accessor :card_creator
|
|
2087
|
+
# Details on the Account's acceptance of Crypto-storer-specific terms of service.
|
|
2088
|
+
attr_accessor :crypto_storer
|
|
1388
2089
|
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
1389
2090
|
attr_accessor :storer
|
|
1390
2091
|
|
|
1391
|
-
def initialize(account: nil, storer: nil)
|
|
2092
|
+
def initialize(account: nil, card_creator: nil, crypto_storer: nil, storer: nil)
|
|
1392
2093
|
@account = account
|
|
2094
|
+
@card_creator = card_creator
|
|
2095
|
+
@crypto_storer = crypto_storer
|
|
1393
2096
|
@storer = storer
|
|
1394
2097
|
end
|
|
1395
2098
|
end
|
|
@@ -1433,7 +2136,7 @@ module Stripe
|
|
|
1433
2136
|
attr_accessor :postal_code
|
|
1434
2137
|
# State, county, province, or region.
|
|
1435
2138
|
attr_accessor :state
|
|
1436
|
-
# Town or
|
|
2139
|
+
# Town or district.
|
|
1437
2140
|
attr_accessor :town
|
|
1438
2141
|
|
|
1439
2142
|
def initialize(
|
|
@@ -1456,6 +2159,17 @@ module Stripe
|
|
|
1456
2159
|
end
|
|
1457
2160
|
|
|
1458
2161
|
class AnnualRevenue < ::Stripe::RequestParams
|
|
2162
|
+
class Amount < ::Stripe::RequestParams
|
|
2163
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
2164
|
+
attr_accessor :value
|
|
2165
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
2166
|
+
attr_accessor :currency
|
|
2167
|
+
|
|
2168
|
+
def initialize(value: nil, currency: nil)
|
|
2169
|
+
@value = value
|
|
2170
|
+
@currency = currency
|
|
2171
|
+
end
|
|
2172
|
+
end
|
|
1459
2173
|
# A non-negative integer representing the amount in the smallest currency unit.
|
|
1460
2174
|
attr_accessor :amount
|
|
1461
2175
|
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
|
@@ -1660,6 +2374,17 @@ module Stripe
|
|
|
1660
2374
|
end
|
|
1661
2375
|
|
|
1662
2376
|
class MonthlyEstimatedRevenue < ::Stripe::RequestParams
|
|
2377
|
+
class Amount < ::Stripe::RequestParams
|
|
2378
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
2379
|
+
attr_accessor :value
|
|
2380
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
2381
|
+
attr_accessor :currency
|
|
2382
|
+
|
|
2383
|
+
def initialize(value: nil, currency: nil)
|
|
2384
|
+
@value = value
|
|
2385
|
+
@currency = currency
|
|
2386
|
+
end
|
|
2387
|
+
end
|
|
1663
2388
|
# A non-negative integer representing the amount in the smallest currency unit.
|
|
1664
2389
|
attr_accessor :amount
|
|
1665
2390
|
|
|
@@ -1682,7 +2407,7 @@ module Stripe
|
|
|
1682
2407
|
attr_accessor :postal_code
|
|
1683
2408
|
# State, county, province, or region.
|
|
1684
2409
|
attr_accessor :state
|
|
1685
|
-
# Town or
|
|
2410
|
+
# Town or district.
|
|
1686
2411
|
attr_accessor :town
|
|
1687
2412
|
|
|
1688
2413
|
def initialize(
|
|
@@ -1717,7 +2442,7 @@ module Stripe
|
|
|
1717
2442
|
attr_accessor :postal_code
|
|
1718
2443
|
# State, county, province, or region.
|
|
1719
2444
|
attr_accessor :state
|
|
1720
|
-
# Town or
|
|
2445
|
+
# Town or district.
|
|
1721
2446
|
attr_accessor :town
|
|
1722
2447
|
|
|
1723
2448
|
def initialize(
|
|
@@ -1781,9 +2506,11 @@ module Stripe
|
|
|
1781
2506
|
attr_accessor :address
|
|
1782
2507
|
# The business gross annual revenue for its preceding fiscal year.
|
|
1783
2508
|
attr_accessor :annual_revenue
|
|
2509
|
+
# A detailed description of the business's compliance and anti-money laundering controls and practices.
|
|
2510
|
+
attr_accessor :compliance_screening_description
|
|
1784
2511
|
# A document verifying the business.
|
|
1785
2512
|
attr_accessor :documents
|
|
1786
|
-
#
|
|
2513
|
+
# Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|
|
1787
2514
|
attr_accessor :estimated_worker_count
|
|
1788
2515
|
# The ID numbers of a business entity.
|
|
1789
2516
|
attr_accessor :id_numbers
|
|
@@ -1803,6 +2530,7 @@ module Stripe
|
|
|
1803
2530
|
def initialize(
|
|
1804
2531
|
address: nil,
|
|
1805
2532
|
annual_revenue: nil,
|
|
2533
|
+
compliance_screening_description: nil,
|
|
1806
2534
|
documents: nil,
|
|
1807
2535
|
estimated_worker_count: nil,
|
|
1808
2536
|
id_numbers: nil,
|
|
@@ -1815,6 +2543,7 @@ module Stripe
|
|
|
1815
2543
|
)
|
|
1816
2544
|
@address = address
|
|
1817
2545
|
@annual_revenue = annual_revenue
|
|
2546
|
+
@compliance_screening_description = compliance_screening_description
|
|
1818
2547
|
@documents = documents
|
|
1819
2548
|
@estimated_worker_count = estimated_worker_count
|
|
1820
2549
|
@id_numbers = id_numbers
|
|
@@ -1843,7 +2572,7 @@ module Stripe
|
|
|
1843
2572
|
attr_accessor :purpose
|
|
1844
2573
|
# State, county, province, or region.
|
|
1845
2574
|
attr_accessor :state
|
|
1846
|
-
# Town or
|
|
2575
|
+
# Town or district.
|
|
1847
2576
|
attr_accessor :town
|
|
1848
2577
|
|
|
1849
2578
|
def initialize(
|
|
@@ -1898,7 +2627,7 @@ module Stripe
|
|
|
1898
2627
|
attr_accessor :postal_code
|
|
1899
2628
|
# State, county, province, or region.
|
|
1900
2629
|
attr_accessor :state
|
|
1901
|
-
# Town or
|
|
2630
|
+
# Town or district.
|
|
1902
2631
|
attr_accessor :town
|
|
1903
2632
|
|
|
1904
2633
|
def initialize(
|
|
@@ -2096,7 +2825,7 @@ module Stripe
|
|
|
2096
2825
|
attr_accessor :postal_code
|
|
2097
2826
|
# State, county, province, or region.
|
|
2098
2827
|
attr_accessor :state
|
|
2099
|
-
# Town or
|
|
2828
|
+
# Town or district.
|
|
2100
2829
|
attr_accessor :town
|
|
2101
2830
|
|
|
2102
2831
|
def initialize(
|
|
@@ -2131,7 +2860,7 @@ module Stripe
|
|
|
2131
2860
|
attr_accessor :postal_code
|
|
2132
2861
|
# State, county, province, or region.
|
|
2133
2862
|
attr_accessor :state
|
|
2134
|
-
# Town or
|
|
2863
|
+
# Town or district.
|
|
2135
2864
|
attr_accessor :town
|
|
2136
2865
|
|
|
2137
2866
|
def initialize(
|