stripe 17.1.0 → 17.2.0.pre.alpha.2
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 +1037 -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/object_types.rb +81 -0
- data/lib/stripe/params/account_create_params.rb +300 -1
- 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 +262 -0
- data/lib/stripe/params/billing/alert_create_params.rb +121 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +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_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_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 +36 -2
- 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 +1231 -33
- data/lib/stripe/params/payment_intent_create_params.rb +1247 -41
- 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 +1279 -42
- 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 +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- 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/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/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 +246 -0
- data/lib/stripe/resources/account.rb +166 -1
- 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 +142 -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 +253 -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 +152 -1
- 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 -21
- 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/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/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/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +386 -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/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/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 +5 -1
- data/lib/stripe/services.rb +84 -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 +158952 -88420
- metadata +720 -4
|
@@ -79,32 +79,26 @@ module Stripe
|
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
class Tax < ::Stripe::RequestParams
|
|
82
|
-
# The total
|
|
83
|
-
#
|
|
84
|
-
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
82
|
+
# The total tax on an item. Non-negative integer.
|
|
85
83
|
attr_accessor :total_tax_amount
|
|
86
84
|
|
|
87
85
|
def initialize(total_tax_amount: nil)
|
|
88
86
|
@total_tax_amount = total_tax_amount
|
|
89
87
|
end
|
|
90
88
|
end
|
|
91
|
-
# The
|
|
92
|
-
#
|
|
93
|
-
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
89
|
+
# The amount an item was discounted for. Positive integer.
|
|
94
90
|
attr_accessor :discount_amount
|
|
95
91
|
# Payment method-specific information for line items.
|
|
96
92
|
attr_accessor :payment_method_options
|
|
97
|
-
#
|
|
93
|
+
# Unique identifier of the product. At most 12 characters long.
|
|
98
94
|
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.
|
|
95
|
+
# Name of the product. At most 100 characters long.
|
|
102
96
|
attr_accessor :product_name
|
|
103
|
-
#
|
|
97
|
+
# Number of items of the product. Positive integer.
|
|
104
98
|
attr_accessor :quantity
|
|
105
99
|
# Contains information about the tax on the item.
|
|
106
100
|
attr_accessor :tax
|
|
107
|
-
#
|
|
101
|
+
# Cost of the product. Non-negative integer.
|
|
108
102
|
attr_accessor :unit_cost
|
|
109
103
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
110
104
|
attr_accessor :unit_of_measure
|
|
@@ -131,11 +125,11 @@ module Stripe
|
|
|
131
125
|
end
|
|
132
126
|
|
|
133
127
|
class Shipping < ::Stripe::RequestParams
|
|
134
|
-
#
|
|
128
|
+
# Portion of the amount that is for shipping.
|
|
135
129
|
attr_accessor :amount
|
|
136
|
-
#
|
|
130
|
+
# The postal code that represents the shipping source.
|
|
137
131
|
attr_accessor :from_postal_code
|
|
138
|
-
#
|
|
132
|
+
# The postal code that represents the shipping destination.
|
|
139
133
|
attr_accessor :to_postal_code
|
|
140
134
|
|
|
141
135
|
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
@@ -146,18 +140,14 @@ module Stripe
|
|
|
146
140
|
end
|
|
147
141
|
|
|
148
142
|
class Tax < ::Stripe::RequestParams
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
143
|
+
# Total portion of the amount that is for tax.
|
|
152
144
|
attr_accessor :total_tax_amount
|
|
153
145
|
|
|
154
146
|
def initialize(total_tax_amount: nil)
|
|
155
147
|
@total_tax_amount = total_tax_amount
|
|
156
148
|
end
|
|
157
149
|
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.
|
|
150
|
+
# The total discount applied on the transaction.
|
|
161
151
|
attr_accessor :discount_amount
|
|
162
152
|
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
163
153
|
attr_accessor :line_items
|
|
@@ -166,29 +156,793 @@ module Stripe
|
|
|
166
156
|
# Contains information about the tax portion of the amount.
|
|
167
157
|
attr_accessor :tax
|
|
168
158
|
|
|
169
|
-
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
|
170
|
-
@discount_amount = discount_amount
|
|
171
|
-
@line_items = line_items
|
|
172
|
-
@shipping = shipping
|
|
173
|
-
@tax = tax
|
|
174
|
-
end
|
|
175
|
-
end
|
|
159
|
+
def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
|
|
160
|
+
@discount_amount = discount_amount
|
|
161
|
+
@line_items = line_items
|
|
162
|
+
@shipping = shipping
|
|
163
|
+
@tax = tax
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
class Hooks < ::Stripe::RequestParams
|
|
168
|
+
class Inputs < ::Stripe::RequestParams
|
|
169
|
+
class Tax < ::Stripe::RequestParams
|
|
170
|
+
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
171
|
+
attr_accessor :calculation
|
|
172
|
+
|
|
173
|
+
def initialize(calculation: nil)
|
|
174
|
+
@calculation = calculation
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
# Tax arguments for automations
|
|
178
|
+
attr_accessor :tax
|
|
179
|
+
|
|
180
|
+
def initialize(tax: nil)
|
|
181
|
+
@tax = tax
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
# Arguments passed in automations
|
|
185
|
+
attr_accessor :inputs
|
|
186
|
+
|
|
187
|
+
def initialize(inputs: nil)
|
|
188
|
+
@inputs = inputs
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
class MandateData < ::Stripe::RequestParams
|
|
193
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
194
|
+
class Online < ::Stripe::RequestParams
|
|
195
|
+
# The IP address from which the Mandate was accepted by the customer.
|
|
196
|
+
attr_accessor :ip_address
|
|
197
|
+
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
198
|
+
attr_accessor :user_agent
|
|
199
|
+
|
|
200
|
+
def initialize(ip_address: nil, user_agent: nil)
|
|
201
|
+
@ip_address = ip_address
|
|
202
|
+
@user_agent = user_agent
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
206
|
+
attr_accessor :online
|
|
207
|
+
# The type of customer acceptance information included with the Mandate.
|
|
208
|
+
attr_accessor :type
|
|
209
|
+
|
|
210
|
+
def initialize(online: nil, type: nil)
|
|
211
|
+
@online = online
|
|
212
|
+
@type = type
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
# This hash contains details about the customer acceptance of the Mandate.
|
|
216
|
+
attr_accessor :customer_acceptance
|
|
217
|
+
|
|
218
|
+
def initialize(customer_acceptance: nil)
|
|
219
|
+
@customer_acceptance = customer_acceptance
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
224
|
+
class Benefit < ::Stripe::RequestParams
|
|
225
|
+
class FrMealVoucher < ::Stripe::RequestParams
|
|
226
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
227
|
+
attr_accessor :siret
|
|
228
|
+
|
|
229
|
+
def initialize(siret: nil)
|
|
230
|
+
@siret = siret
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
# French meal voucher benefit details for this PaymentIntent.
|
|
234
|
+
attr_accessor :fr_meal_voucher
|
|
235
|
+
|
|
236
|
+
def initialize(fr_meal_voucher: nil)
|
|
237
|
+
@fr_meal_voucher = fr_meal_voucher
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class CarRental < ::Stripe::RequestParams
|
|
242
|
+
class Affiliate < ::Stripe::RequestParams
|
|
243
|
+
# The name of the affiliate that originated the purchase.
|
|
244
|
+
attr_accessor :name
|
|
245
|
+
|
|
246
|
+
def initialize(name: nil)
|
|
247
|
+
@name = name
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
class Delivery < ::Stripe::RequestParams
|
|
252
|
+
class Recipient < ::Stripe::RequestParams
|
|
253
|
+
# The email of the recipient the ticket is delivered to.
|
|
254
|
+
attr_accessor :email
|
|
255
|
+
# The name of the recipient the ticket is delivered to.
|
|
256
|
+
attr_accessor :name
|
|
257
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
258
|
+
attr_accessor :phone
|
|
259
|
+
|
|
260
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
261
|
+
@email = email
|
|
262
|
+
@name = name
|
|
263
|
+
@phone = phone
|
|
264
|
+
end
|
|
265
|
+
end
|
|
266
|
+
# The delivery method for the payment
|
|
267
|
+
attr_accessor :mode
|
|
268
|
+
# Details of the recipient.
|
|
269
|
+
attr_accessor :recipient
|
|
270
|
+
|
|
271
|
+
def initialize(mode: nil, recipient: nil)
|
|
272
|
+
@mode = mode
|
|
273
|
+
@recipient = recipient
|
|
274
|
+
end
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
class Distance < ::Stripe::RequestParams
|
|
278
|
+
# Distance traveled.
|
|
279
|
+
attr_accessor :amount
|
|
280
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
281
|
+
attr_accessor :unit
|
|
282
|
+
|
|
283
|
+
def initialize(amount: nil, unit: nil)
|
|
284
|
+
@amount = amount
|
|
285
|
+
@unit = unit
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
class Driver < ::Stripe::RequestParams
|
|
290
|
+
# Driver's identification number.
|
|
291
|
+
attr_accessor :driver_identification_number
|
|
292
|
+
# Driver's tax number.
|
|
293
|
+
attr_accessor :driver_tax_number
|
|
294
|
+
# Full name of the person or entity on the car reservation.
|
|
295
|
+
attr_accessor :name
|
|
296
|
+
|
|
297
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
298
|
+
@driver_identification_number = driver_identification_number
|
|
299
|
+
@driver_tax_number = driver_tax_number
|
|
300
|
+
@name = name
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
class PickupAddress < ::Stripe::RequestParams
|
|
305
|
+
# City, district, suburb, town, or village.
|
|
306
|
+
attr_accessor :city
|
|
307
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
308
|
+
attr_accessor :country
|
|
309
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
310
|
+
attr_accessor :line1
|
|
311
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
312
|
+
attr_accessor :line2
|
|
313
|
+
# ZIP or postal code.
|
|
314
|
+
attr_accessor :postal_code
|
|
315
|
+
# State, county, province, or region.
|
|
316
|
+
attr_accessor :state
|
|
317
|
+
|
|
318
|
+
def initialize(
|
|
319
|
+
city: nil,
|
|
320
|
+
country: nil,
|
|
321
|
+
line1: nil,
|
|
322
|
+
line2: nil,
|
|
323
|
+
postal_code: nil,
|
|
324
|
+
state: nil
|
|
325
|
+
)
|
|
326
|
+
@city = city
|
|
327
|
+
@country = country
|
|
328
|
+
@line1 = line1
|
|
329
|
+
@line2 = line2
|
|
330
|
+
@postal_code = postal_code
|
|
331
|
+
@state = state
|
|
332
|
+
end
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
class ReturnAddress < ::Stripe::RequestParams
|
|
336
|
+
# City, district, suburb, town, or village.
|
|
337
|
+
attr_accessor :city
|
|
338
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
339
|
+
attr_accessor :country
|
|
340
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
341
|
+
attr_accessor :line1
|
|
342
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
343
|
+
attr_accessor :line2
|
|
344
|
+
# ZIP or postal code.
|
|
345
|
+
attr_accessor :postal_code
|
|
346
|
+
# State, county, province, or region.
|
|
347
|
+
attr_accessor :state
|
|
348
|
+
|
|
349
|
+
def initialize(
|
|
350
|
+
city: nil,
|
|
351
|
+
country: nil,
|
|
352
|
+
line1: nil,
|
|
353
|
+
line2: nil,
|
|
354
|
+
postal_code: nil,
|
|
355
|
+
state: nil
|
|
356
|
+
)
|
|
357
|
+
@city = city
|
|
358
|
+
@country = country
|
|
359
|
+
@line1 = line1
|
|
360
|
+
@line2 = line2
|
|
361
|
+
@postal_code = postal_code
|
|
362
|
+
@state = state
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
# Affiliate details for this purchase.
|
|
366
|
+
attr_accessor :affiliate
|
|
367
|
+
# The booking number associated with the car rental.
|
|
368
|
+
attr_accessor :booking_number
|
|
369
|
+
# Class code of the car.
|
|
370
|
+
attr_accessor :car_class_code
|
|
371
|
+
# Make of the car.
|
|
372
|
+
attr_accessor :car_make
|
|
373
|
+
# Model of the car.
|
|
374
|
+
attr_accessor :car_model
|
|
375
|
+
# The name of the rental car company.
|
|
376
|
+
attr_accessor :company
|
|
377
|
+
# The customer service phone number of the car rental company.
|
|
378
|
+
attr_accessor :customer_service_phone_number
|
|
379
|
+
# Number of days the car is being rented.
|
|
380
|
+
attr_accessor :days_rented
|
|
381
|
+
# Delivery details for this purchase.
|
|
382
|
+
attr_accessor :delivery
|
|
383
|
+
# The details of the distance traveled during the rental period.
|
|
384
|
+
attr_accessor :distance
|
|
385
|
+
# The details of the passengers in the travel reservation
|
|
386
|
+
attr_accessor :drivers
|
|
387
|
+
# List of additional charges being billed.
|
|
388
|
+
attr_accessor :extra_charges
|
|
389
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
390
|
+
attr_accessor :no_show
|
|
391
|
+
# Car pick-up address.
|
|
392
|
+
attr_accessor :pickup_address
|
|
393
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
394
|
+
attr_accessor :pickup_at
|
|
395
|
+
# Name of the pickup location.
|
|
396
|
+
attr_accessor :pickup_location_name
|
|
397
|
+
# Rental rate.
|
|
398
|
+
attr_accessor :rate_amount
|
|
399
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
400
|
+
attr_accessor :rate_interval
|
|
401
|
+
# The name of the person or entity renting the car.
|
|
402
|
+
attr_accessor :renter_name
|
|
403
|
+
# Car return address.
|
|
404
|
+
attr_accessor :return_address
|
|
405
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
406
|
+
attr_accessor :return_at
|
|
407
|
+
# Name of the return location.
|
|
408
|
+
attr_accessor :return_location_name
|
|
409
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
410
|
+
attr_accessor :tax_exempt
|
|
411
|
+
# The vehicle identification number.
|
|
412
|
+
attr_accessor :vehicle_identification_number
|
|
413
|
+
|
|
414
|
+
def initialize(
|
|
415
|
+
affiliate: nil,
|
|
416
|
+
booking_number: nil,
|
|
417
|
+
car_class_code: nil,
|
|
418
|
+
car_make: nil,
|
|
419
|
+
car_model: nil,
|
|
420
|
+
company: nil,
|
|
421
|
+
customer_service_phone_number: nil,
|
|
422
|
+
days_rented: nil,
|
|
423
|
+
delivery: nil,
|
|
424
|
+
distance: nil,
|
|
425
|
+
drivers: nil,
|
|
426
|
+
extra_charges: nil,
|
|
427
|
+
no_show: nil,
|
|
428
|
+
pickup_address: nil,
|
|
429
|
+
pickup_at: nil,
|
|
430
|
+
pickup_location_name: nil,
|
|
431
|
+
rate_amount: nil,
|
|
432
|
+
rate_interval: nil,
|
|
433
|
+
renter_name: nil,
|
|
434
|
+
return_address: nil,
|
|
435
|
+
return_at: nil,
|
|
436
|
+
return_location_name: nil,
|
|
437
|
+
tax_exempt: nil,
|
|
438
|
+
vehicle_identification_number: nil
|
|
439
|
+
)
|
|
440
|
+
@affiliate = affiliate
|
|
441
|
+
@booking_number = booking_number
|
|
442
|
+
@car_class_code = car_class_code
|
|
443
|
+
@car_make = car_make
|
|
444
|
+
@car_model = car_model
|
|
445
|
+
@company = company
|
|
446
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
447
|
+
@days_rented = days_rented
|
|
448
|
+
@delivery = delivery
|
|
449
|
+
@distance = distance
|
|
450
|
+
@drivers = drivers
|
|
451
|
+
@extra_charges = extra_charges
|
|
452
|
+
@no_show = no_show
|
|
453
|
+
@pickup_address = pickup_address
|
|
454
|
+
@pickup_at = pickup_at
|
|
455
|
+
@pickup_location_name = pickup_location_name
|
|
456
|
+
@rate_amount = rate_amount
|
|
457
|
+
@rate_interval = rate_interval
|
|
458
|
+
@renter_name = renter_name
|
|
459
|
+
@return_address = return_address
|
|
460
|
+
@return_at = return_at
|
|
461
|
+
@return_location_name = return_location_name
|
|
462
|
+
@tax_exempt = tax_exempt
|
|
463
|
+
@vehicle_identification_number = vehicle_identification_number
|
|
464
|
+
end
|
|
465
|
+
end
|
|
466
|
+
|
|
467
|
+
class EventDetails < ::Stripe::RequestParams
|
|
468
|
+
class Address < ::Stripe::RequestParams
|
|
469
|
+
# City, district, suburb, town, or village.
|
|
470
|
+
attr_accessor :city
|
|
471
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
472
|
+
attr_accessor :country
|
|
473
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
474
|
+
attr_accessor :line1
|
|
475
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
476
|
+
attr_accessor :line2
|
|
477
|
+
# ZIP or postal code.
|
|
478
|
+
attr_accessor :postal_code
|
|
479
|
+
# State, county, province, or region.
|
|
480
|
+
attr_accessor :state
|
|
481
|
+
|
|
482
|
+
def initialize(
|
|
483
|
+
city: nil,
|
|
484
|
+
country: nil,
|
|
485
|
+
line1: nil,
|
|
486
|
+
line2: nil,
|
|
487
|
+
postal_code: nil,
|
|
488
|
+
state: nil
|
|
489
|
+
)
|
|
490
|
+
@city = city
|
|
491
|
+
@country = country
|
|
492
|
+
@line1 = line1
|
|
493
|
+
@line2 = line2
|
|
494
|
+
@postal_code = postal_code
|
|
495
|
+
@state = state
|
|
496
|
+
end
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
class Affiliate < ::Stripe::RequestParams
|
|
500
|
+
# The name of the affiliate that originated the purchase.
|
|
501
|
+
attr_accessor :name
|
|
502
|
+
|
|
503
|
+
def initialize(name: nil)
|
|
504
|
+
@name = name
|
|
505
|
+
end
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
class Delivery < ::Stripe::RequestParams
|
|
509
|
+
class Recipient < ::Stripe::RequestParams
|
|
510
|
+
# The email of the recipient the ticket is delivered to.
|
|
511
|
+
attr_accessor :email
|
|
512
|
+
# The name of the recipient the ticket is delivered to.
|
|
513
|
+
attr_accessor :name
|
|
514
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
515
|
+
attr_accessor :phone
|
|
516
|
+
|
|
517
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
518
|
+
@email = email
|
|
519
|
+
@name = name
|
|
520
|
+
@phone = phone
|
|
521
|
+
end
|
|
522
|
+
end
|
|
523
|
+
# The delivery method for the payment
|
|
524
|
+
attr_accessor :mode
|
|
525
|
+
# Details of the recipient.
|
|
526
|
+
attr_accessor :recipient
|
|
527
|
+
|
|
528
|
+
def initialize(mode: nil, recipient: nil)
|
|
529
|
+
@mode = mode
|
|
530
|
+
@recipient = recipient
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
534
|
+
attr_accessor :access_controlled_venue
|
|
535
|
+
# The event location's address.
|
|
536
|
+
attr_accessor :address
|
|
537
|
+
# Affiliate details for this purchase.
|
|
538
|
+
attr_accessor :affiliate
|
|
539
|
+
# The name of the company
|
|
540
|
+
attr_accessor :company
|
|
541
|
+
# Delivery details for this purchase.
|
|
542
|
+
attr_accessor :delivery
|
|
543
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
544
|
+
attr_accessor :ends_at
|
|
545
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
546
|
+
attr_accessor :genre
|
|
547
|
+
# The name of the event.
|
|
548
|
+
attr_accessor :name
|
|
549
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
550
|
+
attr_accessor :starts_at
|
|
551
|
+
|
|
552
|
+
def initialize(
|
|
553
|
+
access_controlled_venue: nil,
|
|
554
|
+
address: nil,
|
|
555
|
+
affiliate: nil,
|
|
556
|
+
company: nil,
|
|
557
|
+
delivery: nil,
|
|
558
|
+
ends_at: nil,
|
|
559
|
+
genre: nil,
|
|
560
|
+
name: nil,
|
|
561
|
+
starts_at: nil
|
|
562
|
+
)
|
|
563
|
+
@access_controlled_venue = access_controlled_venue
|
|
564
|
+
@address = address
|
|
565
|
+
@affiliate = affiliate
|
|
566
|
+
@company = company
|
|
567
|
+
@delivery = delivery
|
|
568
|
+
@ends_at = ends_at
|
|
569
|
+
@genre = genre
|
|
570
|
+
@name = name
|
|
571
|
+
@starts_at = starts_at
|
|
572
|
+
end
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
class Flight < ::Stripe::RequestParams
|
|
576
|
+
class Affiliate < ::Stripe::RequestParams
|
|
577
|
+
# The name of the affiliate that originated the purchase.
|
|
578
|
+
attr_accessor :name
|
|
579
|
+
|
|
580
|
+
def initialize(name: nil)
|
|
581
|
+
@name = name
|
|
582
|
+
end
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
class Delivery < ::Stripe::RequestParams
|
|
586
|
+
class Recipient < ::Stripe::RequestParams
|
|
587
|
+
# The email of the recipient the ticket is delivered to.
|
|
588
|
+
attr_accessor :email
|
|
589
|
+
# The name of the recipient the ticket is delivered to.
|
|
590
|
+
attr_accessor :name
|
|
591
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
592
|
+
attr_accessor :phone
|
|
593
|
+
|
|
594
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
595
|
+
@email = email
|
|
596
|
+
@name = name
|
|
597
|
+
@phone = phone
|
|
598
|
+
end
|
|
599
|
+
end
|
|
600
|
+
# The delivery method for the payment
|
|
601
|
+
attr_accessor :mode
|
|
602
|
+
# Details of the recipient.
|
|
603
|
+
attr_accessor :recipient
|
|
604
|
+
|
|
605
|
+
def initialize(mode: nil, recipient: nil)
|
|
606
|
+
@mode = mode
|
|
607
|
+
@recipient = recipient
|
|
608
|
+
end
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
class Passenger < ::Stripe::RequestParams
|
|
612
|
+
# Full name of the person or entity on the flight reservation.
|
|
613
|
+
attr_accessor :name
|
|
614
|
+
|
|
615
|
+
def initialize(name: nil)
|
|
616
|
+
@name = name
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
|
|
620
|
+
class Segment < ::Stripe::RequestParams
|
|
621
|
+
# The flight segment amount.
|
|
622
|
+
attr_accessor :amount
|
|
623
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
624
|
+
attr_accessor :arrival_airport
|
|
625
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
626
|
+
attr_accessor :arrives_at
|
|
627
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
628
|
+
attr_accessor :carrier
|
|
629
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
630
|
+
attr_accessor :departs_at
|
|
631
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
632
|
+
attr_accessor :departure_airport
|
|
633
|
+
# The flight number associated with the segment
|
|
634
|
+
attr_accessor :flight_number
|
|
635
|
+
# The fare class for the segment.
|
|
636
|
+
attr_accessor :service_class
|
|
637
|
+
|
|
638
|
+
def initialize(
|
|
639
|
+
amount: nil,
|
|
640
|
+
arrival_airport: nil,
|
|
641
|
+
arrives_at: nil,
|
|
642
|
+
carrier: nil,
|
|
643
|
+
departs_at: nil,
|
|
644
|
+
departure_airport: nil,
|
|
645
|
+
flight_number: nil,
|
|
646
|
+
service_class: nil
|
|
647
|
+
)
|
|
648
|
+
@amount = amount
|
|
649
|
+
@arrival_airport = arrival_airport
|
|
650
|
+
@arrives_at = arrives_at
|
|
651
|
+
@carrier = carrier
|
|
652
|
+
@departs_at = departs_at
|
|
653
|
+
@departure_airport = departure_airport
|
|
654
|
+
@flight_number = flight_number
|
|
655
|
+
@service_class = service_class
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
# Affiliate details for this purchase.
|
|
659
|
+
attr_accessor :affiliate
|
|
660
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
661
|
+
attr_accessor :agency_number
|
|
662
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
663
|
+
attr_accessor :carrier
|
|
664
|
+
# Delivery details for this purchase.
|
|
665
|
+
attr_accessor :delivery
|
|
666
|
+
# The name of the person or entity on the reservation.
|
|
667
|
+
attr_accessor :passenger_name
|
|
668
|
+
# The details of the passengers in the travel reservation.
|
|
669
|
+
attr_accessor :passengers
|
|
670
|
+
# The individual flight segments associated with the trip.
|
|
671
|
+
attr_accessor :segments
|
|
672
|
+
# The ticket number associated with the travel reservation.
|
|
673
|
+
attr_accessor :ticket_number
|
|
674
|
+
|
|
675
|
+
def initialize(
|
|
676
|
+
affiliate: nil,
|
|
677
|
+
agency_number: nil,
|
|
678
|
+
carrier: nil,
|
|
679
|
+
delivery: nil,
|
|
680
|
+
passenger_name: nil,
|
|
681
|
+
passengers: nil,
|
|
682
|
+
segments: nil,
|
|
683
|
+
ticket_number: nil
|
|
684
|
+
)
|
|
685
|
+
@affiliate = affiliate
|
|
686
|
+
@agency_number = agency_number
|
|
687
|
+
@carrier = carrier
|
|
688
|
+
@delivery = delivery
|
|
689
|
+
@passenger_name = passenger_name
|
|
690
|
+
@passengers = passengers
|
|
691
|
+
@segments = segments
|
|
692
|
+
@ticket_number = ticket_number
|
|
693
|
+
end
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
class Lodging < ::Stripe::RequestParams
|
|
697
|
+
class Address < ::Stripe::RequestParams
|
|
698
|
+
# City, district, suburb, town, or village.
|
|
699
|
+
attr_accessor :city
|
|
700
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
701
|
+
attr_accessor :country
|
|
702
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
703
|
+
attr_accessor :line1
|
|
704
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
705
|
+
attr_accessor :line2
|
|
706
|
+
# ZIP or postal code.
|
|
707
|
+
attr_accessor :postal_code
|
|
708
|
+
# State, county, province, or region.
|
|
709
|
+
attr_accessor :state
|
|
710
|
+
|
|
711
|
+
def initialize(
|
|
712
|
+
city: nil,
|
|
713
|
+
country: nil,
|
|
714
|
+
line1: nil,
|
|
715
|
+
line2: nil,
|
|
716
|
+
postal_code: nil,
|
|
717
|
+
state: nil
|
|
718
|
+
)
|
|
719
|
+
@city = city
|
|
720
|
+
@country = country
|
|
721
|
+
@line1 = line1
|
|
722
|
+
@line2 = line2
|
|
723
|
+
@postal_code = postal_code
|
|
724
|
+
@state = state
|
|
725
|
+
end
|
|
726
|
+
end
|
|
727
|
+
|
|
728
|
+
class Affiliate < ::Stripe::RequestParams
|
|
729
|
+
# The name of the affiliate that originated the purchase.
|
|
730
|
+
attr_accessor :name
|
|
731
|
+
|
|
732
|
+
def initialize(name: nil)
|
|
733
|
+
@name = name
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
737
|
+
class Delivery < ::Stripe::RequestParams
|
|
738
|
+
class Recipient < ::Stripe::RequestParams
|
|
739
|
+
# The email of the recipient the ticket is delivered to.
|
|
740
|
+
attr_accessor :email
|
|
741
|
+
# The name of the recipient the ticket is delivered to.
|
|
742
|
+
attr_accessor :name
|
|
743
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
744
|
+
attr_accessor :phone
|
|
745
|
+
|
|
746
|
+
def initialize(email: nil, name: nil, phone: nil)
|
|
747
|
+
@email = email
|
|
748
|
+
@name = name
|
|
749
|
+
@phone = phone
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
# The delivery method for the payment
|
|
753
|
+
attr_accessor :mode
|
|
754
|
+
# Details of the recipient.
|
|
755
|
+
attr_accessor :recipient
|
|
756
|
+
|
|
757
|
+
def initialize(mode: nil, recipient: nil)
|
|
758
|
+
@mode = mode
|
|
759
|
+
@recipient = recipient
|
|
760
|
+
end
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
class Passenger < ::Stripe::RequestParams
|
|
764
|
+
# Full name of the person or entity on the lodging reservation.
|
|
765
|
+
attr_accessor :name
|
|
766
|
+
|
|
767
|
+
def initialize(name: nil)
|
|
768
|
+
@name = name
|
|
769
|
+
end
|
|
770
|
+
end
|
|
771
|
+
# The lodging location's address.
|
|
772
|
+
attr_accessor :address
|
|
773
|
+
# The number of adults on the booking
|
|
774
|
+
attr_accessor :adults
|
|
775
|
+
# Affiliate details for this purchase.
|
|
776
|
+
attr_accessor :affiliate
|
|
777
|
+
# The booking number associated with the lodging reservation.
|
|
778
|
+
attr_accessor :booking_number
|
|
779
|
+
# The lodging category
|
|
780
|
+
attr_accessor :category
|
|
781
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
782
|
+
attr_accessor :checkin_at
|
|
783
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
784
|
+
attr_accessor :checkout_at
|
|
785
|
+
# The customer service phone number of the lodging company.
|
|
786
|
+
attr_accessor :customer_service_phone_number
|
|
787
|
+
# The daily lodging room rate.
|
|
788
|
+
attr_accessor :daily_room_rate_amount
|
|
789
|
+
# Delivery details for this purchase.
|
|
790
|
+
attr_accessor :delivery
|
|
791
|
+
# List of additional charges being billed.
|
|
792
|
+
attr_accessor :extra_charges
|
|
793
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
794
|
+
attr_accessor :fire_safety_act_compliance
|
|
795
|
+
# The name of the lodging location.
|
|
796
|
+
attr_accessor :name
|
|
797
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
798
|
+
attr_accessor :no_show
|
|
799
|
+
# The number of rooms on the booking
|
|
800
|
+
attr_accessor :number_of_rooms
|
|
801
|
+
# The details of the passengers in the travel reservation
|
|
802
|
+
attr_accessor :passengers
|
|
803
|
+
# The phone number of the lodging location.
|
|
804
|
+
attr_accessor :property_phone_number
|
|
805
|
+
# The room class for this purchase.
|
|
806
|
+
attr_accessor :room_class
|
|
807
|
+
# The number of room nights
|
|
808
|
+
attr_accessor :room_nights
|
|
809
|
+
# The total tax amount associating with the room reservation.
|
|
810
|
+
attr_accessor :total_room_tax_amount
|
|
811
|
+
# The total tax amount
|
|
812
|
+
attr_accessor :total_tax_amount
|
|
813
|
+
|
|
814
|
+
def initialize(
|
|
815
|
+
address: nil,
|
|
816
|
+
adults: nil,
|
|
817
|
+
affiliate: nil,
|
|
818
|
+
booking_number: nil,
|
|
819
|
+
category: nil,
|
|
820
|
+
checkin_at: nil,
|
|
821
|
+
checkout_at: nil,
|
|
822
|
+
customer_service_phone_number: nil,
|
|
823
|
+
daily_room_rate_amount: nil,
|
|
824
|
+
delivery: nil,
|
|
825
|
+
extra_charges: nil,
|
|
826
|
+
fire_safety_act_compliance: nil,
|
|
827
|
+
name: nil,
|
|
828
|
+
no_show: nil,
|
|
829
|
+
number_of_rooms: nil,
|
|
830
|
+
passengers: nil,
|
|
831
|
+
property_phone_number: nil,
|
|
832
|
+
room_class: nil,
|
|
833
|
+
room_nights: nil,
|
|
834
|
+
total_room_tax_amount: nil,
|
|
835
|
+
total_tax_amount: nil
|
|
836
|
+
)
|
|
837
|
+
@address = address
|
|
838
|
+
@adults = adults
|
|
839
|
+
@affiliate = affiliate
|
|
840
|
+
@booking_number = booking_number
|
|
841
|
+
@category = category
|
|
842
|
+
@checkin_at = checkin_at
|
|
843
|
+
@checkout_at = checkout_at
|
|
844
|
+
@customer_service_phone_number = customer_service_phone_number
|
|
845
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
|
846
|
+
@delivery = delivery
|
|
847
|
+
@extra_charges = extra_charges
|
|
848
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
849
|
+
@name = name
|
|
850
|
+
@no_show = no_show
|
|
851
|
+
@number_of_rooms = number_of_rooms
|
|
852
|
+
@passengers = passengers
|
|
853
|
+
@property_phone_number = property_phone_number
|
|
854
|
+
@room_class = room_class
|
|
855
|
+
@room_nights = room_nights
|
|
856
|
+
@total_room_tax_amount = total_room_tax_amount
|
|
857
|
+
@total_tax_amount = total_tax_amount
|
|
858
|
+
end
|
|
859
|
+
end
|
|
860
|
+
|
|
861
|
+
class Subscription < ::Stripe::RequestParams
|
|
862
|
+
class Affiliate < ::Stripe::RequestParams
|
|
863
|
+
# The name of the affiliate that originated the purchase.
|
|
864
|
+
attr_accessor :name
|
|
865
|
+
|
|
866
|
+
def initialize(name: nil)
|
|
867
|
+
@name = name
|
|
868
|
+
end
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
class BillingInterval < ::Stripe::RequestParams
|
|
872
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
873
|
+
attr_accessor :count
|
|
874
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
875
|
+
attr_accessor :interval
|
|
876
|
+
|
|
877
|
+
def initialize(count: nil, interval: nil)
|
|
878
|
+
@count = count
|
|
879
|
+
@interval = interval
|
|
880
|
+
end
|
|
881
|
+
end
|
|
882
|
+
# Affiliate details for this purchase.
|
|
883
|
+
attr_accessor :affiliate
|
|
884
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
885
|
+
attr_accessor :auto_renewal
|
|
886
|
+
# Subscription billing details for this purchase.
|
|
887
|
+
attr_accessor :billing_interval
|
|
888
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
889
|
+
attr_accessor :ends_at
|
|
890
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
891
|
+
attr_accessor :name
|
|
892
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
893
|
+
attr_accessor :starts_at
|
|
176
894
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
895
|
+
def initialize(
|
|
896
|
+
affiliate: nil,
|
|
897
|
+
auto_renewal: nil,
|
|
898
|
+
billing_interval: nil,
|
|
899
|
+
ends_at: nil,
|
|
900
|
+
name: nil,
|
|
901
|
+
starts_at: nil
|
|
902
|
+
)
|
|
903
|
+
@affiliate = affiliate
|
|
904
|
+
@auto_renewal = auto_renewal
|
|
905
|
+
@billing_interval = billing_interval
|
|
906
|
+
@ends_at = ends_at
|
|
907
|
+
@name = name
|
|
908
|
+
@starts_at = starts_at
|
|
909
|
+
end
|
|
910
|
+
end
|
|
911
|
+
# Benefit details for this PaymentIntent
|
|
912
|
+
attr_accessor :benefit
|
|
913
|
+
# Car rental details for this PaymentIntent.
|
|
914
|
+
attr_accessor :car_rental
|
|
915
|
+
# 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.
|
|
181
916
|
attr_accessor :customer_reference
|
|
182
|
-
#
|
|
183
|
-
|
|
184
|
-
#
|
|
185
|
-
|
|
186
|
-
#
|
|
917
|
+
# Event details for this PaymentIntent
|
|
918
|
+
attr_accessor :event_details
|
|
919
|
+
# Flight reservation details for this PaymentIntent
|
|
920
|
+
attr_accessor :flight
|
|
921
|
+
# Lodging reservation details for this PaymentIntent
|
|
922
|
+
attr_accessor :lodging
|
|
923
|
+
# A unique value assigned by the business to identify the transaction.
|
|
187
924
|
attr_accessor :order_reference
|
|
925
|
+
# Subscription details for this PaymentIntent
|
|
926
|
+
attr_accessor :subscription
|
|
188
927
|
|
|
189
|
-
def initialize(
|
|
928
|
+
def initialize(
|
|
929
|
+
benefit: nil,
|
|
930
|
+
car_rental: nil,
|
|
931
|
+
customer_reference: nil,
|
|
932
|
+
event_details: nil,
|
|
933
|
+
flight: nil,
|
|
934
|
+
lodging: nil,
|
|
935
|
+
order_reference: nil,
|
|
936
|
+
subscription: nil
|
|
937
|
+
)
|
|
938
|
+
@benefit = benefit
|
|
939
|
+
@car_rental = car_rental
|
|
190
940
|
@customer_reference = customer_reference
|
|
941
|
+
@event_details = event_details
|
|
942
|
+
@flight = flight
|
|
943
|
+
@lodging = lodging
|
|
191
944
|
@order_reference = order_reference
|
|
945
|
+
@subscription = subscription
|
|
192
946
|
end
|
|
193
947
|
end
|
|
194
948
|
|
|
@@ -329,8 +1083,18 @@ module Stripe
|
|
|
329
1083
|
end
|
|
330
1084
|
|
|
331
1085
|
class Giropay < ::Stripe::RequestParams; end
|
|
1086
|
+
class Gopay < ::Stripe::RequestParams; end
|
|
332
1087
|
class Grabpay < ::Stripe::RequestParams; end
|
|
333
1088
|
|
|
1089
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
1090
|
+
# Bank where the account is held.
|
|
1091
|
+
attr_accessor :bank
|
|
1092
|
+
|
|
1093
|
+
def initialize(bank: nil)
|
|
1094
|
+
@bank = bank
|
|
1095
|
+
end
|
|
1096
|
+
end
|
|
1097
|
+
|
|
334
1098
|
class Ideal < ::Stripe::RequestParams
|
|
335
1099
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
336
1100
|
attr_accessor :bank
|
|
@@ -428,8 +1192,26 @@ module Stripe
|
|
|
428
1192
|
class Payco < ::Stripe::RequestParams; end
|
|
429
1193
|
class Paynow < ::Stripe::RequestParams; end
|
|
430
1194
|
class Paypal < ::Stripe::RequestParams; end
|
|
1195
|
+
class Paypay < ::Stripe::RequestParams; end
|
|
1196
|
+
|
|
1197
|
+
class Payto < ::Stripe::RequestParams
|
|
1198
|
+
# The account number for the bank account.
|
|
1199
|
+
attr_accessor :account_number
|
|
1200
|
+
# Bank-State-Branch number of the bank account.
|
|
1201
|
+
attr_accessor :bsb_number
|
|
1202
|
+
# The PayID alias for the bank account.
|
|
1203
|
+
attr_accessor :pay_id
|
|
1204
|
+
|
|
1205
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
|
1206
|
+
@account_number = account_number
|
|
1207
|
+
@bsb_number = bsb_number
|
|
1208
|
+
@pay_id = pay_id
|
|
1209
|
+
end
|
|
1210
|
+
end
|
|
1211
|
+
|
|
431
1212
|
class Pix < ::Stripe::RequestParams; end
|
|
432
1213
|
class Promptpay < ::Stripe::RequestParams; end
|
|
1214
|
+
class Qris < ::Stripe::RequestParams; end
|
|
433
1215
|
|
|
434
1216
|
class RadarOptions < ::Stripe::RequestParams
|
|
435
1217
|
# 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.
|
|
@@ -440,6 +1222,29 @@ module Stripe
|
|
|
440
1222
|
end
|
|
441
1223
|
end
|
|
442
1224
|
|
|
1225
|
+
class Rechnung < ::Stripe::RequestParams
|
|
1226
|
+
class Dob < ::Stripe::RequestParams
|
|
1227
|
+
# The day of birth, between 1 and 31.
|
|
1228
|
+
attr_accessor :day
|
|
1229
|
+
# The month of birth, between 1 and 12.
|
|
1230
|
+
attr_accessor :month
|
|
1231
|
+
# The four-digit year of birth.
|
|
1232
|
+
attr_accessor :year
|
|
1233
|
+
|
|
1234
|
+
def initialize(day: nil, month: nil, year: nil)
|
|
1235
|
+
@day = day
|
|
1236
|
+
@month = month
|
|
1237
|
+
@year = year
|
|
1238
|
+
end
|
|
1239
|
+
end
|
|
1240
|
+
# Customer's date of birth
|
|
1241
|
+
attr_accessor :dob
|
|
1242
|
+
|
|
1243
|
+
def initialize(dob: nil)
|
|
1244
|
+
@dob = dob
|
|
1245
|
+
end
|
|
1246
|
+
end
|
|
1247
|
+
|
|
443
1248
|
class RevolutPay < ::Stripe::RequestParams; end
|
|
444
1249
|
class SamsungPay < ::Stripe::RequestParams; end
|
|
445
1250
|
class Satispay < ::Stripe::RequestParams; end
|
|
@@ -453,6 +1258,8 @@ module Stripe
|
|
|
453
1258
|
end
|
|
454
1259
|
end
|
|
455
1260
|
|
|
1261
|
+
class Shopeepay < ::Stripe::RequestParams; end
|
|
1262
|
+
|
|
456
1263
|
class Sofort < ::Stripe::RequestParams
|
|
457
1264
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
458
1265
|
attr_accessor :country
|
|
@@ -462,6 +1269,18 @@ module Stripe
|
|
|
462
1269
|
end
|
|
463
1270
|
end
|
|
464
1271
|
|
|
1272
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
1273
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1274
|
+
attr_accessor :account
|
|
1275
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1276
|
+
attr_accessor :source_type
|
|
1277
|
+
|
|
1278
|
+
def initialize(account: nil, source_type: nil)
|
|
1279
|
+
@account = account
|
|
1280
|
+
@source_type = source_type
|
|
1281
|
+
end
|
|
1282
|
+
end
|
|
1283
|
+
|
|
465
1284
|
class Swish < ::Stripe::RequestParams; end
|
|
466
1285
|
class Twint < ::Stripe::RequestParams; end
|
|
467
1286
|
|
|
@@ -534,8 +1353,12 @@ module Stripe
|
|
|
534
1353
|
attr_accessor :fpx
|
|
535
1354
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
536
1355
|
attr_accessor :giropay
|
|
1356
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1357
|
+
attr_accessor :gopay
|
|
537
1358
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
538
1359
|
attr_accessor :grabpay
|
|
1360
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1361
|
+
attr_accessor :id_bank_transfer
|
|
539
1362
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
540
1363
|
attr_accessor :ideal
|
|
541
1364
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -574,12 +1397,20 @@ module Stripe
|
|
|
574
1397
|
attr_accessor :paynow
|
|
575
1398
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
576
1399
|
attr_accessor :paypal
|
|
1400
|
+
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1401
|
+
attr_accessor :paypay
|
|
1402
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1403
|
+
attr_accessor :payto
|
|
577
1404
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
578
1405
|
attr_accessor :pix
|
|
579
1406
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
580
1407
|
attr_accessor :promptpay
|
|
1408
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1409
|
+
attr_accessor :qris
|
|
581
1410
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
582
1411
|
attr_accessor :radar_options
|
|
1412
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1413
|
+
attr_accessor :rechnung
|
|
583
1414
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
584
1415
|
attr_accessor :revolut_pay
|
|
585
1416
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -588,8 +1419,12 @@ module Stripe
|
|
|
588
1419
|
attr_accessor :satispay
|
|
589
1420
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
590
1421
|
attr_accessor :sepa_debit
|
|
1422
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1423
|
+
attr_accessor :shopeepay
|
|
591
1424
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
592
1425
|
attr_accessor :sofort
|
|
1426
|
+
# This hash contains details about the Stripe balance payment method.
|
|
1427
|
+
attr_accessor :stripe_balance
|
|
593
1428
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
594
1429
|
attr_accessor :swish
|
|
595
1430
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -624,7 +1459,9 @@ module Stripe
|
|
|
624
1459
|
eps: nil,
|
|
625
1460
|
fpx: nil,
|
|
626
1461
|
giropay: nil,
|
|
1462
|
+
gopay: nil,
|
|
627
1463
|
grabpay: nil,
|
|
1464
|
+
id_bank_transfer: nil,
|
|
628
1465
|
ideal: nil,
|
|
629
1466
|
interac_present: nil,
|
|
630
1467
|
kakao_pay: nil,
|
|
@@ -644,14 +1481,20 @@ module Stripe
|
|
|
644
1481
|
payco: nil,
|
|
645
1482
|
paynow: nil,
|
|
646
1483
|
paypal: nil,
|
|
1484
|
+
paypay: nil,
|
|
1485
|
+
payto: nil,
|
|
647
1486
|
pix: nil,
|
|
648
1487
|
promptpay: nil,
|
|
1488
|
+
qris: nil,
|
|
649
1489
|
radar_options: nil,
|
|
1490
|
+
rechnung: nil,
|
|
650
1491
|
revolut_pay: nil,
|
|
651
1492
|
samsung_pay: nil,
|
|
652
1493
|
satispay: nil,
|
|
653
1494
|
sepa_debit: nil,
|
|
1495
|
+
shopeepay: nil,
|
|
654
1496
|
sofort: nil,
|
|
1497
|
+
stripe_balance: nil,
|
|
655
1498
|
swish: nil,
|
|
656
1499
|
twint: nil,
|
|
657
1500
|
type: nil,
|
|
@@ -679,7 +1522,9 @@ module Stripe
|
|
|
679
1522
|
@eps = eps
|
|
680
1523
|
@fpx = fpx
|
|
681
1524
|
@giropay = giropay
|
|
1525
|
+
@gopay = gopay
|
|
682
1526
|
@grabpay = grabpay
|
|
1527
|
+
@id_bank_transfer = id_bank_transfer
|
|
683
1528
|
@ideal = ideal
|
|
684
1529
|
@interac_present = interac_present
|
|
685
1530
|
@kakao_pay = kakao_pay
|
|
@@ -699,14 +1544,20 @@ module Stripe
|
|
|
699
1544
|
@payco = payco
|
|
700
1545
|
@paynow = paynow
|
|
701
1546
|
@paypal = paypal
|
|
1547
|
+
@paypay = paypay
|
|
1548
|
+
@payto = payto
|
|
702
1549
|
@pix = pix
|
|
703
1550
|
@promptpay = promptpay
|
|
1551
|
+
@qris = qris
|
|
704
1552
|
@radar_options = radar_options
|
|
1553
|
+
@rechnung = rechnung
|
|
705
1554
|
@revolut_pay = revolut_pay
|
|
706
1555
|
@samsung_pay = samsung_pay
|
|
707
1556
|
@satispay = satispay
|
|
708
1557
|
@sepa_debit = sepa_debit
|
|
1558
|
+
@shopeepay = shopeepay
|
|
709
1559
|
@sofort = sofort
|
|
1560
|
+
@stripe_balance = stripe_balance
|
|
710
1561
|
@swish = swish
|
|
711
1562
|
@twint = twint
|
|
712
1563
|
@type = type
|
|
@@ -1077,6 +1928,48 @@ module Stripe
|
|
|
1077
1928
|
end
|
|
1078
1929
|
end
|
|
1079
1930
|
|
|
1931
|
+
class StatementDetails < ::Stripe::RequestParams
|
|
1932
|
+
class Address < ::Stripe::RequestParams
|
|
1933
|
+
# City, district, suburb, town, or village.
|
|
1934
|
+
attr_accessor :city
|
|
1935
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1936
|
+
attr_accessor :country
|
|
1937
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1938
|
+
attr_accessor :line1
|
|
1939
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1940
|
+
attr_accessor :line2
|
|
1941
|
+
# ZIP or postal code.
|
|
1942
|
+
attr_accessor :postal_code
|
|
1943
|
+
# State, county, province, or region.
|
|
1944
|
+
attr_accessor :state
|
|
1945
|
+
|
|
1946
|
+
def initialize(
|
|
1947
|
+
city: nil,
|
|
1948
|
+
country: nil,
|
|
1949
|
+
line1: nil,
|
|
1950
|
+
line2: nil,
|
|
1951
|
+
postal_code: nil,
|
|
1952
|
+
state: nil
|
|
1953
|
+
)
|
|
1954
|
+
@city = city
|
|
1955
|
+
@country = country
|
|
1956
|
+
@line1 = line1
|
|
1957
|
+
@line2 = line2
|
|
1958
|
+
@postal_code = postal_code
|
|
1959
|
+
@state = state
|
|
1960
|
+
end
|
|
1961
|
+
end
|
|
1962
|
+
# Please pass in an address that is within your Stripe user account country
|
|
1963
|
+
attr_accessor :address
|
|
1964
|
+
# Phone number (e.g., a toll-free number that customers can call)
|
|
1965
|
+
attr_accessor :phone
|
|
1966
|
+
|
|
1967
|
+
def initialize(address: nil, phone: nil)
|
|
1968
|
+
@address = address
|
|
1969
|
+
@phone = phone
|
|
1970
|
+
end
|
|
1971
|
+
end
|
|
1972
|
+
|
|
1080
1973
|
class ThreeDSecure < ::Stripe::RequestParams
|
|
1081
1974
|
class NetworkOptions < ::Stripe::RequestParams
|
|
1082
1975
|
class CartesBancaires < ::Stripe::RequestParams
|
|
@@ -1171,6 +2064,8 @@ module Stripe
|
|
|
1171
2064
|
attr_accessor :moto
|
|
1172
2065
|
# 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.
|
|
1173
2066
|
attr_accessor :network
|
|
2067
|
+
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2068
|
+
attr_accessor :request_decremental_authorization
|
|
1174
2069
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1175
2070
|
attr_accessor :request_extended_authorization
|
|
1176
2071
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1179,6 +2074,8 @@ module Stripe
|
|
|
1179
2074
|
attr_accessor :request_multicapture
|
|
1180
2075
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
1181
2076
|
attr_accessor :request_overcapture
|
|
2077
|
+
# Request partial authorization on this PaymentIntent.
|
|
2078
|
+
attr_accessor :request_partial_authorization
|
|
1182
2079
|
# 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.
|
|
1183
2080
|
attr_accessor :request_three_d_secure
|
|
1184
2081
|
# 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).
|
|
@@ -1197,6 +2094,8 @@ module Stripe
|
|
|
1197
2094
|
attr_accessor :statement_descriptor_suffix_kana
|
|
1198
2095
|
# 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.
|
|
1199
2096
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
2097
|
+
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
2098
|
+
attr_accessor :statement_details
|
|
1200
2099
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
1201
2100
|
# the authentication details to use for this payment.
|
|
1202
2101
|
attr_accessor :three_d_secure
|
|
@@ -1208,15 +2107,18 @@ module Stripe
|
|
|
1208
2107
|
mandate_options: nil,
|
|
1209
2108
|
moto: nil,
|
|
1210
2109
|
network: nil,
|
|
2110
|
+
request_decremental_authorization: nil,
|
|
1211
2111
|
request_extended_authorization: nil,
|
|
1212
2112
|
request_incremental_authorization: nil,
|
|
1213
2113
|
request_multicapture: nil,
|
|
1214
2114
|
request_overcapture: nil,
|
|
2115
|
+
request_partial_authorization: nil,
|
|
1215
2116
|
request_three_d_secure: nil,
|
|
1216
2117
|
require_cvc_recollection: nil,
|
|
1217
2118
|
setup_future_usage: nil,
|
|
1218
2119
|
statement_descriptor_suffix_kana: nil,
|
|
1219
2120
|
statement_descriptor_suffix_kanji: nil,
|
|
2121
|
+
statement_details: nil,
|
|
1220
2122
|
three_d_secure: nil
|
|
1221
2123
|
)
|
|
1222
2124
|
@capture_method = capture_method
|
|
@@ -1225,15 +2127,18 @@ module Stripe
|
|
|
1225
2127
|
@mandate_options = mandate_options
|
|
1226
2128
|
@moto = moto
|
|
1227
2129
|
@network = network
|
|
2130
|
+
@request_decremental_authorization = request_decremental_authorization
|
|
1228
2131
|
@request_extended_authorization = request_extended_authorization
|
|
1229
2132
|
@request_incremental_authorization = request_incremental_authorization
|
|
1230
2133
|
@request_multicapture = request_multicapture
|
|
1231
2134
|
@request_overcapture = request_overcapture
|
|
2135
|
+
@request_partial_authorization = request_partial_authorization
|
|
1232
2136
|
@request_three_d_secure = request_three_d_secure
|
|
1233
2137
|
@require_cvc_recollection = require_cvc_recollection
|
|
1234
2138
|
@setup_future_usage = setup_future_usage
|
|
1235
2139
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
1236
2140
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
2141
|
+
@statement_details = statement_details
|
|
1237
2142
|
@three_d_secure = three_d_secure
|
|
1238
2143
|
end
|
|
1239
2144
|
end
|
|
@@ -1404,6 +2309,23 @@ module Stripe
|
|
|
1404
2309
|
end
|
|
1405
2310
|
end
|
|
1406
2311
|
|
|
2312
|
+
class Gopay < ::Stripe::RequestParams
|
|
2313
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2314
|
+
#
|
|
2315
|
+
# 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.
|
|
2316
|
+
#
|
|
2317
|
+
# 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.
|
|
2318
|
+
#
|
|
2319
|
+
# 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).
|
|
2320
|
+
#
|
|
2321
|
+
# 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`.
|
|
2322
|
+
attr_accessor :setup_future_usage
|
|
2323
|
+
|
|
2324
|
+
def initialize(setup_future_usage: nil)
|
|
2325
|
+
@setup_future_usage = setup_future_usage
|
|
2326
|
+
end
|
|
2327
|
+
end
|
|
2328
|
+
|
|
1407
2329
|
class Grabpay < ::Stripe::RequestParams
|
|
1408
2330
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1409
2331
|
#
|
|
@@ -1421,6 +2343,29 @@ module Stripe
|
|
|
1421
2343
|
end
|
|
1422
2344
|
end
|
|
1423
2345
|
|
|
2346
|
+
class IdBankTransfer < ::Stripe::RequestParams
|
|
2347
|
+
# 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.
|
|
2348
|
+
attr_accessor :expires_after
|
|
2349
|
+
# 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.
|
|
2350
|
+
attr_accessor :expires_at
|
|
2351
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2352
|
+
#
|
|
2353
|
+
# 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.
|
|
2354
|
+
#
|
|
2355
|
+
# 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.
|
|
2356
|
+
#
|
|
2357
|
+
# 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).
|
|
2358
|
+
#
|
|
2359
|
+
# 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`.
|
|
2360
|
+
attr_accessor :setup_future_usage
|
|
2361
|
+
|
|
2362
|
+
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
2363
|
+
@expires_after = expires_after
|
|
2364
|
+
@expires_at = expires_at
|
|
2365
|
+
@setup_future_usage = setup_future_usage
|
|
2366
|
+
end
|
|
2367
|
+
end
|
|
2368
|
+
|
|
1424
2369
|
class Ideal < ::Stripe::RequestParams
|
|
1425
2370
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1426
2371
|
#
|
|
@@ -1822,12 +2767,65 @@ module Stripe
|
|
|
1822
2767
|
end
|
|
1823
2768
|
|
|
1824
2769
|
class Paypal < ::Stripe::RequestParams
|
|
2770
|
+
class LineItem < ::Stripe::RequestParams
|
|
2771
|
+
class Tax < ::Stripe::RequestParams
|
|
2772
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2773
|
+
attr_accessor :amount
|
|
2774
|
+
# The tax behavior for the line item.
|
|
2775
|
+
attr_accessor :behavior
|
|
2776
|
+
|
|
2777
|
+
def initialize(amount: nil, behavior: nil)
|
|
2778
|
+
@amount = amount
|
|
2779
|
+
@behavior = behavior
|
|
2780
|
+
end
|
|
2781
|
+
end
|
|
2782
|
+
# Type of the line item.
|
|
2783
|
+
attr_accessor :category
|
|
2784
|
+
# Description of the line item.
|
|
2785
|
+
attr_accessor :description
|
|
2786
|
+
# Descriptive name of the line item.
|
|
2787
|
+
attr_accessor :name
|
|
2788
|
+
# Quantity of the line item. Must be a positive number.
|
|
2789
|
+
attr_accessor :quantity
|
|
2790
|
+
# Client facing stock keeping unit, article number or similar.
|
|
2791
|
+
attr_accessor :sku
|
|
2792
|
+
# The Stripe account ID of the connected account that sells the item.
|
|
2793
|
+
attr_accessor :sold_by
|
|
2794
|
+
# The tax information for the line item.
|
|
2795
|
+
attr_accessor :tax
|
|
2796
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2797
|
+
attr_accessor :unit_amount
|
|
2798
|
+
|
|
2799
|
+
def initialize(
|
|
2800
|
+
category: nil,
|
|
2801
|
+
description: nil,
|
|
2802
|
+
name: nil,
|
|
2803
|
+
quantity: nil,
|
|
2804
|
+
sku: nil,
|
|
2805
|
+
sold_by: nil,
|
|
2806
|
+
tax: nil,
|
|
2807
|
+
unit_amount: nil
|
|
2808
|
+
)
|
|
2809
|
+
@category = category
|
|
2810
|
+
@description = description
|
|
2811
|
+
@name = name
|
|
2812
|
+
@quantity = quantity
|
|
2813
|
+
@sku = sku
|
|
2814
|
+
@sold_by = sold_by
|
|
2815
|
+
@tax = tax
|
|
2816
|
+
@unit_amount = unit_amount
|
|
2817
|
+
end
|
|
2818
|
+
end
|
|
1825
2819
|
# Controls when the funds will be captured from the customer's account.
|
|
1826
2820
|
attr_accessor :capture_method
|
|
2821
|
+
# The line items purchased by the customer.
|
|
2822
|
+
attr_accessor :line_items
|
|
1827
2823
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
1828
2824
|
attr_accessor :preferred_locale
|
|
1829
2825
|
# 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.
|
|
1830
2826
|
attr_accessor :reference
|
|
2827
|
+
# 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.
|
|
2828
|
+
attr_accessor :reference_id
|
|
1831
2829
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
1832
2830
|
attr_accessor :risk_correlation_id
|
|
1833
2831
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1840,29 +2838,140 @@ module Stripe
|
|
|
1840
2838
|
#
|
|
1841
2839
|
# 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`.
|
|
1842
2840
|
attr_accessor :setup_future_usage
|
|
2841
|
+
# 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.
|
|
2842
|
+
attr_accessor :subsellers
|
|
1843
2843
|
|
|
1844
2844
|
def initialize(
|
|
1845
2845
|
capture_method: nil,
|
|
2846
|
+
line_items: nil,
|
|
1846
2847
|
preferred_locale: nil,
|
|
1847
2848
|
reference: nil,
|
|
2849
|
+
reference_id: nil,
|
|
1848
2850
|
risk_correlation_id: nil,
|
|
1849
|
-
setup_future_usage: nil
|
|
2851
|
+
setup_future_usage: nil,
|
|
2852
|
+
subsellers: nil
|
|
1850
2853
|
)
|
|
1851
2854
|
@capture_method = capture_method
|
|
2855
|
+
@line_items = line_items
|
|
1852
2856
|
@preferred_locale = preferred_locale
|
|
1853
2857
|
@reference = reference
|
|
2858
|
+
@reference_id = reference_id
|
|
1854
2859
|
@risk_correlation_id = risk_correlation_id
|
|
1855
2860
|
@setup_future_usage = setup_future_usage
|
|
2861
|
+
@subsellers = subsellers
|
|
2862
|
+
end
|
|
2863
|
+
end
|
|
2864
|
+
|
|
2865
|
+
class Paypay < ::Stripe::RequestParams
|
|
2866
|
+
# Controls when the funds are captured from the customer's account.
|
|
2867
|
+
#
|
|
2868
|
+
# 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.
|
|
2869
|
+
#
|
|
2870
|
+
# 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.
|
|
2871
|
+
attr_accessor :capture_method
|
|
2872
|
+
|
|
2873
|
+
def initialize(capture_method: nil)
|
|
2874
|
+
@capture_method = capture_method
|
|
2875
|
+
end
|
|
2876
|
+
end
|
|
2877
|
+
|
|
2878
|
+
class Payto < ::Stripe::RequestParams
|
|
2879
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
2880
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2881
|
+
attr_accessor :amount
|
|
2882
|
+
# 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.
|
|
2883
|
+
attr_accessor :amount_type
|
|
2884
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2885
|
+
attr_accessor :end_date
|
|
2886
|
+
# The periodicity at which payments will be collected.
|
|
2887
|
+
attr_accessor :payment_schedule
|
|
2888
|
+
# 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.
|
|
2889
|
+
attr_accessor :payments_per_period
|
|
2890
|
+
# The purpose for which payments are made. Defaults to retail.
|
|
2891
|
+
attr_accessor :purpose
|
|
2892
|
+
|
|
2893
|
+
def initialize(
|
|
2894
|
+
amount: nil,
|
|
2895
|
+
amount_type: nil,
|
|
2896
|
+
end_date: nil,
|
|
2897
|
+
payment_schedule: nil,
|
|
2898
|
+
payments_per_period: nil,
|
|
2899
|
+
purpose: nil
|
|
2900
|
+
)
|
|
2901
|
+
@amount = amount
|
|
2902
|
+
@amount_type = amount_type
|
|
2903
|
+
@end_date = end_date
|
|
2904
|
+
@payment_schedule = payment_schedule
|
|
2905
|
+
@payments_per_period = payments_per_period
|
|
2906
|
+
@purpose = purpose
|
|
2907
|
+
end
|
|
2908
|
+
end
|
|
2909
|
+
# 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`
|
|
2910
|
+
attr_accessor :mandate_options
|
|
2911
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2912
|
+
#
|
|
2913
|
+
# 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.
|
|
2914
|
+
#
|
|
2915
|
+
# 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.
|
|
2916
|
+
#
|
|
2917
|
+
# 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).
|
|
2918
|
+
#
|
|
2919
|
+
# 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`.
|
|
2920
|
+
attr_accessor :setup_future_usage
|
|
2921
|
+
|
|
2922
|
+
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
2923
|
+
@mandate_options = mandate_options
|
|
2924
|
+
@setup_future_usage = setup_future_usage
|
|
1856
2925
|
end
|
|
1857
2926
|
end
|
|
1858
2927
|
|
|
1859
2928
|
class Pix < ::Stripe::RequestParams
|
|
2929
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
2930
|
+
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
2931
|
+
attr_accessor :amount
|
|
2932
|
+
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2933
|
+
attr_accessor :amount_includes_iof
|
|
2934
|
+
# Type of amount. Defaults to `maximum`.
|
|
2935
|
+
attr_accessor :amount_type
|
|
2936
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
2937
|
+
attr_accessor :currency
|
|
2938
|
+
# 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.
|
|
2939
|
+
attr_accessor :end_date
|
|
2940
|
+
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
2941
|
+
attr_accessor :payment_schedule
|
|
2942
|
+
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
2943
|
+
attr_accessor :reference
|
|
2944
|
+
# 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.
|
|
2945
|
+
attr_accessor :start_date
|
|
2946
|
+
|
|
2947
|
+
def initialize(
|
|
2948
|
+
amount: nil,
|
|
2949
|
+
amount_includes_iof: nil,
|
|
2950
|
+
amount_type: nil,
|
|
2951
|
+
currency: nil,
|
|
2952
|
+
end_date: nil,
|
|
2953
|
+
payment_schedule: nil,
|
|
2954
|
+
reference: nil,
|
|
2955
|
+
start_date: nil
|
|
2956
|
+
)
|
|
2957
|
+
@amount = amount
|
|
2958
|
+
@amount_includes_iof = amount_includes_iof
|
|
2959
|
+
@amount_type = amount_type
|
|
2960
|
+
@currency = currency
|
|
2961
|
+
@end_date = end_date
|
|
2962
|
+
@payment_schedule = payment_schedule
|
|
2963
|
+
@reference = reference
|
|
2964
|
+
@start_date = start_date
|
|
2965
|
+
end
|
|
2966
|
+
end
|
|
1860
2967
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1861
2968
|
attr_accessor :amount_includes_iof
|
|
1862
2969
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
1863
2970
|
attr_accessor :expires_after_seconds
|
|
1864
2971
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
1865
2972
|
attr_accessor :expires_at
|
|
2973
|
+
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
2974
|
+
attr_accessor :mandate_options
|
|
1866
2975
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1867
2976
|
#
|
|
1868
2977
|
# 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.
|
|
@@ -1878,11 +2987,13 @@ module Stripe
|
|
|
1878
2987
|
amount_includes_iof: nil,
|
|
1879
2988
|
expires_after_seconds: nil,
|
|
1880
2989
|
expires_at: nil,
|
|
2990
|
+
mandate_options: nil,
|
|
1881
2991
|
setup_future_usage: nil
|
|
1882
2992
|
)
|
|
1883
2993
|
@amount_includes_iof = amount_includes_iof
|
|
1884
2994
|
@expires_after_seconds = expires_after_seconds
|
|
1885
2995
|
@expires_at = expires_at
|
|
2996
|
+
@mandate_options = mandate_options
|
|
1886
2997
|
@setup_future_usage = setup_future_usage
|
|
1887
2998
|
end
|
|
1888
2999
|
end
|
|
@@ -1904,6 +3015,25 @@ module Stripe
|
|
|
1904
3015
|
end
|
|
1905
3016
|
end
|
|
1906
3017
|
|
|
3018
|
+
class Qris < ::Stripe::RequestParams
|
|
3019
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3020
|
+
#
|
|
3021
|
+
# 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.
|
|
3022
|
+
#
|
|
3023
|
+
# 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.
|
|
3024
|
+
#
|
|
3025
|
+
# 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).
|
|
3026
|
+
#
|
|
3027
|
+
# 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`.
|
|
3028
|
+
attr_accessor :setup_future_usage
|
|
3029
|
+
|
|
3030
|
+
def initialize(setup_future_usage: nil)
|
|
3031
|
+
@setup_future_usage = setup_future_usage
|
|
3032
|
+
end
|
|
3033
|
+
end
|
|
3034
|
+
|
|
3035
|
+
class Rechnung < ::Stripe::RequestParams; end
|
|
3036
|
+
|
|
1907
3037
|
class RevolutPay < ::Stripe::RequestParams
|
|
1908
3038
|
# Controls when the funds are captured from the customer's account.
|
|
1909
3039
|
#
|
|
@@ -1983,6 +3113,23 @@ module Stripe
|
|
|
1983
3113
|
end
|
|
1984
3114
|
end
|
|
1985
3115
|
|
|
3116
|
+
class Shopeepay < ::Stripe::RequestParams
|
|
3117
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3118
|
+
#
|
|
3119
|
+
# 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.
|
|
3120
|
+
#
|
|
3121
|
+
# 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.
|
|
3122
|
+
#
|
|
3123
|
+
# 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).
|
|
3124
|
+
#
|
|
3125
|
+
# 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`.
|
|
3126
|
+
attr_accessor :setup_future_usage
|
|
3127
|
+
|
|
3128
|
+
def initialize(setup_future_usage: nil)
|
|
3129
|
+
@setup_future_usage = setup_future_usage
|
|
3130
|
+
end
|
|
3131
|
+
end
|
|
3132
|
+
|
|
1986
3133
|
class Sofort < ::Stripe::RequestParams
|
|
1987
3134
|
# Language shown to the payer on redirect.
|
|
1988
3135
|
attr_accessor :preferred_language
|
|
@@ -2003,6 +3150,23 @@ module Stripe
|
|
|
2003
3150
|
end
|
|
2004
3151
|
end
|
|
2005
3152
|
|
|
3153
|
+
class StripeBalance < ::Stripe::RequestParams
|
|
3154
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3155
|
+
#
|
|
3156
|
+
# 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.
|
|
3157
|
+
#
|
|
3158
|
+
# 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.
|
|
3159
|
+
#
|
|
3160
|
+
# 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).
|
|
3161
|
+
#
|
|
3162
|
+
# 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`.
|
|
3163
|
+
attr_accessor :setup_future_usage
|
|
3164
|
+
|
|
3165
|
+
def initialize(setup_future_usage: nil)
|
|
3166
|
+
@setup_future_usage = setup_future_usage
|
|
3167
|
+
end
|
|
3168
|
+
end
|
|
3169
|
+
|
|
2006
3170
|
class Swish < ::Stripe::RequestParams
|
|
2007
3171
|
# A reference for this payment to be displayed in the Swish app.
|
|
2008
3172
|
attr_accessor :reference
|
|
@@ -2045,13 +3209,27 @@ module Stripe
|
|
|
2045
3209
|
class Filters < ::Stripe::RequestParams
|
|
2046
3210
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2047
3211
|
attr_accessor :account_subcategories
|
|
3212
|
+
# ID of the institution to use to filter for selectable accounts.
|
|
3213
|
+
attr_accessor :institution
|
|
2048
3214
|
|
|
2049
|
-
def initialize(account_subcategories: nil)
|
|
3215
|
+
def initialize(account_subcategories: nil, institution: nil)
|
|
2050
3216
|
@account_subcategories = account_subcategories
|
|
3217
|
+
@institution = institution
|
|
3218
|
+
end
|
|
3219
|
+
end
|
|
3220
|
+
|
|
3221
|
+
class ManualEntry < ::Stripe::RequestParams
|
|
3222
|
+
# Settings for configuring manual entry of account details.
|
|
3223
|
+
attr_accessor :mode
|
|
3224
|
+
|
|
3225
|
+
def initialize(mode: nil)
|
|
3226
|
+
@mode = mode
|
|
2051
3227
|
end
|
|
2052
3228
|
end
|
|
2053
3229
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2054
3230
|
attr_accessor :filters
|
|
3231
|
+
# Customize manual entry behavior
|
|
3232
|
+
attr_accessor :manual_entry
|
|
2055
3233
|
# 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`.
|
|
2056
3234
|
attr_accessor :permissions
|
|
2057
3235
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -2059,8 +3237,15 @@ module Stripe
|
|
|
2059
3237
|
# 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.
|
|
2060
3238
|
attr_accessor :return_url
|
|
2061
3239
|
|
|
2062
|
-
def initialize(
|
|
3240
|
+
def initialize(
|
|
3241
|
+
filters: nil,
|
|
3242
|
+
manual_entry: nil,
|
|
3243
|
+
permissions: nil,
|
|
3244
|
+
prefetch: nil,
|
|
3245
|
+
return_url: nil
|
|
3246
|
+
)
|
|
2063
3247
|
@filters = filters
|
|
3248
|
+
@manual_entry = manual_entry
|
|
2064
3249
|
@permissions = permissions
|
|
2065
3250
|
@prefetch = prefetch
|
|
2066
3251
|
@return_url = return_url
|
|
@@ -2205,8 +3390,12 @@ module Stripe
|
|
|
2205
3390
|
attr_accessor :fpx
|
|
2206
3391
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
2207
3392
|
attr_accessor :giropay
|
|
3393
|
+
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
3394
|
+
attr_accessor :gopay
|
|
2208
3395
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
2209
3396
|
attr_accessor :grabpay
|
|
3397
|
+
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
3398
|
+
attr_accessor :id_bank_transfer
|
|
2210
3399
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
2211
3400
|
attr_accessor :ideal
|
|
2212
3401
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -2243,10 +3432,18 @@ module Stripe
|
|
|
2243
3432
|
attr_accessor :paynow
|
|
2244
3433
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
2245
3434
|
attr_accessor :paypal
|
|
3435
|
+
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
3436
|
+
attr_accessor :paypay
|
|
3437
|
+
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
3438
|
+
attr_accessor :payto
|
|
2246
3439
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
2247
3440
|
attr_accessor :pix
|
|
2248
3441
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
2249
3442
|
attr_accessor :promptpay
|
|
3443
|
+
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
3444
|
+
attr_accessor :qris
|
|
3445
|
+
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
3446
|
+
attr_accessor :rechnung
|
|
2250
3447
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
2251
3448
|
attr_accessor :revolut_pay
|
|
2252
3449
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -2255,8 +3452,12 @@ module Stripe
|
|
|
2255
3452
|
attr_accessor :satispay
|
|
2256
3453
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2257
3454
|
attr_accessor :sepa_debit
|
|
3455
|
+
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
3456
|
+
attr_accessor :shopeepay
|
|
2258
3457
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
2259
3458
|
attr_accessor :sofort
|
|
3459
|
+
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
3460
|
+
attr_accessor :stripe_balance
|
|
2260
3461
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
2261
3462
|
attr_accessor :swish
|
|
2262
3463
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -2289,7 +3490,9 @@ module Stripe
|
|
|
2289
3490
|
eps: nil,
|
|
2290
3491
|
fpx: nil,
|
|
2291
3492
|
giropay: nil,
|
|
3493
|
+
gopay: nil,
|
|
2292
3494
|
grabpay: nil,
|
|
3495
|
+
id_bank_transfer: nil,
|
|
2293
3496
|
ideal: nil,
|
|
2294
3497
|
interac_present: nil,
|
|
2295
3498
|
kakao_pay: nil,
|
|
@@ -2308,13 +3511,19 @@ module Stripe
|
|
|
2308
3511
|
payco: nil,
|
|
2309
3512
|
paynow: nil,
|
|
2310
3513
|
paypal: nil,
|
|
3514
|
+
paypay: nil,
|
|
3515
|
+
payto: nil,
|
|
2311
3516
|
pix: nil,
|
|
2312
3517
|
promptpay: nil,
|
|
3518
|
+
qris: nil,
|
|
3519
|
+
rechnung: nil,
|
|
2313
3520
|
revolut_pay: nil,
|
|
2314
3521
|
samsung_pay: nil,
|
|
2315
3522
|
satispay: nil,
|
|
2316
3523
|
sepa_debit: nil,
|
|
3524
|
+
shopeepay: nil,
|
|
2317
3525
|
sofort: nil,
|
|
3526
|
+
stripe_balance: nil,
|
|
2318
3527
|
swish: nil,
|
|
2319
3528
|
twint: nil,
|
|
2320
3529
|
us_bank_account: nil,
|
|
@@ -2341,7 +3550,9 @@ module Stripe
|
|
|
2341
3550
|
@eps = eps
|
|
2342
3551
|
@fpx = fpx
|
|
2343
3552
|
@giropay = giropay
|
|
3553
|
+
@gopay = gopay
|
|
2344
3554
|
@grabpay = grabpay
|
|
3555
|
+
@id_bank_transfer = id_bank_transfer
|
|
2345
3556
|
@ideal = ideal
|
|
2346
3557
|
@interac_present = interac_present
|
|
2347
3558
|
@kakao_pay = kakao_pay
|
|
@@ -2360,13 +3571,19 @@ module Stripe
|
|
|
2360
3571
|
@payco = payco
|
|
2361
3572
|
@paynow = paynow
|
|
2362
3573
|
@paypal = paypal
|
|
3574
|
+
@paypay = paypay
|
|
3575
|
+
@payto = payto
|
|
2363
3576
|
@pix = pix
|
|
2364
3577
|
@promptpay = promptpay
|
|
3578
|
+
@qris = qris
|
|
3579
|
+
@rechnung = rechnung
|
|
2365
3580
|
@revolut_pay = revolut_pay
|
|
2366
3581
|
@samsung_pay = samsung_pay
|
|
2367
3582
|
@satispay = satispay
|
|
2368
3583
|
@sepa_debit = sepa_debit
|
|
3584
|
+
@shopeepay = shopeepay
|
|
2369
3585
|
@sofort = sofort
|
|
3586
|
+
@stripe_balance = stripe_balance
|
|
2370
3587
|
@swish = swish
|
|
2371
3588
|
@twint = twint
|
|
2372
3589
|
@us_bank_account = us_bank_account
|
|
@@ -2450,17 +3667,29 @@ module Stripe
|
|
|
2450
3667
|
#
|
|
2451
3668
|
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
2452
3669
|
attr_accessor :customer
|
|
3670
|
+
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
3671
|
+
#
|
|
3672
|
+
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
3673
|
+
#
|
|
3674
|
+
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
3675
|
+
attr_accessor :customer_account
|
|
2453
3676
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
2454
3677
|
attr_accessor :description
|
|
2455
3678
|
# The list of payment method types to exclude from use with this payment.
|
|
2456
3679
|
attr_accessor :excluded_payment_method_types
|
|
2457
3680
|
# Specifies which fields in the response should be expanded.
|
|
2458
3681
|
attr_accessor :expand
|
|
3682
|
+
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
3683
|
+
attr_accessor :fx_quote
|
|
3684
|
+
# Automations to be run during the PaymentIntent lifecycle
|
|
3685
|
+
attr_accessor :hooks
|
|
3686
|
+
# This hash contains details about the Mandate to create.
|
|
3687
|
+
attr_accessor :mandate_data
|
|
2459
3688
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2460
3689
|
attr_accessor :metadata
|
|
2461
3690
|
# Provides industry-specific information about the charge.
|
|
2462
3691
|
attr_accessor :payment_details
|
|
2463
|
-
#
|
|
3692
|
+
# Attribute for param field payment_method
|
|
2464
3693
|
attr_accessor :payment_method
|
|
2465
3694
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
|
|
2466
3695
|
attr_accessor :payment_method_configuration
|
|
@@ -2504,9 +3733,13 @@ module Stripe
|
|
|
2504
3733
|
capture_method: nil,
|
|
2505
3734
|
currency: nil,
|
|
2506
3735
|
customer: nil,
|
|
3736
|
+
customer_account: nil,
|
|
2507
3737
|
description: nil,
|
|
2508
3738
|
excluded_payment_method_types: nil,
|
|
2509
3739
|
expand: nil,
|
|
3740
|
+
fx_quote: nil,
|
|
3741
|
+
hooks: nil,
|
|
3742
|
+
mandate_data: nil,
|
|
2510
3743
|
metadata: nil,
|
|
2511
3744
|
payment_details: nil,
|
|
2512
3745
|
payment_method: nil,
|
|
@@ -2528,9 +3761,13 @@ module Stripe
|
|
|
2528
3761
|
@capture_method = capture_method
|
|
2529
3762
|
@currency = currency
|
|
2530
3763
|
@customer = customer
|
|
3764
|
+
@customer_account = customer_account
|
|
2531
3765
|
@description = description
|
|
2532
3766
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
2533
3767
|
@expand = expand
|
|
3768
|
+
@fx_quote = fx_quote
|
|
3769
|
+
@hooks = hooks
|
|
3770
|
+
@mandate_data = mandate_data
|
|
2534
3771
|
@metadata = metadata
|
|
2535
3772
|
@payment_details = payment_details
|
|
2536
3773
|
@payment_method = payment_method
|