stripe 18.2.0.pre.beta.1 → 18.3.0.pre.alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -1
- data/lib/stripe/errors.rb +3 -0
- data/lib/stripe/event_types.rb +360 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +86 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +86 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +84 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +84 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +91 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +82 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +82 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +20 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +41 -3
- data/lib/stripe/params/account_create_params.rb +34 -2
- data/lib/stripe/params/account_person_create_params.rb +32 -0
- data/lib/stripe/params/account_person_update_params.rb +32 -0
- data/lib/stripe/params/account_session_create_params.rb +17 -0
- data/lib/stripe/params/account_update_params.rb +34 -2
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +121 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +5 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +29 -2
- 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/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/checkout/session_create_params.rb +96 -2
- data/lib/stripe/params/checkout/session_update_params.rb +16 -1
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +138 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/{reserve/plan_retrieve_params.rb → identity/blocklist_entry_disable_params.rb} +2 -2
- 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/invoice_add_lines_params.rb +16 -1
- data/lib/stripe/params/invoice_create_preview_params.rb +122 -3
- data/lib/stripe/params/invoice_line_item_update_params.rb +16 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +16 -1
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/{reserve/release_list_params.rb → issuing/program_list_params.rb} +3 -20
- data/lib/stripe/params/{reserve/release_retrieve_params.rb → issuing/program_retrieve_params.rb} +2 -2
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +40 -2
- data/lib/stripe/params/payment_intent_create_params.rb +53 -2
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +35 -1
- data/lib/stripe/params/payment_link_create_params.rb +16 -1
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/plan_create_params.rb +16 -1
- data/lib/stripe/params/price_create_params.rb +16 -1
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +17 -1
- data/lib/stripe/params/product_update_params.rb +17 -1
- data/lib/stripe/params/quote_create_params.rb +222 -2
- data/lib/stripe/params/quote_update_params.rb +222 -2
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +41 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +29 -0
- data/lib/stripe/params/setup_intent_create_params.rb +29 -0
- data/lib/stripe/params/setup_intent_update_params.rb +30 -1
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_create_params.rb +16 -0
- data/lib/stripe/params/subscription_item_create_params.rb +16 -0
- data/lib/stripe/params/subscription_item_update_params.rb +16 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +41 -2
- data/lib/stripe/params/subscription_schedule_create_params.rb +69 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +69 -1
- data/lib/stripe/params/subscription_update_params.rb +16 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +5 -1
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/{reserve/hold_retrieve_params.rb → tax/location_retrieve_params.rb} +2 -2
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/token_create_params.rb +64 -0
- data/lib/stripe/params/transfer_create_params.rb +4 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +8 -1
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +4 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +4 -1
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +425 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +278 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +716 -9
- data/lib/stripe/params/v2/core/account_token_create_params.rb +237 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +702 -9
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +68 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +4 -1
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +12 -1
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +25 -1
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +4 -1
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +19 -1
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +4 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +57 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +161 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +46 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +31 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +39 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +94 -0
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +94 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +128 -5
- data/lib/stripe/resources/account_session.rb +27 -0
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/balance_transfer.rb +139 -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_row.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +58 -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/capital/financing_offer.rb +41 -0
- data/lib/stripe/resources/card.rb +18 -1
- data/lib/stripe/resources/charge.rb +18 -0
- data/lib/stripe/resources/checkout/session.rb +92 -0
- data/lib/stripe/resources/confirmation_token.rb +18 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +509 -0
- data/lib/stripe/resources/discount.rb +2 -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/invoice.rb +18 -0
- data/lib/stripe/resources/invoice_item.rb +106 -2
- data/lib/stripe/resources/invoice_line_item.rb +107 -3
- data/lib/stripe/resources/issuing/card.rb +4 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/payment_intent.rb +63 -1
- data/lib/stripe/resources/payment_method.rb +38 -0
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/person.rb +36 -0
- data/lib/stripe/resources/plan.rb +2 -0
- data/lib/stripe/resources/price.rb +2 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +103 -0
- data/lib/stripe/resources/quote.rb +238 -1
- data/lib/stripe/resources/quote_line.rb +6 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +18 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +94 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +145 -0
- data/lib/stripe/resources/setup_intent.rb +40 -0
- data/lib/stripe/resources/shared_payment/granted_token.rb +126 -0
- data/lib/stripe/resources/subscription.rb +20 -1
- data/lib/stripe/resources/subscription_item.rb +24 -1
- data/lib/stripe/resources/subscription_schedule.rb +94 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +128 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/transfer.rb +4 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +46 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +483 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +274 -0
- data/lib/stripe/resources/v2/core/account.rb +1073 -5
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +50 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +21 -1
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +21 -1
- data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +94 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +35 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +87 -1
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +47 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +34 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +56 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +186 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +92 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +78 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +115 -0
- data/lib/stripe/resources.rb +134 -3
- data/lib/stripe/services/balance_transfer_service.rb +17 -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/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +2 -1
- data/lib/stripe/services/payment_method_service.rb +11 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar_service.rb +2 -1
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment_service.rb +13 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +5 -2
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
- data/lib/stripe/services/v2/billing_service.rb +14 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +2 -0
- data/lib/stripe/services/v2/core/account_service.rb +10 -0
- data/lib/stripe/services/v2/core/account_token_service.rb +4 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +10 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +4 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core_service.rb +2 -1
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management_service.rb +5 -1
- data/lib/stripe/services/v2/payment_service.rb +17 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +72 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +45 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +2 -1
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +5 -1
- data/lib/stripe/services.rb +48 -4
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/util.rb +9 -3
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -1
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +21285 -1431
- metadata +312 -15
- data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/resources/reserve/hold.rb +0 -74
- data/lib/stripe/resources/reserve/plan.rb +0 -78
- data/lib/stripe/resources/reserve/release.rb +0 -77
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/stripe_event_notification_handler.rb +0 -425
|
@@ -12,6 +12,312 @@ module Stripe
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
class Configuration < ::Stripe::StripeObject
|
|
15
|
+
class CardCreator < ::Stripe::StripeObject
|
|
16
|
+
class Capabilities < ::Stripe::StripeObject
|
|
17
|
+
class Commercial < ::Stripe::StripeObject
|
|
18
|
+
class Celtic < ::Stripe::StripeObject
|
|
19
|
+
class ChargeCard < ::Stripe::StripeObject
|
|
20
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
21
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
22
|
+
attr_reader :code
|
|
23
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
24
|
+
attr_reader :resolution
|
|
25
|
+
|
|
26
|
+
def self.inner_class_types
|
|
27
|
+
@inner_class_types = {}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def self.field_remappings
|
|
31
|
+
@field_remappings = {}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
# The status of the Capability.
|
|
35
|
+
attr_reader :status
|
|
36
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
37
|
+
attr_reader :status_details
|
|
38
|
+
|
|
39
|
+
def self.inner_class_types
|
|
40
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def self.field_remappings
|
|
44
|
+
@field_remappings = {}
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
class SpendCard < ::Stripe::StripeObject
|
|
49
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
50
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
51
|
+
attr_reader :code
|
|
52
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
53
|
+
attr_reader :resolution
|
|
54
|
+
|
|
55
|
+
def self.inner_class_types
|
|
56
|
+
@inner_class_types = {}
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
def self.field_remappings
|
|
60
|
+
@field_remappings = {}
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
# The status of the Capability.
|
|
64
|
+
attr_reader :status
|
|
65
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
66
|
+
attr_reader :status_details
|
|
67
|
+
|
|
68
|
+
def self.inner_class_types
|
|
69
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def self.field_remappings
|
|
73
|
+
@field_remappings = {}
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
# Can create commercial issuing charge cards with Celtic as BIN sponsor.
|
|
77
|
+
attr_reader :charge_card
|
|
78
|
+
# Can create commercial issuing spend cards with Celtic as BIN sponsor.
|
|
79
|
+
attr_reader :spend_card
|
|
80
|
+
|
|
81
|
+
def self.inner_class_types
|
|
82
|
+
@inner_class_types = { charge_card: ChargeCard, spend_card: SpendCard }
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
def self.field_remappings
|
|
86
|
+
@field_remappings = {}
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
class CrossRiverBank < ::Stripe::StripeObject
|
|
91
|
+
class ChargeCard < ::Stripe::StripeObject
|
|
92
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
93
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
94
|
+
attr_reader :code
|
|
95
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
96
|
+
attr_reader :resolution
|
|
97
|
+
|
|
98
|
+
def self.inner_class_types
|
|
99
|
+
@inner_class_types = {}
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def self.field_remappings
|
|
103
|
+
@field_remappings = {}
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
# The status of the Capability.
|
|
107
|
+
attr_reader :status
|
|
108
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
109
|
+
attr_reader :status_details
|
|
110
|
+
|
|
111
|
+
def self.inner_class_types
|
|
112
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
def self.field_remappings
|
|
116
|
+
@field_remappings = {}
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
class SpendCard < ::Stripe::StripeObject
|
|
121
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
122
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
123
|
+
attr_reader :code
|
|
124
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
125
|
+
attr_reader :resolution
|
|
126
|
+
|
|
127
|
+
def self.inner_class_types
|
|
128
|
+
@inner_class_types = {}
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
def self.field_remappings
|
|
132
|
+
@field_remappings = {}
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
# The status of the Capability.
|
|
136
|
+
attr_reader :status
|
|
137
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
138
|
+
attr_reader :status_details
|
|
139
|
+
|
|
140
|
+
def self.inner_class_types
|
|
141
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
def self.field_remappings
|
|
145
|
+
@field_remappings = {}
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
# Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
149
|
+
attr_reader :charge_card
|
|
150
|
+
# Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
151
|
+
attr_reader :spend_card
|
|
152
|
+
|
|
153
|
+
def self.inner_class_types
|
|
154
|
+
@inner_class_types = { charge_card: ChargeCard, spend_card: SpendCard }
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
def self.field_remappings
|
|
158
|
+
@field_remappings = {}
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
class Lead < ::Stripe::StripeObject
|
|
163
|
+
class PrepaidCard < ::Stripe::StripeObject
|
|
164
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
165
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
166
|
+
attr_reader :code
|
|
167
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
168
|
+
attr_reader :resolution
|
|
169
|
+
|
|
170
|
+
def self.inner_class_types
|
|
171
|
+
@inner_class_types = {}
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
def self.field_remappings
|
|
175
|
+
@field_remappings = {}
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
# The status of the Capability.
|
|
179
|
+
attr_reader :status
|
|
180
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
181
|
+
attr_reader :status_details
|
|
182
|
+
|
|
183
|
+
def self.inner_class_types
|
|
184
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
def self.field_remappings
|
|
188
|
+
@field_remappings = {}
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
# Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN sponsor.
|
|
192
|
+
attr_reader :prepaid_card
|
|
193
|
+
|
|
194
|
+
def self.inner_class_types
|
|
195
|
+
@inner_class_types = { prepaid_card: PrepaidCard }
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
def self.field_remappings
|
|
199
|
+
@field_remappings = {}
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
class Stripe < ::Stripe::StripeObject
|
|
204
|
+
class ChargeCard < ::Stripe::StripeObject
|
|
205
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
206
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
207
|
+
attr_reader :code
|
|
208
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
209
|
+
attr_reader :resolution
|
|
210
|
+
|
|
211
|
+
def self.inner_class_types
|
|
212
|
+
@inner_class_types = {}
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
def self.field_remappings
|
|
216
|
+
@field_remappings = {}
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
# The status of the Capability.
|
|
220
|
+
attr_reader :status
|
|
221
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
222
|
+
attr_reader :status_details
|
|
223
|
+
|
|
224
|
+
def self.inner_class_types
|
|
225
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
def self.field_remappings
|
|
229
|
+
@field_remappings = {}
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
class PrepaidCard < ::Stripe::StripeObject
|
|
234
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
235
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
236
|
+
attr_reader :code
|
|
237
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
238
|
+
attr_reader :resolution
|
|
239
|
+
|
|
240
|
+
def self.inner_class_types
|
|
241
|
+
@inner_class_types = {}
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
def self.field_remappings
|
|
245
|
+
@field_remappings = {}
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
# The status of the Capability.
|
|
249
|
+
attr_reader :status
|
|
250
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
251
|
+
attr_reader :status_details
|
|
252
|
+
|
|
253
|
+
def self.inner_class_types
|
|
254
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
def self.field_remappings
|
|
258
|
+
@field_remappings = {}
|
|
259
|
+
end
|
|
260
|
+
end
|
|
261
|
+
# Can create commercial issuing charge cards with Stripe as BIN sponsor.
|
|
262
|
+
attr_reader :charge_card
|
|
263
|
+
# Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
|
|
264
|
+
attr_reader :prepaid_card
|
|
265
|
+
|
|
266
|
+
def self.inner_class_types
|
|
267
|
+
@inner_class_types = { charge_card: ChargeCard, prepaid_card: PrepaidCard }
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
def self.field_remappings
|
|
271
|
+
@field_remappings = {}
|
|
272
|
+
end
|
|
273
|
+
end
|
|
274
|
+
# Can create commercial issuing cards with Celtic as BIN sponsor.
|
|
275
|
+
attr_reader :celtic
|
|
276
|
+
# Can create commercial issuing cards with Cross River Bank as BIN sponsor.
|
|
277
|
+
attr_reader :cross_river_bank
|
|
278
|
+
# Can create commercial issuing cards with Lead as a BIN sponsor.
|
|
279
|
+
attr_reader :lead
|
|
280
|
+
# Can create commercial issuing cards with Stripe as a BIN sponsor.
|
|
281
|
+
attr_reader :stripe
|
|
282
|
+
|
|
283
|
+
def self.inner_class_types
|
|
284
|
+
@inner_class_types = {
|
|
285
|
+
celtic: Celtic,
|
|
286
|
+
cross_river_bank: CrossRiverBank,
|
|
287
|
+
lead: Lead,
|
|
288
|
+
stripe: Stripe,
|
|
289
|
+
}
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
def self.field_remappings
|
|
293
|
+
@field_remappings = {}
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
# Can create cards for commercial issuing use cases.
|
|
297
|
+
attr_reader :commercial
|
|
298
|
+
|
|
299
|
+
def self.inner_class_types
|
|
300
|
+
@inner_class_types = { commercial: Commercial }
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
def self.field_remappings
|
|
304
|
+
@field_remappings = {}
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
# Indicates whether the card_creator configuration is active. You can deactivate or reactivate the card_creator configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
|
|
308
|
+
attr_reader :applied
|
|
309
|
+
# Capabilities that have been requested on the CardCreator Configuration.
|
|
310
|
+
attr_reader :capabilities
|
|
311
|
+
|
|
312
|
+
def self.inner_class_types
|
|
313
|
+
@inner_class_types = { capabilities: Capabilities }
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
def self.field_remappings
|
|
317
|
+
@field_remappings = {}
|
|
318
|
+
end
|
|
319
|
+
end
|
|
320
|
+
|
|
15
321
|
class Customer < ::Stripe::StripeObject
|
|
16
322
|
class AutomaticIndirectTax < ::Stripe::StripeObject
|
|
17
323
|
class Location < ::Stripe::StripeObject
|
|
@@ -1943,6 +2249,35 @@ module Stripe
|
|
|
1943
2249
|
class Recipient < ::Stripe::StripeObject
|
|
1944
2250
|
class Capabilities < ::Stripe::StripeObject
|
|
1945
2251
|
class BankAccounts < ::Stripe::StripeObject
|
|
2252
|
+
class Instant < ::Stripe::StripeObject
|
|
2253
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
2254
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2255
|
+
attr_reader :code
|
|
2256
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
2257
|
+
attr_reader :resolution
|
|
2258
|
+
|
|
2259
|
+
def self.inner_class_types
|
|
2260
|
+
@inner_class_types = {}
|
|
2261
|
+
end
|
|
2262
|
+
|
|
2263
|
+
def self.field_remappings
|
|
2264
|
+
@field_remappings = {}
|
|
2265
|
+
end
|
|
2266
|
+
end
|
|
2267
|
+
# The status of the Capability.
|
|
2268
|
+
attr_reader :status
|
|
2269
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2270
|
+
attr_reader :status_details
|
|
2271
|
+
|
|
2272
|
+
def self.inner_class_types
|
|
2273
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
def self.field_remappings
|
|
2277
|
+
@field_remappings = {}
|
|
2278
|
+
end
|
|
2279
|
+
end
|
|
2280
|
+
|
|
1946
2281
|
class Local < ::Stripe::StripeObject
|
|
1947
2282
|
class StatusDetail < ::Stripe::StripeObject
|
|
1948
2283
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
@@ -2000,13 +2335,15 @@ module Stripe
|
|
|
2000
2335
|
@field_remappings = {}
|
|
2001
2336
|
end
|
|
2002
2337
|
end
|
|
2338
|
+
# Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
|
|
2339
|
+
attr_reader :instant
|
|
2003
2340
|
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
2004
2341
|
attr_reader :local
|
|
2005
2342
|
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
2006
2343
|
attr_reader :wire
|
|
2007
2344
|
|
|
2008
2345
|
def self.inner_class_types
|
|
2009
|
-
@inner_class_types = { local: Local, wire: Wire }
|
|
2346
|
+
@inner_class_types = { instant: Instant, local: Local, wire: Wire }
|
|
2010
2347
|
end
|
|
2011
2348
|
|
|
2012
2349
|
def self.field_remappings
|
|
@@ -2043,6 +2380,35 @@ module Stripe
|
|
|
2043
2380
|
end
|
|
2044
2381
|
end
|
|
2045
2382
|
|
|
2383
|
+
class CryptoWallets < ::Stripe::StripeObject
|
|
2384
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
2385
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2386
|
+
attr_reader :code
|
|
2387
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
2388
|
+
attr_reader :resolution
|
|
2389
|
+
|
|
2390
|
+
def self.inner_class_types
|
|
2391
|
+
@inner_class_types = {}
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2394
|
+
def self.field_remappings
|
|
2395
|
+
@field_remappings = {}
|
|
2396
|
+
end
|
|
2397
|
+
end
|
|
2398
|
+
# The status of the Capability.
|
|
2399
|
+
attr_reader :status
|
|
2400
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2401
|
+
attr_reader :status_details
|
|
2402
|
+
|
|
2403
|
+
def self.inner_class_types
|
|
2404
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
2405
|
+
end
|
|
2406
|
+
|
|
2407
|
+
def self.field_remappings
|
|
2408
|
+
@field_remappings = {}
|
|
2409
|
+
end
|
|
2410
|
+
end
|
|
2411
|
+
|
|
2046
2412
|
class StripeBalance < ::Stripe::StripeObject
|
|
2047
2413
|
class Payouts < ::Stripe::StripeObject
|
|
2048
2414
|
class StatusDetail < ::Stripe::StripeObject
|
|
@@ -2118,6 +2484,8 @@ module Stripe
|
|
|
2118
2484
|
attr_reader :bank_accounts
|
|
2119
2485
|
# Enables this Account to receive OutboundPayments to a linked debit card.
|
|
2120
2486
|
attr_reader :cards
|
|
2487
|
+
# Enables this Account to receive OutboundPayments to a linked crypto wallet.
|
|
2488
|
+
attr_reader :crypto_wallets
|
|
2121
2489
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
2122
2490
|
attr_reader :stripe_balance
|
|
2123
2491
|
|
|
@@ -2125,6 +2493,7 @@ module Stripe
|
|
|
2125
2493
|
@inner_class_types = {
|
|
2126
2494
|
bank_accounts: BankAccounts,
|
|
2127
2495
|
cards: Cards,
|
|
2496
|
+
crypto_wallets: CryptoWallets,
|
|
2128
2497
|
stripe_balance: StripeBalance,
|
|
2129
2498
|
}
|
|
2130
2499
|
end
|
|
@@ -2198,11 +2567,42 @@ module Stripe
|
|
|
2198
2567
|
@field_remappings = {}
|
|
2199
2568
|
end
|
|
2200
2569
|
end
|
|
2570
|
+
|
|
2571
|
+
class CryptoWallets < ::Stripe::StripeObject
|
|
2572
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
2573
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2574
|
+
attr_reader :code
|
|
2575
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
2576
|
+
attr_reader :resolution
|
|
2577
|
+
|
|
2578
|
+
def self.inner_class_types
|
|
2579
|
+
@inner_class_types = {}
|
|
2580
|
+
end
|
|
2581
|
+
|
|
2582
|
+
def self.field_remappings
|
|
2583
|
+
@field_remappings = {}
|
|
2584
|
+
end
|
|
2585
|
+
end
|
|
2586
|
+
# The status of the Capability.
|
|
2587
|
+
attr_reader :status
|
|
2588
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2589
|
+
attr_reader :status_details
|
|
2590
|
+
|
|
2591
|
+
def self.inner_class_types
|
|
2592
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
2593
|
+
end
|
|
2594
|
+
|
|
2595
|
+
def self.field_remappings
|
|
2596
|
+
@field_remappings = {}
|
|
2597
|
+
end
|
|
2598
|
+
end
|
|
2201
2599
|
# Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
2202
2600
|
attr_reader :bank_accounts
|
|
2601
|
+
# Can provision a crypto wallet like financial address to credit a FinancialAccount.
|
|
2602
|
+
attr_reader :crypto_wallets
|
|
2203
2603
|
|
|
2204
2604
|
def self.inner_class_types
|
|
2205
|
-
@inner_class_types = { bank_accounts: BankAccounts }
|
|
2605
|
+
@inner_class_types = { bank_accounts: BankAccounts, crypto_wallets: CryptoWallets }
|
|
2206
2606
|
end
|
|
2207
2607
|
|
|
2208
2608
|
def self.field_remappings
|
|
@@ -2297,15 +2697,46 @@ module Stripe
|
|
|
2297
2697
|
@field_remappings = {}
|
|
2298
2698
|
end
|
|
2299
2699
|
end
|
|
2700
|
+
|
|
2701
|
+
class Usdc < ::Stripe::StripeObject
|
|
2702
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
2703
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2704
|
+
attr_reader :code
|
|
2705
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
2706
|
+
attr_reader :resolution
|
|
2707
|
+
|
|
2708
|
+
def self.inner_class_types
|
|
2709
|
+
@inner_class_types = {}
|
|
2710
|
+
end
|
|
2711
|
+
|
|
2712
|
+
def self.field_remappings
|
|
2713
|
+
@field_remappings = {}
|
|
2714
|
+
end
|
|
2715
|
+
end
|
|
2716
|
+
# The status of the Capability.
|
|
2717
|
+
attr_reader :status
|
|
2718
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2719
|
+
attr_reader :status_details
|
|
2720
|
+
|
|
2721
|
+
def self.inner_class_types
|
|
2722
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
2723
|
+
end
|
|
2724
|
+
|
|
2725
|
+
def self.field_remappings
|
|
2726
|
+
@field_remappings = {}
|
|
2727
|
+
end
|
|
2728
|
+
end
|
|
2300
2729
|
# Can hold storage-type funds on Stripe in EUR.
|
|
2301
2730
|
attr_reader :eur
|
|
2302
2731
|
# Can hold storage-type funds on Stripe in GBP.
|
|
2303
2732
|
attr_reader :gbp
|
|
2304
2733
|
# Can hold storage-type funds on Stripe in USD.
|
|
2305
2734
|
attr_reader :usd
|
|
2735
|
+
# Can hold storage-type funds on Stripe in USDC.
|
|
2736
|
+
attr_reader :usdc
|
|
2306
2737
|
|
|
2307
2738
|
def self.inner_class_types
|
|
2308
|
-
@inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd }
|
|
2739
|
+
@inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd, usdc: Usdc }
|
|
2309
2740
|
end
|
|
2310
2741
|
|
|
2311
2742
|
def self.field_remappings
|
|
@@ -2413,6 +2844,35 @@ module Stripe
|
|
|
2413
2844
|
end
|
|
2414
2845
|
end
|
|
2415
2846
|
|
|
2847
|
+
class CryptoWallets < ::Stripe::StripeObject
|
|
2848
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
2849
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2850
|
+
attr_reader :code
|
|
2851
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
2852
|
+
attr_reader :resolution
|
|
2853
|
+
|
|
2854
|
+
def self.inner_class_types
|
|
2855
|
+
@inner_class_types = {}
|
|
2856
|
+
end
|
|
2857
|
+
|
|
2858
|
+
def self.field_remappings
|
|
2859
|
+
@field_remappings = {}
|
|
2860
|
+
end
|
|
2861
|
+
end
|
|
2862
|
+
# The status of the Capability.
|
|
2863
|
+
attr_reader :status
|
|
2864
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2865
|
+
attr_reader :status_details
|
|
2866
|
+
|
|
2867
|
+
def self.inner_class_types
|
|
2868
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
2869
|
+
end
|
|
2870
|
+
|
|
2871
|
+
def self.field_remappings
|
|
2872
|
+
@field_remappings = {}
|
|
2873
|
+
end
|
|
2874
|
+
end
|
|
2875
|
+
|
|
2416
2876
|
class FinancialAccounts < ::Stripe::StripeObject
|
|
2417
2877
|
class StatusDetail < ::Stripe::StripeObject
|
|
2418
2878
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
@@ -2445,6 +2905,8 @@ module Stripe
|
|
|
2445
2905
|
attr_reader :bank_accounts
|
|
2446
2906
|
# Can send funds from a FinancialAccount to a debit card owned by a different entity.
|
|
2447
2907
|
attr_reader :cards
|
|
2908
|
+
# Can send funds from a FinancialAccount to a crypto wallet owned by a different entity.
|
|
2909
|
+
attr_reader :crypto_wallets
|
|
2448
2910
|
# Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
|
|
2449
2911
|
attr_reader :financial_accounts
|
|
2450
2912
|
|
|
@@ -2452,6 +2914,7 @@ module Stripe
|
|
|
2452
2914
|
@inner_class_types = {
|
|
2453
2915
|
bank_accounts: BankAccounts,
|
|
2454
2916
|
cards: Cards,
|
|
2917
|
+
crypto_wallets: CryptoWallets,
|
|
2455
2918
|
financial_accounts: FinancialAccounts,
|
|
2456
2919
|
}
|
|
2457
2920
|
end
|
|
@@ -2491,6 +2954,35 @@ module Stripe
|
|
|
2491
2954
|
end
|
|
2492
2955
|
end
|
|
2493
2956
|
|
|
2957
|
+
class CryptoWallets < ::Stripe::StripeObject
|
|
2958
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
2959
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2960
|
+
attr_reader :code
|
|
2961
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
2962
|
+
attr_reader :resolution
|
|
2963
|
+
|
|
2964
|
+
def self.inner_class_types
|
|
2965
|
+
@inner_class_types = {}
|
|
2966
|
+
end
|
|
2967
|
+
|
|
2968
|
+
def self.field_remappings
|
|
2969
|
+
@field_remappings = {}
|
|
2970
|
+
end
|
|
2971
|
+
end
|
|
2972
|
+
# The status of the Capability.
|
|
2973
|
+
attr_reader :status
|
|
2974
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2975
|
+
attr_reader :status_details
|
|
2976
|
+
|
|
2977
|
+
def self.inner_class_types
|
|
2978
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
2979
|
+
end
|
|
2980
|
+
|
|
2981
|
+
def self.field_remappings
|
|
2982
|
+
@field_remappings = {}
|
|
2983
|
+
end
|
|
2984
|
+
end
|
|
2985
|
+
|
|
2494
2986
|
class FinancialAccounts < ::Stripe::StripeObject
|
|
2495
2987
|
class StatusDetail < ::Stripe::StripeObject
|
|
2496
2988
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
@@ -2521,12 +3013,15 @@ module Stripe
|
|
|
2521
3013
|
end
|
|
2522
3014
|
# Can send funds from a FinancialAccount to a bank account belonging to the same user.
|
|
2523
3015
|
attr_reader :bank_accounts
|
|
3016
|
+
# Can send funds from a FinancialAccount to a crypto wallet belonging to the same user.
|
|
3017
|
+
attr_reader :crypto_wallets
|
|
2524
3018
|
# Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
|
|
2525
3019
|
attr_reader :financial_accounts
|
|
2526
3020
|
|
|
2527
3021
|
def self.inner_class_types
|
|
2528
3022
|
@inner_class_types = {
|
|
2529
3023
|
bank_accounts: BankAccounts,
|
|
3024
|
+
crypto_wallets: CryptoWallets,
|
|
2530
3025
|
financial_accounts: FinancialAccounts,
|
|
2531
3026
|
}
|
|
2532
3027
|
end
|
|
@@ -2560,19 +3055,63 @@ module Stripe
|
|
|
2560
3055
|
@field_remappings = {}
|
|
2561
3056
|
end
|
|
2562
3057
|
end
|
|
3058
|
+
|
|
3059
|
+
class RegulatedActivity < ::Stripe::StripeObject
|
|
3060
|
+
# A detailed description of the regulated activities the business is licensed to conduct.
|
|
3061
|
+
attr_reader :description
|
|
3062
|
+
# The license number or registration number assigned by the business's primary regulator.
|
|
3063
|
+
attr_reader :license_number
|
|
3064
|
+
# The country of the primary regulatory authority that oversees the business's regulated activities.
|
|
3065
|
+
attr_reader :primary_regulatory_authority_country
|
|
3066
|
+
# The name of the primary regulatory authority that oversees the business's regulated activities.
|
|
3067
|
+
attr_reader :primary_regulatory_authority_name
|
|
3068
|
+
|
|
3069
|
+
def self.inner_class_types
|
|
3070
|
+
@inner_class_types = {}
|
|
3071
|
+
end
|
|
3072
|
+
|
|
3073
|
+
def self.field_remappings
|
|
3074
|
+
@field_remappings = {}
|
|
3075
|
+
end
|
|
3076
|
+
end
|
|
2563
3077
|
# Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
|
|
2564
3078
|
attr_reader :applied
|
|
2565
3079
|
# Capabilities that have been requested on the Storer Configuration.
|
|
2566
3080
|
attr_reader :capabilities
|
|
3081
|
+
# List of high-risk activities the business is involved in.
|
|
3082
|
+
attr_reader :high_risk_activities
|
|
3083
|
+
# Description of the high-risk activities the business offers.
|
|
3084
|
+
attr_reader :high_risk_activities_description
|
|
3085
|
+
# Description of the money services offered by the business.
|
|
3086
|
+
attr_reader :money_services_description
|
|
3087
|
+
# Indicates whether the business operates in any prohibited countries.
|
|
3088
|
+
attr_reader :operates_in_prohibited_countries
|
|
3089
|
+
# Does the business participate in any regulated activity.
|
|
3090
|
+
attr_reader :participates_in_regulated_activity
|
|
3091
|
+
# Primary purpose of the stored funds.
|
|
3092
|
+
attr_reader :purpose_of_funds
|
|
3093
|
+
# Description of the purpose of the stored funds.
|
|
3094
|
+
attr_reader :purpose_of_funds_description
|
|
3095
|
+
# Details of the regulated activity if the business participates in one.
|
|
3096
|
+
attr_reader :regulated_activity
|
|
3097
|
+
# The source of funds for the business, e.g. profits, income, venture capital, etc.
|
|
3098
|
+
attr_reader :source_of_funds
|
|
3099
|
+
# Description of the source of funds for the business' account.
|
|
3100
|
+
attr_reader :source_of_funds_description
|
|
2567
3101
|
|
|
2568
3102
|
def self.inner_class_types
|
|
2569
|
-
@inner_class_types = {
|
|
3103
|
+
@inner_class_types = {
|
|
3104
|
+
capabilities: Capabilities,
|
|
3105
|
+
regulated_activity: RegulatedActivity,
|
|
3106
|
+
}
|
|
2570
3107
|
end
|
|
2571
3108
|
|
|
2572
3109
|
def self.field_remappings
|
|
2573
3110
|
@field_remappings = {}
|
|
2574
3111
|
end
|
|
2575
3112
|
end
|
|
3113
|
+
# The CardCreator Configuration allows the Account to create and issue cards to users.
|
|
3114
|
+
attr_reader :card_creator
|
|
2576
3115
|
# The Customer Configuration allows the Account to be used in inbound payment flows.
|
|
2577
3116
|
attr_reader :customer
|
|
2578
3117
|
# Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
|
|
@@ -2584,6 +3123,7 @@ module Stripe
|
|
|
2584
3123
|
|
|
2585
3124
|
def self.inner_class_types
|
|
2586
3125
|
@inner_class_types = {
|
|
3126
|
+
card_creator: CardCreator,
|
|
2587
3127
|
customer: Customer,
|
|
2588
3128
|
merchant: Merchant,
|
|
2589
3129
|
recipient: Recipient,
|
|
@@ -2911,6 +3451,523 @@ module Stripe
|
|
|
2911
3451
|
end
|
|
2912
3452
|
end
|
|
2913
3453
|
|
|
3454
|
+
class CardCreator < ::Stripe::StripeObject
|
|
3455
|
+
class Commercial < ::Stripe::StripeObject
|
|
3456
|
+
class AccountHolder < ::Stripe::StripeObject
|
|
3457
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3458
|
+
attr_reader :date
|
|
3459
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3460
|
+
attr_reader :ip
|
|
3461
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3462
|
+
attr_reader :url
|
|
3463
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3464
|
+
attr_reader :user_agent
|
|
3465
|
+
|
|
3466
|
+
def self.inner_class_types
|
|
3467
|
+
@inner_class_types = {}
|
|
3468
|
+
end
|
|
3469
|
+
|
|
3470
|
+
def self.field_remappings
|
|
3471
|
+
@field_remappings = {}
|
|
3472
|
+
end
|
|
3473
|
+
end
|
|
3474
|
+
|
|
3475
|
+
class Celtic < ::Stripe::StripeObject
|
|
3476
|
+
class ApplePay < ::Stripe::StripeObject
|
|
3477
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3478
|
+
attr_reader :date
|
|
3479
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3480
|
+
attr_reader :ip
|
|
3481
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3482
|
+
attr_reader :url
|
|
3483
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3484
|
+
attr_reader :user_agent
|
|
3485
|
+
|
|
3486
|
+
def self.inner_class_types
|
|
3487
|
+
@inner_class_types = {}
|
|
3488
|
+
end
|
|
3489
|
+
|
|
3490
|
+
def self.field_remappings
|
|
3491
|
+
@field_remappings = {}
|
|
3492
|
+
end
|
|
3493
|
+
end
|
|
3494
|
+
|
|
3495
|
+
class ChargeCard < ::Stripe::StripeObject
|
|
3496
|
+
class BankTerms < ::Stripe::StripeObject
|
|
3497
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3498
|
+
attr_reader :date
|
|
3499
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3500
|
+
attr_reader :ip
|
|
3501
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3502
|
+
attr_reader :url
|
|
3503
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3504
|
+
attr_reader :user_agent
|
|
3505
|
+
|
|
3506
|
+
def self.inner_class_types
|
|
3507
|
+
@inner_class_types = {}
|
|
3508
|
+
end
|
|
3509
|
+
|
|
3510
|
+
def self.field_remappings
|
|
3511
|
+
@field_remappings = {}
|
|
3512
|
+
end
|
|
3513
|
+
end
|
|
3514
|
+
|
|
3515
|
+
class Platform < ::Stripe::StripeObject
|
|
3516
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3517
|
+
attr_reader :date
|
|
3518
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3519
|
+
attr_reader :ip
|
|
3520
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3521
|
+
attr_reader :url
|
|
3522
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3523
|
+
attr_reader :user_agent
|
|
3524
|
+
|
|
3525
|
+
def self.inner_class_types
|
|
3526
|
+
@inner_class_types = {}
|
|
3527
|
+
end
|
|
3528
|
+
|
|
3529
|
+
def self.field_remappings
|
|
3530
|
+
@field_remappings = {}
|
|
3531
|
+
end
|
|
3532
|
+
end
|
|
3533
|
+
# Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
|
|
3534
|
+
attr_reader :bank_terms
|
|
3535
|
+
# Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
|
|
3536
|
+
attr_reader :platform
|
|
3537
|
+
|
|
3538
|
+
def self.inner_class_types
|
|
3539
|
+
@inner_class_types = { bank_terms: BankTerms, platform: Platform }
|
|
3540
|
+
end
|
|
3541
|
+
|
|
3542
|
+
def self.field_remappings
|
|
3543
|
+
@field_remappings = {}
|
|
3544
|
+
end
|
|
3545
|
+
end
|
|
3546
|
+
|
|
3547
|
+
class SpendCard < ::Stripe::StripeObject
|
|
3548
|
+
class BankTerms < ::Stripe::StripeObject
|
|
3549
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3550
|
+
attr_reader :date
|
|
3551
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3552
|
+
attr_reader :ip
|
|
3553
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3554
|
+
attr_reader :url
|
|
3555
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3556
|
+
attr_reader :user_agent
|
|
3557
|
+
|
|
3558
|
+
def self.inner_class_types
|
|
3559
|
+
@inner_class_types = {}
|
|
3560
|
+
end
|
|
3561
|
+
|
|
3562
|
+
def self.field_remappings
|
|
3563
|
+
@field_remappings = {}
|
|
3564
|
+
end
|
|
3565
|
+
end
|
|
3566
|
+
|
|
3567
|
+
class FinancingDisclosures < ::Stripe::StripeObject
|
|
3568
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3569
|
+
attr_reader :date
|
|
3570
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3571
|
+
attr_reader :ip
|
|
3572
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3573
|
+
attr_reader :url
|
|
3574
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3575
|
+
attr_reader :user_agent
|
|
3576
|
+
|
|
3577
|
+
def self.inner_class_types
|
|
3578
|
+
@inner_class_types = {}
|
|
3579
|
+
end
|
|
3580
|
+
|
|
3581
|
+
def self.field_remappings
|
|
3582
|
+
@field_remappings = {}
|
|
3583
|
+
end
|
|
3584
|
+
end
|
|
3585
|
+
|
|
3586
|
+
class Platform < ::Stripe::StripeObject
|
|
3587
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3588
|
+
attr_reader :date
|
|
3589
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3590
|
+
attr_reader :ip
|
|
3591
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3592
|
+
attr_reader :url
|
|
3593
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3594
|
+
attr_reader :user_agent
|
|
3595
|
+
|
|
3596
|
+
def self.inner_class_types
|
|
3597
|
+
@inner_class_types = {}
|
|
3598
|
+
end
|
|
3599
|
+
|
|
3600
|
+
def self.field_remappings
|
|
3601
|
+
@field_remappings = {}
|
|
3602
|
+
end
|
|
3603
|
+
end
|
|
3604
|
+
# Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
3605
|
+
attr_reader :bank_terms
|
|
3606
|
+
# Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
3607
|
+
attr_reader :financing_disclosures
|
|
3608
|
+
# Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
3609
|
+
attr_reader :platform
|
|
3610
|
+
|
|
3611
|
+
def self.inner_class_types
|
|
3612
|
+
@inner_class_types = {
|
|
3613
|
+
bank_terms: BankTerms,
|
|
3614
|
+
financing_disclosures: FinancingDisclosures,
|
|
3615
|
+
platform: Platform,
|
|
3616
|
+
}
|
|
3617
|
+
end
|
|
3618
|
+
|
|
3619
|
+
def self.field_remappings
|
|
3620
|
+
@field_remappings = {}
|
|
3621
|
+
end
|
|
3622
|
+
end
|
|
3623
|
+
# Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
|
|
3624
|
+
attr_reader :apple_pay
|
|
3625
|
+
# Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
|
|
3626
|
+
attr_reader :charge_card
|
|
3627
|
+
# Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
|
|
3628
|
+
attr_reader :spend_card
|
|
3629
|
+
|
|
3630
|
+
def self.inner_class_types
|
|
3631
|
+
@inner_class_types = {
|
|
3632
|
+
apple_pay: ApplePay,
|
|
3633
|
+
charge_card: ChargeCard,
|
|
3634
|
+
spend_card: SpendCard,
|
|
3635
|
+
}
|
|
3636
|
+
end
|
|
3637
|
+
|
|
3638
|
+
def self.field_remappings
|
|
3639
|
+
@field_remappings = {}
|
|
3640
|
+
end
|
|
3641
|
+
end
|
|
3642
|
+
|
|
3643
|
+
class CrossRiverBank < ::Stripe::StripeObject
|
|
3644
|
+
class ApplePay < ::Stripe::StripeObject
|
|
3645
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3646
|
+
attr_reader :date
|
|
3647
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3648
|
+
attr_reader :ip
|
|
3649
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3650
|
+
attr_reader :url
|
|
3651
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3652
|
+
attr_reader :user_agent
|
|
3653
|
+
|
|
3654
|
+
def self.inner_class_types
|
|
3655
|
+
@inner_class_types = {}
|
|
3656
|
+
end
|
|
3657
|
+
|
|
3658
|
+
def self.field_remappings
|
|
3659
|
+
@field_remappings = {}
|
|
3660
|
+
end
|
|
3661
|
+
end
|
|
3662
|
+
|
|
3663
|
+
class ChargeCard < ::Stripe::StripeObject
|
|
3664
|
+
class BankTerms < ::Stripe::StripeObject
|
|
3665
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3666
|
+
attr_reader :date
|
|
3667
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3668
|
+
attr_reader :ip
|
|
3669
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3670
|
+
attr_reader :url
|
|
3671
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3672
|
+
attr_reader :user_agent
|
|
3673
|
+
|
|
3674
|
+
def self.inner_class_types
|
|
3675
|
+
@inner_class_types = {}
|
|
3676
|
+
end
|
|
3677
|
+
|
|
3678
|
+
def self.field_remappings
|
|
3679
|
+
@field_remappings = {}
|
|
3680
|
+
end
|
|
3681
|
+
end
|
|
3682
|
+
|
|
3683
|
+
class FinancingDisclosures < ::Stripe::StripeObject
|
|
3684
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3685
|
+
attr_reader :date
|
|
3686
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3687
|
+
attr_reader :ip
|
|
3688
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3689
|
+
attr_reader :url
|
|
3690
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3691
|
+
attr_reader :user_agent
|
|
3692
|
+
|
|
3693
|
+
def self.inner_class_types
|
|
3694
|
+
@inner_class_types = {}
|
|
3695
|
+
end
|
|
3696
|
+
|
|
3697
|
+
def self.field_remappings
|
|
3698
|
+
@field_remappings = {}
|
|
3699
|
+
end
|
|
3700
|
+
end
|
|
3701
|
+
|
|
3702
|
+
class Platform < ::Stripe::StripeObject
|
|
3703
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3704
|
+
attr_reader :date
|
|
3705
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3706
|
+
attr_reader :ip
|
|
3707
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3708
|
+
attr_reader :url
|
|
3709
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3710
|
+
attr_reader :user_agent
|
|
3711
|
+
|
|
3712
|
+
def self.inner_class_types
|
|
3713
|
+
@inner_class_types = {}
|
|
3714
|
+
end
|
|
3715
|
+
|
|
3716
|
+
def self.field_remappings
|
|
3717
|
+
@field_remappings = {}
|
|
3718
|
+
end
|
|
3719
|
+
end
|
|
3720
|
+
# Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
3721
|
+
attr_reader :bank_terms
|
|
3722
|
+
# Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
3723
|
+
attr_reader :financing_disclosures
|
|
3724
|
+
# Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
3725
|
+
attr_reader :platform
|
|
3726
|
+
|
|
3727
|
+
def self.inner_class_types
|
|
3728
|
+
@inner_class_types = {
|
|
3729
|
+
bank_terms: BankTerms,
|
|
3730
|
+
financing_disclosures: FinancingDisclosures,
|
|
3731
|
+
platform: Platform,
|
|
3732
|
+
}
|
|
3733
|
+
end
|
|
3734
|
+
|
|
3735
|
+
def self.field_remappings
|
|
3736
|
+
@field_remappings = {}
|
|
3737
|
+
end
|
|
3738
|
+
end
|
|
3739
|
+
|
|
3740
|
+
class SpendCard < ::Stripe::StripeObject
|
|
3741
|
+
class BankTerms < ::Stripe::StripeObject
|
|
3742
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3743
|
+
attr_reader :date
|
|
3744
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3745
|
+
attr_reader :ip
|
|
3746
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3747
|
+
attr_reader :url
|
|
3748
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3749
|
+
attr_reader :user_agent
|
|
3750
|
+
|
|
3751
|
+
def self.inner_class_types
|
|
3752
|
+
@inner_class_types = {}
|
|
3753
|
+
end
|
|
3754
|
+
|
|
3755
|
+
def self.field_remappings
|
|
3756
|
+
@field_remappings = {}
|
|
3757
|
+
end
|
|
3758
|
+
end
|
|
3759
|
+
|
|
3760
|
+
class FinancingDisclosures < ::Stripe::StripeObject
|
|
3761
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3762
|
+
attr_reader :date
|
|
3763
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3764
|
+
attr_reader :ip
|
|
3765
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3766
|
+
attr_reader :url
|
|
3767
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3768
|
+
attr_reader :user_agent
|
|
3769
|
+
|
|
3770
|
+
def self.inner_class_types
|
|
3771
|
+
@inner_class_types = {}
|
|
3772
|
+
end
|
|
3773
|
+
|
|
3774
|
+
def self.field_remappings
|
|
3775
|
+
@field_remappings = {}
|
|
3776
|
+
end
|
|
3777
|
+
end
|
|
3778
|
+
# Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
3779
|
+
attr_reader :bank_terms
|
|
3780
|
+
# Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
3781
|
+
attr_reader :financing_disclosures
|
|
3782
|
+
|
|
3783
|
+
def self.inner_class_types
|
|
3784
|
+
@inner_class_types = {
|
|
3785
|
+
bank_terms: BankTerms,
|
|
3786
|
+
financing_disclosures: FinancingDisclosures,
|
|
3787
|
+
}
|
|
3788
|
+
end
|
|
3789
|
+
|
|
3790
|
+
def self.field_remappings
|
|
3791
|
+
@field_remappings = {}
|
|
3792
|
+
end
|
|
3793
|
+
end
|
|
3794
|
+
# Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
|
|
3795
|
+
attr_reader :apple_pay
|
|
3796
|
+
# Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
|
|
3797
|
+
attr_reader :charge_card
|
|
3798
|
+
# Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
|
|
3799
|
+
attr_reader :spend_card
|
|
3800
|
+
|
|
3801
|
+
def self.inner_class_types
|
|
3802
|
+
@inner_class_types = {
|
|
3803
|
+
apple_pay: ApplePay,
|
|
3804
|
+
charge_card: ChargeCard,
|
|
3805
|
+
spend_card: SpendCard,
|
|
3806
|
+
}
|
|
3807
|
+
end
|
|
3808
|
+
|
|
3809
|
+
def self.field_remappings
|
|
3810
|
+
@field_remappings = {}
|
|
3811
|
+
end
|
|
3812
|
+
end
|
|
3813
|
+
|
|
3814
|
+
class GlobalAccountHolder < ::Stripe::StripeObject
|
|
3815
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3816
|
+
attr_reader :date
|
|
3817
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3818
|
+
attr_reader :ip
|
|
3819
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3820
|
+
attr_reader :url
|
|
3821
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3822
|
+
attr_reader :user_agent
|
|
3823
|
+
|
|
3824
|
+
def self.inner_class_types
|
|
3825
|
+
@inner_class_types = {}
|
|
3826
|
+
end
|
|
3827
|
+
|
|
3828
|
+
def self.field_remappings
|
|
3829
|
+
@field_remappings = {}
|
|
3830
|
+
end
|
|
3831
|
+
end
|
|
3832
|
+
|
|
3833
|
+
class Lead < ::Stripe::StripeObject
|
|
3834
|
+
class ApplePay < ::Stripe::StripeObject
|
|
3835
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3836
|
+
attr_reader :date
|
|
3837
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3838
|
+
attr_reader :ip
|
|
3839
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3840
|
+
attr_reader :url
|
|
3841
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3842
|
+
attr_reader :user_agent
|
|
3843
|
+
|
|
3844
|
+
def self.inner_class_types
|
|
3845
|
+
@inner_class_types = {}
|
|
3846
|
+
end
|
|
3847
|
+
|
|
3848
|
+
def self.field_remappings
|
|
3849
|
+
@field_remappings = {}
|
|
3850
|
+
end
|
|
3851
|
+
end
|
|
3852
|
+
|
|
3853
|
+
class PrepaidCard < ::Stripe::StripeObject
|
|
3854
|
+
class BankTerms < ::Stripe::StripeObject
|
|
3855
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3856
|
+
attr_reader :date
|
|
3857
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3858
|
+
attr_reader :ip
|
|
3859
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3860
|
+
attr_reader :url
|
|
3861
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3862
|
+
attr_reader :user_agent
|
|
3863
|
+
|
|
3864
|
+
def self.inner_class_types
|
|
3865
|
+
@inner_class_types = {}
|
|
3866
|
+
end
|
|
3867
|
+
|
|
3868
|
+
def self.field_remappings
|
|
3869
|
+
@field_remappings = {}
|
|
3870
|
+
end
|
|
3871
|
+
end
|
|
3872
|
+
|
|
3873
|
+
class Platform < ::Stripe::StripeObject
|
|
3874
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3875
|
+
attr_reader :date
|
|
3876
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3877
|
+
attr_reader :ip
|
|
3878
|
+
# The URL to the service agreement the Account's representative accepted.
|
|
3879
|
+
attr_reader :url
|
|
3880
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3881
|
+
attr_reader :user_agent
|
|
3882
|
+
|
|
3883
|
+
def self.inner_class_types
|
|
3884
|
+
@inner_class_types = {}
|
|
3885
|
+
end
|
|
3886
|
+
|
|
3887
|
+
def self.field_remappings
|
|
3888
|
+
@field_remappings = {}
|
|
3889
|
+
end
|
|
3890
|
+
end
|
|
3891
|
+
# Bank terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
|
|
3892
|
+
attr_reader :bank_terms
|
|
3893
|
+
# Platform terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
|
|
3894
|
+
attr_reader :platform
|
|
3895
|
+
|
|
3896
|
+
def self.inner_class_types
|
|
3897
|
+
@inner_class_types = { bank_terms: BankTerms, platform: Platform }
|
|
3898
|
+
end
|
|
3899
|
+
|
|
3900
|
+
def self.field_remappings
|
|
3901
|
+
@field_remappings = {}
|
|
3902
|
+
end
|
|
3903
|
+
end
|
|
3904
|
+
# Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
|
|
3905
|
+
attr_reader :apple_pay
|
|
3906
|
+
# Terms of service acceptances for commercial issuing Global prepaid cards with Lead as BIN sponsor.
|
|
3907
|
+
attr_reader :prepaid_card
|
|
3908
|
+
|
|
3909
|
+
def self.inner_class_types
|
|
3910
|
+
@inner_class_types = { apple_pay: ApplePay, prepaid_card: PrepaidCard }
|
|
3911
|
+
end
|
|
3912
|
+
|
|
3913
|
+
def self.field_remappings
|
|
3914
|
+
@field_remappings = {}
|
|
3915
|
+
end
|
|
3916
|
+
end
|
|
3917
|
+
# Terms of service acceptances for Stripe commercial card issuing.
|
|
3918
|
+
attr_reader :account_holder
|
|
3919
|
+
# Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
|
|
3920
|
+
attr_reader :celtic
|
|
3921
|
+
# Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
|
|
3922
|
+
attr_reader :cross_river_bank
|
|
3923
|
+
# Terms of service acceptances for Stripe commercial card Global issuing.
|
|
3924
|
+
attr_reader :global_account_holder
|
|
3925
|
+
# Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
|
|
3926
|
+
attr_reader :lead
|
|
3927
|
+
|
|
3928
|
+
def self.inner_class_types
|
|
3929
|
+
@inner_class_types = {
|
|
3930
|
+
account_holder: AccountHolder,
|
|
3931
|
+
celtic: Celtic,
|
|
3932
|
+
cross_river_bank: CrossRiverBank,
|
|
3933
|
+
global_account_holder: GlobalAccountHolder,
|
|
3934
|
+
lead: Lead,
|
|
3935
|
+
}
|
|
3936
|
+
end
|
|
3937
|
+
|
|
3938
|
+
def self.field_remappings
|
|
3939
|
+
@field_remappings = {}
|
|
3940
|
+
end
|
|
3941
|
+
end
|
|
3942
|
+
# Terms of service acceptances to create cards for commercial issuing use cases.
|
|
3943
|
+
attr_reader :commercial
|
|
3944
|
+
|
|
3945
|
+
def self.inner_class_types
|
|
3946
|
+
@inner_class_types = { commercial: Commercial }
|
|
3947
|
+
end
|
|
3948
|
+
|
|
3949
|
+
def self.field_remappings
|
|
3950
|
+
@field_remappings = {}
|
|
3951
|
+
end
|
|
3952
|
+
end
|
|
3953
|
+
|
|
3954
|
+
class CryptoStorer < ::Stripe::StripeObject
|
|
3955
|
+
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3956
|
+
attr_reader :date
|
|
3957
|
+
# The IP address from which the Account's representative accepted the terms of service.
|
|
3958
|
+
attr_reader :ip
|
|
3959
|
+
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3960
|
+
attr_reader :user_agent
|
|
3961
|
+
|
|
3962
|
+
def self.inner_class_types
|
|
3963
|
+
@inner_class_types = {}
|
|
3964
|
+
end
|
|
3965
|
+
|
|
3966
|
+
def self.field_remappings
|
|
3967
|
+
@field_remappings = {}
|
|
3968
|
+
end
|
|
3969
|
+
end
|
|
3970
|
+
|
|
2914
3971
|
class Storer < ::Stripe::StripeObject
|
|
2915
3972
|
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
2916
3973
|
attr_reader :date
|
|
@@ -2929,11 +3986,20 @@ module Stripe
|
|
|
2929
3986
|
end
|
|
2930
3987
|
# Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
2931
3988
|
attr_reader :account
|
|
3989
|
+
# Details on the Account's acceptance of Issuing-specific terms of service.
|
|
3990
|
+
attr_reader :card_creator
|
|
3991
|
+
# Details on the Account's acceptance of Crypto-storer-specific terms of service.
|
|
3992
|
+
attr_reader :crypto_storer
|
|
2932
3993
|
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
2933
3994
|
attr_reader :storer
|
|
2934
3995
|
|
|
2935
3996
|
def self.inner_class_types
|
|
2936
|
-
@inner_class_types = {
|
|
3997
|
+
@inner_class_types = {
|
|
3998
|
+
account: Account,
|
|
3999
|
+
card_creator: CardCreator,
|
|
4000
|
+
crypto_storer: CryptoStorer,
|
|
4001
|
+
storer: Storer,
|
|
4002
|
+
}
|
|
2937
4003
|
end
|
|
2938
4004
|
|
|
2939
4005
|
def self.field_remappings
|
|
@@ -3375,6 +4441,8 @@ module Stripe
|
|
|
3375
4441
|
attr_reader :address
|
|
3376
4442
|
# The business gross annual revenue for its preceding fiscal year.
|
|
3377
4443
|
attr_reader :annual_revenue
|
|
4444
|
+
# A detailed description of the business's compliance and anti-money laundering controls and practices.
|
|
4445
|
+
attr_reader :compliance_screening_description
|
|
3378
4446
|
# Documents that may be submitted to satisfy various informational requests.
|
|
3379
4447
|
attr_reader :documents
|
|
3380
4448
|
# Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|