stripe 17.2.0 → 17.3.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/stripe/api_requestor.rb +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +1050 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -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_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -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_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_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 +66 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -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_event_generation_failure_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -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_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_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_money_management_transaction_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -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_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 +84 -0
- data/lib/stripe/params/account_create_params.rb +301 -2
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +263 -1
- 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 +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +17 -2
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +33 -2
- data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -0
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/billing_portal/session_create_params.rb +4 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +709 -0
- data/lib/stripe/params/charge_update_params.rb +709 -0
- data/lib/stripe/params/checkout/session_create_params.rb +273 -4
- data/lib/stripe/params/checkout/session_list_params.rb +4 -0
- data/lib/stripe/params/checkout/session_update_params.rb +288 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/coupon_create_params.rb +17 -1
- data/lib/stripe/params/credit_note_list_params.rb +4 -0
- data/lib/stripe/params/customer_session_create_params.rb +37 -3
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +55 -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 +10 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/account_list_params.rb +4 -1
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +34 -2
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- 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 +4 -0
- data/lib/stripe/params/identity/verification_session_list_params.rb +4 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +112 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +826 -9
- data/lib/stripe/params/invoice_item_create_params.rb +37 -1
- data/lib/stripe/params/invoice_item_list_params.rb +4 -0
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_list_params.rb +8 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +108 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +1124 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +1128 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +736 -30
- data/lib/stripe/params/payment_intent_confirm_params.rb +1250 -47
- data/lib/stripe/params/payment_intent_create_params.rb +1254 -43
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +63 -29
- data/lib/stripe/params/payment_intent_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +1286 -44
- data/lib/stripe/params/payment_method_attach_params.rb +4 -1
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
- data/lib/stripe/params/payment_method_create_params.rb +97 -0
- data/lib/stripe/params/payment_method_update_params.rb +19 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/promotion_code_create_params.rb +4 -0
- data/lib/stripe/params/promotion_code_list_params.rb +4 -0
- data/lib/stripe/params/quote_create_params.rb +805 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +8 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +813 -4
- data/lib/stripe/params/setup_intent_confirm_params.rb +254 -3
- data/lib/stripe/params/setup_intent_create_params.rb +260 -3
- data/lib/stripe/params/setup_intent_list_params.rb +4 -0
- data/lib/stripe/params/setup_intent_update_params.rb +261 -4
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +259 -5
- data/lib/stripe/params/subscription_item_create_params.rb +46 -2
- data/lib/stripe/params/subscription_item_update_params.rb +29 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +570 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +167 -5
- data/lib/stripe/params/subscription_schedule_list_params.rb +4 -0
- data/lib/stripe/params/subscription_schedule_update_params.rb +163 -5
- data/lib/stripe/params/subscription_update_params.rb +238 -4
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_id_create_params.rb +4 -1
- data/lib/stripe/params/tax_id_list_params.rb +4 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +22 -9
- data/lib/stripe/params/terminal/configuration_update_params.rb +22 -9
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- 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 +97 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +9 -1
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- 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 +355 -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/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -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 +254 -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_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2943 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2975 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
- 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/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +102 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +67 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +103 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +81 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -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/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_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 +61 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -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/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/automatic_rule_create_params.rb +20 -0
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +253 -0
- data/lib/stripe/resources/account.rb +167 -2
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/billing/alert.rb +105 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +86 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +60 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/billing_portal/session.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +183 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +20 -1
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +255 -1
- data/lib/stripe/resources/checkout/session.rb +246 -4
- data/lib/stripe/resources/confirmation_token.rb +173 -0
- data/lib/stripe/resources/coupon.rb +26 -1
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +38 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +402 -0
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +27 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +67 -1
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources/identity/verification_session.rb +2 -0
- data/lib/stripe/resources/invoice.rb +153 -2
- data/lib/stripe/resources/invoice_item.rb +94 -2
- data/lib/stripe/resources/invoice_line_item.rb +131 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +2 -0
- data/lib/stripe/resources/line_item.rb +68 -1
- data/lib/stripe/resources/mandate.rb +71 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +987 -0
- data/lib/stripe/resources/payment_attempt_record.rb +203 -1
- data/lib/stripe/resources/payment_intent.rb +840 -23
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +7 -13
- data/lib/stripe/resources/payment_method.rb +195 -0
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +204 -0
- data/lib/stripe/resources/payment_record.rb +203 -1
- data/lib/stripe/resources/price.rb +20 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/promotion_code.rb +2 -0
- data/lib/stripe/resources/quote.rb +571 -2
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1150 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +732 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/setup_attempt.rb +63 -0
- data/lib/stripe/resources/setup_intent.rb +172 -1
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +232 -0
- data/lib/stripe/resources/subscription_item.rb +20 -1
- data/lib/stripe/resources/subscription_schedule.rb +198 -3
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax_id.rb +4 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -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 +395 -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/meter_event.rb +1 -2
- 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/profile.rb +46 -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 +244 -0
- data/lib/stripe/resources/v2/core/account.rb +4967 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +477 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +4 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +81 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +148 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +219 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +198 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +137 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +230 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +140 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +242 -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/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +393 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- 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/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +27 -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/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_line_item_service.rb +17 -0
- data/lib/stripe/services/order_service.rb +78 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/payment_method_service.rb +11 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- 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_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +9 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- 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/profile_service.rb +54 -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 +18 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +76 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +73 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +63 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +33 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -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/automatic_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +6 -1
- data/lib/stripe/services.rb +89 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +158573 -87426
- metadata +739 -4
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
class PaymentIntentConfirmParams < ::Stripe::RequestParams
|
|
6
|
+
class AllocatedFunds < ::Stripe::RequestParams
|
|
7
|
+
# Whether Allocated Funds creation is enabled for this PaymentIntent.
|
|
8
|
+
attr_accessor :enabled
|
|
9
|
+
|
|
10
|
+
def initialize(enabled: nil)
|
|
11
|
+
@enabled = enabled
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
6
15
|
class AmountDetails < ::Stripe::RequestParams
|
|
7
16
|
class LineItem < ::Stripe::RequestParams
|
|
8
17
|
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
@@ -79,32 +88,26 @@ module Stripe
|
|
|
79
88
|
end
|
|
80
89
|
|
|
81
90
|
class Tax < ::Stripe::RequestParams
|
|
82
|
-
# The total
|
|
83
|
-
#
|
|
84
|
-
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
91
|
+
# The total tax on an item. Non-negative integer.
|
|
85
92
|
attr_accessor :total_tax_amount
|
|
86
93
|
|
|
87
94
|
def initialize(total_tax_amount: nil)
|
|
88
95
|
@total_tax_amount = total_tax_amount
|
|
89
96
|
end
|
|
90
97
|
end
|
|
91
|
-
# The
|
|
92
|
-
#
|
|
93
|
-
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
98
|
+
# The amount an item was discounted for. Positive integer.
|
|
94
99
|
attr_accessor :discount_amount
|
|
95
100
|
# Payment method-specific information for line items.
|
|
96
101
|
attr_accessor :payment_method_options
|
|
97
|
-
#
|
|
102
|
+
# Unique identifier of the product. At most 12 characters long.
|
|
98
103
|
attr_accessor :product_code
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
# For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
|
|
104
|
+
# Name of the product. At most 100 characters long.
|
|
102
105
|
attr_accessor :product_name
|
|
103
|
-
#
|
|
106
|
+
# Number of items of the product. Positive integer.
|
|
104
107
|
attr_accessor :quantity
|
|
105
108
|
# Contains information about the tax on the item.
|
|
106
109
|
attr_accessor :tax
|
|
107
|
-
#
|
|
110
|
+
# Cost of the product. Non-negative integer.
|
|
108
111
|
attr_accessor :unit_cost
|
|
109
112
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
110
113
|
attr_accessor :unit_of_measure
|
|
@@ -131,11 +134,11 @@ module Stripe
|
|
|
131
134
|
end
|
|
132
135
|
|
|
133
136
|
class Shipping < ::Stripe::RequestParams
|
|
134
|
-
#
|
|
137
|
+
# Portion of the amount that is for shipping.
|
|
135
138
|
attr_accessor :amount
|
|
136
|
-
#
|
|
139
|
+
# The postal code that represents the shipping source.
|
|
137
140
|
attr_accessor :from_postal_code
|
|
138
|
-
#
|
|
141
|
+
# The postal code that represents the shipping destination.
|
|
139
142
|
attr_accessor :to_postal_code
|
|
140
143
|
|
|
141
144
|
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
@@ -146,18 +149,14 @@ module Stripe
|
|
|
146
149
|
end
|
|
147
150
|
|
|
148
151
|
class Tax < ::Stripe::RequestParams
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
152
|
+
# Total portion of the amount that is for tax.
|
|
152
153
|
attr_accessor :total_tax_amount
|
|
153
154
|
|
|
154
155
|
def initialize(total_tax_amount: nil)
|
|
155
156
|
@total_tax_amount = total_tax_amount
|
|
156
157
|
end
|
|
157
158
|
end
|
|
158
|
-
# The total discount applied on the transaction
|
|
159
|
-
#
|
|
160
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
159
|
+
# The total discount applied on the transaction.
|
|
161
160
|
attr_accessor :discount_amount
|
|
162
161
|
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
163
162
|
attr_accessor :line_items
|
|
@@ -174,6 +173,31 @@ module Stripe
|
|
|
174
173
|
end
|
|
175
174
|
end
|
|
176
175
|
|
|
176
|
+
class Hooks < ::Stripe::RequestParams
|
|
177
|
+
class Inputs < ::Stripe::RequestParams
|
|
178
|
+
class Tax < ::Stripe::RequestParams
|
|
179
|
+
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
180
|
+
attr_accessor :calculation
|
|
181
|
+
|
|
182
|
+
def initialize(calculation: nil)
|
|
183
|
+
@calculation = calculation
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
# Tax arguments for automations
|
|
187
|
+
attr_accessor :tax
|
|
188
|
+
|
|
189
|
+
def initialize(tax: nil)
|
|
190
|
+
@tax = tax
|
|
191
|
+
end
|
|
192
|
+
end
|
|
193
|
+
# Arguments passed in automations
|
|
194
|
+
attr_accessor :inputs
|
|
195
|
+
|
|
196
|
+
def initialize(inputs: nil)
|
|
197
|
+
@inputs = inputs
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
|
|
177
201
|
class MandateData < ::Stripe::RequestParams
|
|
178
202
|
class CustomerAcceptance < ::Stripe::RequestParams
|
|
179
203
|
class Offline < ::Stripe::RequestParams; end
|
|
@@ -208,26 +232,734 @@ module Stripe
|
|
|
208
232
|
# This hash contains details about the customer acceptance of the Mandate.
|
|
209
233
|
attr_accessor :customer_acceptance
|
|
210
234
|
|
|
211
|
-
def initialize(customer_acceptance: nil)
|
|
212
|
-
@customer_acceptance = customer_acceptance
|
|
235
|
+
def initialize(customer_acceptance: nil)
|
|
236
|
+
@customer_acceptance = customer_acceptance
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
241
|
+
class Benefit < ::Stripe::RequestParams
|
|
242
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
243
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
244
|
+
attr_accessor :siret
|
|
245
|
+
|
|
246
|
+
def initialize(siret: nil)
|
|
247
|
+
@siret = siret
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
251
|
+
attr_accessor :fr_meal_voucher
|
|
252
|
+
|
|
253
|
+
def initialize(fr_meal_voucher: nil)
|
|
254
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
class CarRental < ::Stripe::RequestParams
|
|
259
|
+
class Affiliate < ::Stripe::RequestParams
|
|
260
|
+
# The name of the affiliate that originated the purchase.
|
|
261
|
+
attr_accessor :name
|
|
262
|
+
|
|
263
|
+
def initialize(name: nil)
|
|
264
|
+
@name = name
|
|
265
|
+
end
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
class Delivery < ::Stripe::RequestParams
|
|
269
|
+
class Recipient < ::Stripe::RequestParams
|
|
270
|
+
# The email of the recipient the ticket is delivered to.
|
|
271
|
+
attr_accessor :email
|
|
272
|
+
# The name of the recipient the ticket is delivered to.
|
|
273
|
+
attr_accessor :name
|
|
274
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
275
|
+
attr_accessor :phone
|
|
276
|
+
|
|
277
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
278
|
+
@email = email
|
|
279
|
+
@name = name
|
|
280
|
+
@phone = phone
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
# The delivery method for the payment
|
|
284
|
+
attr_accessor :mode
|
|
285
|
+
# Details of the recipient.
|
|
286
|
+
attr_accessor :recipient
|
|
287
|
+
|
|
288
|
+
def initialize(mode: nil, recipient: nil)
|
|
289
|
+
@mode = mode
|
|
290
|
+
@recipient = recipient
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
class Distance < ::Stripe::RequestParams
|
|
295
|
+
# Distance traveled.
|
|
296
|
+
attr_accessor :amount
|
|
297
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
298
|
+
attr_accessor :unit
|
|
299
|
+
|
|
300
|
+
def initialize(amount: nil, unit: nil)
|
|
301
|
+
@amount = amount
|
|
302
|
+
@unit = unit
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
class Driver < ::Stripe::RequestParams
|
|
307
|
+
# Driver's identification number.
|
|
308
|
+
attr_accessor :driver_identification_number
|
|
309
|
+
# Driver's tax number.
|
|
310
|
+
attr_accessor :driver_tax_number
|
|
311
|
+
# Full name of the person or entity on the car reservation.
|
|
312
|
+
attr_accessor :name
|
|
313
|
+
|
|
314
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
315
|
+
@driver_identification_number = driver_identification_number
|
|
316
|
+
@driver_tax_number = driver_tax_number
|
|
317
|
+
@name = name
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
322
|
+
# City, district, suburb, town, or village.
|
|
323
|
+
attr_accessor :city
|
|
324
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
325
|
+
attr_accessor :country
|
|
326
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
327
|
+
attr_accessor :line1
|
|
328
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
329
|
+
attr_accessor :line2
|
|
330
|
+
# ZIP or postal code.
|
|
331
|
+
attr_accessor :postal_code
|
|
332
|
+
# State, county, province, or region.
|
|
333
|
+
attr_accessor :state
|
|
334
|
+
|
|
335
|
+
def initialize(
|
|
336
|
+
city: nil,
|
|
337
|
+
country: nil,
|
|
338
|
+
line1: nil,
|
|
339
|
+
line2: nil,
|
|
340
|
+
postal_code: nil,
|
|
341
|
+
state: nil
|
|
342
|
+
)
|
|
343
|
+
@city = city
|
|
344
|
+
@country = country
|
|
345
|
+
@line1 = line1
|
|
346
|
+
@line2 = line2
|
|
347
|
+
@postal_code = postal_code
|
|
348
|
+
@state = state
|
|
349
|
+
end
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
353
|
+
# City, district, suburb, town, or village.
|
|
354
|
+
attr_accessor :city
|
|
355
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
356
|
+
attr_accessor :country
|
|
357
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
358
|
+
attr_accessor :line1
|
|
359
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
360
|
+
attr_accessor :line2
|
|
361
|
+
# ZIP or postal code.
|
|
362
|
+
attr_accessor :postal_code
|
|
363
|
+
# State, county, province, or region.
|
|
364
|
+
attr_accessor :state
|
|
365
|
+
|
|
366
|
+
def initialize(
|
|
367
|
+
city: nil,
|
|
368
|
+
country: nil,
|
|
369
|
+
line1: nil,
|
|
370
|
+
line2: nil,
|
|
371
|
+
postal_code: nil,
|
|
372
|
+
state: nil
|
|
373
|
+
)
|
|
374
|
+
@city = city
|
|
375
|
+
@country = country
|
|
376
|
+
@line1 = line1
|
|
377
|
+
@line2 = line2
|
|
378
|
+
@postal_code = postal_code
|
|
379
|
+
@state = state
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
# Affiliate details for this purchase.
|
|
383
|
+
attr_accessor :affiliate
|
|
384
|
+
# The booking number associated with the car rental.
|
|
385
|
+
attr_accessor :booking_number
|
|
386
|
+
# Class code of the car.
|
|
387
|
+
attr_accessor :car_class_code
|
|
388
|
+
# Make of the car.
|
|
389
|
+
attr_accessor :car_make
|
|
390
|
+
# Model of the car.
|
|
391
|
+
attr_accessor :car_model
|
|
392
|
+
# The name of the rental car company.
|
|
393
|
+
attr_accessor :company
|
|
394
|
+
# The customer service phone number of the car rental company.
|
|
395
|
+
attr_accessor :customer_service_phone_number
|
|
396
|
+
# Number of days the car is being rented.
|
|
397
|
+
attr_accessor :days_rented
|
|
398
|
+
# Delivery details for this purchase.
|
|
399
|
+
attr_accessor :delivery
|
|
400
|
+
# The details of the distance traveled during the rental period.
|
|
401
|
+
attr_accessor :distance
|
|
402
|
+
# The details of the passengers in the travel reservation
|
|
403
|
+
attr_accessor :drivers
|
|
404
|
+
# List of additional charges being billed.
|
|
405
|
+
attr_accessor :extra_charges
|
|
406
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
407
|
+
attr_accessor :no_show
|
|
408
|
+
# Car pick-up address.
|
|
409
|
+
attr_accessor :pickup_address
|
|
410
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
411
|
+
attr_accessor :pickup_at
|
|
412
|
+
# Name of the pickup location.
|
|
413
|
+
attr_accessor :pickup_location_name
|
|
414
|
+
# Rental rate.
|
|
415
|
+
attr_accessor :rate_amount
|
|
416
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
417
|
+
attr_accessor :rate_interval
|
|
418
|
+
# The name of the person or entity renting the car.
|
|
419
|
+
attr_accessor :renter_name
|
|
420
|
+
# Car return address.
|
|
421
|
+
attr_accessor :return_address
|
|
422
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
423
|
+
attr_accessor :return_at
|
|
424
|
+
# Name of the return location.
|
|
425
|
+
attr_accessor :return_location_name
|
|
426
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
427
|
+
attr_accessor :tax_exempt
|
|
428
|
+
# The vehicle identification number.
|
|
429
|
+
attr_accessor :vehicle_identification_number
|
|
430
|
+
|
|
431
|
+
def initialize(
|
|
432
|
+
affiliate: nil,
|
|
433
|
+
booking_number: nil,
|
|
434
|
+
car_class_code: nil,
|
|
435
|
+
car_make: nil,
|
|
436
|
+
car_model: nil,
|
|
437
|
+
company: nil,
|
|
438
|
+
customer_service_phone_number: nil,
|
|
439
|
+
days_rented: nil,
|
|
440
|
+
delivery: nil,
|
|
441
|
+
distance: nil,
|
|
442
|
+
drivers: nil,
|
|
443
|
+
extra_charges: nil,
|
|
444
|
+
no_show: nil,
|
|
445
|
+
pickup_address: nil,
|
|
446
|
+
pickup_at: nil,
|
|
447
|
+
pickup_location_name: nil,
|
|
448
|
+
rate_amount: nil,
|
|
449
|
+
rate_interval: nil,
|
|
450
|
+
renter_name: nil,
|
|
451
|
+
return_address: nil,
|
|
452
|
+
return_at: nil,
|
|
453
|
+
return_location_name: nil,
|
|
454
|
+
tax_exempt: nil,
|
|
455
|
+
vehicle_identification_number: nil
|
|
456
|
+
)
|
|
457
|
+
@affiliate = affiliate
|
|
458
|
+
@booking_number = booking_number
|
|
459
|
+
@car_class_code = car_class_code
|
|
460
|
+
@car_make = car_make
|
|
461
|
+
@car_model = car_model
|
|
462
|
+
@company = company
|
|
463
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
464
|
+
@days_rented = days_rented
|
|
465
|
+
@delivery = delivery
|
|
466
|
+
@distance = distance
|
|
467
|
+
@drivers = drivers
|
|
468
|
+
@extra_charges = extra_charges
|
|
469
|
+
@no_show = no_show
|
|
470
|
+
@pickup_address = pickup_address
|
|
471
|
+
@pickup_at = pickup_at
|
|
472
|
+
@pickup_location_name = pickup_location_name
|
|
473
|
+
@rate_amount = rate_amount
|
|
474
|
+
@rate_interval = rate_interval
|
|
475
|
+
@renter_name = renter_name
|
|
476
|
+
@return_address = return_address
|
|
477
|
+
@return_at = return_at
|
|
478
|
+
@return_location_name = return_location_name
|
|
479
|
+
@tax_exempt = tax_exempt
|
|
480
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
481
|
+
end
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
class EventDetails < ::Stripe::RequestParams
|
|
485
|
+
class Address < ::Stripe::RequestParams
|
|
486
|
+
# City, district, suburb, town, or village.
|
|
487
|
+
attr_accessor :city
|
|
488
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
489
|
+
attr_accessor :country
|
|
490
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
491
|
+
attr_accessor :line1
|
|
492
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
493
|
+
attr_accessor :line2
|
|
494
|
+
# ZIP or postal code.
|
|
495
|
+
attr_accessor :postal_code
|
|
496
|
+
# State, county, province, or region.
|
|
497
|
+
attr_accessor :state
|
|
498
|
+
|
|
499
|
+
def initialize(
|
|
500
|
+
city: nil,
|
|
501
|
+
country: nil,
|
|
502
|
+
line1: nil,
|
|
503
|
+
line2: nil,
|
|
504
|
+
postal_code: nil,
|
|
505
|
+
state: nil
|
|
506
|
+
)
|
|
507
|
+
@city = city
|
|
508
|
+
@country = country
|
|
509
|
+
@line1 = line1
|
|
510
|
+
@line2 = line2
|
|
511
|
+
@postal_code = postal_code
|
|
512
|
+
@state = state
|
|
513
|
+
end
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
class Affiliate < ::Stripe::RequestParams
|
|
517
|
+
# The name of the affiliate that originated the purchase.
|
|
518
|
+
attr_accessor :name
|
|
519
|
+
|
|
520
|
+
def initialize(name: nil)
|
|
521
|
+
@name = name
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
class Delivery < ::Stripe::RequestParams
|
|
526
|
+
class Recipient < ::Stripe::RequestParams
|
|
527
|
+
# The email of the recipient the ticket is delivered to.
|
|
528
|
+
attr_accessor :email
|
|
529
|
+
# The name of the recipient the ticket is delivered to.
|
|
530
|
+
attr_accessor :name
|
|
531
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
532
|
+
attr_accessor :phone
|
|
533
|
+
|
|
534
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
535
|
+
@email = email
|
|
536
|
+
@name = name
|
|
537
|
+
@phone = phone
|
|
538
|
+
end
|
|
539
|
+
end
|
|
540
|
+
# The delivery method for the payment
|
|
541
|
+
attr_accessor :mode
|
|
542
|
+
# Details of the recipient.
|
|
543
|
+
attr_accessor :recipient
|
|
544
|
+
|
|
545
|
+
def initialize(mode: nil, recipient: nil)
|
|
546
|
+
@mode = mode
|
|
547
|
+
@recipient = recipient
|
|
548
|
+
end
|
|
549
|
+
end
|
|
550
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
551
|
+
attr_accessor :access_controlled_venue
|
|
552
|
+
# The event location's address.
|
|
553
|
+
attr_accessor :address
|
|
554
|
+
# Affiliate details for this purchase.
|
|
555
|
+
attr_accessor :affiliate
|
|
556
|
+
# The name of the company
|
|
557
|
+
attr_accessor :company
|
|
558
|
+
# Delivery details for this purchase.
|
|
559
|
+
attr_accessor :delivery
|
|
560
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
561
|
+
attr_accessor :ends_at
|
|
562
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
563
|
+
attr_accessor :genre
|
|
564
|
+
# The name of the event.
|
|
565
|
+
attr_accessor :name
|
|
566
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
567
|
+
attr_accessor :starts_at
|
|
568
|
+
|
|
569
|
+
def initialize(
|
|
570
|
+
access_controlled_venue: nil,
|
|
571
|
+
address: nil,
|
|
572
|
+
affiliate: nil,
|
|
573
|
+
company: nil,
|
|
574
|
+
delivery: nil,
|
|
575
|
+
ends_at: nil,
|
|
576
|
+
genre: nil,
|
|
577
|
+
name: nil,
|
|
578
|
+
starts_at: nil
|
|
579
|
+
)
|
|
580
|
+
@access_controlled_venue = access_controlled_venue
|
|
581
|
+
@address = address
|
|
582
|
+
@affiliate = affiliate
|
|
583
|
+
@company = company
|
|
584
|
+
@delivery = delivery
|
|
585
|
+
@ends_at = ends_at
|
|
586
|
+
@genre = genre
|
|
587
|
+
@name = name
|
|
588
|
+
@starts_at = starts_at
|
|
589
|
+
end
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
class Flight < ::Stripe::RequestParams
|
|
593
|
+
class Affiliate < ::Stripe::RequestParams
|
|
594
|
+
# The name of the affiliate that originated the purchase.
|
|
595
|
+
attr_accessor :name
|
|
596
|
+
|
|
597
|
+
def initialize(name: nil)
|
|
598
|
+
@name = name
|
|
599
|
+
end
|
|
600
|
+
end
|
|
601
|
+
|
|
602
|
+
class Delivery < ::Stripe::RequestParams
|
|
603
|
+
class Recipient < ::Stripe::RequestParams
|
|
604
|
+
# The email of the recipient the ticket is delivered to.
|
|
605
|
+
attr_accessor :email
|
|
606
|
+
# The name of the recipient the ticket is delivered to.
|
|
607
|
+
attr_accessor :name
|
|
608
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
609
|
+
attr_accessor :phone
|
|
610
|
+
|
|
611
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
612
|
+
@email = email
|
|
613
|
+
@name = name
|
|
614
|
+
@phone = phone
|
|
615
|
+
end
|
|
616
|
+
end
|
|
617
|
+
# The delivery method for the payment
|
|
618
|
+
attr_accessor :mode
|
|
619
|
+
# Details of the recipient.
|
|
620
|
+
attr_accessor :recipient
|
|
621
|
+
|
|
622
|
+
def initialize(mode: nil, recipient: nil)
|
|
623
|
+
@mode = mode
|
|
624
|
+
@recipient = recipient
|
|
625
|
+
end
|
|
626
|
+
end
|
|
627
|
+
|
|
628
|
+
class Passenger < ::Stripe::RequestParams
|
|
629
|
+
# Full name of the person or entity on the flight reservation.
|
|
630
|
+
attr_accessor :name
|
|
631
|
+
|
|
632
|
+
def initialize(name: nil)
|
|
633
|
+
@name = name
|
|
634
|
+
end
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
class Segment < ::Stripe::RequestParams
|
|
638
|
+
# The flight segment amount.
|
|
639
|
+
attr_accessor :amount
|
|
640
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
641
|
+
attr_accessor :arrival_airport
|
|
642
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
643
|
+
attr_accessor :arrives_at
|
|
644
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
645
|
+
attr_accessor :carrier
|
|
646
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
647
|
+
attr_accessor :departs_at
|
|
648
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
649
|
+
attr_accessor :departure_airport
|
|
650
|
+
# The flight number associated with the segment
|
|
651
|
+
attr_accessor :flight_number
|
|
652
|
+
# The fare class for the segment.
|
|
653
|
+
attr_accessor :service_class
|
|
654
|
+
|
|
655
|
+
def initialize(
|
|
656
|
+
amount: nil,
|
|
657
|
+
arrival_airport: nil,
|
|
658
|
+
arrives_at: nil,
|
|
659
|
+
carrier: nil,
|
|
660
|
+
departs_at: nil,
|
|
661
|
+
departure_airport: nil,
|
|
662
|
+
flight_number: nil,
|
|
663
|
+
service_class: nil
|
|
664
|
+
)
|
|
665
|
+
@amount = amount
|
|
666
|
+
@arrival_airport = arrival_airport
|
|
667
|
+
@arrives_at = arrives_at
|
|
668
|
+
@carrier = carrier
|
|
669
|
+
@departs_at = departs_at
|
|
670
|
+
@departure_airport = departure_airport
|
|
671
|
+
@flight_number = flight_number
|
|
672
|
+
@service_class = service_class
|
|
673
|
+
end
|
|
674
|
+
end
|
|
675
|
+
# Affiliate details for this purchase.
|
|
676
|
+
attr_accessor :affiliate
|
|
677
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
678
|
+
attr_accessor :agency_number
|
|
679
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
680
|
+
attr_accessor :carrier
|
|
681
|
+
# Delivery details for this purchase.
|
|
682
|
+
attr_accessor :delivery
|
|
683
|
+
# The name of the person or entity on the reservation.
|
|
684
|
+
attr_accessor :passenger_name
|
|
685
|
+
# The details of the passengers in the travel reservation.
|
|
686
|
+
attr_accessor :passengers
|
|
687
|
+
# The individual flight segments associated with the trip.
|
|
688
|
+
attr_accessor :segments
|
|
689
|
+
# The ticket number associated with the travel reservation.
|
|
690
|
+
attr_accessor :ticket_number
|
|
691
|
+
|
|
692
|
+
def initialize(
|
|
693
|
+
affiliate: nil,
|
|
694
|
+
agency_number: nil,
|
|
695
|
+
carrier: nil,
|
|
696
|
+
delivery: nil,
|
|
697
|
+
passenger_name: nil,
|
|
698
|
+
passengers: nil,
|
|
699
|
+
segments: nil,
|
|
700
|
+
ticket_number: nil
|
|
701
|
+
)
|
|
702
|
+
@affiliate = affiliate
|
|
703
|
+
@agency_number = agency_number
|
|
704
|
+
@carrier = carrier
|
|
705
|
+
@delivery = delivery
|
|
706
|
+
@passenger_name = passenger_name
|
|
707
|
+
@passengers = passengers
|
|
708
|
+
@segments = segments
|
|
709
|
+
@ticket_number = ticket_number
|
|
710
|
+
end
|
|
711
|
+
end
|
|
712
|
+
|
|
713
|
+
class Lodging < ::Stripe::RequestParams
|
|
714
|
+
class Address < ::Stripe::RequestParams
|
|
715
|
+
# City, district, suburb, town, or village.
|
|
716
|
+
attr_accessor :city
|
|
717
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
718
|
+
attr_accessor :country
|
|
719
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
720
|
+
attr_accessor :line1
|
|
721
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
722
|
+
attr_accessor :line2
|
|
723
|
+
# ZIP or postal code.
|
|
724
|
+
attr_accessor :postal_code
|
|
725
|
+
# State, county, province, or region.
|
|
726
|
+
attr_accessor :state
|
|
727
|
+
|
|
728
|
+
def initialize(
|
|
729
|
+
city: nil,
|
|
730
|
+
country: nil,
|
|
731
|
+
line1: nil,
|
|
732
|
+
line2: nil,
|
|
733
|
+
postal_code: nil,
|
|
734
|
+
state: nil
|
|
735
|
+
)
|
|
736
|
+
@city = city
|
|
737
|
+
@country = country
|
|
738
|
+
@line1 = line1
|
|
739
|
+
@line2 = line2
|
|
740
|
+
@postal_code = postal_code
|
|
741
|
+
@state = state
|
|
742
|
+
end
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
class Affiliate < ::Stripe::RequestParams
|
|
746
|
+
# The name of the affiliate that originated the purchase.
|
|
747
|
+
attr_accessor :name
|
|
748
|
+
|
|
749
|
+
def initialize(name: nil)
|
|
750
|
+
@name = name
|
|
751
|
+
end
|
|
752
|
+
end
|
|
753
|
+
|
|
754
|
+
class Delivery < ::Stripe::RequestParams
|
|
755
|
+
class Recipient < ::Stripe::RequestParams
|
|
756
|
+
# The email of the recipient the ticket is delivered to.
|
|
757
|
+
attr_accessor :email
|
|
758
|
+
# The name of the recipient the ticket is delivered to.
|
|
759
|
+
attr_accessor :name
|
|
760
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
761
|
+
attr_accessor :phone
|
|
762
|
+
|
|
763
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
764
|
+
@email = email
|
|
765
|
+
@name = name
|
|
766
|
+
@phone = phone
|
|
767
|
+
end
|
|
768
|
+
end
|
|
769
|
+
# The delivery method for the payment
|
|
770
|
+
attr_accessor :mode
|
|
771
|
+
# Details of the recipient.
|
|
772
|
+
attr_accessor :recipient
|
|
773
|
+
|
|
774
|
+
def initialize(mode: nil, recipient: nil)
|
|
775
|
+
@mode = mode
|
|
776
|
+
@recipient = recipient
|
|
777
|
+
end
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
class Passenger < ::Stripe::RequestParams
|
|
781
|
+
# Full name of the person or entity on the lodging reservation.
|
|
782
|
+
attr_accessor :name
|
|
783
|
+
|
|
784
|
+
def initialize(name: nil)
|
|
785
|
+
@name = name
|
|
786
|
+
end
|
|
787
|
+
end
|
|
788
|
+
# The lodging location's address.
|
|
789
|
+
attr_accessor :address
|
|
790
|
+
# The number of adults on the booking
|
|
791
|
+
attr_accessor :adults
|
|
792
|
+
# Affiliate details for this purchase.
|
|
793
|
+
attr_accessor :affiliate
|
|
794
|
+
# The booking number associated with the lodging reservation.
|
|
795
|
+
attr_accessor :booking_number
|
|
796
|
+
# The lodging category
|
|
797
|
+
attr_accessor :category
|
|
798
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
799
|
+
attr_accessor :checkin_at
|
|
800
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
801
|
+
attr_accessor :checkout_at
|
|
802
|
+
# The customer service phone number of the lodging company.
|
|
803
|
+
attr_accessor :customer_service_phone_number
|
|
804
|
+
# The daily lodging room rate.
|
|
805
|
+
attr_accessor :daily_room_rate_amount
|
|
806
|
+
# Delivery details for this purchase.
|
|
807
|
+
attr_accessor :delivery
|
|
808
|
+
# List of additional charges being billed.
|
|
809
|
+
attr_accessor :extra_charges
|
|
810
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
811
|
+
attr_accessor :fire_safety_act_compliance
|
|
812
|
+
# The name of the lodging location.
|
|
813
|
+
attr_accessor :name
|
|
814
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
815
|
+
attr_accessor :no_show
|
|
816
|
+
# The number of rooms on the booking
|
|
817
|
+
attr_accessor :number_of_rooms
|
|
818
|
+
# The details of the passengers in the travel reservation
|
|
819
|
+
attr_accessor :passengers
|
|
820
|
+
# The phone number of the lodging location.
|
|
821
|
+
attr_accessor :property_phone_number
|
|
822
|
+
# The room class for this purchase.
|
|
823
|
+
attr_accessor :room_class
|
|
824
|
+
# The number of room nights
|
|
825
|
+
attr_accessor :room_nights
|
|
826
|
+
# The total tax amount associating with the room reservation.
|
|
827
|
+
attr_accessor :total_room_tax_amount
|
|
828
|
+
# The total tax amount
|
|
829
|
+
attr_accessor :total_tax_amount
|
|
830
|
+
|
|
831
|
+
def initialize(
|
|
832
|
+
address: nil,
|
|
833
|
+
adults: nil,
|
|
834
|
+
affiliate: nil,
|
|
835
|
+
booking_number: nil,
|
|
836
|
+
category: nil,
|
|
837
|
+
checkin_at: nil,
|
|
838
|
+
checkout_at: nil,
|
|
839
|
+
customer_service_phone_number: nil,
|
|
840
|
+
daily_room_rate_amount: nil,
|
|
841
|
+
delivery: nil,
|
|
842
|
+
extra_charges: nil,
|
|
843
|
+
fire_safety_act_compliance: nil,
|
|
844
|
+
name: nil,
|
|
845
|
+
no_show: nil,
|
|
846
|
+
number_of_rooms: nil,
|
|
847
|
+
passengers: nil,
|
|
848
|
+
property_phone_number: nil,
|
|
849
|
+
room_class: nil,
|
|
850
|
+
room_nights: nil,
|
|
851
|
+
total_room_tax_amount: nil,
|
|
852
|
+
total_tax_amount: nil
|
|
853
|
+
)
|
|
854
|
+
@address = address
|
|
855
|
+
@adults = adults
|
|
856
|
+
@affiliate = affiliate
|
|
857
|
+
@booking_number = booking_number
|
|
858
|
+
@category = category
|
|
859
|
+
@checkin_at = checkin_at
|
|
860
|
+
@checkout_at = checkout_at
|
|
861
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
862
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
863
|
+
@delivery = delivery
|
|
864
|
+
@extra_charges = extra_charges
|
|
865
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
866
|
+
@name = name
|
|
867
|
+
@no_show = no_show
|
|
868
|
+
@number_of_rooms = number_of_rooms
|
|
869
|
+
@passengers = passengers
|
|
870
|
+
@property_phone_number = property_phone_number
|
|
871
|
+
@room_class = room_class
|
|
872
|
+
@room_nights = room_nights
|
|
873
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
874
|
+
@total_tax_amount = total_tax_amount
|
|
875
|
+
end
|
|
876
|
+
end
|
|
877
|
+
|
|
878
|
+
class Subscription < ::Stripe::RequestParams
|
|
879
|
+
class Affiliate < ::Stripe::RequestParams
|
|
880
|
+
# The name of the affiliate that originated the purchase.
|
|
881
|
+
attr_accessor :name
|
|
882
|
+
|
|
883
|
+
def initialize(name: nil)
|
|
884
|
+
@name = name
|
|
885
|
+
end
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
889
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
890
|
+
attr_accessor :count
|
|
891
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
892
|
+
attr_accessor :interval
|
|
893
|
+
|
|
894
|
+
def initialize(count: nil, interval: nil)
|
|
895
|
+
@count = count
|
|
896
|
+
@interval = interval
|
|
897
|
+
end
|
|
898
|
+
end
|
|
899
|
+
# Affiliate details for this purchase.
|
|
900
|
+
attr_accessor :affiliate
|
|
901
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
902
|
+
attr_accessor :auto_renewal
|
|
903
|
+
# Subscription billing details for this purchase.
|
|
904
|
+
attr_accessor :billing_interval
|
|
905
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
906
|
+
attr_accessor :ends_at
|
|
907
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
908
|
+
attr_accessor :name
|
|
909
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
910
|
+
attr_accessor :starts_at
|
|
911
|
+
|
|
912
|
+
def initialize(
|
|
913
|
+
affiliate: nil,
|
|
914
|
+
auto_renewal: nil,
|
|
915
|
+
billing_interval: nil,
|
|
916
|
+
ends_at: nil,
|
|
917
|
+
name: nil,
|
|
918
|
+
starts_at: nil
|
|
919
|
+
)
|
|
920
|
+
@affiliate = affiliate
|
|
921
|
+
@auto_renewal = auto_renewal
|
|
922
|
+
@billing_interval = billing_interval
|
|
923
|
+
@ends_at = ends_at
|
|
924
|
+
@name = name
|
|
925
|
+
@starts_at = starts_at
|
|
926
|
+
end
|
|
213
927
|
end
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
#
|
|
219
|
-
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
928
|
+
# Benefit details for this PaymentIntent
|
|
929
|
+
attr_accessor :benefit
|
|
930
|
+
# Car rental details for this PaymentIntent.
|
|
931
|
+
attr_accessor :car_rental
|
|
932
|
+
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
|
220
933
|
attr_accessor :customer_reference
|
|
221
|
-
#
|
|
222
|
-
|
|
223
|
-
#
|
|
224
|
-
|
|
225
|
-
#
|
|
934
|
+
# Event details for this PaymentIntent
|
|
935
|
+
attr_accessor :event_details
|
|
936
|
+
# Flight reservation details for this PaymentIntent
|
|
937
|
+
attr_accessor :flight
|
|
938
|
+
# Lodging reservation details for this PaymentIntent
|
|
939
|
+
attr_accessor :lodging
|
|
940
|
+
# A unique value assigned by the business to identify the transaction.
|
|
226
941
|
attr_accessor :order_reference
|
|
942
|
+
# Subscription details for this PaymentIntent
|
|
943
|
+
attr_accessor :subscription
|
|
227
944
|
|
|
228
|
-
def initialize(
|
|
945
|
+
def initialize(
|
|
946
|
+
benefit: nil,
|
|
947
|
+
car_rental: nil,
|
|
948
|
+
customer_reference: nil,
|
|
949
|
+
event_details: nil,
|
|
950
|
+
flight: nil,
|
|
951
|
+
lodging: nil,
|
|
952
|
+
order_reference: nil,
|
|
953
|
+
subscription: nil
|
|
954
|
+
)
|
|
955
|
+
@benefit = benefit
|
|
956
|
+
@car_rental = car_rental
|
|
229
957
|
@customer_reference = customer_reference
|
|
958
|
+
@event_details = event_details
|
|
959
|
+
@flight = flight
|
|
960
|
+
@lodging = lodging
|
|
230
961
|
@order_reference = order_reference
|
|
962
|
+
@subscription = subscription
|
|
231
963
|
end
|
|
232
964
|
end
|
|
233
965
|
|
|
@@ -368,8 +1100,18 @@ module Stripe
|
|
|
368
1100
|
end
|
|
369
1101
|
|
|
370
1102
|
class Giropay < ::Stripe::RequestParams; end
|
|
1103
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
371
1104
|
class Grabpay < ::Stripe::RequestParams; end
|
|
372
1105
|
|
|
1106
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
1107
|
+
# Bank where the account is held.
|
|
1108
|
+
attr_accessor :bank
|
|
1109
|
+
|
|
1110
|
+
def initialize(bank: nil)
|
|
1111
|
+
@bank = bank
|
|
1112
|
+
end
|
|
1113
|
+
end
|
|
1114
|
+
|
|
373
1115
|
class Ideal < ::Stripe::RequestParams
|
|
374
1116
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
375
1117
|
attr_accessor :bank
|
|
@@ -467,8 +1209,26 @@ module Stripe
|
|
|
467
1209
|
class Payco < ::Stripe::RequestParams; end
|
|
468
1210
|
class Paynow < ::Stripe::RequestParams; end
|
|
469
1211
|
class Paypal < ::Stripe::RequestParams; end
|
|
1212
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
1213
|
+
|
|
1214
|
+
class Payto < ::Stripe::RequestParams
|
|
1215
|
+
# The account number for the bank account.
|
|
1216
|
+
attr_accessor :account_number
|
|
1217
|
+
# Bank-State-Branch number of the bank account.
|
|
1218
|
+
attr_accessor :bsb_number
|
|
1219
|
+
# The PayID alias for the bank account.
|
|
1220
|
+
attr_accessor :pay_id
|
|
1221
|
+
|
|
1222
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
|
1223
|
+
@account_number = account_number
|
|
1224
|
+
@bsb_number = bsb_number
|
|
1225
|
+
@pay_id = pay_id
|
|
1226
|
+
end
|
|
1227
|
+
end
|
|
1228
|
+
|
|
470
1229
|
class Pix < ::Stripe::RequestParams; end
|
|
471
1230
|
class Promptpay < ::Stripe::RequestParams; end
|
|
1231
|
+
class Qris < ::Stripe::RequestParams; end
|
|
472
1232
|
|
|
473
1233
|
class RadarOptions < ::Stripe::RequestParams
|
|
474
1234
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -479,6 +1239,29 @@ module Stripe
|
|
|
479
1239
|
end
|
|
480
1240
|
end
|
|
481
1241
|
|
|
1242
|
+
class Rechnung < ::Stripe::RequestParams
|
|
1243
|
+
class Dob < ::Stripe::RequestParams
|
|
1244
|
+
# The day of birth, between 1 and 31.
|
|
1245
|
+
attr_accessor :day
|
|
1246
|
+
# The month of birth, between 1 and 12.
|
|
1247
|
+
attr_accessor :month
|
|
1248
|
+
# The four-digit year of birth.
|
|
1249
|
+
attr_accessor :year
|
|
1250
|
+
|
|
1251
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
1252
|
+
@day = day
|
|
1253
|
+
@month = month
|
|
1254
|
+
@year = year
|
|
1255
|
+
end
|
|
1256
|
+
end
|
|
1257
|
+
# Customer's date of birth
|
|
1258
|
+
attr_accessor :dob
|
|
1259
|
+
|
|
1260
|
+
def initialize(dob: nil)
|
|
1261
|
+
@dob = dob
|
|
1262
|
+
end
|
|
1263
|
+
end
|
|
1264
|
+
|
|
482
1265
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
483
1266
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
484
1267
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -492,6 +1275,8 @@ module Stripe
|
|
|
492
1275
|
end
|
|
493
1276
|
end
|
|
494
1277
|
|
|
1278
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
1279
|
+
|
|
495
1280
|
class Sofort < ::Stripe::RequestParams
|
|
496
1281
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
497
1282
|
attr_accessor :country
|
|
@@ -501,6 +1286,18 @@ module Stripe
|
|
|
501
1286
|
end
|
|
502
1287
|
end
|
|
503
1288
|
|
|
1289
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
1290
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1291
|
+
attr_accessor :account
|
|
1292
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1293
|
+
attr_accessor :source_type
|
|
1294
|
+
|
|
1295
|
+
def initialize(account: nil, source_type: nil)
|
|
1296
|
+
@account = account
|
|
1297
|
+
@source_type = source_type
|
|
1298
|
+
end
|
|
1299
|
+
end
|
|
1300
|
+
|
|
504
1301
|
class Swish < ::Stripe::RequestParams; end
|
|
505
1302
|
class Twint < ::Stripe::RequestParams; end
|
|
506
1303
|
|
|
@@ -573,8 +1370,12 @@ module Stripe
|
|
|
573
1370
|
attr_accessor :fpx
|
|
574
1371
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
575
1372
|
attr_accessor :giropay
|
|
1373
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1374
|
+
attr_accessor :gopay
|
|
576
1375
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
577
1376
|
attr_accessor :grabpay
|
|
1377
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1378
|
+
attr_accessor :id_bank_transfer
|
|
578
1379
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
579
1380
|
attr_accessor :ideal
|
|
580
1381
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -613,12 +1414,20 @@ module Stripe
|
|
|
613
1414
|
attr_accessor :paynow
|
|
614
1415
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
615
1416
|
attr_accessor :paypal
|
|
1417
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1418
|
+
attr_accessor :paypay
|
|
1419
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1420
|
+
attr_accessor :payto
|
|
616
1421
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
617
1422
|
attr_accessor :pix
|
|
618
1423
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
619
1424
|
attr_accessor :promptpay
|
|
1425
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1426
|
+
attr_accessor :qris
|
|
620
1427
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
621
1428
|
attr_accessor :radar_options
|
|
1429
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1430
|
+
attr_accessor :rechnung
|
|
622
1431
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
623
1432
|
attr_accessor :revolut_pay
|
|
624
1433
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -627,8 +1436,12 @@ module Stripe
|
|
|
627
1436
|
attr_accessor :satispay
|
|
628
1437
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
629
1438
|
attr_accessor :sepa_debit
|
|
1439
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1440
|
+
attr_accessor :shopeepay
|
|
630
1441
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
631
1442
|
attr_accessor :sofort
|
|
1443
|
+
# This hash contains details about the Stripe balance payment method.
|
|
1444
|
+
attr_accessor :stripe_balance
|
|
632
1445
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
633
1446
|
attr_accessor :swish
|
|
634
1447
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -663,7 +1476,9 @@ module Stripe
|
|
|
663
1476
|
eps: nil,
|
|
664
1477
|
fpx: nil,
|
|
665
1478
|
giropay: nil,
|
|
1479
|
+
gopay: nil,
|
|
666
1480
|
grabpay: nil,
|
|
1481
|
+
id_bank_transfer: nil,
|
|
667
1482
|
ideal: nil,
|
|
668
1483
|
interac_present: nil,
|
|
669
1484
|
kakao_pay: nil,
|
|
@@ -683,14 +1498,20 @@ module Stripe
|
|
|
683
1498
|
payco: nil,
|
|
684
1499
|
paynow: nil,
|
|
685
1500
|
paypal: nil,
|
|
1501
|
+
paypay: nil,
|
|
1502
|
+
payto: nil,
|
|
686
1503
|
pix: nil,
|
|
687
1504
|
promptpay: nil,
|
|
1505
|
+
qris: nil,
|
|
688
1506
|
radar_options: nil,
|
|
1507
|
+
rechnung: nil,
|
|
689
1508
|
revolut_pay: nil,
|
|
690
1509
|
samsung_pay: nil,
|
|
691
1510
|
satispay: nil,
|
|
692
1511
|
sepa_debit: nil,
|
|
1512
|
+
shopeepay: nil,
|
|
693
1513
|
sofort: nil,
|
|
1514
|
+
stripe_balance: nil,
|
|
694
1515
|
swish: nil,
|
|
695
1516
|
twint: nil,
|
|
696
1517
|
type: nil,
|
|
@@ -718,7 +1539,9 @@ module Stripe
|
|
|
718
1539
|
@eps = eps
|
|
719
1540
|
@fpx = fpx
|
|
720
1541
|
@giropay = giropay
|
|
1542
|
+
@gopay = gopay
|
|
721
1543
|
@grabpay = grabpay
|
|
1544
|
+
@id_bank_transfer = id_bank_transfer
|
|
722
1545
|
@ideal = ideal
|
|
723
1546
|
@interac_present = interac_present
|
|
724
1547
|
@kakao_pay = kakao_pay
|
|
@@ -738,14 +1561,20 @@ module Stripe
|
|
|
738
1561
|
@payco = payco
|
|
739
1562
|
@paynow = paynow
|
|
740
1563
|
@paypal = paypal
|
|
1564
|
+
@paypay = paypay
|
|
1565
|
+
@payto = payto
|
|
741
1566
|
@pix = pix
|
|
742
1567
|
@promptpay = promptpay
|
|
1568
|
+
@qris = qris
|
|
743
1569
|
@radar_options = radar_options
|
|
1570
|
+
@rechnung = rechnung
|
|
744
1571
|
@revolut_pay = revolut_pay
|
|
745
1572
|
@samsung_pay = samsung_pay
|
|
746
1573
|
@satispay = satispay
|
|
747
1574
|
@sepa_debit = sepa_debit
|
|
1575
|
+
@shopeepay = shopeepay
|
|
748
1576
|
@sofort = sofort
|
|
1577
|
+
@stripe_balance = stripe_balance
|
|
749
1578
|
@swish = swish
|
|
750
1579
|
@twint = twint
|
|
751
1580
|
@type = type
|
|
@@ -1116,6 +1945,48 @@ module Stripe
|
|
|
1116
1945
|
end
|
|
1117
1946
|
end
|
|
1118
1947
|
|
|
1948
|
+
class StatementDetails < ::Stripe::RequestParams
|
|
1949
|
+
class Address < ::Stripe::RequestParams
|
|
1950
|
+
# City, district, suburb, town, or village.
|
|
1951
|
+
attr_accessor :city
|
|
1952
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1953
|
+
attr_accessor :country
|
|
1954
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1955
|
+
attr_accessor :line1
|
|
1956
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1957
|
+
attr_accessor :line2
|
|
1958
|
+
# ZIP or postal code.
|
|
1959
|
+
attr_accessor :postal_code
|
|
1960
|
+
# State, county, province, or region.
|
|
1961
|
+
attr_accessor :state
|
|
1962
|
+
|
|
1963
|
+
def initialize(
|
|
1964
|
+
city: nil,
|
|
1965
|
+
country: nil,
|
|
1966
|
+
line1: nil,
|
|
1967
|
+
line2: nil,
|
|
1968
|
+
postal_code: nil,
|
|
1969
|
+
state: nil
|
|
1970
|
+
)
|
|
1971
|
+
@city = city
|
|
1972
|
+
@country = country
|
|
1973
|
+
@line1 = line1
|
|
1974
|
+
@line2 = line2
|
|
1975
|
+
@postal_code = postal_code
|
|
1976
|
+
@state = state
|
|
1977
|
+
end
|
|
1978
|
+
end
|
|
1979
|
+
# Please pass in an address that is within your Stripe user account country
|
|
1980
|
+
attr_accessor :address
|
|
1981
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
|
1982
|
+
attr_accessor :phone
|
|
1983
|
+
|
|
1984
|
+
def initialize(address: nil, phone: nil)
|
|
1985
|
+
@address = address
|
|
1986
|
+
@phone = phone
|
|
1987
|
+
end
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1119
1990
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1120
1991
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1121
1992
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -1210,6 +2081,8 @@ module Stripe
|
|
|
1210
2081
|
attr_accessor :moto
|
|
1211
2082
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
1212
2083
|
attr_accessor :network
|
|
2084
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2085
|
+
attr_accessor :request_decremental_authorization
|
|
1213
2086
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1214
2087
|
attr_accessor :request_extended_authorization
|
|
1215
2088
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1218,6 +2091,8 @@ module Stripe
|
|
|
1218
2091
|
attr_accessor :request_multicapture
|
|
1219
2092
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
1220
2093
|
attr_accessor :request_overcapture
|
|
2094
|
+
# Request partial authorization on this PaymentIntent.
|
|
2095
|
+
attr_accessor :request_partial_authorization
|
|
1221
2096
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1222
2097
|
attr_accessor :request_three_d_secure
|
|
1223
2098
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -1236,6 +2111,8 @@ module Stripe
|
|
|
1236
2111
|
attr_accessor :statement_descriptor_suffix_kana
|
|
1237
2112
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
1238
2113
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
2114
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
2115
|
+
attr_accessor :statement_details
|
|
1239
2116
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
1240
2117
|
# the authentication details to use for this payment.
|
|
1241
2118
|
attr_accessor :three_d_secure
|
|
@@ -1247,15 +2124,18 @@ module Stripe
|
|
|
1247
2124
|
mandate_options: nil,
|
|
1248
2125
|
moto: nil,
|
|
1249
2126
|
network: nil,
|
|
2127
|
+
request_decremental_authorization: nil,
|
|
1250
2128
|
request_extended_authorization: nil,
|
|
1251
2129
|
request_incremental_authorization: nil,
|
|
1252
2130
|
request_multicapture: nil,
|
|
1253
2131
|
request_overcapture: nil,
|
|
2132
|
+
request_partial_authorization: nil,
|
|
1254
2133
|
request_three_d_secure: nil,
|
|
1255
2134
|
require_cvc_recollection: nil,
|
|
1256
2135
|
setup_future_usage: nil,
|
|
1257
2136
|
statement_descriptor_suffix_kana: nil,
|
|
1258
2137
|
statement_descriptor_suffix_kanji: nil,
|
|
2138
|
+
statement_details: nil,
|
|
1259
2139
|
three_d_secure: nil
|
|
1260
2140
|
)
|
|
1261
2141
|
@capture_method = capture_method
|
|
@@ -1264,15 +2144,18 @@ module Stripe
|
|
|
1264
2144
|
@mandate_options = mandate_options
|
|
1265
2145
|
@moto = moto
|
|
1266
2146
|
@network = network
|
|
2147
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1267
2148
|
@request_extended_authorization = request_extended_authorization
|
|
1268
2149
|
@request_incremental_authorization = request_incremental_authorization
|
|
1269
2150
|
@request_multicapture = request_multicapture
|
|
1270
2151
|
@request_overcapture = request_overcapture
|
|
2152
|
+
@request_partial_authorization = request_partial_authorization
|
|
1271
2153
|
@request_three_d_secure = request_three_d_secure
|
|
1272
2154
|
@require_cvc_recollection = require_cvc_recollection
|
|
1273
2155
|
@setup_future_usage = setup_future_usage
|
|
1274
2156
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
1275
2157
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
2158
|
+
@statement_details = statement_details
|
|
1276
2159
|
@three_d_secure = three_d_secure
|
|
1277
2160
|
end
|
|
1278
2161
|
end
|
|
@@ -1286,12 +2169,6 @@ module Stripe
|
|
|
1286
2169
|
@requested_priority = requested_priority
|
|
1287
2170
|
end
|
|
1288
2171
|
end
|
|
1289
|
-
# Controls when the funds are captured from the customer's account.
|
|
1290
|
-
#
|
|
1291
|
-
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
1292
|
-
#
|
|
1293
|
-
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
1294
|
-
attr_accessor :capture_method
|
|
1295
2172
|
# Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
|
|
1296
2173
|
attr_accessor :request_extended_authorization
|
|
1297
2174
|
# Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
|
|
@@ -1300,12 +2177,10 @@ module Stripe
|
|
|
1300
2177
|
attr_accessor :routing
|
|
1301
2178
|
|
|
1302
2179
|
def initialize(
|
|
1303
|
-
capture_method: nil,
|
|
1304
2180
|
request_extended_authorization: nil,
|
|
1305
2181
|
request_incremental_authorization_support: nil,
|
|
1306
2182
|
routing: nil
|
|
1307
2183
|
)
|
|
1308
|
-
@capture_method = capture_method
|
|
1309
2184
|
@request_extended_authorization = request_extended_authorization
|
|
1310
2185
|
@request_incremental_authorization_support = request_incremental_authorization_support
|
|
1311
2186
|
@routing = routing
|
|
@@ -1451,6 +2326,23 @@ module Stripe
|
|
|
1451
2326
|
end
|
|
1452
2327
|
end
|
|
1453
2328
|
|
|
2329
|
+
class Gopay < ::Stripe::RequestParams
|
|
2330
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2331
|
+
#
|
|
2332
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2333
|
+
#
|
|
2334
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2335
|
+
#
|
|
2336
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2337
|
+
#
|
|
2338
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2339
|
+
attr_accessor :setup_future_usage
|
|
2340
|
+
|
|
2341
|
+
def initialize(setup_future_usage: nil)
|
|
2342
|
+
@setup_future_usage = setup_future_usage
|
|
2343
|
+
end
|
|
2344
|
+
end
|
|
2345
|
+
|
|
1454
2346
|
class Grabpay < ::Stripe::RequestParams
|
|
1455
2347
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1456
2348
|
#
|
|
@@ -1468,6 +2360,29 @@ module Stripe
|
|
|
1468
2360
|
end
|
|
1469
2361
|
end
|
|
1470
2362
|
|
|
2363
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
2364
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
2365
|
+
attr_accessor :expires_after
|
|
2366
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2367
|
+
attr_accessor :expires_at
|
|
2368
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2369
|
+
#
|
|
2370
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2371
|
+
#
|
|
2372
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2373
|
+
#
|
|
2374
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2375
|
+
#
|
|
2376
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2377
|
+
attr_accessor :setup_future_usage
|
|
2378
|
+
|
|
2379
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
2380
|
+
@expires_after = expires_after
|
|
2381
|
+
@expires_at = expires_at
|
|
2382
|
+
@setup_future_usage = setup_future_usage
|
|
2383
|
+
end
|
|
2384
|
+
end
|
|
2385
|
+
|
|
1471
2386
|
class Ideal < ::Stripe::RequestParams
|
|
1472
2387
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1473
2388
|
#
|
|
@@ -1869,12 +2784,65 @@ module Stripe
|
|
|
1869
2784
|
end
|
|
1870
2785
|
|
|
1871
2786
|
class Paypal < ::Stripe::RequestParams
|
|
2787
|
+
class LineItem < ::Stripe::RequestParams
|
|
2788
|
+
class Tax < ::Stripe::RequestParams
|
|
2789
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2790
|
+
attr_accessor :amount
|
|
2791
|
+
# The tax behavior for the line item.
|
|
2792
|
+
attr_accessor :behavior
|
|
2793
|
+
|
|
2794
|
+
def initialize(amount: nil, behavior: nil)
|
|
2795
|
+
@amount = amount
|
|
2796
|
+
@behavior = behavior
|
|
2797
|
+
end
|
|
2798
|
+
end
|
|
2799
|
+
# Type of the line item.
|
|
2800
|
+
attr_accessor :category
|
|
2801
|
+
# Description of the line item.
|
|
2802
|
+
attr_accessor :description
|
|
2803
|
+
# Descriptive name of the line item.
|
|
2804
|
+
attr_accessor :name
|
|
2805
|
+
# Quantity of the line item. Must be a positive number.
|
|
2806
|
+
attr_accessor :quantity
|
|
2807
|
+
# Client facing stock keeping unit, article number or similar.
|
|
2808
|
+
attr_accessor :sku
|
|
2809
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
2810
|
+
attr_accessor :sold_by
|
|
2811
|
+
# The tax information for the line item.
|
|
2812
|
+
attr_accessor :tax
|
|
2813
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2814
|
+
attr_accessor :unit_amount
|
|
2815
|
+
|
|
2816
|
+
def initialize(
|
|
2817
|
+
category: nil,
|
|
2818
|
+
description: nil,
|
|
2819
|
+
name: nil,
|
|
2820
|
+
quantity: nil,
|
|
2821
|
+
sku: nil,
|
|
2822
|
+
sold_by: nil,
|
|
2823
|
+
tax: nil,
|
|
2824
|
+
unit_amount: nil
|
|
2825
|
+
)
|
|
2826
|
+
@category = category
|
|
2827
|
+
@description = description
|
|
2828
|
+
@name = name
|
|
2829
|
+
@quantity = quantity
|
|
2830
|
+
@sku = sku
|
|
2831
|
+
@sold_by = sold_by
|
|
2832
|
+
@tax = tax
|
|
2833
|
+
@unit_amount = unit_amount
|
|
2834
|
+
end
|
|
2835
|
+
end
|
|
1872
2836
|
# Controls when the funds will be captured from the customer's account.
|
|
1873
2837
|
attr_accessor :capture_method
|
|
2838
|
+
# The line items purchased by the customer.
|
|
2839
|
+
attr_accessor :line_items
|
|
1874
2840
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
1875
2841
|
attr_accessor :preferred_locale
|
|
1876
2842
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
1877
2843
|
attr_accessor :reference
|
|
2844
|
+
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2845
|
+
attr_accessor :reference_id
|
|
1878
2846
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1879
2847
|
attr_accessor :risk_correlation_id
|
|
1880
2848
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1887,29 +2855,140 @@ module Stripe
|
|
|
1887
2855
|
#
|
|
1888
2856
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
1889
2857
|
attr_accessor :setup_future_usage
|
|
2858
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
2859
|
+
attr_accessor :subsellers
|
|
1890
2860
|
|
|
1891
2861
|
def initialize(
|
|
1892
2862
|
capture_method: nil,
|
|
2863
|
+
line_items: nil,
|
|
1893
2864
|
preferred_locale: nil,
|
|
1894
2865
|
reference: nil,
|
|
2866
|
+
reference_id: nil,
|
|
1895
2867
|
risk_correlation_id: nil,
|
|
1896
|
-
setup_future_usage: nil
|
|
2868
|
+
setup_future_usage: nil,
|
|
2869
|
+
subsellers: nil
|
|
1897
2870
|
)
|
|
1898
2871
|
@capture_method = capture_method
|
|
2872
|
+
@line_items = line_items
|
|
1899
2873
|
@preferred_locale = preferred_locale
|
|
1900
2874
|
@reference = reference
|
|
2875
|
+
@reference_id = reference_id
|
|
1901
2876
|
@risk_correlation_id = risk_correlation_id
|
|
1902
2877
|
@setup_future_usage = setup_future_usage
|
|
2878
|
+
@subsellers = subsellers
|
|
2879
|
+
end
|
|
2880
|
+
end
|
|
2881
|
+
|
|
2882
|
+
class Paypay < ::Stripe::RequestParams
|
|
2883
|
+
# Controls when the funds are captured from the customer's account.
|
|
2884
|
+
#
|
|
2885
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
2886
|
+
#
|
|
2887
|
+
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
2888
|
+
attr_accessor :capture_method
|
|
2889
|
+
|
|
2890
|
+
def initialize(capture_method: nil)
|
|
2891
|
+
@capture_method = capture_method
|
|
2892
|
+
end
|
|
2893
|
+
end
|
|
2894
|
+
|
|
2895
|
+
class Payto < ::Stripe::RequestParams
|
|
2896
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
2897
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2898
|
+
attr_accessor :amount
|
|
2899
|
+
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
2900
|
+
attr_accessor :amount_type
|
|
2901
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2902
|
+
attr_accessor :end_date
|
|
2903
|
+
# The periodicity at which payments will be collected.
|
|
2904
|
+
attr_accessor :payment_schedule
|
|
2905
|
+
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
2906
|
+
attr_accessor :payments_per_period
|
|
2907
|
+
# The purpose for which payments are made. Defaults to retail.
|
|
2908
|
+
attr_accessor :purpose
|
|
2909
|
+
|
|
2910
|
+
def initialize(
|
|
2911
|
+
amount: nil,
|
|
2912
|
+
amount_type: nil,
|
|
2913
|
+
end_date: nil,
|
|
2914
|
+
payment_schedule: nil,
|
|
2915
|
+
payments_per_period: nil,
|
|
2916
|
+
purpose: nil
|
|
2917
|
+
)
|
|
2918
|
+
@amount = amount
|
|
2919
|
+
@amount_type = amount_type
|
|
2920
|
+
@end_date = end_date
|
|
2921
|
+
@payment_schedule = payment_schedule
|
|
2922
|
+
@payments_per_period = payments_per_period
|
|
2923
|
+
@purpose = purpose
|
|
2924
|
+
end
|
|
2925
|
+
end
|
|
2926
|
+
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
|
2927
|
+
attr_accessor :mandate_options
|
|
2928
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2929
|
+
#
|
|
2930
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2931
|
+
#
|
|
2932
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2933
|
+
#
|
|
2934
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2935
|
+
#
|
|
2936
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2937
|
+
attr_accessor :setup_future_usage
|
|
2938
|
+
|
|
2939
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
2940
|
+
@mandate_options = mandate_options
|
|
2941
|
+
@setup_future_usage = setup_future_usage
|
|
1903
2942
|
end
|
|
1904
2943
|
end
|
|
1905
2944
|
|
|
1906
2945
|
class Pix < ::Stripe::RequestParams
|
|
2946
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
2947
|
+
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
2948
|
+
attr_accessor :amount
|
|
2949
|
+
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2950
|
+
attr_accessor :amount_includes_iof
|
|
2951
|
+
# Type of amount. Defaults to `maximum`.
|
|
2952
|
+
attr_accessor :amount_type
|
|
2953
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
2954
|
+
attr_accessor :currency
|
|
2955
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
2956
|
+
attr_accessor :end_date
|
|
2957
|
+
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
2958
|
+
attr_accessor :payment_schedule
|
|
2959
|
+
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
2960
|
+
attr_accessor :reference
|
|
2961
|
+
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
2962
|
+
attr_accessor :start_date
|
|
2963
|
+
|
|
2964
|
+
def initialize(
|
|
2965
|
+
amount: nil,
|
|
2966
|
+
amount_includes_iof: nil,
|
|
2967
|
+
amount_type: nil,
|
|
2968
|
+
currency: nil,
|
|
2969
|
+
end_date: nil,
|
|
2970
|
+
payment_schedule: nil,
|
|
2971
|
+
reference: nil,
|
|
2972
|
+
start_date: nil
|
|
2973
|
+
)
|
|
2974
|
+
@amount = amount
|
|
2975
|
+
@amount_includes_iof = amount_includes_iof
|
|
2976
|
+
@amount_type = amount_type
|
|
2977
|
+
@currency = currency
|
|
2978
|
+
@end_date = end_date
|
|
2979
|
+
@payment_schedule = payment_schedule
|
|
2980
|
+
@reference = reference
|
|
2981
|
+
@start_date = start_date
|
|
2982
|
+
end
|
|
2983
|
+
end
|
|
1907
2984
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1908
2985
|
attr_accessor :amount_includes_iof
|
|
1909
2986
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
1910
2987
|
attr_accessor :expires_after_seconds
|
|
1911
2988
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
1912
2989
|
attr_accessor :expires_at
|
|
2990
|
+
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
2991
|
+
attr_accessor :mandate_options
|
|
1913
2992
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1914
2993
|
#
|
|
1915
2994
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -1925,11 +3004,13 @@ module Stripe
|
|
|
1925
3004
|
amount_includes_iof: nil,
|
|
1926
3005
|
expires_after_seconds: nil,
|
|
1927
3006
|
expires_at: nil,
|
|
3007
|
+
mandate_options: nil,
|
|
1928
3008
|
setup_future_usage: nil
|
|
1929
3009
|
)
|
|
1930
3010
|
@amount_includes_iof = amount_includes_iof
|
|
1931
3011
|
@expires_after_seconds = expires_after_seconds
|
|
1932
3012
|
@expires_at = expires_at
|
|
3013
|
+
@mandate_options = mandate_options
|
|
1933
3014
|
@setup_future_usage = setup_future_usage
|
|
1934
3015
|
end
|
|
1935
3016
|
end
|
|
@@ -1951,6 +3032,25 @@ module Stripe
|
|
|
1951
3032
|
end
|
|
1952
3033
|
end
|
|
1953
3034
|
|
|
3035
|
+
class Qris < ::Stripe::RequestParams
|
|
3036
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3037
|
+
#
|
|
3038
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3039
|
+
#
|
|
3040
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3041
|
+
#
|
|
3042
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3043
|
+
#
|
|
3044
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3045
|
+
attr_accessor :setup_future_usage
|
|
3046
|
+
|
|
3047
|
+
def initialize(setup_future_usage: nil)
|
|
3048
|
+
@setup_future_usage = setup_future_usage
|
|
3049
|
+
end
|
|
3050
|
+
end
|
|
3051
|
+
|
|
3052
|
+
class Rechnung < ::Stripe::RequestParams; end
|
|
3053
|
+
|
|
1954
3054
|
class RevolutPay < ::Stripe::RequestParams
|
|
1955
3055
|
# Controls when the funds are captured from the customer's account.
|
|
1956
3056
|
#
|
|
@@ -2030,6 +3130,23 @@ module Stripe
|
|
|
2030
3130
|
end
|
|
2031
3131
|
end
|
|
2032
3132
|
|
|
3133
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
3134
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3135
|
+
#
|
|
3136
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3137
|
+
#
|
|
3138
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3139
|
+
#
|
|
3140
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3141
|
+
#
|
|
3142
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3143
|
+
attr_accessor :setup_future_usage
|
|
3144
|
+
|
|
3145
|
+
def initialize(setup_future_usage: nil)
|
|
3146
|
+
@setup_future_usage = setup_future_usage
|
|
3147
|
+
end
|
|
3148
|
+
end
|
|
3149
|
+
|
|
2033
3150
|
class Sofort < ::Stripe::RequestParams
|
|
2034
3151
|
# Language shown to the payer on redirect.
|
|
2035
3152
|
attr_accessor :preferred_language
|
|
@@ -2050,6 +3167,23 @@ module Stripe
|
|
|
2050
3167
|
end
|
|
2051
3168
|
end
|
|
2052
3169
|
|
|
3170
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
3171
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3172
|
+
#
|
|
3173
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3174
|
+
#
|
|
3175
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3176
|
+
#
|
|
3177
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3178
|
+
#
|
|
3179
|
+
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3180
|
+
attr_accessor :setup_future_usage
|
|
3181
|
+
|
|
3182
|
+
def initialize(setup_future_usage: nil)
|
|
3183
|
+
@setup_future_usage = setup_future_usage
|
|
3184
|
+
end
|
|
3185
|
+
end
|
|
3186
|
+
|
|
2053
3187
|
class Swish < ::Stripe::RequestParams
|
|
2054
3188
|
# A reference for this payment to be displayed in the Swish app.
|
|
2055
3189
|
attr_accessor :reference
|
|
@@ -2092,13 +3226,27 @@ module Stripe
|
|
|
2092
3226
|
class Filters < ::Stripe::RequestParams
|
|
2093
3227
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2094
3228
|
attr_accessor :account_subcategories
|
|
3229
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
3230
|
+
attr_accessor :institution
|
|
2095
3231
|
|
|
2096
|
-
def initialize(account_subcategories: nil)
|
|
3232
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
2097
3233
|
@account_subcategories = account_subcategories
|
|
3234
|
+
@institution = institution
|
|
3235
|
+
end
|
|
3236
|
+
end
|
|
3237
|
+
|
|
3238
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
3239
|
+
# Settings for configuring manual entry of account details.
|
|
3240
|
+
attr_accessor :mode
|
|
3241
|
+
|
|
3242
|
+
def initialize(mode: nil)
|
|
3243
|
+
@mode = mode
|
|
2098
3244
|
end
|
|
2099
3245
|
end
|
|
2100
3246
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2101
3247
|
attr_accessor :filters
|
|
3248
|
+
# Customize manual entry behavior
|
|
3249
|
+
attr_accessor :manual_entry
|
|
2102
3250
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
2103
3251
|
attr_accessor :permissions
|
|
2104
3252
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -2106,8 +3254,15 @@ module Stripe
|
|
|
2106
3254
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
2107
3255
|
attr_accessor :return_url
|
|
2108
3256
|
|
|
2109
|
-
def initialize(
|
|
3257
|
+
def initialize(
|
|
3258
|
+
filters: nil,
|
|
3259
|
+
manual_entry: nil,
|
|
3260
|
+
permissions: nil,
|
|
3261
|
+
prefetch: nil,
|
|
3262
|
+
return_url: nil
|
|
3263
|
+
)
|
|
2110
3264
|
@filters = filters
|
|
3265
|
+
@manual_entry = manual_entry
|
|
2111
3266
|
@permissions = permissions
|
|
2112
3267
|
@prefetch = prefetch
|
|
2113
3268
|
@return_url = return_url
|
|
@@ -2252,8 +3407,12 @@ module Stripe
|
|
|
2252
3407
|
attr_accessor :fpx
|
|
2253
3408
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2254
3409
|
attr_accessor :giropay
|
|
3410
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
3411
|
+
attr_accessor :gopay
|
|
2255
3412
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2256
3413
|
attr_accessor :grabpay
|
|
3414
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
3415
|
+
attr_accessor :id_bank_transfer
|
|
2257
3416
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2258
3417
|
attr_accessor :ideal
|
|
2259
3418
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -2290,10 +3449,18 @@ module Stripe
|
|
|
2290
3449
|
attr_accessor :paynow
|
|
2291
3450
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
2292
3451
|
attr_accessor :paypal
|
|
3452
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
3453
|
+
attr_accessor :paypay
|
|
3454
|
+
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
3455
|
+
attr_accessor :payto
|
|
2293
3456
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
2294
3457
|
attr_accessor :pix
|
|
2295
3458
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
2296
3459
|
attr_accessor :promptpay
|
|
3460
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
3461
|
+
attr_accessor :qris
|
|
3462
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
3463
|
+
attr_accessor :rechnung
|
|
2297
3464
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
2298
3465
|
attr_accessor :revolut_pay
|
|
2299
3466
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -2302,8 +3469,12 @@ module Stripe
|
|
|
2302
3469
|
attr_accessor :satispay
|
|
2303
3470
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2304
3471
|
attr_accessor :sepa_debit
|
|
3472
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
3473
|
+
attr_accessor :shopeepay
|
|
2305
3474
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
2306
3475
|
attr_accessor :sofort
|
|
3476
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
3477
|
+
attr_accessor :stripe_balance
|
|
2307
3478
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
2308
3479
|
attr_accessor :swish
|
|
2309
3480
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -2336,7 +3507,9 @@ module Stripe
|
|
|
2336
3507
|
eps: nil,
|
|
2337
3508
|
fpx: nil,
|
|
2338
3509
|
giropay: nil,
|
|
3510
|
+
gopay: nil,
|
|
2339
3511
|
grabpay: nil,
|
|
3512
|
+
id_bank_transfer: nil,
|
|
2340
3513
|
ideal: nil,
|
|
2341
3514
|
interac_present: nil,
|
|
2342
3515
|
kakao_pay: nil,
|
|
@@ -2355,13 +3528,19 @@ module Stripe
|
|
|
2355
3528
|
payco: nil,
|
|
2356
3529
|
paynow: nil,
|
|
2357
3530
|
paypal: nil,
|
|
3531
|
+
paypay: nil,
|
|
3532
|
+
payto: nil,
|
|
2358
3533
|
pix: nil,
|
|
2359
3534
|
promptpay: nil,
|
|
3535
|
+
qris: nil,
|
|
3536
|
+
rechnung: nil,
|
|
2360
3537
|
revolut_pay: nil,
|
|
2361
3538
|
samsung_pay: nil,
|
|
2362
3539
|
satispay: nil,
|
|
2363
3540
|
sepa_debit: nil,
|
|
3541
|
+
shopeepay: nil,
|
|
2364
3542
|
sofort: nil,
|
|
3543
|
+
stripe_balance: nil,
|
|
2365
3544
|
swish: nil,
|
|
2366
3545
|
twint: nil,
|
|
2367
3546
|
us_bank_account: nil,
|
|
@@ -2388,7 +3567,9 @@ module Stripe
|
|
|
2388
3567
|
@eps = eps
|
|
2389
3568
|
@fpx = fpx
|
|
2390
3569
|
@giropay = giropay
|
|
3570
|
+
@gopay = gopay
|
|
2391
3571
|
@grabpay = grabpay
|
|
3572
|
+
@id_bank_transfer = id_bank_transfer
|
|
2392
3573
|
@ideal = ideal
|
|
2393
3574
|
@interac_present = interac_present
|
|
2394
3575
|
@kakao_pay = kakao_pay
|
|
@@ -2407,13 +3588,19 @@ module Stripe
|
|
|
2407
3588
|
@payco = payco
|
|
2408
3589
|
@paynow = paynow
|
|
2409
3590
|
@paypal = paypal
|
|
3591
|
+
@paypay = paypay
|
|
3592
|
+
@payto = payto
|
|
2410
3593
|
@pix = pix
|
|
2411
3594
|
@promptpay = promptpay
|
|
3595
|
+
@qris = qris
|
|
3596
|
+
@rechnung = rechnung
|
|
2412
3597
|
@revolut_pay = revolut_pay
|
|
2413
3598
|
@samsung_pay = samsung_pay
|
|
2414
3599
|
@satispay = satispay
|
|
2415
3600
|
@sepa_debit = sepa_debit
|
|
3601
|
+
@shopeepay = shopeepay
|
|
2416
3602
|
@sofort = sofort
|
|
3603
|
+
@stripe_balance = stripe_balance
|
|
2417
3604
|
@swish = swish
|
|
2418
3605
|
@twint = twint
|
|
2419
3606
|
@us_bank_account = us_bank_account
|
|
@@ -2483,6 +3670,8 @@ module Stripe
|
|
|
2483
3670
|
end
|
|
2484
3671
|
# Provides industry-specific information about the amount.
|
|
2485
3672
|
attr_accessor :amount_details
|
|
3673
|
+
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
|
|
3674
|
+
attr_accessor :application_fee_amount
|
|
2486
3675
|
# Controls when the funds will be captured from the customer's account.
|
|
2487
3676
|
attr_accessor :capture_method
|
|
2488
3677
|
# ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
@@ -2495,6 +3684,10 @@ module Stripe
|
|
|
2495
3684
|
attr_accessor :excluded_payment_method_types
|
|
2496
3685
|
# Specifies which fields in the response should be expanded.
|
|
2497
3686
|
attr_accessor :expand
|
|
3687
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
3688
|
+
attr_accessor :fx_quote
|
|
3689
|
+
# Automations to be run during the PaymentIntent lifecycle
|
|
3690
|
+
attr_accessor :hooks
|
|
2498
3691
|
# ID of the mandate that's used for this payment.
|
|
2499
3692
|
attr_accessor :mandate
|
|
2500
3693
|
# Attribute for param field mandate_data
|
|
@@ -2536,14 +3729,19 @@ module Stripe
|
|
|
2536
3729
|
attr_accessor :shipping
|
|
2537
3730
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
2538
3731
|
attr_accessor :use_stripe_sdk
|
|
3732
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
3733
|
+
attr_accessor :allocated_funds
|
|
2539
3734
|
|
|
2540
3735
|
def initialize(
|
|
2541
3736
|
amount_details: nil,
|
|
3737
|
+
application_fee_amount: nil,
|
|
2542
3738
|
capture_method: nil,
|
|
2543
3739
|
confirmation_token: nil,
|
|
2544
3740
|
error_on_requires_action: nil,
|
|
2545
3741
|
excluded_payment_method_types: nil,
|
|
2546
3742
|
expand: nil,
|
|
3743
|
+
fx_quote: nil,
|
|
3744
|
+
hooks: nil,
|
|
2547
3745
|
mandate: nil,
|
|
2548
3746
|
mandate_data: nil,
|
|
2549
3747
|
off_session: nil,
|
|
@@ -2557,14 +3755,18 @@ module Stripe
|
|
|
2557
3755
|
return_url: nil,
|
|
2558
3756
|
setup_future_usage: nil,
|
|
2559
3757
|
shipping: nil,
|
|
2560
|
-
use_stripe_sdk: nil
|
|
3758
|
+
use_stripe_sdk: nil,
|
|
3759
|
+
allocated_funds: nil
|
|
2561
3760
|
)
|
|
2562
3761
|
@amount_details = amount_details
|
|
3762
|
+
@application_fee_amount = application_fee_amount
|
|
2563
3763
|
@capture_method = capture_method
|
|
2564
3764
|
@confirmation_token = confirmation_token
|
|
2565
3765
|
@error_on_requires_action = error_on_requires_action
|
|
2566
3766
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
2567
3767
|
@expand = expand
|
|
3768
|
+
@fx_quote = fx_quote
|
|
3769
|
+
@hooks = hooks
|
|
2568
3770
|
@mandate = mandate
|
|
2569
3771
|
@mandate_data = mandate_data
|
|
2570
3772
|
@off_session = off_session
|
|
@@ -2579,6 +3781,7 @@ module Stripe
|
|
|
2579
3781
|
@setup_future_usage = setup_future_usage
|
|
2580
3782
|
@shipping = shipping
|
|
2581
3783
|
@use_stripe_sdk = use_stripe_sdk
|
|
3784
|
+
@allocated_funds = allocated_funds
|
|
2582
3785
|
end
|
|
2583
3786
|
end
|
|
2584
3787
|
end
|