stripe 16.0.0 → 16.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 +35 -3
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +236 -0
- data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_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_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 +44 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/object_types.rb +58 -0
- data/lib/stripe/params/account_create_params.rb +300 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_session_create_params.rb +226 -1
- data/lib/stripe/params/account_update_params.rb +262 -0
- data/lib/stripe/params/billing/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 +709 -0
- data/lib/stripe/params/charge_update_params.rb +709 -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 +4 -1
- 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 +46 -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_payment_list_params.rb +4 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +33 -1
- data/lib/stripe/params/invoice_update_params.rb +108 -2
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_cancel_params.rb +13 -0
- data/lib/stripe/params/order_create_params.rb +1124 -0
- data/lib/stripe/params/order_line_item_list_params.rb +22 -0
- data/lib/stripe/params/order_list_line_items_params.rb +22 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_reopen_params.rb +13 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +1128 -0
- data/lib/stripe/params/payment_attempt_record_list_params.rb +19 -0
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +895 -0
- data/lib/stripe/params/payment_intent_confirm_params.rb +1373 -7
- data/lib/stripe/params/payment_intent_create_params.rb +1387 -13
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +223 -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 +1409 -4
- 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_update_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -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/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax_id_create_params.rb +4 -1
- data/lib/stripe/params/tax_id_list_params.rb +4 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +97 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/transfer_create_params.rb +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 +2217 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +20 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2245 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +493 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +493 -0
- data/lib/stripe/params/v2/core/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_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_create_params.rb +33 -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_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_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/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +61 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +237 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/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 +169 -0
- data/lib/stripe/request_options.rb +3 -1
- data/lib/stripe/resources/account.rb +166 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +81 -0
- data/lib/stripe/resources/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 +234 -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 +2 -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/invoice_payment.rb +2 -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 +2102 -0
- data/lib/stripe/resources/payment_intent.rb +848 -4
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
- 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 +2208 -0
- 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/association.rb +86 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax_id.rb +4 -0
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +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 +3851 -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/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -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/v2/payments/off_session_payment.rb +242 -0
- data/lib/stripe/resources.rb +116 -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_attempt_record_service.rb +28 -0
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/lib/stripe/services/payment_intent_service.rb +44 -0
- data/lib/stripe/services/payment_record_service.rb +89 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +11 -0
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +10 -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 +76 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +67 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +74 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +68 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +59 -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/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -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 +4 -1
- data/lib/stripe/services.rb +61 -0
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_configuration.rb +9 -2
- data/lib/stripe/stripe_object.rb +9 -9
- data/lib/stripe/util.rb +9 -3
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +155102 -90522
- metadata +351 -5
@@ -114,6 +114,8 @@ module Stripe
|
|
114
114
|
|
115
115
|
class PaymentMethodPreview < Stripe::StripeObject
|
116
116
|
class AcssDebit < Stripe::StripeObject
|
117
|
+
# Account number of the bank account.
|
118
|
+
attr_reader :account_number
|
117
119
|
# Name of the bank associated with the bank account.
|
118
120
|
attr_reader :bank_name
|
119
121
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
@@ -932,6 +934,16 @@ module Stripe
|
|
932
934
|
end
|
933
935
|
end
|
934
936
|
|
937
|
+
class Gopay < Stripe::StripeObject
|
938
|
+
def self.inner_class_types
|
939
|
+
@inner_class_types = {}
|
940
|
+
end
|
941
|
+
|
942
|
+
def self.field_remappings
|
943
|
+
@field_remappings = {}
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
935
947
|
class Grabpay < Stripe::StripeObject
|
936
948
|
def self.inner_class_types
|
937
949
|
@inner_class_types = {}
|
@@ -942,6 +954,25 @@ module Stripe
|
|
942
954
|
end
|
943
955
|
end
|
944
956
|
|
957
|
+
class IdBankTransfer < Stripe::StripeObject
|
958
|
+
# Attribute for field bank
|
959
|
+
attr_reader :bank
|
960
|
+
# Attribute for field bank_code
|
961
|
+
attr_reader :bank_code
|
962
|
+
# Attribute for field bank_name
|
963
|
+
attr_reader :bank_name
|
964
|
+
# Attribute for field display_name
|
965
|
+
attr_reader :display_name
|
966
|
+
|
967
|
+
def self.inner_class_types
|
968
|
+
@inner_class_types = {}
|
969
|
+
end
|
970
|
+
|
971
|
+
def self.field_remappings
|
972
|
+
@field_remappings = {}
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
945
976
|
class Ideal < Stripe::StripeObject
|
946
977
|
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
947
978
|
attr_reader :bank
|
@@ -1215,11 +1246,43 @@ module Stripe
|
|
1215
1246
|
class Paypal < Stripe::StripeObject
|
1216
1247
|
# 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.
|
1217
1248
|
attr_reader :country
|
1249
|
+
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
1250
|
+
attr_reader :fingerprint
|
1218
1251
|
# Owner's email. Values are provided by PayPal directly
|
1219
1252
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1220
1253
|
attr_reader :payer_email
|
1221
1254
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
1222
1255
|
attr_reader :payer_id
|
1256
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
1257
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1258
|
+
attr_reader :verified_email
|
1259
|
+
|
1260
|
+
def self.inner_class_types
|
1261
|
+
@inner_class_types = {}
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def self.field_remappings
|
1265
|
+
@field_remappings = {}
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
class Paypay < Stripe::StripeObject
|
1270
|
+
def self.inner_class_types
|
1271
|
+
@inner_class_types = {}
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
def self.field_remappings
|
1275
|
+
@field_remappings = {}
|
1276
|
+
end
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
class Payto < Stripe::StripeObject
|
1280
|
+
# Bank-State-Branch number of the bank account.
|
1281
|
+
attr_reader :bsb_number
|
1282
|
+
# Last four digits of the bank account number.
|
1283
|
+
attr_reader :last4
|
1284
|
+
# The PayID alias for the bank account.
|
1285
|
+
attr_reader :pay_id
|
1223
1286
|
|
1224
1287
|
def self.inner_class_types
|
1225
1288
|
@inner_class_types = {}
|
@@ -1250,6 +1313,45 @@ module Stripe
|
|
1250
1313
|
end
|
1251
1314
|
end
|
1252
1315
|
|
1316
|
+
class Qris < Stripe::StripeObject
|
1317
|
+
def self.inner_class_types
|
1318
|
+
@inner_class_types = {}
|
1319
|
+
end
|
1320
|
+
|
1321
|
+
def self.field_remappings
|
1322
|
+
@field_remappings = {}
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
class Rechnung < Stripe::StripeObject
|
1327
|
+
class Dob < Stripe::StripeObject
|
1328
|
+
# The day of birth, between 1 and 31.
|
1329
|
+
attr_reader :day
|
1330
|
+
# The month of birth, between 1 and 12.
|
1331
|
+
attr_reader :month
|
1332
|
+
# The four-digit year of birth.
|
1333
|
+
attr_reader :year
|
1334
|
+
|
1335
|
+
def self.inner_class_types
|
1336
|
+
@inner_class_types = {}
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
def self.field_remappings
|
1340
|
+
@field_remappings = {}
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
# Attribute for field dob
|
1344
|
+
attr_reader :dob
|
1345
|
+
|
1346
|
+
def self.inner_class_types
|
1347
|
+
@inner_class_types = { dob: Dob }
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
def self.field_remappings
|
1351
|
+
@field_remappings = {}
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1253
1355
|
class RevolutPay < Stripe::StripeObject
|
1254
1356
|
def self.inner_class_types
|
1255
1357
|
@inner_class_types = {}
|
@@ -1317,6 +1419,16 @@ module Stripe
|
|
1317
1419
|
end
|
1318
1420
|
end
|
1319
1421
|
|
1422
|
+
class Shopeepay < Stripe::StripeObject
|
1423
|
+
def self.inner_class_types
|
1424
|
+
@inner_class_types = {}
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
def self.field_remappings
|
1428
|
+
@field_remappings = {}
|
1429
|
+
end
|
1430
|
+
end
|
1431
|
+
|
1320
1432
|
class Sofort < Stripe::StripeObject
|
1321
1433
|
# Two-letter ISO code representing the country the bank account is located in.
|
1322
1434
|
attr_reader :country
|
@@ -1330,6 +1442,21 @@ module Stripe
|
|
1330
1442
|
end
|
1331
1443
|
end
|
1332
1444
|
|
1445
|
+
class StripeBalance < Stripe::StripeObject
|
1446
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1447
|
+
attr_reader :account
|
1448
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1449
|
+
attr_reader :source_type
|
1450
|
+
|
1451
|
+
def self.inner_class_types
|
1452
|
+
@inner_class_types = {}
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
def self.field_remappings
|
1456
|
+
@field_remappings = {}
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1333
1460
|
class Swish < Stripe::StripeObject
|
1334
1461
|
def self.inner_class_types
|
1335
1462
|
@inner_class_types = {}
|
@@ -1394,6 +1521,8 @@ module Stripe
|
|
1394
1521
|
end
|
1395
1522
|
# Account holder type: individual or company.
|
1396
1523
|
attr_reader :account_holder_type
|
1524
|
+
# Account number of the bank account.
|
1525
|
+
attr_reader :account_number
|
1397
1526
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
1398
1527
|
attr_reader :account_type
|
1399
1528
|
# The name of the bank.
|
@@ -1477,6 +1606,8 @@ module Stripe
|
|
1477
1606
|
attr_reader :crypto
|
1478
1607
|
# The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
|
1479
1608
|
attr_reader :customer
|
1609
|
+
# Attribute for field customer_account
|
1610
|
+
attr_reader :customer_account
|
1480
1611
|
# Attribute for field customer_balance
|
1481
1612
|
attr_reader :customer_balance
|
1482
1613
|
# Attribute for field eps
|
@@ -1485,8 +1616,12 @@ module Stripe
|
|
1485
1616
|
attr_reader :fpx
|
1486
1617
|
# Attribute for field giropay
|
1487
1618
|
attr_reader :giropay
|
1619
|
+
# Attribute for field gopay
|
1620
|
+
attr_reader :gopay
|
1488
1621
|
# Attribute for field grabpay
|
1489
1622
|
attr_reader :grabpay
|
1623
|
+
# Attribute for field id_bank_transfer
|
1624
|
+
attr_reader :id_bank_transfer
|
1490
1625
|
# Attribute for field ideal
|
1491
1626
|
attr_reader :ideal
|
1492
1627
|
# Attribute for field interac_present
|
@@ -1523,10 +1658,18 @@ module Stripe
|
|
1523
1658
|
attr_reader :paynow
|
1524
1659
|
# Attribute for field paypal
|
1525
1660
|
attr_reader :paypal
|
1661
|
+
# Attribute for field paypay
|
1662
|
+
attr_reader :paypay
|
1663
|
+
# Attribute for field payto
|
1664
|
+
attr_reader :payto
|
1526
1665
|
# Attribute for field pix
|
1527
1666
|
attr_reader :pix
|
1528
1667
|
# Attribute for field promptpay
|
1529
1668
|
attr_reader :promptpay
|
1669
|
+
# Attribute for field qris
|
1670
|
+
attr_reader :qris
|
1671
|
+
# Attribute for field rechnung
|
1672
|
+
attr_reader :rechnung
|
1530
1673
|
# Attribute for field revolut_pay
|
1531
1674
|
attr_reader :revolut_pay
|
1532
1675
|
# Attribute for field samsung_pay
|
@@ -1535,8 +1678,12 @@ module Stripe
|
|
1535
1678
|
attr_reader :satispay
|
1536
1679
|
# Attribute for field sepa_debit
|
1537
1680
|
attr_reader :sepa_debit
|
1681
|
+
# Attribute for field shopeepay
|
1682
|
+
attr_reader :shopeepay
|
1538
1683
|
# Attribute for field sofort
|
1539
1684
|
attr_reader :sofort
|
1685
|
+
# Attribute for field stripe_balance
|
1686
|
+
attr_reader :stripe_balance
|
1540
1687
|
# Attribute for field swish
|
1541
1688
|
attr_reader :swish
|
1542
1689
|
# Attribute for field twint
|
@@ -1573,7 +1720,9 @@ module Stripe
|
|
1573
1720
|
eps: Eps,
|
1574
1721
|
fpx: Fpx,
|
1575
1722
|
giropay: Giropay,
|
1723
|
+
gopay: Gopay,
|
1576
1724
|
grabpay: Grabpay,
|
1725
|
+
id_bank_transfer: IdBankTransfer,
|
1577
1726
|
ideal: Ideal,
|
1578
1727
|
interac_present: InteracPresent,
|
1579
1728
|
kakao_pay: KakaoPay,
|
@@ -1592,13 +1741,19 @@ module Stripe
|
|
1592
1741
|
payco: Payco,
|
1593
1742
|
paynow: Paynow,
|
1594
1743
|
paypal: Paypal,
|
1744
|
+
paypay: Paypay,
|
1745
|
+
payto: Payto,
|
1595
1746
|
pix: Pix,
|
1596
1747
|
promptpay: Promptpay,
|
1748
|
+
qris: Qris,
|
1749
|
+
rechnung: Rechnung,
|
1597
1750
|
revolut_pay: RevolutPay,
|
1598
1751
|
samsung_pay: SamsungPay,
|
1599
1752
|
satispay: Satispay,
|
1600
1753
|
sepa_debit: SepaDebit,
|
1754
|
+
shopeepay: Shopeepay,
|
1601
1755
|
sofort: Sofort,
|
1756
|
+
stripe_balance: StripeBalance,
|
1602
1757
|
swish: Swish,
|
1603
1758
|
twint: Twint,
|
1604
1759
|
us_bank_account: UsBankAccount,
|
@@ -41,6 +41,23 @@ module Stripe
|
|
41
41
|
@field_remappings = {}
|
42
42
|
end
|
43
43
|
end
|
44
|
+
|
45
|
+
class Script < Stripe::StripeObject
|
46
|
+
# The configuration values of the script. The keys and values are specific to the script implementation.
|
47
|
+
attr_reader :configuration
|
48
|
+
# The name of the script used to calculate the discount.
|
49
|
+
attr_reader :display_name
|
50
|
+
# The script implementation ID for this coupon.
|
51
|
+
attr_reader :id
|
52
|
+
|
53
|
+
def self.inner_class_types
|
54
|
+
@inner_class_types = {}
|
55
|
+
end
|
56
|
+
|
57
|
+
def self.field_remappings
|
58
|
+
@field_remappings = {}
|
59
|
+
end
|
60
|
+
end
|
44
61
|
# Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
|
45
62
|
attr_reader :amount_off
|
46
63
|
# Attribute for field applies_to
|
@@ -71,8 +88,12 @@ module Stripe
|
|
71
88
|
attr_reader :percent_off
|
72
89
|
# Date after which the coupon can no longer be redeemed.
|
73
90
|
attr_reader :redeem_by
|
91
|
+
# Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
92
|
+
attr_reader :script
|
74
93
|
# Number of times this coupon has been applied to a customer.
|
75
94
|
attr_reader :times_redeemed
|
95
|
+
# One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
|
96
|
+
attr_reader :type
|
76
97
|
# Taking account of the above properties, whether this coupon can still be applied to a customer.
|
77
98
|
attr_reader :valid
|
78
99
|
# Always true for a deleted object
|
@@ -121,7 +142,11 @@ module Stripe
|
|
121
142
|
end
|
122
143
|
|
123
144
|
def self.inner_class_types
|
124
|
-
@inner_class_types = {
|
145
|
+
@inner_class_types = {
|
146
|
+
applies_to: AppliesTo,
|
147
|
+
currency_options: CurrencyOptions,
|
148
|
+
script: Script,
|
149
|
+
}
|
125
150
|
end
|
126
151
|
|
127
152
|
def self.field_remappings
|
@@ -149,6 +149,8 @@ module Stripe
|
|
149
149
|
attr_reader :currency
|
150
150
|
# ID of the customer.
|
151
151
|
attr_reader :customer
|
152
|
+
# ID of the account.
|
153
|
+
attr_reader :customer_account
|
152
154
|
# Customer balance transaction related to this credit note.
|
153
155
|
attr_reader :customer_balance_transaction
|
154
156
|
# The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
|
@@ -43,6 +43,21 @@ module Stripe
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
class TaxCalculationReference < Stripe::StripeObject
|
47
|
+
# The calculation identifier for tax calculation response.
|
48
|
+
attr_reader :calculation_id
|
49
|
+
# The calculation identifier for tax calculation response line item.
|
50
|
+
attr_reader :calculation_item_id
|
51
|
+
|
52
|
+
def self.inner_class_types
|
53
|
+
@inner_class_types = {}
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.field_remappings
|
57
|
+
@field_remappings = {}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
46
61
|
class Tax < Stripe::StripeObject
|
47
62
|
class TaxRateDetails < Stripe::StripeObject
|
48
63
|
# Attribute for field tax_rate
|
@@ -97,6 +112,8 @@ module Stripe
|
|
97
112
|
attr_reader :pretax_credit_amounts
|
98
113
|
# The number of units of product being credited.
|
99
114
|
attr_reader :quantity
|
115
|
+
# The tax calculation identifiers of the line item.
|
116
|
+
attr_reader :tax_calculation_reference
|
100
117
|
# The tax rates which apply to the line item.
|
101
118
|
attr_reader :tax_rates
|
102
119
|
# The tax information of the line item.
|
@@ -112,6 +129,7 @@ module Stripe
|
|
112
129
|
@inner_class_types = {
|
113
130
|
discount_amounts: DiscountAmount,
|
114
131
|
pretax_credit_amounts: PretaxCreditAmount,
|
132
|
+
tax_calculation_reference: TaxCalculationReference,
|
115
133
|
taxes: Tax,
|
116
134
|
}
|
117
135
|
end
|
@@ -180,6 +180,8 @@ module Stripe
|
|
180
180
|
attr_reader :created
|
181
181
|
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
|
182
182
|
attr_reader :currency
|
183
|
+
# Attribute for field customer_account
|
184
|
+
attr_reader :customer_account
|
183
185
|
# ID of the default payment source for the customer.
|
184
186
|
#
|
185
187
|
# If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
|
@@ -28,6 +28,8 @@ module Stripe
|
|
28
28
|
attr_reader :currency
|
29
29
|
# The ID of the customer the transaction belongs to.
|
30
30
|
attr_reader :customer
|
31
|
+
# Attribute for field customer_account
|
32
|
+
attr_reader :customer_account
|
31
33
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
32
34
|
attr_reader :description
|
33
35
|
# The customer's `balance` after the transaction was applied. A negative value decreases the amount due on the customer's next invoice. A positive value increases the amount due on the customer's next invoice.
|
@@ -193,6 +193,8 @@ module Stripe
|
|
193
193
|
attr_reader :currency
|
194
194
|
# The customer whose available cash balance changed as a result of this transaction.
|
195
195
|
attr_reader :customer
|
196
|
+
# Attribute for field customer_account
|
197
|
+
attr_reader :customer_account
|
196
198
|
# The total available cash balance for the specified currency after this transaction was applied. Represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
197
199
|
attr_reader :ending_balance
|
198
200
|
# Attribute for field funded
|
@@ -116,6 +116,8 @@ module Stripe
|
|
116
116
|
attr_reader :created
|
117
117
|
# The Customer the Customer Session was created for.
|
118
118
|
attr_reader :customer
|
119
|
+
# The Account that the Customer Session was created for.
|
120
|
+
attr_reader :customer_account
|
119
121
|
# The timestamp at which this Customer Session will expire.
|
120
122
|
attr_reader :expires_at
|
121
123
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
@@ -30,6 +30,8 @@ module Stripe
|
|
30
30
|
attr_reader :checkout_session
|
31
31
|
# The ID of the customer associated with this discount.
|
32
32
|
attr_reader :customer
|
33
|
+
# The ID of the account associated with this discount.
|
34
|
+
attr_reader :customer_account
|
33
35
|
# If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.
|
34
36
|
attr_reader :end
|
35
37
|
# The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.
|
@@ -282,6 +282,8 @@ module Stripe
|
|
282
282
|
attr_reader :past_due
|
283
283
|
# The number of times evidence has been submitted. Typically, you may only submit evidence once.
|
284
284
|
attr_reader :submission_count
|
285
|
+
# Whether the dispute was submitted manually, with Smart Disputes, or not submitted.
|
286
|
+
attr_reader :submission_method
|
285
287
|
|
286
288
|
def self.inner_class_types
|
287
289
|
@inner_class_types = { enhanced_eligibility: EnhancedEligibility }
|
@@ -371,6 +373,21 @@ module Stripe
|
|
371
373
|
@field_remappings = {}
|
372
374
|
end
|
373
375
|
end
|
376
|
+
|
377
|
+
class SmartDisputes < Stripe::StripeObject
|
378
|
+
# Evidence that could be provided to improve the SmartDisputes packet
|
379
|
+
attr_reader :recommended_evidence
|
380
|
+
# Smart Disputes auto representment packet availability status.
|
381
|
+
attr_reader :status
|
382
|
+
|
383
|
+
def self.inner_class_types
|
384
|
+
@inner_class_types = {}
|
385
|
+
end
|
386
|
+
|
387
|
+
def self.field_remappings
|
388
|
+
@field_remappings = {}
|
389
|
+
end
|
390
|
+
end
|
374
391
|
# Disputed amount. Usually the amount of the charge, but it can differ (usually because of currency fluctuation or because only part of the order is disputed).
|
375
392
|
attr_reader :amount
|
376
393
|
# List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your Stripe account as a result of this dispute.
|
@@ -389,6 +406,8 @@ module Stripe
|
|
389
406
|
attr_reader :evidence_details
|
390
407
|
# Unique identifier for the object.
|
391
408
|
attr_reader :id
|
409
|
+
# Intended submission method for the dispute.
|
410
|
+
attr_reader :intended_submission_method
|
392
411
|
# If true, it's still possible to refund the disputed payment. After the payment has been fully refunded, no further funds are withdrawn from your Stripe account as a result of this dispute.
|
393
412
|
attr_reader :is_charge_refundable
|
394
413
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
@@ -405,6 +424,8 @@ module Stripe
|
|
405
424
|
attr_reader :payment_method_details
|
406
425
|
# Reason given by cardholder for dispute. Possible values are `bank_cannot_process`, `check_returned`, `credit_not_processed`, `customer_initiated`, `debit_not_authorized`, `duplicate`, `fraudulent`, `general`, `incorrect_account_details`, `insufficient_funds`, `noncompliant`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Learn more about [dispute reasons](https://stripe.com/docs/disputes/categories).
|
407
426
|
attr_reader :reason
|
427
|
+
# Attribute for field smart_disputes
|
428
|
+
attr_reader :smart_disputes
|
408
429
|
# The current status of a dispute. Possible values include:`warning_needs_response`, `warning_under_review`, `warning_closed`, `needs_response`, `under_review`, `won`, `lost`, or `prevented`.
|
409
430
|
attr_reader :status
|
410
431
|
|
@@ -454,6 +475,7 @@ module Stripe
|
|
454
475
|
evidence: Evidence,
|
455
476
|
evidence_details: EvidenceDetails,
|
456
477
|
payment_method_details: PaymentMethodDetails,
|
478
|
+
smart_disputes: SmartDisputes,
|
457
479
|
}
|
458
480
|
end
|
459
481
|
|
@@ -43,6 +43,67 @@ module Stripe
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
class Reason < Stripe::StripeObject
|
47
|
+
class AutomationAction < Stripe::StripeObject
|
48
|
+
class StripeSendWebhookCustomEvent < Stripe::StripeObject
|
49
|
+
# Set of key-value pairs attached to the action when creating an Automation.
|
50
|
+
attr_reader :custom_data
|
51
|
+
|
52
|
+
def self.inner_class_types
|
53
|
+
@inner_class_types = {}
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.field_remappings
|
57
|
+
@field_remappings = {}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
# Attribute for field stripe_send_webhook_custom_event
|
61
|
+
attr_reader :stripe_send_webhook_custom_event
|
62
|
+
# The trigger name of the automation that triggered this action.
|
63
|
+
# Please visit [Revenue and retention automations](https://docs.stripe.com/billing/automations#choose-a-trigger) for all possible trigger names.
|
64
|
+
attr_reader :trigger
|
65
|
+
# The type of the `automation_action`.
|
66
|
+
attr_reader :type
|
67
|
+
|
68
|
+
def self.inner_class_types
|
69
|
+
@inner_class_types = { stripe_send_webhook_custom_event: StripeSendWebhookCustomEvent }
|
70
|
+
end
|
71
|
+
|
72
|
+
def self.field_remappings
|
73
|
+
@field_remappings = {}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
class Request < Stripe::StripeObject
|
78
|
+
# ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API.
|
79
|
+
attr_reader :id
|
80
|
+
# The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*.
|
81
|
+
attr_reader :idempotency_key
|
82
|
+
|
83
|
+
def self.inner_class_types
|
84
|
+
@inner_class_types = {}
|
85
|
+
end
|
86
|
+
|
87
|
+
def self.field_remappings
|
88
|
+
@field_remappings = {}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
# Attribute for field automation_action
|
92
|
+
attr_reader :automation_action
|
93
|
+
# Attribute for field request
|
94
|
+
attr_reader :request
|
95
|
+
# The type of the reason for the event.
|
96
|
+
attr_reader :type
|
97
|
+
|
98
|
+
def self.inner_class_types
|
99
|
+
@inner_class_types = { automation_action: AutomationAction, request: Request }
|
100
|
+
end
|
101
|
+
|
102
|
+
def self.field_remappings
|
103
|
+
@field_remappings = {}
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
46
107
|
class Request < Stripe::StripeObject
|
47
108
|
# ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API.
|
48
109
|
attr_reader :id
|
@@ -75,6 +136,8 @@ module Stripe
|
|
75
136
|
attr_reader :object
|
76
137
|
# Number of webhooks that haven't been successfully delivered (for example, to return a 20x response) to the URLs you specify.
|
77
138
|
attr_reader :pending_webhooks
|
139
|
+
# Information about the action that causes the event. Only present when the event is triggered by an API request or an [Automation](https://docs.stripe.com/billing/automations) action.
|
140
|
+
attr_reader :reason
|
78
141
|
# Information on the API request that triggers the event.
|
79
142
|
attr_reader :request
|
80
143
|
# Description of the event (for example, `invoice.created` or `charge.refunded`).
|
@@ -86,7 +149,7 @@ module Stripe
|
|
86
149
|
end
|
87
150
|
|
88
151
|
def self.inner_class_types
|
89
|
-
@inner_class_types = { data: Data, request: Request }
|
152
|
+
@inner_class_types = { data: Data, reason: Reason, request: Request }
|
90
153
|
end
|
91
154
|
|
92
155
|
def self.field_remappings
|
@@ -6,17 +6,22 @@ module Stripe
|
|
6
6
|
# A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access.
|
7
7
|
class Account < APIResource
|
8
8
|
extend Stripe::APIOperations::List
|
9
|
+
extend Stripe::APIOperations::NestedResource
|
9
10
|
|
10
11
|
OBJECT_NAME = "financial_connections.account"
|
11
12
|
def self.object_name
|
12
13
|
"financial_connections.account"
|
13
14
|
end
|
14
15
|
|
16
|
+
nested_resource_class_methods :inferred_balance, operations: %i[list]
|
17
|
+
|
15
18
|
class AccountHolder < Stripe::StripeObject
|
16
19
|
# The ID of the Stripe account this account belongs to. Should only be present if `account_holder.type` is `account`.
|
17
20
|
attr_reader :account
|
18
21
|
# ID of the Stripe customer this account belongs to. Present if and only if `account_holder.type` is `customer`.
|
19
22
|
attr_reader :customer
|
23
|
+
# Attribute for field customer_account
|
24
|
+
attr_reader :customer_account
|
20
25
|
# Type of account holder that this account belongs to.
|
21
26
|
attr_reader :type
|
22
27
|
|
@@ -104,6 +109,23 @@ module Stripe
|
|
104
109
|
end
|
105
110
|
end
|
106
111
|
|
112
|
+
class InferredBalancesRefresh < Stripe::StripeObject
|
113
|
+
# The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
|
114
|
+
attr_reader :last_attempted_at
|
115
|
+
# Time at which the next inferred balance refresh can be initiated. This value will be `null` when `status` is `pending`. Measured in seconds since the Unix epoch.
|
116
|
+
attr_reader :next_refresh_available_at
|
117
|
+
# The status of the last refresh attempt.
|
118
|
+
attr_reader :status
|
119
|
+
|
120
|
+
def self.inner_class_types
|
121
|
+
@inner_class_types = {}
|
122
|
+
end
|
123
|
+
|
124
|
+
def self.field_remappings
|
125
|
+
@field_remappings = {}
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
107
129
|
class OwnershipRefresh < Stripe::StripeObject
|
108
130
|
# The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.
|
109
131
|
attr_reader :last_attempted_at
|
@@ -153,6 +175,10 @@ module Stripe
|
|
153
175
|
attr_reader :display_name
|
154
176
|
# Unique identifier for the object.
|
155
177
|
attr_reader :id
|
178
|
+
# The state of the most recent attempt to refresh the account's inferred balance history.
|
179
|
+
attr_reader :inferred_balances_refresh
|
180
|
+
# The ID of the Financial Connections Institution this account belongs to. Note that this relationship may sometimes change in rare circumstances (e.g. institution mergers).
|
181
|
+
attr_reader :institution
|
156
182
|
# The name of the institution that holds this account.
|
157
183
|
attr_reader :institution_name
|
158
184
|
# The last 4 digits of the account number. If present, this will be 4 numeric characters.
|
@@ -306,6 +332,7 @@ module Stripe
|
|
306
332
|
account_holder: AccountHolder,
|
307
333
|
balance: Balance,
|
308
334
|
balance_refresh: BalanceRefresh,
|
335
|
+
inferred_balances_refresh: InferredBalancesRefresh,
|
309
336
|
ownership_refresh: OwnershipRefresh,
|
310
337
|
transaction_refresh: TransactionRefresh,
|
311
338
|
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
module FinancialConnections
|
6
|
+
# A historical balance for the account on a particular day. It may be sourced from a balance snapshot provided by a financial institution, or inferred using transactions data.
|
7
|
+
class AccountInferredBalance < APIResource
|
8
|
+
OBJECT_NAME = "financial_connections.account_inferred_balance"
|
9
|
+
def self.object_name
|
10
|
+
"financial_connections.account_inferred_balance"
|
11
|
+
end
|
12
|
+
|
13
|
+
# The time for which this balance was calculated, measured in seconds since the Unix epoch. If the balance was computed by Stripe and not provided directly by a financial institution, it will always be 23:59:59 UTC.
|
14
|
+
attr_reader :as_of
|
15
|
+
# The balances owed to (or by) the account holder, before subtracting any outbound pending transactions or adding any inbound pending transactions.
|
16
|
+
#
|
17
|
+
# Each key is a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
18
|
+
#
|
19
|
+
# Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
|
20
|
+
attr_reader :current
|
21
|
+
# Unique identifier for the object.
|
22
|
+
attr_reader :id
|
23
|
+
# String representing the object's type. Objects of the same type share the same value.
|
24
|
+
attr_reader :object
|
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
|
+
end
|
35
|
+
end
|