stripe 18.0.0 → 18.1.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +209 -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_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_health_event_generation_failure_resolved_event.rb +78 -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_transaction_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +54 -0
- data/lib/stripe/params/account_create_params.rb +317 -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 +279 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +65 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +4 -1
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_create_params.rb +4 -0
- data/lib/stripe/params/billing/credit_grant_list_params.rb +4 -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 +1648 -0
- data/lib/stripe/params/charge_update_params.rb +1648 -0
- data/lib/stripe/params/checkout/session_create_params.rb +193 -3
- 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/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/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 +4 -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 +2061 -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 +2065 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1627 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3134 -100
- data/lib/stripe/params/payment_intent_create_params.rb +3126 -84
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +21 -0
- 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 +3158 -85
- data/lib/stripe/params/payment_method_attach_params.rb +4 -1
- 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_list_params.rb +8 -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 +225 -3
- data/lib/stripe/params/setup_intent_create_params.rb +231 -3
- data/lib/stripe/params/setup_intent_list_params.rb +4 -0
- data/lib/stripe/params/setup_intent_update_params.rb +231 -3
- 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/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/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 +4 -0
- 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 +10 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +253 -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 +75 -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/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/core/account_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2341 -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_token_create_params.rb +1001 -0
- data/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2387 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +497 -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_token_create_params.rb +487 -0
- data/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +497 -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 +20 -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 +98 -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 +85 -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 +77 -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/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/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.rb +161 -0
- data/lib/stripe/resources/account.rb +184 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +38 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_grant.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 +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +237 -1
- data/lib/stripe/resources/checkout/session.rb +154 -4
- data/lib/stripe/resources/confirmation_token.rb +155 -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/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/verification_session.rb +2 -0
- data/lib/stripe/resources/invoice.rb +152 -1
- data/lib/stripe/resources/invoice_item.rb +4 -0
- data/lib/stripe/resources/invoice_line_item.rb +40 -0
- 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 +749 -4
- data/lib/stripe/resources/payment_method.rb +157 -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 +132 -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/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/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +2 -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 +609 -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/profile.rb +46 -0
- data/lib/stripe/resources/v2/core/account.rb +4209 -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/account_person_token.rb +37 -0
- data/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/lib/stripe/resources/v2/core/event.rb +2 -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 +217 -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 +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +109 -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 +228 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -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.rb +105 -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/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/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/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/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +8 -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/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing_service.rb +5 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +21 -0
- data/lib/stripe/services/v2/core/account_service.rb +77 -0
- data/lib/stripe/services/v2/core/account_token_service.rb +32 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +34 -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/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 +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2_services.rb +3 -1
- data/lib/stripe/services.rb +56 -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 +156300 -79954
- metadata +325 -3
|
@@ -316,6 +316,8 @@ module Stripe
|
|
|
316
316
|
class Card < ::Stripe::StripeObject
|
|
317
317
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
318
318
|
attr_reader :brand
|
|
319
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
320
|
+
attr_reader :brand_product
|
|
319
321
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
320
322
|
attr_reader :country
|
|
321
323
|
# Two-digit number representing the card's expiration month.
|
|
@@ -486,6 +488,19 @@ module Stripe
|
|
|
486
488
|
end
|
|
487
489
|
end
|
|
488
490
|
|
|
491
|
+
class DecrementalAuthorization < ::Stripe::StripeObject
|
|
492
|
+
# Indicates whether or not the decremental authorization feature is supported.
|
|
493
|
+
attr_reader :status
|
|
494
|
+
|
|
495
|
+
def self.inner_class_types
|
|
496
|
+
@inner_class_types = {}
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
def self.field_remappings
|
|
500
|
+
@field_remappings = {}
|
|
501
|
+
end
|
|
502
|
+
end
|
|
503
|
+
|
|
489
504
|
class ExtendedAuthorization < ::Stripe::StripeObject
|
|
490
505
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
491
506
|
attr_reader :status
|
|
@@ -583,6 +598,19 @@ module Stripe
|
|
|
583
598
|
end
|
|
584
599
|
end
|
|
585
600
|
|
|
601
|
+
class PartialAuthorization < ::Stripe::StripeObject
|
|
602
|
+
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
603
|
+
attr_reader :status
|
|
604
|
+
|
|
605
|
+
def self.inner_class_types
|
|
606
|
+
@inner_class_types = {}
|
|
607
|
+
end
|
|
608
|
+
|
|
609
|
+
def self.field_remappings
|
|
610
|
+
@field_remappings = {}
|
|
611
|
+
end
|
|
612
|
+
end
|
|
613
|
+
|
|
586
614
|
class ThreeDSecure < ::Stripe::StripeObject
|
|
587
615
|
# For authenticated transactions: how the customer was authenticated by
|
|
588
616
|
# the issuing bank.
|
|
@@ -836,6 +864,8 @@ module Stripe
|
|
|
836
864
|
end
|
|
837
865
|
# The authorized amount.
|
|
838
866
|
attr_reader :amount_authorized
|
|
867
|
+
# The latest amount intended to be authorized by this charge.
|
|
868
|
+
attr_reader :amount_requested
|
|
839
869
|
# Authorization code on the charge.
|
|
840
870
|
attr_reader :authorization_code
|
|
841
871
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
@@ -846,6 +876,8 @@ module Stripe
|
|
|
846
876
|
attr_reader :checks
|
|
847
877
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
848
878
|
attr_reader :country
|
|
879
|
+
# Attribute for field decremental_authorization
|
|
880
|
+
attr_reader :decremental_authorization
|
|
849
881
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
850
882
|
attr_reader :description
|
|
851
883
|
# Two-digit number representing the card's expiration month.
|
|
@@ -886,6 +918,8 @@ module Stripe
|
|
|
886
918
|
attr_reader :network_transaction_id
|
|
887
919
|
# Attribute for field overcapture
|
|
888
920
|
attr_reader :overcapture
|
|
921
|
+
# Attribute for field partial_authorization
|
|
922
|
+
attr_reader :partial_authorization
|
|
889
923
|
# Status of a card based on the card issuer.
|
|
890
924
|
attr_reader :regulated_status
|
|
891
925
|
# Populated if this transaction used 3D Secure authentication.
|
|
@@ -896,12 +930,14 @@ module Stripe
|
|
|
896
930
|
def self.inner_class_types
|
|
897
931
|
@inner_class_types = {
|
|
898
932
|
checks: Checks,
|
|
933
|
+
decremental_authorization: DecrementalAuthorization,
|
|
899
934
|
extended_authorization: ExtendedAuthorization,
|
|
900
935
|
incremental_authorization: IncrementalAuthorization,
|
|
901
936
|
installments: Installments,
|
|
902
937
|
multicapture: Multicapture,
|
|
903
938
|
network_token: NetworkToken,
|
|
904
939
|
overcapture: Overcapture,
|
|
940
|
+
partial_authorization: PartialAuthorization,
|
|
905
941
|
three_d_secure: ThreeDSecure,
|
|
906
942
|
wallet: Wallet,
|
|
907
943
|
}
|
|
@@ -1132,6 +1168,16 @@ module Stripe
|
|
|
1132
1168
|
end
|
|
1133
1169
|
end
|
|
1134
1170
|
|
|
1171
|
+
class Gopay < ::Stripe::StripeObject
|
|
1172
|
+
def self.inner_class_types
|
|
1173
|
+
@inner_class_types = {}
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1176
|
+
def self.field_remappings
|
|
1177
|
+
@field_remappings = {}
|
|
1178
|
+
end
|
|
1179
|
+
end
|
|
1180
|
+
|
|
1135
1181
|
class Grabpay < ::Stripe::StripeObject
|
|
1136
1182
|
# Unique transaction id generated by GrabPay
|
|
1137
1183
|
attr_reader :transaction_id
|
|
@@ -1145,6 +1191,27 @@ module Stripe
|
|
|
1145
1191
|
end
|
|
1146
1192
|
end
|
|
1147
1193
|
|
|
1194
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
1195
|
+
# Account number of the bank account to transfer funds to.
|
|
1196
|
+
attr_reader :account_number
|
|
1197
|
+
# Bank where the account is located.
|
|
1198
|
+
attr_reader :bank
|
|
1199
|
+
# Local bank code of the bank.
|
|
1200
|
+
attr_reader :bank_code
|
|
1201
|
+
# Name of the bank associated with the bank account.
|
|
1202
|
+
attr_reader :bank_name
|
|
1203
|
+
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1204
|
+
attr_reader :display_name
|
|
1205
|
+
|
|
1206
|
+
def self.inner_class_types
|
|
1207
|
+
@inner_class_types = {}
|
|
1208
|
+
end
|
|
1209
|
+
|
|
1210
|
+
def self.field_remappings
|
|
1211
|
+
@field_remappings = {}
|
|
1212
|
+
end
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1148
1215
|
class Ideal < ::Stripe::StripeObject
|
|
1149
1216
|
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1150
1217
|
attr_reader :bank
|
|
@@ -1549,6 +1616,52 @@ module Stripe
|
|
|
1549
1616
|
@field_remappings = {}
|
|
1550
1617
|
end
|
|
1551
1618
|
end
|
|
1619
|
+
|
|
1620
|
+
class Shipping < ::Stripe::StripeObject
|
|
1621
|
+
# City, district, suburb, town, or village.
|
|
1622
|
+
attr_reader :city
|
|
1623
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1624
|
+
attr_reader :country
|
|
1625
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1626
|
+
attr_reader :line1
|
|
1627
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1628
|
+
attr_reader :line2
|
|
1629
|
+
# ZIP or postal code.
|
|
1630
|
+
attr_reader :postal_code
|
|
1631
|
+
# State, county, province, or region.
|
|
1632
|
+
attr_reader :state
|
|
1633
|
+
|
|
1634
|
+
def self.inner_class_types
|
|
1635
|
+
@inner_class_types = {}
|
|
1636
|
+
end
|
|
1637
|
+
|
|
1638
|
+
def self.field_remappings
|
|
1639
|
+
@field_remappings = {}
|
|
1640
|
+
end
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1643
|
+
class VerifiedAddress < ::Stripe::StripeObject
|
|
1644
|
+
# City, district, suburb, town, or village.
|
|
1645
|
+
attr_reader :city
|
|
1646
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1647
|
+
attr_reader :country
|
|
1648
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1649
|
+
attr_reader :line1
|
|
1650
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1651
|
+
attr_reader :line2
|
|
1652
|
+
# ZIP or postal code.
|
|
1653
|
+
attr_reader :postal_code
|
|
1654
|
+
# State, county, province, or region.
|
|
1655
|
+
attr_reader :state
|
|
1656
|
+
|
|
1657
|
+
def self.inner_class_types
|
|
1658
|
+
@inner_class_types = {}
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1661
|
+
def self.field_remappings
|
|
1662
|
+
@field_remappings = {}
|
|
1663
|
+
end
|
|
1664
|
+
end
|
|
1552
1665
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1553
1666
|
attr_reader :country
|
|
1554
1667
|
# Owner's email. Values are provided by PayPal directly
|
|
@@ -1561,11 +1674,58 @@ module Stripe
|
|
|
1561
1674
|
attr_reader :payer_name
|
|
1562
1675
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1563
1676
|
attr_reader :seller_protection
|
|
1677
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1678
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1679
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1680
|
+
attr_reader :shipping
|
|
1564
1681
|
# A unique ID generated by PayPal for this transaction.
|
|
1565
1682
|
attr_reader :transaction_id
|
|
1683
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1684
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1685
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1686
|
+
attr_reader :verified_address
|
|
1687
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
|
1688
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1689
|
+
attr_reader :verified_email
|
|
1690
|
+
# Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1691
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1692
|
+
attr_reader :verified_name
|
|
1693
|
+
|
|
1694
|
+
def self.inner_class_types
|
|
1695
|
+
@inner_class_types = {
|
|
1696
|
+
seller_protection: SellerProtection,
|
|
1697
|
+
shipping: Shipping,
|
|
1698
|
+
verified_address: VerifiedAddress,
|
|
1699
|
+
}
|
|
1700
|
+
end
|
|
1701
|
+
|
|
1702
|
+
def self.field_remappings
|
|
1703
|
+
@field_remappings = {}
|
|
1704
|
+
end
|
|
1705
|
+
end
|
|
1706
|
+
|
|
1707
|
+
class Paypay < ::Stripe::StripeObject
|
|
1708
|
+
def self.inner_class_types
|
|
1709
|
+
@inner_class_types = {}
|
|
1710
|
+
end
|
|
1711
|
+
|
|
1712
|
+
def self.field_remappings
|
|
1713
|
+
@field_remappings = {}
|
|
1714
|
+
end
|
|
1715
|
+
end
|
|
1716
|
+
|
|
1717
|
+
class Payto < ::Stripe::StripeObject
|
|
1718
|
+
# Bank-State-Branch number of the bank account.
|
|
1719
|
+
attr_reader :bsb_number
|
|
1720
|
+
# Last four digits of the bank account number.
|
|
1721
|
+
attr_reader :last4
|
|
1722
|
+
# ID of the mandate used to make this payment.
|
|
1723
|
+
attr_reader :mandate
|
|
1724
|
+
# The PayID alias for the bank account.
|
|
1725
|
+
attr_reader :pay_id
|
|
1566
1726
|
|
|
1567
1727
|
def self.inner_class_types
|
|
1568
|
-
@inner_class_types = {
|
|
1728
|
+
@inner_class_types = {}
|
|
1569
1729
|
end
|
|
1570
1730
|
|
|
1571
1731
|
def self.field_remappings
|
|
@@ -1576,6 +1736,8 @@ module Stripe
|
|
|
1576
1736
|
class Pix < ::Stripe::StripeObject
|
|
1577
1737
|
# Unique transaction id generated by BCB
|
|
1578
1738
|
attr_reader :bank_transaction_id
|
|
1739
|
+
# ID of the multi use Mandate generated by the PaymentIntent
|
|
1740
|
+
attr_reader :mandate
|
|
1579
1741
|
|
|
1580
1742
|
def self.inner_class_types
|
|
1581
1743
|
@inner_class_types = {}
|
|
@@ -1599,11 +1761,36 @@ module Stripe
|
|
|
1599
1761
|
end
|
|
1600
1762
|
end
|
|
1601
1763
|
|
|
1764
|
+
class Qris < ::Stripe::StripeObject
|
|
1765
|
+
def self.inner_class_types
|
|
1766
|
+
@inner_class_types = {}
|
|
1767
|
+
end
|
|
1768
|
+
|
|
1769
|
+
def self.field_remappings
|
|
1770
|
+
@field_remappings = {}
|
|
1771
|
+
end
|
|
1772
|
+
end
|
|
1773
|
+
|
|
1774
|
+
class Rechnung < ::Stripe::StripeObject
|
|
1775
|
+
# Payment portal URL.
|
|
1776
|
+
attr_reader :payment_portal_url
|
|
1777
|
+
|
|
1778
|
+
def self.inner_class_types
|
|
1779
|
+
@inner_class_types = {}
|
|
1780
|
+
end
|
|
1781
|
+
|
|
1782
|
+
def self.field_remappings
|
|
1783
|
+
@field_remappings = {}
|
|
1784
|
+
end
|
|
1785
|
+
end
|
|
1786
|
+
|
|
1602
1787
|
class RevolutPay < ::Stripe::StripeObject
|
|
1603
1788
|
class Funding < ::Stripe::StripeObject
|
|
1604
1789
|
class Card < ::Stripe::StripeObject
|
|
1605
1790
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1606
1791
|
attr_reader :brand
|
|
1792
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
1793
|
+
attr_reader :brand_product
|
|
1607
1794
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1608
1795
|
attr_reader :country
|
|
1609
1796
|
# Two-digit number representing the card's expiration month.
|
|
@@ -1718,6 +1905,16 @@ module Stripe
|
|
|
1718
1905
|
end
|
|
1719
1906
|
end
|
|
1720
1907
|
|
|
1908
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
1909
|
+
def self.inner_class_types
|
|
1910
|
+
@inner_class_types = {}
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
def self.field_remappings
|
|
1914
|
+
@field_remappings = {}
|
|
1915
|
+
end
|
|
1916
|
+
end
|
|
1917
|
+
|
|
1721
1918
|
class Sofort < ::Stripe::StripeObject
|
|
1722
1919
|
# Bank code of bank associated with the bank account.
|
|
1723
1920
|
attr_reader :bank_code
|
|
@@ -1759,6 +1956,21 @@ module Stripe
|
|
|
1759
1956
|
end
|
|
1760
1957
|
end
|
|
1761
1958
|
|
|
1959
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
1960
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
|
1961
|
+
attr_reader :account
|
|
1962
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1963
|
+
attr_reader :source_type
|
|
1964
|
+
|
|
1965
|
+
def self.inner_class_types
|
|
1966
|
+
@inner_class_types = {}
|
|
1967
|
+
end
|
|
1968
|
+
|
|
1969
|
+
def self.field_remappings
|
|
1970
|
+
@field_remappings = {}
|
|
1971
|
+
end
|
|
1972
|
+
end
|
|
1973
|
+
|
|
1762
1974
|
class Swish < ::Stripe::StripeObject
|
|
1763
1975
|
# Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|
|
1764
1976
|
attr_reader :fingerprint
|
|
@@ -1895,8 +2107,12 @@ module Stripe
|
|
|
1895
2107
|
attr_reader :fpx
|
|
1896
2108
|
# Attribute for field giropay
|
|
1897
2109
|
attr_reader :giropay
|
|
2110
|
+
# Attribute for field gopay
|
|
2111
|
+
attr_reader :gopay
|
|
1898
2112
|
# Attribute for field grabpay
|
|
1899
2113
|
attr_reader :grabpay
|
|
2114
|
+
# Attribute for field id_bank_transfer
|
|
2115
|
+
attr_reader :id_bank_transfer
|
|
1900
2116
|
# Attribute for field ideal
|
|
1901
2117
|
attr_reader :ideal
|
|
1902
2118
|
# Attribute for field interac_present
|
|
@@ -1933,10 +2149,18 @@ module Stripe
|
|
|
1933
2149
|
attr_reader :paynow
|
|
1934
2150
|
# Attribute for field paypal
|
|
1935
2151
|
attr_reader :paypal
|
|
2152
|
+
# Attribute for field paypay
|
|
2153
|
+
attr_reader :paypay
|
|
2154
|
+
# Attribute for field payto
|
|
2155
|
+
attr_reader :payto
|
|
1936
2156
|
# Attribute for field pix
|
|
1937
2157
|
attr_reader :pix
|
|
1938
2158
|
# Attribute for field promptpay
|
|
1939
2159
|
attr_reader :promptpay
|
|
2160
|
+
# Attribute for field qris
|
|
2161
|
+
attr_reader :qris
|
|
2162
|
+
# Attribute for field rechnung
|
|
2163
|
+
attr_reader :rechnung
|
|
1940
2164
|
# Attribute for field revolut_pay
|
|
1941
2165
|
attr_reader :revolut_pay
|
|
1942
2166
|
# Attribute for field samsung_pay
|
|
@@ -1947,10 +2171,14 @@ module Stripe
|
|
|
1947
2171
|
attr_reader :sepa_credit_transfer
|
|
1948
2172
|
# Attribute for field sepa_debit
|
|
1949
2173
|
attr_reader :sepa_debit
|
|
2174
|
+
# Attribute for field shopeepay
|
|
2175
|
+
attr_reader :shopeepay
|
|
1950
2176
|
# Attribute for field sofort
|
|
1951
2177
|
attr_reader :sofort
|
|
1952
2178
|
# Attribute for field stripe_account
|
|
1953
2179
|
attr_reader :stripe_account
|
|
2180
|
+
# Attribute for field stripe_balance
|
|
2181
|
+
attr_reader :stripe_balance
|
|
1954
2182
|
# Attribute for field swish
|
|
1955
2183
|
attr_reader :swish
|
|
1956
2184
|
# Attribute for field twint
|
|
@@ -1992,7 +2220,9 @@ module Stripe
|
|
|
1992
2220
|
eps: Eps,
|
|
1993
2221
|
fpx: Fpx,
|
|
1994
2222
|
giropay: Giropay,
|
|
2223
|
+
gopay: Gopay,
|
|
1995
2224
|
grabpay: Grabpay,
|
|
2225
|
+
id_bank_transfer: IdBankTransfer,
|
|
1996
2226
|
ideal: Ideal,
|
|
1997
2227
|
interac_present: InteracPresent,
|
|
1998
2228
|
kakao_pay: KakaoPay,
|
|
@@ -2011,15 +2241,21 @@ module Stripe
|
|
|
2011
2241
|
payco: Payco,
|
|
2012
2242
|
paynow: Paynow,
|
|
2013
2243
|
paypal: Paypal,
|
|
2244
|
+
paypay: Paypay,
|
|
2245
|
+
payto: Payto,
|
|
2014
2246
|
pix: Pix,
|
|
2015
2247
|
promptpay: Promptpay,
|
|
2248
|
+
qris: Qris,
|
|
2249
|
+
rechnung: Rechnung,
|
|
2016
2250
|
revolut_pay: RevolutPay,
|
|
2017
2251
|
samsung_pay: SamsungPay,
|
|
2018
2252
|
satispay: Satispay,
|
|
2019
2253
|
sepa_credit_transfer: SepaCreditTransfer,
|
|
2020
2254
|
sepa_debit: SepaDebit,
|
|
2255
|
+
shopeepay: Shopeepay,
|
|
2021
2256
|
sofort: Sofort,
|
|
2022
2257
|
stripe_account: StripeAccount,
|
|
2258
|
+
stripe_balance: StripeBalance,
|
|
2023
2259
|
swish: Swish,
|
|
2024
2260
|
twint: Twint,
|
|
2025
2261
|
us_bank_account: UsBankAccount,
|
|
@@ -201,15 +201,36 @@ module Stripe
|
|
|
201
201
|
@field_remappings = {}
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
|
+
|
|
205
|
+
class TaxId < ::Stripe::StripeObject
|
|
206
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
207
|
+
attr_reader :type
|
|
208
|
+
# The value of the tax ID.
|
|
209
|
+
attr_reader :value
|
|
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
|
|
204
219
|
# Customer’s business name for this Checkout Session
|
|
205
220
|
attr_reader :business_name
|
|
221
|
+
# Customer’s email for this Checkout Session
|
|
222
|
+
attr_reader :email
|
|
206
223
|
# Customer’s individual name for this Checkout Session
|
|
207
224
|
attr_reader :individual_name
|
|
225
|
+
# Customer’s phone number for this Checkout Session
|
|
226
|
+
attr_reader :phone
|
|
208
227
|
# Shipping information for this Checkout Session.
|
|
209
228
|
attr_reader :shipping_details
|
|
229
|
+
# Customer’s tax ids for this Checkout Session.
|
|
230
|
+
attr_reader :tax_ids
|
|
210
231
|
|
|
211
232
|
def self.inner_class_types
|
|
212
|
-
@inner_class_types = { shipping_details: ShippingDetails }
|
|
233
|
+
@inner_class_types = { shipping_details: ShippingDetails, tax_ids: TaxId }
|
|
213
234
|
end
|
|
214
235
|
|
|
215
236
|
def self.field_remappings
|
|
@@ -1010,6 +1031,8 @@ module Stripe
|
|
|
1010
1031
|
# Attribute for field installments
|
|
1011
1032
|
attr_reader :installments
|
|
1012
1033
|
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1034
|
+
attr_reader :request_decremental_authorization
|
|
1035
|
+
# Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
|
|
1013
1036
|
attr_reader :request_extended_authorization
|
|
1014
1037
|
# Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
|
|
1015
1038
|
attr_reader :request_incremental_authorization
|
|
@@ -1465,6 +1488,8 @@ module Stripe
|
|
|
1465
1488
|
#
|
|
1466
1489
|
# 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).
|
|
1467
1490
|
attr_reader :setup_future_usage
|
|
1491
|
+
# 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.
|
|
1492
|
+
attr_reader :subsellers
|
|
1468
1493
|
|
|
1469
1494
|
def self.inner_class_types
|
|
1470
1495
|
@inner_class_types = {}
|
|
@@ -1475,11 +1500,84 @@ module Stripe
|
|
|
1475
1500
|
end
|
|
1476
1501
|
end
|
|
1477
1502
|
|
|
1503
|
+
class Payto < ::Stripe::StripeObject
|
|
1504
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
1505
|
+
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1506
|
+
attr_reader :amount
|
|
1507
|
+
# 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. Defaults to `maximum`.
|
|
1508
|
+
attr_reader :amount_type
|
|
1509
|
+
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1510
|
+
attr_reader :end_date
|
|
1511
|
+
# The periodicity at which payments will be collected. Defaults to `adhoc`.
|
|
1512
|
+
attr_reader :payment_schedule
|
|
1513
|
+
# 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.
|
|
1514
|
+
attr_reader :payments_per_period
|
|
1515
|
+
# The purpose for which payments are made. Has a default value based on your merchant category code.
|
|
1516
|
+
attr_reader :purpose
|
|
1517
|
+
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1518
|
+
attr_reader :start_date
|
|
1519
|
+
|
|
1520
|
+
def self.inner_class_types
|
|
1521
|
+
@inner_class_types = {}
|
|
1522
|
+
end
|
|
1523
|
+
|
|
1524
|
+
def self.field_remappings
|
|
1525
|
+
@field_remappings = {}
|
|
1526
|
+
end
|
|
1527
|
+
end
|
|
1528
|
+
# Attribute for field mandate_options
|
|
1529
|
+
attr_reader :mandate_options
|
|
1530
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1531
|
+
#
|
|
1532
|
+
# 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.
|
|
1533
|
+
#
|
|
1534
|
+
# 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.
|
|
1535
|
+
#
|
|
1536
|
+
# 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).
|
|
1537
|
+
attr_reader :setup_future_usage
|
|
1538
|
+
|
|
1539
|
+
def self.inner_class_types
|
|
1540
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
1541
|
+
end
|
|
1542
|
+
|
|
1543
|
+
def self.field_remappings
|
|
1544
|
+
@field_remappings = {}
|
|
1545
|
+
end
|
|
1546
|
+
end
|
|
1547
|
+
|
|
1478
1548
|
class Pix < ::Stripe::StripeObject
|
|
1549
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
1550
|
+
# Amount to be charged for future payments.
|
|
1551
|
+
attr_reader :amount
|
|
1552
|
+
# Determines if the amount includes the IOF tax.
|
|
1553
|
+
attr_reader :amount_includes_iof
|
|
1554
|
+
# Type of amount.
|
|
1555
|
+
attr_reader :amount_type
|
|
1556
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
1557
|
+
attr_reader :currency
|
|
1558
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
1559
|
+
attr_reader :end_date
|
|
1560
|
+
# Schedule at which the future payments will be charged.
|
|
1561
|
+
attr_reader :payment_schedule
|
|
1562
|
+
# Subscription name displayed to buyers in their bank app.
|
|
1563
|
+
attr_reader :reference
|
|
1564
|
+
# Start date of the mandate, in `YYYY-MM-DD`.
|
|
1565
|
+
attr_reader :start_date
|
|
1566
|
+
|
|
1567
|
+
def self.inner_class_types
|
|
1568
|
+
@inner_class_types = {}
|
|
1569
|
+
end
|
|
1570
|
+
|
|
1571
|
+
def self.field_remappings
|
|
1572
|
+
@field_remappings = {}
|
|
1573
|
+
end
|
|
1574
|
+
end
|
|
1479
1575
|
# Determines if the amount includes the IOF tax.
|
|
1480
1576
|
attr_reader :amount_includes_iof
|
|
1481
1577
|
# The number of seconds after which Pix payment will expire.
|
|
1482
1578
|
attr_reader :expires_after_seconds
|
|
1579
|
+
# Attribute for field mandate_options
|
|
1580
|
+
attr_reader :mandate_options
|
|
1483
1581
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1484
1582
|
#
|
|
1485
1583
|
# 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.
|
|
@@ -1490,7 +1588,7 @@ module Stripe
|
|
|
1490
1588
|
attr_reader :setup_future_usage
|
|
1491
1589
|
|
|
1492
1590
|
def self.inner_class_types
|
|
1493
|
-
@inner_class_types = {}
|
|
1591
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
1494
1592
|
end
|
|
1495
1593
|
|
|
1496
1594
|
def self.field_remappings
|
|
@@ -1636,6 +1734,21 @@ module Stripe
|
|
|
1636
1734
|
class Filters < ::Stripe::StripeObject
|
|
1637
1735
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
1638
1736
|
attr_reader :account_subcategories
|
|
1737
|
+
# The institution to use to filter for possible accounts to link.
|
|
1738
|
+
attr_reader :institution
|
|
1739
|
+
|
|
1740
|
+
def self.inner_class_types
|
|
1741
|
+
@inner_class_types = {}
|
|
1742
|
+
end
|
|
1743
|
+
|
|
1744
|
+
def self.field_remappings
|
|
1745
|
+
@field_remappings = {}
|
|
1746
|
+
end
|
|
1747
|
+
end
|
|
1748
|
+
|
|
1749
|
+
class ManualEntry < ::Stripe::StripeObject
|
|
1750
|
+
# Settings for configuring manual entry of account details.
|
|
1751
|
+
attr_reader :mode
|
|
1639
1752
|
|
|
1640
1753
|
def self.inner_class_types
|
|
1641
1754
|
@inner_class_types = {}
|
|
@@ -1647,6 +1760,8 @@ module Stripe
|
|
|
1647
1760
|
end
|
|
1648
1761
|
# Attribute for field filters
|
|
1649
1762
|
attr_reader :filters
|
|
1763
|
+
# Attribute for field manual_entry
|
|
1764
|
+
attr_reader :manual_entry
|
|
1650
1765
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
1651
1766
|
attr_reader :permissions
|
|
1652
1767
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -1655,7 +1770,7 @@ module Stripe
|
|
|
1655
1770
|
attr_reader :return_url
|
|
1656
1771
|
|
|
1657
1772
|
def self.inner_class_types
|
|
1658
|
-
@inner_class_types = { filters: Filters }
|
|
1773
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
|
1659
1774
|
end
|
|
1660
1775
|
|
|
1661
1776
|
def self.field_remappings
|
|
@@ -1749,6 +1864,8 @@ module Stripe
|
|
|
1749
1864
|
attr_reader :paynow
|
|
1750
1865
|
# Attribute for field paypal
|
|
1751
1866
|
attr_reader :paypal
|
|
1867
|
+
# Attribute for field payto
|
|
1868
|
+
attr_reader :payto
|
|
1752
1869
|
# Attribute for field pix
|
|
1753
1870
|
attr_reader :pix
|
|
1754
1871
|
# Attribute for field revolut_pay
|
|
@@ -1802,6 +1919,7 @@ module Stripe
|
|
|
1802
1919
|
payco: Payco,
|
|
1803
1920
|
paynow: Paynow,
|
|
1804
1921
|
paypal: Paypal,
|
|
1922
|
+
payto: Payto,
|
|
1805
1923
|
pix: Pix,
|
|
1806
1924
|
revolut_pay: RevolutPay,
|
|
1807
1925
|
samsung_pay: SamsungPay,
|
|
@@ -1820,6 +1938,36 @@ module Stripe
|
|
|
1820
1938
|
end
|
|
1821
1939
|
|
|
1822
1940
|
class Permissions < ::Stripe::StripeObject
|
|
1941
|
+
class Update < ::Stripe::StripeObject
|
|
1942
|
+
# Determines which entity is allowed to update the line items.
|
|
1943
|
+
#
|
|
1944
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
1945
|
+
#
|
|
1946
|
+
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
1947
|
+
attr_reader :line_items
|
|
1948
|
+
# Determines which entity is allowed to update the shipping details.
|
|
1949
|
+
#
|
|
1950
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
1951
|
+
#
|
|
1952
|
+
# When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
1953
|
+
attr_reader :shipping_details
|
|
1954
|
+
|
|
1955
|
+
def self.inner_class_types
|
|
1956
|
+
@inner_class_types = {}
|
|
1957
|
+
end
|
|
1958
|
+
|
|
1959
|
+
def self.field_remappings
|
|
1960
|
+
@field_remappings = {}
|
|
1961
|
+
end
|
|
1962
|
+
end
|
|
1963
|
+
# Permissions for updating the Checkout Session.
|
|
1964
|
+
attr_reader :update
|
|
1965
|
+
# Determines which entity is allowed to update the line items.
|
|
1966
|
+
#
|
|
1967
|
+
# Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
1968
|
+
#
|
|
1969
|
+
# When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
1970
|
+
attr_reader :update_line_items
|
|
1823
1971
|
# Determines which entity is allowed to update the shipping details.
|
|
1824
1972
|
#
|
|
1825
1973
|
# Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
@@ -1828,7 +1976,7 @@ module Stripe
|
|
|
1828
1976
|
attr_reader :update_shipping_details
|
|
1829
1977
|
|
|
1830
1978
|
def self.inner_class_types
|
|
1831
|
-
@inner_class_types = {}
|
|
1979
|
+
@inner_class_types = { update: Update }
|
|
1832
1980
|
end
|
|
1833
1981
|
|
|
1834
1982
|
def self.field_remappings
|
|
@@ -2108,6 +2256,8 @@ module Stripe
|
|
|
2108
2256
|
# during the payment flow unless an existing customer was provided when
|
|
2109
2257
|
# the Session was created.
|
|
2110
2258
|
attr_reader :customer
|
|
2259
|
+
# The ID of the account for this Session.
|
|
2260
|
+
attr_reader :customer_account
|
|
2111
2261
|
# Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
|
|
2112
2262
|
attr_reader :customer_creation
|
|
2113
2263
|
# The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
|