stripe 18.1.0.pre.beta.1 → 18.1.0
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/data/ca-certificates.crt +682 -518
- data/lib/stripe/api_requestor.rb +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -209
- data/lib/stripe/object_types.rb +0 -49
- data/lib/stripe/params/account_create_params.rb +48 -329
- data/lib/stripe/params/account_external_account_create_params.rb +2 -2
- data/lib/stripe/params/account_external_account_update_params.rb +2 -2
- data/lib/stripe/params/account_person_create_params.rb +10 -10
- data/lib/stripe/params/account_person_update_params.rb +10 -10
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +47 -291
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -2
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -2
- data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
- data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
- data/lib/stripe/params/charge_capture_params.rb +2 -1650
- data/lib/stripe/params/charge_create_params.rb +12 -12
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +3 -1651
- data/lib/stripe/params/checkout/session_create_params.rb +41 -167
- data/lib/stripe/params/checkout/session_update_params.rb +12 -152
- data/lib/stripe/params/climate/order_create_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +6 -83
- data/lib/stripe/params/coupon_create_params.rb +2 -18
- data/lib/stripe/params/coupon_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_create_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
- data/lib/stripe/params/customer_create_params.rb +5 -5
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_update_params.rb +7 -7
- data/lib/stripe/params/dispute_update_params.rb +4 -13
- data/lib/stripe/params/file_create_params.rb +3 -3
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/session_create_params.rb +4 -33
- data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
- data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
- data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
- data/lib/stripe/params/invoice_add_lines_params.rb +9 -41
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +29 -110
- data/lib/stripe/params/invoice_create_preview_params.rb +42 -855
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +9 -41
- data/lib/stripe/params/invoice_item_list_params.rb +2 -2
- data/lib/stripe/params/invoice_item_update_params.rb +7 -39
- data/lib/stripe/params/invoice_line_item_update_params.rb +8 -40
- data/lib/stripe/params/invoice_list_params.rb +2 -2
- data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +9 -41
- data/lib/stripe/params/invoice_update_params.rb +26 -107
- data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +7 -7
- data/lib/stripe/params/issuing/card_update_params.rb +6 -6
- data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -12
- data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
- data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +13 -1639
- data/lib/stripe/params/payment_intent_confirm_params.rb +52 -3012
- data/lib/stripe/params/payment_intent_create_params.rb +68 -3028
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +11 -32
- data/lib/stripe/params/payment_intent_list_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +57 -3048
- data/lib/stripe/params/payment_link_create_params.rb +19 -19
- data/lib/stripe/params/payment_link_update_params.rb +9 -9
- data/lib/stripe/params/payment_method_attach_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +38 -143
- data/lib/stripe/params/payment_method_configuration_update_params.rb +38 -143
- data/lib/stripe/params/payment_method_create_params.rb +4 -81
- data/lib/stripe/params/payment_method_update_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
- data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
- data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_update_params.rb +2 -2
- data/lib/stripe/params/price_create_params.rb +6 -6
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +3 -22
- data/lib/stripe/params/product_create_params.rb +7 -7
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +4 -4
- data/lib/stripe/params/promotion_code_create_params.rb +3 -3
- data/lib/stripe/params/promotion_code_list_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +7 -805
- data/lib/stripe/params/quote_list_params.rb +2 -6
- data/lib/stripe/params/quote_update_params.rb +8 -813
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +2 -2
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/setup_intent_confirm_params.rb +9 -164
- data/lib/stripe/params/setup_intent_create_params.rb +15 -170
- data/lib/stripe/params/setup_intent_update_params.rb +11 -166
- data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +3 -3
- data/lib/stripe/params/source_update_params.rb +3 -3
- data/lib/stripe/params/subscription_create_params.rb +39 -264
- data/lib/stripe/params/subscription_item_create_params.rb +12 -56
- data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
- data/lib/stripe/params/subscription_item_update_params.rb +11 -39
- data/lib/stripe/params/subscription_list_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +2 -2
- data/lib/stripe/params/subscription_schedule_create_params.rb +20 -178
- data/lib/stripe/params/subscription_schedule_update_params.rb +20 -178
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +36 -245
- data/lib/stripe/params/tax/association_find_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
- data/lib/stripe/params/tax/settings_update_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
- data/lib/stripe/params/tax_id_create_params.rb +2 -2
- data/lib/stripe/params/tax_id_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/terminal/location_create_params.rb +2 -2
- data/lib/stripe/params/terminal/location_update_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -83
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +2 -26
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +2 -26
- data/lib/stripe/params/token_create_params.rb +22 -22
- data/lib/stripe/params/topup_create_params.rb +2 -2
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +3 -7
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_create_params.rb +2 -9
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +2 -9
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -27
- data/lib/stripe/params/treasury/received_credit_create_params.rb +2 -26
- data/lib/stripe/params/treasury/received_debit_create_params.rb +2 -26
- data/lib/stripe/params/v2/core/account_create_params.rb +46 -271
- data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +31 -21
- data/lib/stripe/params/v2/core/account_update_params.rb +50 -268
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +0 -146
- data/lib/stripe/resources/account.rb +27 -208
- data/lib/stripe/resources/account_link.rb +1 -1
- data/lib/stripe/resources/account_session.rb +2 -83
- data/lib/stripe/resources/application_fee_refund.rb +2 -2
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +2 -2
- data/lib/stripe/resources/balance_settings.rb +1 -1
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +10 -10
- data/lib/stripe/resources/billing/alert.rb +1 -1
- data/lib/stripe/resources/billing/credit_grant.rb +2 -2
- data/lib/stripe/resources/billing/meter_event.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
- data/lib/stripe/resources/billing_portal/session.rb +6 -6
- data/lib/stripe/resources/capability.rb +16 -16
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/cash_balance.rb +2 -2
- data/lib/stripe/resources/charge.rb +46 -248
- data/lib/stripe/resources/checkout/session.rb +23 -123
- data/lib/stripe/resources/climate/order.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +11 -144
- data/lib/stripe/resources/coupon.rb +4 -29
- data/lib/stripe/resources/credit_note.rb +5 -5
- data/lib/stripe/resources/credit_note_line_item.rb +1 -19
- data/lib/stripe/resources/customer.rb +8 -8
- data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +3 -3
- data/lib/stripe/resources/dispute.rb +5 -27
- data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
- data/lib/stripe/resources/event.rb +2 -65
- data/lib/stripe/resources/exchange_rate.rb +2 -2
- data/lib/stripe/resources/file.rb +4 -4
- data/lib/stripe/resources/file_link.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +3 -28
- data/lib/stripe/resources/financial_connections/session.rb +3 -67
- data/lib/stripe/resources/forwarding/request.rb +1 -1
- data/lib/stripe/resources/funding_instructions.rb +14 -14
- data/lib/stripe/resources/identity/verification_report.rb +9 -9
- data/lib/stripe/resources/identity/verification_session.rb +11 -11
- data/lib/stripe/resources/invoice.rb +49 -166
- data/lib/stripe/resources/invoice_item.rb +6 -8
- data/lib/stripe/resources/invoice_line_item.rb +6 -44
- data/lib/stripe/resources/invoice_payment.rb +1 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
- data/lib/stripe/resources/issuing/authorization.rb +20 -20
- data/lib/stripe/resources/issuing/card.rb +12 -12
- data/lib/stripe/resources/issuing/cardholder.rb +14 -14
- data/lib/stripe/resources/issuing/dispute.rb +7 -7
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/token.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +12 -14
- data/lib/stripe/resources/line_item.rb +4 -69
- data/lib/stripe/resources/login_link.rb +1 -1
- data/lib/stripe/resources/mandate.rb +0 -43
- data/lib/stripe/resources/payment_attempt_record.rb +79 -201
- data/lib/stripe/resources/payment_intent.rb +59 -751
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
- data/lib/stripe/resources/payment_link.rb +7 -7
- data/lib/stripe/resources/payment_method.rb +13 -148
- data/lib/stripe/resources/payment_method_configuration.rb +4 -174
- data/lib/stripe/resources/payment_method_domain.rb +1 -1
- data/lib/stripe/resources/payment_record.rb +81 -201
- data/lib/stripe/resources/payout.rb +7 -7
- data/lib/stripe/resources/person.rb +23 -23
- data/lib/stripe/resources/plan.rb +5 -5
- data/lib/stripe/resources/price.rb +6 -26
- data/lib/stripe/resources/product.rb +9 -9
- data/lib/stripe/resources/promotion_code.rb +4 -4
- data/lib/stripe/resources/quote.rb +14 -581
- data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
- data/lib/stripe/resources/radar/value_list.rb +2 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -1
- data/lib/stripe/resources/refund.rb +3 -21
- data/lib/stripe/resources/reporting/report_run.rb +3 -3
- data/lib/stripe/resources/reporting/report_type.rb +3 -3
- data/lib/stripe/resources/reversal.rb +4 -4
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +17 -65
- data/lib/stripe/resources/setup_intent.rb +20 -107
- data/lib/stripe/resources/shipping_rate.rb +3 -3
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +8 -46
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/subscription.rb +23 -221
- data/lib/stripe/resources/subscription_item.rb +8 -27
- data/lib/stripe/resources/subscription_schedule.rb +11 -204
- data/lib/stripe/resources/tax/association.rb +3 -3
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
- data/lib/stripe/resources/tax/registration.rb +3 -3
- data/lib/stripe/resources/tax/settings.rb +2 -2
- data/lib/stripe/resources/tax/transaction.rb +9 -9
- data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
- data/lib/stripe/resources/tax_id.rb +4 -4
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/connection_token.rb +1 -1
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/reader.rb +10 -18
- data/lib/stripe/resources/token.rb +4 -4
- data/lib/stripe/resources/topup.rb +3 -3
- data/lib/stripe/resources/transfer.rb +5 -7
- data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/financial_account.rb +1 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
- data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
- data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -35
- data/lib/stripe/resources/treasury/received_credit.rb +10 -40
- data/lib/stripe/resources/treasury/received_debit.rb +7 -39
- data/lib/stripe/resources/treasury/transaction.rb +11 -11
- data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
- data/lib/stripe/resources/v2/core/account.rb +133 -789
- data/lib/stripe/resources/v2/core/account_link.rb +11 -11
- data/lib/stripe/resources/v2/core/account_person.rb +10 -10
- data/lib/stripe/resources/webhook_endpoint.rb +1 -1
- data/lib/stripe/resources.rb +0 -100
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/payment_method_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -8
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_service.rb +0 -4
- data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +0 -51
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +31 -2
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +17422 -76304
- metadata +4 -301
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -2061
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -2065
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
|
@@ -18,7 +18,7 @@ module Stripe
|
|
|
18
18
|
attr_reader :id
|
|
19
19
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
20
20
|
attr_reader :livemode
|
|
21
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
21
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
22
22
|
attr_reader :metadata
|
|
23
23
|
# A brief description of the template, hidden from customers
|
|
24
24
|
attr_reader :nickname
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Issuing
|
|
6
|
-
# When an [issued card](https://stripe.com/
|
|
7
|
-
# object is created. [Authorizations](https://stripe.com/
|
|
6
|
+
# When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization`
|
|
7
|
+
# object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the
|
|
8
8
|
# purchase to be completed successfully.
|
|
9
9
|
#
|
|
10
|
-
# Related guide: [Issued card authorizations](https://stripe.com/
|
|
10
|
+
# Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations)
|
|
11
11
|
class Authorization < APIResource
|
|
12
12
|
extend Gem::Deprecate
|
|
13
13
|
extend Stripe::APIOperations::List
|
|
@@ -173,7 +173,7 @@ module Stripe
|
|
|
173
173
|
end
|
|
174
174
|
|
|
175
175
|
class MerchantData < ::Stripe::StripeObject
|
|
176
|
-
# A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/
|
|
176
|
+
# A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values.
|
|
177
177
|
attr_reader :category
|
|
178
178
|
# The merchant category code for the seller’s business
|
|
179
179
|
attr_reader :category_code
|
|
@@ -237,15 +237,15 @@ module Stripe
|
|
|
237
237
|
@field_remappings = {}
|
|
238
238
|
end
|
|
239
239
|
end
|
|
240
|
-
# The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://stripe.com/
|
|
240
|
+
# The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
241
241
|
attr_reader :amount
|
|
242
|
-
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/
|
|
242
|
+
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
243
243
|
attr_reader :amount_details
|
|
244
244
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
245
245
|
attr_reader :currency
|
|
246
|
-
# If set `true`, you may provide [amount](https://stripe.com/
|
|
246
|
+
# If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.
|
|
247
247
|
attr_reader :is_amount_controllable
|
|
248
|
-
# The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://stripe.com/
|
|
248
|
+
# The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
249
249
|
attr_reader :merchant_amount
|
|
250
250
|
# The local currency the merchant is requesting to authorize.
|
|
251
251
|
attr_reader :merchant_currency
|
|
@@ -276,9 +276,9 @@ module Stripe
|
|
|
276
276
|
@field_remappings = {}
|
|
277
277
|
end
|
|
278
278
|
end
|
|
279
|
-
# The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://stripe.com/
|
|
279
|
+
# The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved.
|
|
280
280
|
attr_reader :amount
|
|
281
|
-
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/
|
|
281
|
+
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
282
282
|
attr_reader :amount_details
|
|
283
283
|
# Whether this request was approved.
|
|
284
284
|
attr_reader :approved
|
|
@@ -288,7 +288,7 @@ module Stripe
|
|
|
288
288
|
attr_reader :created
|
|
289
289
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
290
290
|
attr_reader :currency
|
|
291
|
-
# The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/
|
|
291
|
+
# The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
292
292
|
attr_reader :merchant_amount
|
|
293
293
|
# The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
294
294
|
attr_reader :merchant_currency
|
|
@@ -311,11 +311,11 @@ module Stripe
|
|
|
311
311
|
end
|
|
312
312
|
|
|
313
313
|
class Treasury < ::Stripe::StripeObject
|
|
314
|
-
# The array of [ReceivedCredits](https://stripe.com/
|
|
314
|
+
# The array of [ReceivedCredits](https://docs.stripe.com/api/treasury/received_credits) associated with this authorization
|
|
315
315
|
attr_reader :received_credits
|
|
316
|
-
# The array of [ReceivedDebits](https://stripe.com/
|
|
316
|
+
# The array of [ReceivedDebits](https://docs.stripe.com/api/treasury/received_debits) associated with this authorization
|
|
317
317
|
attr_reader :received_debits
|
|
318
|
-
# The Treasury [Transaction](https://stripe.com/
|
|
318
|
+
# The Treasury [Transaction](https://docs.stripe.com/api/treasury/transactions) associated with this authorization
|
|
319
319
|
attr_reader :transaction
|
|
320
320
|
|
|
321
321
|
def self.inner_class_types
|
|
@@ -383,7 +383,7 @@ module Stripe
|
|
|
383
383
|
end
|
|
384
384
|
# The total amount that was authorized or rejected. This amount is in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). `amount` should be the same as `merchant_amount`, unless `currency` and `merchant_currency` are different.
|
|
385
385
|
attr_reader :amount
|
|
386
|
-
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/
|
|
386
|
+
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
387
387
|
attr_reader :amount_details
|
|
388
388
|
# Whether the authorization has been approved.
|
|
389
389
|
attr_reader :approved
|
|
@@ -391,7 +391,7 @@ module Stripe
|
|
|
391
391
|
attr_reader :authorization_method
|
|
392
392
|
# List of balance transactions associated with this authorization.
|
|
393
393
|
attr_reader :balance_transactions
|
|
394
|
-
# You can [create physical or virtual cards](https://stripe.com/
|
|
394
|
+
# You can [create physical or virtual cards](https://docs.stripe.com/issuing) that are issued to cardholders.
|
|
395
395
|
attr_reader :card
|
|
396
396
|
# The cardholder to whom this authorization belongs.
|
|
397
397
|
attr_reader :cardholder
|
|
@@ -415,7 +415,7 @@ module Stripe
|
|
|
415
415
|
attr_reader :merchant_currency
|
|
416
416
|
# Attribute for field merchant_data
|
|
417
417
|
attr_reader :merchant_data
|
|
418
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
418
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
419
419
|
attr_reader :metadata
|
|
420
420
|
# Details about the authorization, such as identifiers, set by the card network.
|
|
421
421
|
attr_reader :network_data
|
|
@@ -427,11 +427,11 @@ module Stripe
|
|
|
427
427
|
attr_reader :request_history
|
|
428
428
|
# The current status of the authorization in its lifecycle.
|
|
429
429
|
attr_reader :status
|
|
430
|
-
# [Token](https://stripe.com/
|
|
430
|
+
# [Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this authorization. If a network token was not used for this authorization, this field will be null.
|
|
431
431
|
attr_reader :token
|
|
432
|
-
# List of [transactions](https://stripe.com/
|
|
432
|
+
# List of [transactions](https://docs.stripe.com/api/issuing/transactions) associated with this authorization.
|
|
433
433
|
attr_reader :transactions
|
|
434
|
-
# [Treasury](https://stripe.com/
|
|
434
|
+
# [Treasury](https://docs.stripe.com/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://docs.stripe.com/api/treasury/financial_accounts).
|
|
435
435
|
attr_reader :treasury
|
|
436
436
|
# Attribute for field verification_data
|
|
437
437
|
attr_reader :verification_data
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Issuing
|
|
6
|
-
# You can [create physical or virtual cards](https://stripe.com/
|
|
6
|
+
# You can [create physical or virtual cards](https://docs.stripe.com/issuing) that are issued to cardholders.
|
|
7
7
|
class Card < APIResource
|
|
8
8
|
extend Stripe::APIOperations::Create
|
|
9
9
|
extend Stripe::APIOperations::List
|
|
@@ -41,7 +41,7 @@ module Stripe
|
|
|
41
41
|
attr_reader :line2
|
|
42
42
|
# ZIP or postal code.
|
|
43
43
|
attr_reader :postal_code
|
|
44
|
-
# State, county, province, or region.
|
|
44
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
45
45
|
attr_reader :state
|
|
46
46
|
|
|
47
47
|
def self.inner_class_types
|
|
@@ -65,7 +65,7 @@ module Stripe
|
|
|
65
65
|
attr_reader :line2
|
|
66
66
|
# ZIP or postal code.
|
|
67
67
|
attr_reader :postal_code
|
|
68
|
-
# State, county, province, or region.
|
|
68
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
69
69
|
attr_reader :state
|
|
70
70
|
|
|
71
71
|
def self.inner_class_types
|
|
@@ -146,9 +146,9 @@ module Stripe
|
|
|
146
146
|
|
|
147
147
|
class SpendingControls < ::Stripe::StripeObject
|
|
148
148
|
class SpendingLimit < ::Stripe::StripeObject
|
|
149
|
-
# Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/
|
|
149
|
+
# Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
150
150
|
attr_reader :amount
|
|
151
|
-
# Array of strings containing [categories](https://stripe.com/
|
|
151
|
+
# Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
|
|
152
152
|
attr_reader :categories
|
|
153
153
|
# Interval (or event) to which the amount applies.
|
|
154
154
|
attr_reader :interval
|
|
@@ -161,11 +161,11 @@ module Stripe
|
|
|
161
161
|
@field_remappings = {}
|
|
162
162
|
end
|
|
163
163
|
end
|
|
164
|
-
# Array of strings containing [categories](https://stripe.com/
|
|
164
|
+
# Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
|
|
165
165
|
attr_reader :allowed_categories
|
|
166
166
|
# Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.
|
|
167
167
|
attr_reader :allowed_merchant_countries
|
|
168
|
-
# Array of strings containing [categories](https://stripe.com/
|
|
168
|
+
# Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.
|
|
169
169
|
attr_reader :blocked_categories
|
|
170
170
|
# Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.
|
|
171
171
|
attr_reader :blocked_merchant_countries
|
|
@@ -232,15 +232,15 @@ module Stripe
|
|
|
232
232
|
attr_reader :brand
|
|
233
233
|
# The reason why the card was canceled.
|
|
234
234
|
attr_reader :cancellation_reason
|
|
235
|
-
# An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/
|
|
235
|
+
# An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://docs.stripe.com/issuing) cards.
|
|
236
236
|
#
|
|
237
|
-
# Related guide: [How to create a cardholder](https://stripe.com/
|
|
237
|
+
# Related guide: [How to create a cardholder](https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder)
|
|
238
238
|
attr_reader :cardholder
|
|
239
239
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
240
240
|
attr_reader :created
|
|
241
241
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Supported currencies are `usd` in the US, `eur` in the EU, and `gbp` in the UK.
|
|
242
242
|
attr_reader :currency
|
|
243
|
-
# The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/
|
|
243
|
+
# The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://docs.stripe.com/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://docs.stripe.com/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint.
|
|
244
244
|
attr_reader :cvc
|
|
245
245
|
# The expiration month of the card.
|
|
246
246
|
attr_reader :exp_month
|
|
@@ -256,9 +256,9 @@ module Stripe
|
|
|
256
256
|
attr_reader :latest_fraud_warning
|
|
257
257
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
258
258
|
attr_reader :livemode
|
|
259
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
259
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
260
260
|
attr_reader :metadata
|
|
261
|
-
# The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/
|
|
261
|
+
# The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://docs.stripe.com/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://docs.stripe.com/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint.
|
|
262
262
|
attr_reader :number
|
|
263
263
|
# String representing the object's type. Objects of the same type share the same value.
|
|
264
264
|
attr_reader :object
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Issuing
|
|
6
|
-
# An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/
|
|
6
|
+
# An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://docs.stripe.com/issuing) cards.
|
|
7
7
|
#
|
|
8
|
-
# Related guide: [How to create a cardholder](https://stripe.com/
|
|
8
|
+
# Related guide: [How to create a cardholder](https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder)
|
|
9
9
|
class Cardholder < APIResource
|
|
10
10
|
extend Stripe::APIOperations::Create
|
|
11
11
|
extend Stripe::APIOperations::List
|
|
@@ -28,7 +28,7 @@ module Stripe
|
|
|
28
28
|
attr_reader :line2
|
|
29
29
|
# ZIP or postal code.
|
|
30
30
|
attr_reader :postal_code
|
|
31
|
-
# State, county, province, or region.
|
|
31
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
32
32
|
attr_reader :state
|
|
33
33
|
|
|
34
34
|
def self.inner_class_types
|
|
@@ -113,9 +113,9 @@ module Stripe
|
|
|
113
113
|
|
|
114
114
|
class Verification < ::Stripe::StripeObject
|
|
115
115
|
class Document < ::Stripe::StripeObject
|
|
116
|
-
# The back of a document returned by a [file upload](https://stripe.com
|
|
116
|
+
# The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
|
|
117
117
|
attr_reader :back
|
|
118
|
-
# The front of a document returned by a [file upload](https://stripe.com
|
|
118
|
+
# The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.
|
|
119
119
|
attr_reader :front
|
|
120
120
|
|
|
121
121
|
def self.inner_class_types
|
|
@@ -174,9 +174,9 @@ module Stripe
|
|
|
174
174
|
|
|
175
175
|
class SpendingControls < ::Stripe::StripeObject
|
|
176
176
|
class SpendingLimit < ::Stripe::StripeObject
|
|
177
|
-
# Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/
|
|
177
|
+
# Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
178
178
|
attr_reader :amount
|
|
179
|
-
# Array of strings containing [categories](https://stripe.com/
|
|
179
|
+
# Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
|
|
180
180
|
attr_reader :categories
|
|
181
181
|
# Interval (or event) to which the amount applies.
|
|
182
182
|
attr_reader :interval
|
|
@@ -189,11 +189,11 @@ module Stripe
|
|
|
189
189
|
@field_remappings = {}
|
|
190
190
|
end
|
|
191
191
|
end
|
|
192
|
-
# Array of strings containing [categories](https://stripe.com/
|
|
192
|
+
# Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
|
|
193
193
|
attr_reader :allowed_categories
|
|
194
194
|
# Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.
|
|
195
195
|
attr_reader :allowed_merchant_countries
|
|
196
|
-
# Array of strings containing [categories](https://stripe.com/
|
|
196
|
+
# Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.
|
|
197
197
|
attr_reader :blocked_categories
|
|
198
198
|
# Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.
|
|
199
199
|
attr_reader :blocked_merchant_countries
|
|
@@ -224,24 +224,24 @@ module Stripe
|
|
|
224
224
|
attr_reader :individual
|
|
225
225
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
226
226
|
attr_reader :livemode
|
|
227
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
227
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
228
228
|
attr_reader :metadata
|
|
229
229
|
# The cardholder's name. This will be printed on cards issued to them.
|
|
230
230
|
attr_reader :name
|
|
231
231
|
# String representing the object's type. Objects of the same type share the same value.
|
|
232
232
|
attr_reader :object
|
|
233
|
-
# The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://stripe.com/
|
|
233
|
+
# The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied) for more details.
|
|
234
234
|
attr_reader :phone_number
|
|
235
235
|
# The cardholder’s preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
|
|
236
|
-
# This changes the language of the [3D Secure flow](https://stripe.com/
|
|
236
|
+
# This changes the language of the [3D Secure flow](https://docs.stripe.com/issuing/3d-secure) and one-time password messages sent to the cardholder.
|
|
237
237
|
attr_reader :preferred_locales
|
|
238
238
|
# Attribute for field requirements
|
|
239
239
|
attr_reader :requirements
|
|
240
|
-
# Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/
|
|
240
|
+
# Rules that control spending across this cardholder's cards. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.
|
|
241
241
|
attr_reader :spending_controls
|
|
242
242
|
# Specifies whether to permit authorizations on this cardholder's cards.
|
|
243
243
|
attr_reader :status
|
|
244
|
-
# One of `individual` or `company`. See [Choose a cardholder type](https://stripe.com/
|
|
244
|
+
# One of `individual` or `company`. See [Choose a cardholder type](https://docs.stripe.com/issuing/other/choose-cardholder) for more details.
|
|
245
245
|
attr_reader :type
|
|
246
246
|
|
|
247
247
|
# Creates a new Issuing Cardholder object that can be issued cards.
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Issuing
|
|
6
|
-
# As a [card issuer](https://stripe.com/
|
|
6
|
+
# As a [card issuer](https://docs.stripe.com/issuing), you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with.
|
|
7
7
|
#
|
|
8
|
-
# Related guide: [Issuing disputes](https://stripe.com/
|
|
8
|
+
# Related guide: [Issuing disputes](https://docs.stripe.com/issuing/purchases/disputes)
|
|
9
9
|
class Dispute < APIResource
|
|
10
10
|
extend Stripe::APIOperations::Create
|
|
11
11
|
extend Stripe::APIOperations::List
|
|
@@ -222,9 +222,9 @@ module Stripe
|
|
|
222
222
|
end
|
|
223
223
|
|
|
224
224
|
class Treasury < ::Stripe::StripeObject
|
|
225
|
-
# The Treasury [DebitReversal](https://stripe.com/
|
|
225
|
+
# The Treasury [DebitReversal](https://docs.stripe.com/api/treasury/debit_reversals) representing this Issuing dispute
|
|
226
226
|
attr_reader :debit_reversal
|
|
227
|
-
# The Treasury [ReceivedDebit](https://stripe.com/
|
|
227
|
+
# The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) that is being disputed.
|
|
228
228
|
attr_reader :received_debit
|
|
229
229
|
|
|
230
230
|
def self.inner_class_types
|
|
@@ -235,7 +235,7 @@ module Stripe
|
|
|
235
235
|
@field_remappings = {}
|
|
236
236
|
end
|
|
237
237
|
end
|
|
238
|
-
# Disputed amount in the card's currency and in the [smallest currency unit](https://stripe.com/
|
|
238
|
+
# Disputed amount in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation).
|
|
239
239
|
attr_reader :amount
|
|
240
240
|
# List of balance transactions associated with the dispute.
|
|
241
241
|
attr_reader :balance_transactions
|
|
@@ -251,7 +251,7 @@ module Stripe
|
|
|
251
251
|
attr_reader :livemode
|
|
252
252
|
# The enum that describes the dispute loss outcome. If the dispute is not lost, this field will be absent. New enum values may be added in the future, so be sure to handle unknown values.
|
|
253
253
|
attr_reader :loss_reason
|
|
254
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
254
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
255
255
|
attr_reader :metadata
|
|
256
256
|
# String representing the object's type. Objects of the same type share the same value.
|
|
257
257
|
attr_reader :object
|
|
@@ -259,7 +259,7 @@ module Stripe
|
|
|
259
259
|
attr_reader :status
|
|
260
260
|
# The transaction being disputed.
|
|
261
261
|
attr_reader :transaction
|
|
262
|
-
# [Treasury](https://stripe.com/
|
|
262
|
+
# [Treasury](https://docs.stripe.com/api/treasury) details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
|
|
263
263
|
attr_reader :treasury
|
|
264
264
|
|
|
265
265
|
# Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to [Dispute reasons and evidence](https://docs.stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence) for more details about evidence requirements.
|
|
@@ -74,7 +74,7 @@ module Stripe
|
|
|
74
74
|
attr_reader :livemode
|
|
75
75
|
# A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.
|
|
76
76
|
attr_reader :lookup_key
|
|
77
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
77
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
78
78
|
attr_reader :metadata
|
|
79
79
|
# Friendly display name.
|
|
80
80
|
attr_reader :name
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Issuing
|
|
6
|
-
# An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/
|
|
6
|
+
# An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://docs.stripe.com/issuing), you can [view and manage these tokens](https://docs.stripe.com/issuing/controls/token-management) through Stripe.
|
|
7
7
|
class Token < APIResource
|
|
8
8
|
extend Stripe::APIOperations::List
|
|
9
9
|
include Stripe::APIOperations::Save
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module Issuing
|
|
6
|
-
# Any use of an [issued card](https://stripe.com/
|
|
6
|
+
# Any use of an [issued card](https://docs.stripe.com/issuing) that results in funds entering or leaving
|
|
7
7
|
# your Stripe account, such as a completed purchase or refund, is represented by an Issuing
|
|
8
8
|
# `Transaction` object.
|
|
9
9
|
#
|
|
10
|
-
# Related guide: [Issued card transactions](https://stripe.com/
|
|
10
|
+
# Related guide: [Issued card transactions](https://docs.stripe.com/issuing/purchases/transactions)
|
|
11
11
|
class Transaction < APIResource
|
|
12
12
|
extend Stripe::APIOperations::List
|
|
13
13
|
include Stripe::APIOperations::Save
|
|
@@ -33,7 +33,7 @@ module Stripe
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
class MerchantData < ::Stripe::StripeObject
|
|
36
|
-
# A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/
|
|
36
|
+
# A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values.
|
|
37
37
|
attr_reader :category
|
|
38
38
|
# The merchant category code for the seller’s business
|
|
39
39
|
attr_reader :category_code
|
|
@@ -308,9 +308,9 @@ module Stripe
|
|
|
308
308
|
end
|
|
309
309
|
|
|
310
310
|
class Treasury < ::Stripe::StripeObject
|
|
311
|
-
# The Treasury [ReceivedCredit](https://stripe.com/
|
|
311
|
+
# The Treasury [ReceivedCredit](https://docs.stripe.com/api/treasury/received_credits) representing this Issuing transaction if it is a refund
|
|
312
312
|
attr_reader :received_credit
|
|
313
|
-
# The Treasury [ReceivedDebit](https://stripe.com/
|
|
313
|
+
# The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) representing this Issuing transaction if it is a capture
|
|
314
314
|
attr_reader :received_debit
|
|
315
315
|
|
|
316
316
|
def self.inner_class_types
|
|
@@ -321,13 +321,13 @@ module Stripe
|
|
|
321
321
|
@field_remappings = {}
|
|
322
322
|
end
|
|
323
323
|
end
|
|
324
|
-
# The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://stripe.com/
|
|
324
|
+
# The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
325
325
|
attr_reader :amount
|
|
326
|
-
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/
|
|
326
|
+
# Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
327
327
|
attr_reader :amount_details
|
|
328
328
|
# The `Authorization` object that led to this transaction.
|
|
329
329
|
attr_reader :authorization
|
|
330
|
-
# ID of the [balance transaction](https://stripe.com/
|
|
330
|
+
# ID of the [balance transaction](https://docs.stripe.com/api/balance_transactions) associated with this transaction.
|
|
331
331
|
attr_reader :balance_transaction
|
|
332
332
|
# The card used to make this transaction.
|
|
333
333
|
attr_reader :card
|
|
@@ -343,13 +343,13 @@ module Stripe
|
|
|
343
343
|
attr_reader :id
|
|
344
344
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
345
345
|
attr_reader :livemode
|
|
346
|
-
# The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://stripe.com/
|
|
346
|
+
# The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency.
|
|
347
347
|
attr_reader :merchant_amount
|
|
348
348
|
# The currency with which the merchant is taking payment.
|
|
349
349
|
attr_reader :merchant_currency
|
|
350
350
|
# Attribute for field merchant_data
|
|
351
351
|
attr_reader :merchant_data
|
|
352
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
352
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
353
353
|
attr_reader :metadata
|
|
354
354
|
# Details about the transaction, such as processing dates, set by the card network.
|
|
355
355
|
attr_reader :network_data
|
|
@@ -357,11 +357,9 @@ module Stripe
|
|
|
357
357
|
attr_reader :object
|
|
358
358
|
# Additional purchase information that is optionally provided by the merchant.
|
|
359
359
|
attr_reader :purchase_details
|
|
360
|
-
#
|
|
361
|
-
attr_reader :settlement
|
|
362
|
-
# [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.
|
|
360
|
+
# [Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.
|
|
363
361
|
attr_reader :token
|
|
364
|
-
# [Treasury](https://stripe.com/
|
|
362
|
+
# [Treasury](https://docs.stripe.com/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
|
|
365
363
|
attr_reader :treasury
|
|
366
364
|
# The nature of the transaction.
|
|
367
365
|
attr_reader :type
|
|
@@ -9,30 +9,13 @@ module Stripe
|
|
|
9
9
|
"item"
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
class AdjustableQuantity < ::Stripe::StripeObject
|
|
13
|
-
# Attribute for field enabled
|
|
14
|
-
attr_reader :enabled
|
|
15
|
-
# Attribute for field maximum
|
|
16
|
-
attr_reader :maximum
|
|
17
|
-
# Attribute for field minimum
|
|
18
|
-
attr_reader :minimum
|
|
19
|
-
|
|
20
|
-
def self.inner_class_types
|
|
21
|
-
@inner_class_types = {}
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def self.field_remappings
|
|
25
|
-
@field_remappings = {}
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
12
|
class Discount < ::Stripe::StripeObject
|
|
30
13
|
# The amount discounted.
|
|
31
14
|
attr_reader :amount
|
|
32
|
-
# A discount represents the actual application of a [coupon](https://stripe.com
|
|
15
|
+
# A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes).
|
|
33
16
|
# It contains information about when the discount began, when it will end, and what it is applied to.
|
|
34
17
|
#
|
|
35
|
-
# Related guide: [Applying discounts to subscriptions](https://stripe.com/
|
|
18
|
+
# Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)
|
|
36
19
|
attr_reader :discount
|
|
37
20
|
|
|
38
21
|
def self.inner_class_types
|
|
@@ -44,38 +27,6 @@ module Stripe
|
|
|
44
27
|
end
|
|
45
28
|
end
|
|
46
29
|
|
|
47
|
-
class Display < ::Stripe::StripeObject
|
|
48
|
-
# Attribute for field description
|
|
49
|
-
attr_reader :description
|
|
50
|
-
# Attribute for field images
|
|
51
|
-
attr_reader :images
|
|
52
|
-
# Attribute for field name
|
|
53
|
-
attr_reader :name
|
|
54
|
-
|
|
55
|
-
def self.inner_class_types
|
|
56
|
-
@inner_class_types = {}
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
def self.field_remappings
|
|
60
|
-
@field_remappings = {}
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
class TaxCalculationReference < ::Stripe::StripeObject
|
|
65
|
-
# The calculation identifier for tax calculation response.
|
|
66
|
-
attr_reader :calculation_id
|
|
67
|
-
# The calculation identifier for tax calculation response line item.
|
|
68
|
-
attr_reader :calculation_item_id
|
|
69
|
-
|
|
70
|
-
def self.inner_class_types
|
|
71
|
-
@inner_class_types = {}
|
|
72
|
-
end
|
|
73
|
-
|
|
74
|
-
def self.field_remappings
|
|
75
|
-
@field_remappings = {}
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
|
|
79
30
|
class Tax < ::Stripe::StripeObject
|
|
80
31
|
# Amount of tax applied for this rate.
|
|
81
32
|
attr_reader :amount
|
|
@@ -96,8 +47,6 @@ module Stripe
|
|
|
96
47
|
@field_remappings = {}
|
|
97
48
|
end
|
|
98
49
|
end
|
|
99
|
-
# Attribute for field adjustable_quantity
|
|
100
|
-
attr_reader :adjustable_quantity
|
|
101
50
|
# Total discount amount applied. If no discounts were applied, defaults to 0.
|
|
102
51
|
attr_reader :amount_discount
|
|
103
52
|
# Total before any discounts or taxes are applied.
|
|
@@ -112,35 +61,21 @@ module Stripe
|
|
|
112
61
|
attr_reader :description
|
|
113
62
|
# The discounts applied to the line item.
|
|
114
63
|
attr_reader :discounts
|
|
115
|
-
# Attribute for field display
|
|
116
|
-
attr_reader :display
|
|
117
64
|
# Unique identifier for the object.
|
|
118
65
|
attr_reader :id
|
|
119
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
66
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
120
67
|
attr_reader :metadata
|
|
121
68
|
# String representing the object's type. Objects of the same type share the same value.
|
|
122
69
|
attr_reader :object
|
|
123
70
|
# The price used to generate the line item.
|
|
124
71
|
attr_reader :price
|
|
125
|
-
# The ID of the product for this line item.
|
|
126
|
-
#
|
|
127
|
-
# This will always be the same as `price.product`.
|
|
128
|
-
attr_reader :product
|
|
129
72
|
# The quantity of products being purchased.
|
|
130
73
|
attr_reader :quantity
|
|
131
|
-
# The tax calculation identifiers of the line item.
|
|
132
|
-
attr_reader :tax_calculation_reference
|
|
133
74
|
# The taxes applied to the line item.
|
|
134
75
|
attr_reader :taxes
|
|
135
76
|
|
|
136
77
|
def self.inner_class_types
|
|
137
|
-
@inner_class_types = {
|
|
138
|
-
adjustable_quantity: AdjustableQuantity,
|
|
139
|
-
discounts: Discount,
|
|
140
|
-
display: Display,
|
|
141
|
-
tax_calculation_reference: TaxCalculationReference,
|
|
142
|
-
taxes: Tax,
|
|
143
|
-
}
|
|
78
|
+
@inner_class_types = { discounts: Discount, taxes: Tax }
|
|
144
79
|
end
|
|
145
80
|
|
|
146
81
|
def self.field_remappings
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
# Login Links are single-use URLs that takes an Express account to the login page for their Stripe dashboard.
|
|
6
|
-
# A Login Link differs from an [Account Link](https://stripe.com/
|
|
6
|
+
# A Login Link differs from an [Account Link](https://docs.stripe.com/api/account_links) in that it takes the user directly to their [Express dashboard for the specified account](https://docs.stripe.com/connect/integrate-express-dashboard#create-login-link)
|
|
7
7
|
class LoginLink < APIResource
|
|
8
8
|
OBJECT_NAME = "login_link"
|
|
9
9
|
def self.object_name
|