stripe 17.0.1 → 19.0.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 +40 -44
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +3 -0
- data/lib/stripe/event_types.rb +61 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +7 -7
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +5 -5
- 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_defaults_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +2 -2
- data/lib/stripe/object_types.rb +14 -0
- data/lib/stripe/params/account_capability_list_params.rb +1 -1
- data/lib/stripe/params/account_capability_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_capability_update_params.rb +1 -1
- data/lib/stripe/params/account_create_params.rb +210 -143
- data/lib/stripe/params/account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_create_params.rb +6 -6
- data/lib/stripe/params/account_external_account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_list_params.rb +1 -1
- data/lib/stripe/params/account_external_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_external_account_update_params.rb +5 -5
- data/lib/stripe/params/account_link_create_params.rb +2 -2
- data/lib/stripe/params/account_list_params.rb +2 -2
- data/lib/stripe/params/account_login_link_create_params.rb +1 -1
- data/lib/stripe/params/account_person_create_params.rb +29 -29
- data/lib/stripe/params/account_person_delete_params.rb +1 -1
- data/lib/stripe/params/account_person_list_params.rb +2 -2
- data/lib/stripe/params/account_person_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_person_update_params.rb +29 -29
- data/lib/stripe/params/account_persons_params.rb +2 -2
- data/lib/stripe/params/account_reject_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_current_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_session_create_params.rb +43 -43
- data/lib/stripe/params/account_update_params.rb +206 -139
- data/lib/stripe/params/apple_pay_domain_create_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_list_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_list_params.rb +2 -2
- data/lib/stripe/params/application_fee_refund_create_params.rb +2 -2
- data/lib/stripe/params/application_fee_refund_list_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +2 -2
- data/lib/stripe/params/application_fee_retrieve_params.rb +1 -1
- data/lib/stripe/params/apps/secret_create_params.rb +2 -2
- data/lib/stripe/params/apps/secret_delete_where_params.rb +2 -2
- data/lib/stripe/params/apps/secret_find_params.rb +2 -2
- data/lib/stripe/params/apps/secret_list_params.rb +2 -2
- data/lib/stripe/params/balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_update_params.rb +5 -5
- data/lib/stripe/params/balance_transaction_list_params.rb +4 -4
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/alert_activate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_archive_params.rb +1 -1
- data/lib/stripe/params/billing/alert_create_params.rb +4 -4
- data/lib/stripe/params/billing/alert_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_list_params.rb +1 -1
- data/lib/stripe/params/billing/alert_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +9 -6
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +6 -2
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +12 -8
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_list_params.rb +5 -1
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_update_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +1 -1
- data/lib/stripe/params/billing/meter_create_params.rb +4 -4
- data/lib/stripe/params/billing/meter_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/billing/meter_event_create_params.rb +2 -2
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_reactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/meter_update_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +25 -18
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +25 -18
- data/lib/stripe/params/billing_portal/session_create_params.rb +23 -19
- data/lib/stripe/params/charge_capture_params.rb +4 -4
- data/lib/stripe/params/charge_create_params.rb +18 -18
- data/lib/stripe/params/charge_list_params.rb +2 -2
- data/lib/stripe/params/charge_retrieve_params.rb +1 -1
- data/lib/stripe/params/charge_search_params.rb +2 -2
- data/lib/stripe/params/charge_update_params.rb +7 -7
- data/lib/stripe/params/checkout/session_create_params.rb +359 -177
- data/lib/stripe/params/checkout/session_expire_params.rb +1 -1
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_params.rb +7 -3
- data/lib/stripe/params/checkout/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/checkout/session_update_params.rb +185 -16
- data/lib/stripe/params/climate/order_cancel_params.rb +1 -1
- data/lib/stripe/params/climate/order_create_params.rb +7 -3
- data/lib/stripe/params/climate/order_list_params.rb +1 -1
- data/lib/stripe/params/climate/order_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +3 -3
- data/lib/stripe/params/climate/product_list_params.rb +1 -1
- data/lib/stripe/params/climate/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_list_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +117 -67
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +1 -1
- data/lib/stripe/params/country_spec_list_params.rb +1 -1
- data/lib/stripe/params/country_spec_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_create_params.rb +5 -5
- data/lib/stripe/params/coupon_delete_params.rb +1 -1
- data/lib/stripe/params/coupon_list_params.rb +2 -2
- data/lib/stripe/params/coupon_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_update_params.rb +3 -3
- data/lib/stripe/params/credit_note_create_params.rb +44 -10
- data/lib/stripe/params/credit_note_line_item_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +6 -2
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +44 -10
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +44 -10
- data/lib/stripe/params/credit_note_preview_params.rb +44 -10
- data/lib/stripe/params/credit_note_retrieve_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +2 -2
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +3 -3
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +32 -2
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +2 -2
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +3 -3
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +4 -4
- data/lib/stripe/params/customer_create_params.rb +17 -17
- data/lib/stripe/params/customer_delete_discount_params.rb +1 -1
- data/lib/stripe/params/customer_delete_params.rb +1 -1
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +3 -3
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +4 -4
- data/lib/stripe/params/customer_list_params.rb +2 -2
- data/lib/stripe/params/customer_list_payment_methods_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_create_params.rb +3 -3
- data/lib/stripe/params/customer_payment_source_delete_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_update_params.rb +5 -5
- data/lib/stripe/params/customer_payment_source_verify_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +1 -1
- data/lib/stripe/params/customer_search_params.rb +2 -2
- data/lib/stripe/params/customer_session_create_params.rb +97 -9
- data/lib/stripe/params/customer_tax_id_create_params.rb +2 -2
- data/lib/stripe/params/customer_tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_list_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_update_params.rb +17 -17
- data/lib/stripe/params/dispute_close_params.rb +1 -1
- data/lib/stripe/params/dispute_list_params.rb +2 -2
- data/lib/stripe/params/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +12 -12
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_create_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_update_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_create_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_delete_params.rb +1 -1
- data/lib/stripe/params/event_list_params.rb +2 -2
- data/lib/stripe/params/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_list_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_create_params.rb +5 -5
- data/lib/stripe/params/file_link_create_params.rb +2 -2
- data/lib/stripe/params/file_link_list_params.rb +2 -2
- data/lib/stripe/params/file_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +2 -2
- data/lib/stripe/params/file_list_params.rb +2 -2
- data/lib/stripe/params/file_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +8 -5
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/session_create_params.rb +9 -6
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/forwarding/request_create_params.rb +4 -4
- data/lib/stripe/params/forwarding/request_list_params.rb +2 -2
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_report_list_params.rb +2 -2
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_create_params.rb +14 -10
- data/lib/stripe/params/identity/verification_session_list_params.rb +8 -4
- data/lib/stripe/params/identity/verification_session_redact_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_update_params.rb +9 -9
- data/lib/stripe/params/invoice_add_lines_params.rb +48 -18
- data/lib/stripe/params/invoice_attach_payment_params.rb +5 -2
- data/lib/stripe/params/invoice_create_params.rb +77 -48
- data/lib/stripe/params/invoice_create_preview_params.rb +257 -80
- data/lib/stripe/params/invoice_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +2 -2
- data/lib/stripe/params/invoice_item_create_params.rb +33 -13
- data/lib/stripe/params/invoice_item_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_item_list_params.rb +7 -3
- data/lib/stripe/params/invoice_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_item_update_params.rb +28 -12
- data/lib/stripe/params/invoice_line_item_list_params.rb +1 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +31 -16
- data/lib/stripe/params/invoice_list_params.rb +8 -4
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +1 -1
- data/lib/stripe/params/invoice_pay_params.rb +1 -1
- data/lib/stripe/params/invoice_payment_list_params.rb +28 -3
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_remove_lines_params.rb +3 -3
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +1 -1
- data/lib/stripe/params/invoice_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +2 -2
- data/lib/stripe/params/invoice_send_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -18
- data/lib/stripe/params/invoice_update_params.rb +70 -45
- data/lib/stripe/params/invoice_void_invoice_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_approve_params.rb +3 -3
- data/lib/stripe/params/issuing/authorization_capture_params.rb +139 -14
- data/lib/stripe/params/issuing/authorization_create_params.rb +124 -29
- data/lib/stripe/params/issuing/authorization_decline_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +89 -9
- data/lib/stripe/params/issuing/authorization_increment_params.rb +3 -3
- data/lib/stripe/params/issuing/authorization_list_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_update_params.rb +2 -2
- data/lib/stripe/params/issuing/card_create_params.rb +36 -15
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_list_params.rb +2 -2
- data/lib/stripe/params/issuing/card_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_update_params.rb +14 -14
- data/lib/stripe/params/issuing/cardholder_create_params.rb +26 -26
- data/lib/stripe/params/issuing/cardholder_list_params.rb +2 -2
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +25 -25
- data/lib/stripe/params/issuing/dispute_create_params.rb +13 -13
- data/lib/stripe/params/issuing/dispute_list_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_submit_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_update_params.rb +12 -12
- data/lib/stripe/params/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +4 -4
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +4 -4
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +1 -1
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_list_params.rb +2 -2
- data/lib/stripe/params/issuing/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +141 -16
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +141 -16
- data/lib/stripe/params/issuing/transaction_list_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_refund_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +2 -2
- data/lib/stripe/params/mandate_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_attempt_record_list_params.rb +22 -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_apply_customer_balance_params.rb +2 -2
- data/lib/stripe/params/payment_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +243 -6
- data/lib/stripe/params/payment_intent_confirm_params.rb +544 -162
- data/lib/stripe/params/payment_intent_create_params.rb +568 -178
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +242 -5
- data/lib/stripe/params/payment_intent_list_params.rb +6 -2
- data/lib/stripe/params/payment_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +2 -2
- data/lib/stripe/params/payment_intent_update_params.rb +550 -160
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/payment_link_create_params.rb +134 -73
- data/lib/stripe/params/payment_link_line_item_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_line_items_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_link_update_params.rb +128 -54
- data/lib/stripe/params/payment_method_attach_params.rb +5 -2
- data/lib/stripe/params/payment_method_configuration_create_params.rb +227 -143
- data/lib/stripe/params/payment_method_configuration_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_update_params.rb +227 -143
- data/lib/stripe/params/payment_method_create_params.rb +124 -60
- data/lib/stripe/params/payment_method_detach_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_create_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_update_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_validate_params.rb +1 -1
- data/lib/stripe/params/payment_method_list_params.rb +10 -2
- data/lib/stripe/params/payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_update_params.rb +27 -8
- 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_report_refund_params.rb +79 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/lib/stripe/params/payout_cancel_params.rb +1 -1
- data/lib/stripe/params/payout_create_params.rb +2 -2
- data/lib/stripe/params/payout_list_params.rb +3 -3
- data/lib/stripe/params/payout_retrieve_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +2 -2
- data/lib/stripe/params/payout_update_params.rb +2 -2
- data/lib/stripe/params/plan_create_params.rb +28 -8
- data/lib/stripe/params/plan_delete_params.rb +1 -1
- data/lib/stripe/params/plan_list_params.rb +2 -2
- data/lib/stripe/params/plan_retrieve_params.rb +1 -1
- data/lib/stripe/params/plan_update_params.rb +3 -3
- data/lib/stripe/params/price_create_params.rb +55 -15
- data/lib/stripe/params/price_list_params.rb +3 -3
- data/lib/stripe/params/price_retrieve_params.rb +1 -1
- data/lib/stripe/params/price_search_params.rb +2 -2
- data/lib/stripe/params/price_update_params.rb +27 -7
- data/lib/stripe/params/product_create_params.rb +49 -16
- data/lib/stripe/params/product_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_create_params.rb +2 -2
- data/lib/stripe/params/product_feature_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_list_params.rb +1 -1
- data/lib/stripe/params/product_feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +3 -3
- data/lib/stripe/params/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +2 -2
- data/lib/stripe/params/product_update_params.rb +7 -7
- data/lib/stripe/params/promotion_code_create_params.rb +11 -7
- data/lib/stripe/params/promotion_code_list_params.rb +6 -2
- data/lib/stripe/params/promotion_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +4 -4
- data/lib/stripe/params/quote_accept_params.rb +1 -1
- data/lib/stripe/params/quote_cancel_params.rb +1 -1
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +45 -19
- data/lib/stripe/params/quote_finalize_quote_params.rb +1 -1
- data/lib/stripe/params/quote_line_item_list_params.rb +1 -1
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_params.rb +6 -2
- data/lib/stripe/params/quote_pdf_params.rb +1 -1
- data/lib/stripe/params/quote_retrieve_params.rb +1 -1
- data/lib/stripe/params/quote_update_params.rb +42 -16
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +2 -2
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
- data/lib/stripe/params/radar/value_list_create_params.rb +3 -3
- data/lib/stripe/params/radar/value_list_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +2 -2
- data/lib/stripe/params/refund_cancel_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +3 -3
- data/lib/stripe/params/refund_expire_params.rb +1 -1
- data/lib/stripe/params/refund_list_params.rb +2 -2
- data/lib/stripe/params/refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/refund_update_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_create_params.rb +4 -4
- data/lib/stripe/params/reporting/report_run_list_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_list_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +1 -1
- data/lib/stripe/params/review_approve_params.rb +1 -1
- data/lib/stripe/params/review_list_params.rb +2 -2
- data/lib/stripe/params/review_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_attempt_list_params.rb +2 -2
- data/lib/stripe/params/setup_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/setup_intent_confirm_params.rb +223 -93
- data/lib/stripe/params/setup_intent_create_params.rb +241 -101
- data/lib/stripe/params/setup_intent_list_params.rb +6 -2
- data/lib/stripe/params/setup_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_intent_update_params.rb +231 -91
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_create_params.rb +8 -8
- data/lib/stripe/params/shipping_rate_list_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_update_params.rb +4 -4
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +1 -1
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +16 -16
- data/lib/stripe/params/source_detach_params.rb +1 -1
- data/lib/stripe/params/source_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_transaction_list_params.rb +1 -1
- data/lib/stripe/params/source_update_params.rb +14 -14
- data/lib/stripe/params/source_verify_params.rb +1 -1
- data/lib/stripe/params/subscription_cancel_params.rb +2 -2
- data/lib/stripe/params/subscription_create_params.rb +131 -63
- data/lib/stripe/params/subscription_delete_discount_params.rb +1 -1
- data/lib/stripe/params/subscription_item_create_params.rb +25 -15
- data/lib/stripe/params/subscription_item_delete_params.rb +18 -4
- data/lib/stripe/params/subscription_item_list_params.rb +1 -1
- data/lib/stripe/params/subscription_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_item_update_params.rb +25 -15
- data/lib/stripe/params/subscription_list_params.rb +11 -7
- data/lib/stripe/params/subscription_migrate_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +3 -3
- data/lib/stripe/params/subscription_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_create_params.rb +119 -45
- data/lib/stripe/params/subscription_schedule_list_params.rb +9 -5
- data/lib/stripe/params/subscription_schedule_release_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +113 -43
- data/lib/stripe/params/subscription_search_params.rb +2 -2
- data/lib/stripe/params/subscription_update_params.rb +126 -62
- data/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/lib/stripe/params/tax/calculation_create_params.rb +16 -16
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_create_params.rb +190 -164
- data/lib/stripe/params/tax/registration_list_params.rb +1 -1
- data/lib/stripe/params/tax/registration_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_update_params.rb +1 -1
- data/lib/stripe/params/tax/settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/settings_update_params.rb +5 -5
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +2 -2
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +12 -12
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_code_list_params.rb +1 -1
- data/lib/stripe/params/tax_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_id_create_params.rb +8 -5
- data/lib/stripe/params/tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/tax_id_list_params.rb +7 -4
- data/lib/stripe/params/tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_create_params.rb +2 -2
- data/lib/stripe/params/tax_rate_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +2 -2
- data/lib/stripe/params/terminal/configuration_create_params.rb +72 -46
- data/lib/stripe/params/terminal/configuration_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_update_params.rb +72 -46
- data/lib/stripe/params/terminal/connection_token_create_params.rb +1 -1
- data/lib/stripe/params/terminal/location_create_params.rb +6 -6
- data/lib/stripe/params/terminal/location_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/location_list_params.rb +1 -1
- data/lib/stripe/params/terminal/location_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/location_update_params.rb +6 -6
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +14 -14
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_create_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_list_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +9 -9
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_update_params.rb +2 -2
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +117 -67
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +3 -3
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +142 -14
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +127 -29
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +92 -9
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +3 -3
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +144 -16
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +144 -16
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +2 -2
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +5 -5
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +4 -4
- data/lib/stripe/params/token_create_params.rb +86 -67
- data/lib/stripe/params/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_cancel_params.rb +1 -1
- data/lib/stripe/params/topup_create_params.rb +3 -3
- data/lib/stripe/params/topup_list_params.rb +3 -3
- data/lib/stripe/params/topup_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_update_params.rb +2 -2
- data/lib/stripe/params/transfer_create_params.rb +4 -4
- data/lib/stripe/params/transfer_list_params.rb +2 -2
- data/lib/stripe/params/transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_create_params.rb +2 -2
- data/lib/stripe/params/transfer_reversal_list_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +2 -2
- data/lib/stripe/params/transfer_update_params.rb +2 -2
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +2 -2
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +2 -2
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_close_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_create_params.rb +17 -17
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +14 -14
- data/lib/stripe/params/treasury/financial_account_list_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +14 -14
- data/lib/stripe/params/treasury/financial_account_update_params.rb +18 -18
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +3 -3
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +13 -13
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +7 -7
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/treasury/received_credit_create_params.rb +4 -4
- data/lib/stripe/params/treasury/received_credit_list_params.rb +2 -2
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +4 -4
- data/lib/stripe/params/treasury/received_debit_list_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +3 -3
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_list_params.rb +4 -4
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_close_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +2154 -0
- data/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1048 -0
- data/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/account_update_params.rb +2207 -0
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +507 -0
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +497 -0
- data/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +507 -0
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +8 -4
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +2 -2
- data/lib/stripe/params/v2/core/event_list_params.rb +25 -2
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_create_params.rb +2 -2
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_list_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +2 -2
- data/lib/stripe/params.rb +29 -0
- data/lib/stripe/request_params.rb +116 -0
- data/lib/stripe/resources/account.rb +94 -68
- data/lib/stripe/resources/account_link.rb +1 -1
- data/lib/stripe/resources/account_session.rb +45 -45
- data/lib/stripe/resources/apple_pay_domain.rb +1 -1
- data/lib/stripe/resources/application_fee.rb +2 -2
- data/lib/stripe/resources/application_fee_refund.rb +2 -2
- data/lib/stripe/resources/apps/secret.rb +3 -3
- data/lib/stripe/resources/balance.rb +21 -21
- data/lib/stripe/resources/balance_settings.rb +5 -5
- data/lib/stripe/resources/balance_transaction.rb +3 -3
- data/lib/stripe/resources/bank_account.rb +16 -16
- data/lib/stripe/resources/billing/alert.rb +4 -4
- data/lib/stripe/resources/billing/alert_triggered.rb +1 -1
- data/lib/stripe/resources/billing/credit_balance_summary.rb +8 -6
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +9 -9
- data/lib/stripe/resources/billing/credit_grant.rb +9 -7
- data/lib/stripe/resources/billing/meter.rb +5 -5
- data/lib/stripe/resources/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +2 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +22 -18
- data/lib/stripe/resources/billing_portal/session.rb +20 -18
- data/lib/stripe/resources/capability.rb +22 -22
- data/lib/stripe/resources/card.rb +3 -3
- data/lib/stripe/resources/cash_balance.rb +5 -3
- data/lib/stripe/resources/charge.rb +198 -138
- data/lib/stripe/resources/checkout/session.rb +266 -140
- data/lib/stripe/resources/climate/order.rb +8 -4
- data/lib/stripe/resources/climate/product.rb +5 -1
- data/lib/stripe/resources/climate/supplier.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +147 -105
- data/lib/stripe/resources/connect_collection_transfer.rb +1 -1
- data/lib/stripe/resources/country_spec.rb +3 -3
- data/lib/stripe/resources/coupon.rb +6 -6
- data/lib/stripe/resources/credit_note.rb +33 -13
- data/lib/stripe/resources/credit_note_line_item.rb +12 -6
- data/lib/stripe/resources/customer.rb +21 -17
- data/lib/stripe/resources/customer_balance_transaction.rb +8 -6
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +23 -21
- data/lib/stripe/resources/customer_session.rb +90 -6
- data/lib/stripe/resources/discount.rb +5 -3
- data/lib/stripe/resources/dispute.rb +23 -23
- data/lib/stripe/resources/entitlements/active_entitlement.rb +2 -2
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +1 -1
- data/lib/stripe/resources/entitlements/feature.rb +1 -1
- data/lib/stripe/resources/ephemeral_key.rb +1 -1
- data/lib/stripe/resources/event.rb +4 -4
- data/lib/stripe/resources/exchange_rate.rb +2 -2
- data/lib/stripe/resources/file.rb +4 -4
- data/lib/stripe/resources/file_link.rb +2 -2
- data/lib/stripe/resources/financial_connections/account.rb +37 -13
- data/lib/stripe/resources/financial_connections/session.rb +7 -5
- data/lib/stripe/resources/financial_connections/transaction.rb +2 -2
- data/lib/stripe/resources/forwarding/request.rb +7 -7
- data/lib/stripe/resources/funding_instructions.rb +35 -35
- data/lib/stripe/resources/identity/verification_report.rb +28 -28
- data/lib/stripe/resources/identity/verification_session.rb +26 -24
- data/lib/stripe/resources/invoice.rb +119 -85
- data/lib/stripe/resources/invoice_item.rb +29 -14
- data/lib/stripe/resources/invoice_line_item.rb +35 -20
- data/lib/stripe/resources/invoice_payment.rb +6 -4
- data/lib/stripe/resources/invoice_rendering_template.rb +2 -2
- data/lib/stripe/resources/issuing/authorization.rb +120 -40
- data/lib/stripe/resources/issuing/card.rb +69 -23
- data/lib/stripe/resources/issuing/cardholder.rb +28 -28
- data/lib/stripe/resources/issuing/dispute.rb +18 -18
- data/lib/stripe/resources/issuing/personalization_design.rb +5 -5
- data/lib/stripe/resources/issuing/physical_bundle.rb +2 -2
- data/lib/stripe/resources/issuing/token.rb +8 -8
- data/lib/stripe/resources/issuing/transaction.rb +145 -29
- data/lib/stripe/resources/line_item.rb +30 -5
- data/lib/stripe/resources/login_link.rb +1 -1
- data/lib/stripe/resources/mandate.rb +77 -23
- data/lib/stripe/resources/payment_attempt_record.rb +2010 -0
- data/lib/stripe/resources/payment_intent.rb +413 -178
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
- data/lib/stripe/resources/payment_link.rb +101 -54
- data/lib/stripe/resources/payment_method.rb +174 -98
- data/lib/stripe/resources/payment_method_configuration.rb +243 -107
- data/lib/stripe/resources/payment_method_domain.rb +14 -14
- data/lib/stripe/resources/payment_record.rb +2140 -0
- data/lib/stripe/resources/payout.rb +12 -12
- data/lib/stripe/resources/person.rb +43 -43
- data/lib/stripe/resources/plan.rb +28 -8
- data/lib/stripe/resources/price.rb +54 -14
- data/lib/stripe/resources/product.rb +12 -12
- data/lib/stripe/resources/product_feature.rb +1 -1
- data/lib/stripe/resources/promotion_code.rb +10 -8
- data/lib/stripe/resources/quote.rb +39 -37
- data/lib/stripe/resources/radar/early_fraud_warning.rb +2 -2
- data/lib/stripe/resources/radar/payment_evaluation.rb +497 -0
- data/lib/stripe/resources/radar/value_list.rb +4 -4
- data/lib/stripe/resources/radar/value_list_item.rb +2 -2
- data/lib/stripe/resources/refund.rb +87 -40
- data/lib/stripe/resources/reporting/report_run.rb +4 -4
- data/lib/stripe/resources/reporting/report_type.rb +4 -4
- data/lib/stripe/resources/reserve/hold.rb +67 -0
- data/lib/stripe/resources/reserve/plan.rb +78 -0
- data/lib/stripe/resources/reserve/release.rb +65 -0
- data/lib/stripe/resources/reversal.rb +4 -4
- data/lib/stripe/resources/review.rb +4 -4
- data/lib/stripe/resources/setup_attempt.rb +74 -46
- data/lib/stripe/resources/setup_intent.rb +163 -49
- data/lib/stripe/resources/shipping_rate.rb +9 -9
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +3 -3
- data/lib/stripe/resources/source.rb +38 -38
- data/lib/stripe/resources/source_mandate_notification.rb +7 -7
- data/lib/stripe/resources/source_transaction.rb +6 -6
- data/lib/stripe/resources/subscription.rb +105 -55
- data/lib/stripe/resources/subscription_item.rb +8 -8
- data/lib/stripe/resources/subscription_schedule.rb +37 -35
- data/lib/stripe/resources/tax/association.rb +86 -0
- data/lib/stripe/resources/tax/calculation.rb +26 -26
- data/lib/stripe/resources/tax/calculation_line_item.rb +11 -11
- data/lib/stripe/resources/tax/registration.rb +176 -144
- data/lib/stripe/resources/tax/settings.rb +9 -9
- data/lib/stripe/resources/tax/transaction.rb +21 -21
- data/lib/stripe/resources/tax/transaction_line_item.rb +7 -7
- data/lib/stripe/resources/tax_id.rb +10 -6
- data/lib/stripe/resources/tax_rate.rb +3 -3
- data/lib/stripe/resources/terminal/configuration.rb +68 -36
- data/lib/stripe/resources/terminal/connection_token.rb +1 -1
- data/lib/stripe/resources/terminal/location.rb +7 -7
- data/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/lib/stripe/resources/terminal/reader.rb +64 -62
- data/lib/stripe/resources/test_helpers/test_clock.rb +3 -3
- data/lib/stripe/resources/token.rb +5 -5
- data/lib/stripe/resources/topup.rb +4 -4
- data/lib/stripe/resources/transfer.rb +6 -6
- data/lib/stripe/resources/treasury/credit_reversal.rb +5 -5
- data/lib/stripe/resources/treasury/debit_reversal.rb +6 -6
- data/lib/stripe/resources/treasury/financial_account.rb +8 -8
- data/lib/stripe/resources/treasury/financial_account_features.rb +22 -22
- data/lib/stripe/resources/treasury/inbound_transfer.rb +13 -13
- data/lib/stripe/resources/treasury/outbound_payment.rb +18 -18
- data/lib/stripe/resources/treasury/outbound_transfer.rb +16 -16
- data/lib/stripe/resources/treasury/received_credit.rb +19 -19
- data/lib/stripe/resources/treasury/received_debit.rb +17 -15
- data/lib/stripe/resources/treasury/transaction.rb +15 -15
- data/lib/stripe/resources/treasury/transaction_entry.rb +14 -14
- data/lib/stripe/resources/v2/billing/meter_event.rb +3 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -1
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +1 -0
- data/lib/stripe/resources/v2/core/account.rb +3586 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/account_person.rb +487 -0
- data/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
- data/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/lib/stripe/resources/v2/core/event.rb +6 -4
- data/lib/stripe/resources/v2/core/event_destination.rb +9 -5
- data/lib/stripe/resources/v2/core/event_notification.rb +2 -1
- data/lib/stripe/resources/webhook_endpoint.rb +2 -2
- data/lib/stripe/resources.rb +31 -0
- data/lib/stripe/services/checkout/session_service.rb +5 -1
- data/lib/stripe/services/climate/order_service.rb +2 -0
- data/lib/stripe/services/credit_note_preview_lines_service.rb +2 -0
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +1 -1
- data/lib/stripe/services/invoice_item_service.rb +4 -0
- data/lib/stripe/services/invoice_line_item_service.rb +2 -0
- data/lib/stripe/services/invoice_service.rb +10 -4
- 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 +8 -1
- data/lib/stripe/services/payment_link_service.rb +2 -0
- data/lib/stripe/services/payment_method_service.rb +1 -1
- data/lib/stripe/services/payment_record_service.rb +101 -0
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +2 -0
- data/lib/stripe/services/price_service.rb +2 -0
- data/lib/stripe/services/product_service.rb +2 -0
- data/lib/stripe/services/quote_service.rb +4 -0
- data/lib/stripe/services/radar/payment_evaluation_service.rb +19 -0
- data/lib/stripe/services/radar_service.rb +2 -1
- data/lib/stripe/services/subscription_item_service.rb +4 -0
- data/lib/stripe/services/subscription_schedule_service.rb +4 -0
- data/lib/stripe/services/subscription_service.rb +6 -2
- data/lib/stripe/services/tax/association_service.rb +19 -0
- data/lib/stripe/services/tax_service.rb +2 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/lib/stripe/services/terminal/reader_service.rb +8 -8
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +12 -0
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +8 -0
- data/lib/stripe/services/v1_services.rb +3 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +23 -0
- data/lib/stripe/services/v2/core/account_service.rb +87 -0
- data/lib/stripe/services/v2/core/account_token_service.rb +38 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +85 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +42 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services.rb +11 -0
- data/lib/stripe/stripe_client.rb +6 -0
- data/lib/stripe/stripe_object.rb +39 -1
- data/lib/stripe/util.rb +12 -14
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +7 -0
- data/lib/stripe.rb +1 -1
- data/rbi/stripe.rbi +64414 -32011
- metadata +103 -6
- data/lib/stripe/resources/alipay_account.rb +0 -34
- data/lib/stripe/resources/recipient_transfer.rb +0 -7
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
5
|
# The `Charge` object represents a single attempt to move money into your Stripe account.
|
|
6
|
-
# PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://stripe.com/
|
|
6
|
+
# PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges.
|
|
7
7
|
# Some legacy payment flows create Charges directly, which is not recommended for new integrations.
|
|
8
8
|
class Charge < APIResource
|
|
9
9
|
extend Stripe::APIOperations::Create
|
|
@@ -19,8 +19,8 @@ module Stripe
|
|
|
19
19
|
|
|
20
20
|
nested_resource_class_methods :refund, operations: %i[retrieve list]
|
|
21
21
|
|
|
22
|
-
class BillingDetails < Stripe::StripeObject
|
|
23
|
-
class Address < Stripe::StripeObject
|
|
22
|
+
class BillingDetails < ::Stripe::StripeObject
|
|
23
|
+
class Address < ::Stripe::StripeObject
|
|
24
24
|
# City, district, suburb, town, or village.
|
|
25
25
|
attr_reader :city
|
|
26
26
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -31,7 +31,7 @@ module Stripe
|
|
|
31
31
|
attr_reader :line2
|
|
32
32
|
# ZIP or postal code.
|
|
33
33
|
attr_reader :postal_code
|
|
34
|
-
# State, county, province, or region.
|
|
34
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
35
35
|
attr_reader :state
|
|
36
36
|
|
|
37
37
|
def self.inner_class_types
|
|
@@ -62,7 +62,7 @@ module Stripe
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
class FraudDetails < Stripe::StripeObject
|
|
65
|
+
class FraudDetails < ::Stripe::StripeObject
|
|
66
66
|
# Assessments from Stripe. If set, the value is `fraudulent`.
|
|
67
67
|
attr_reader :stripe_report
|
|
68
68
|
# Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
|
|
@@ -77,8 +77,8 @@ module Stripe
|
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
class Level3 < Stripe::StripeObject
|
|
81
|
-
class LineItem < Stripe::StripeObject
|
|
80
|
+
class Level3 < ::Stripe::StripeObject
|
|
81
|
+
class LineItem < ::Stripe::StripeObject
|
|
82
82
|
# Attribute for field discount_amount
|
|
83
83
|
attr_reader :discount_amount
|
|
84
84
|
# Attribute for field product_code
|
|
@@ -122,8 +122,8 @@ module Stripe
|
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
|
|
125
|
-
class Outcome < Stripe::StripeObject
|
|
126
|
-
class Rule < Stripe::StripeObject
|
|
125
|
+
class Outcome < ::Stripe::StripeObject
|
|
126
|
+
class Rule < ::Stripe::StripeObject
|
|
127
127
|
# The action taken on the payment.
|
|
128
128
|
attr_reader :action
|
|
129
129
|
# Unique identifier for the object.
|
|
@@ -139,15 +139,15 @@ module Stripe
|
|
|
139
139
|
@field_remappings = {}
|
|
140
140
|
end
|
|
141
141
|
end
|
|
142
|
-
# An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/
|
|
142
|
+
# An enumerated value providing a more detailed explanation on [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines).
|
|
143
143
|
attr_reader :advice_code
|
|
144
144
|
# For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
|
|
145
145
|
attr_reader :network_advice_code
|
|
146
146
|
# For charges declined by the network, an alphanumeric code which indicates the reason the charge failed.
|
|
147
147
|
attr_reader :network_decline_code
|
|
148
|
-
# Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/
|
|
148
|
+
# Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://docs.stripe.com/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
|
|
149
149
|
attr_reader :network_status
|
|
150
|
-
# An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/
|
|
150
|
+
# An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://docs.stripe.com/declines) for more details.
|
|
151
151
|
attr_reader :reason
|
|
152
152
|
# Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.
|
|
153
153
|
attr_reader :risk_level
|
|
@@ -157,7 +157,7 @@ module Stripe
|
|
|
157
157
|
attr_reader :rule
|
|
158
158
|
# A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
|
|
159
159
|
attr_reader :seller_message
|
|
160
|
-
# Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/
|
|
160
|
+
# Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://docs.stripe.com/declines) and [Radar reviews](https://docs.stripe.com/radar/reviews) for details.
|
|
161
161
|
attr_reader :type
|
|
162
162
|
|
|
163
163
|
def self.inner_class_types
|
|
@@ -169,8 +169,8 @@ module Stripe
|
|
|
169
169
|
end
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
-
class PaymentMethodDetails < Stripe::StripeObject
|
|
173
|
-
class AchCreditTransfer < Stripe::StripeObject
|
|
172
|
+
class PaymentMethodDetails < ::Stripe::StripeObject
|
|
173
|
+
class AchCreditTransfer < ::Stripe::StripeObject
|
|
174
174
|
# Account number to transfer funds to.
|
|
175
175
|
attr_reader :account_number
|
|
176
176
|
# Name of the bank associated with the routing number.
|
|
@@ -189,7 +189,7 @@ module Stripe
|
|
|
189
189
|
end
|
|
190
190
|
end
|
|
191
191
|
|
|
192
|
-
class AchDebit < Stripe::StripeObject
|
|
192
|
+
class AchDebit < ::Stripe::StripeObject
|
|
193
193
|
# Type of entity that holds the account. This can be either `individual` or `company`.
|
|
194
194
|
attr_reader :account_holder_type
|
|
195
195
|
# Name of the bank associated with the bank account.
|
|
@@ -212,9 +212,11 @@ module Stripe
|
|
|
212
212
|
end
|
|
213
213
|
end
|
|
214
214
|
|
|
215
|
-
class AcssDebit < Stripe::StripeObject
|
|
215
|
+
class AcssDebit < ::Stripe::StripeObject
|
|
216
216
|
# Name of the bank associated with the bank account.
|
|
217
217
|
attr_reader :bank_name
|
|
218
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
219
|
+
attr_reader :expected_debit_date
|
|
218
220
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
219
221
|
attr_reader :fingerprint
|
|
220
222
|
# Institution number of the bank account
|
|
@@ -235,10 +237,10 @@ module Stripe
|
|
|
235
237
|
end
|
|
236
238
|
end
|
|
237
239
|
|
|
238
|
-
class Affirm < Stripe::StripeObject
|
|
239
|
-
# ID of the [location](https://stripe.com/
|
|
240
|
+
class Affirm < ::Stripe::StripeObject
|
|
241
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
240
242
|
attr_reader :location
|
|
241
|
-
# ID of the [reader](https://stripe.com/
|
|
243
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
242
244
|
attr_reader :reader
|
|
243
245
|
# The Affirm transaction ID associated with this payment.
|
|
244
246
|
attr_reader :transaction_id
|
|
@@ -252,7 +254,7 @@ module Stripe
|
|
|
252
254
|
end
|
|
253
255
|
end
|
|
254
256
|
|
|
255
|
-
class AfterpayClearpay < Stripe::StripeObject
|
|
257
|
+
class AfterpayClearpay < ::Stripe::StripeObject
|
|
256
258
|
# The Afterpay order ID associated with this payment intent.
|
|
257
259
|
attr_reader :order_id
|
|
258
260
|
# Order identifier shown to the merchant in Afterpay’s online portal.
|
|
@@ -267,7 +269,7 @@ module Stripe
|
|
|
267
269
|
end
|
|
268
270
|
end
|
|
269
271
|
|
|
270
|
-
class Alipay < Stripe::StripeObject
|
|
272
|
+
class Alipay < ::Stripe::StripeObject
|
|
271
273
|
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
|
272
274
|
attr_reader :buyer_id
|
|
273
275
|
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
|
@@ -284,8 +286,8 @@ module Stripe
|
|
|
284
286
|
end
|
|
285
287
|
end
|
|
286
288
|
|
|
287
|
-
class Alma < Stripe::StripeObject
|
|
288
|
-
class Installments < Stripe::StripeObject
|
|
289
|
+
class Alma < ::Stripe::StripeObject
|
|
290
|
+
class Installments < ::Stripe::StripeObject
|
|
289
291
|
# The number of installments.
|
|
290
292
|
attr_reader :count
|
|
291
293
|
|
|
@@ -311,9 +313,9 @@ module Stripe
|
|
|
311
313
|
end
|
|
312
314
|
end
|
|
313
315
|
|
|
314
|
-
class AmazonPay < Stripe::StripeObject
|
|
315
|
-
class Funding < Stripe::StripeObject
|
|
316
|
-
class Card < Stripe::StripeObject
|
|
316
|
+
class AmazonPay < ::Stripe::StripeObject
|
|
317
|
+
class Funding < ::Stripe::StripeObject
|
|
318
|
+
class Card < ::Stripe::StripeObject
|
|
317
319
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
318
320
|
attr_reader :brand
|
|
319
321
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
@@ -362,9 +364,11 @@ module Stripe
|
|
|
362
364
|
end
|
|
363
365
|
end
|
|
364
366
|
|
|
365
|
-
class AuBecsDebit < Stripe::StripeObject
|
|
367
|
+
class AuBecsDebit < ::Stripe::StripeObject
|
|
366
368
|
# Bank-State-Branch number of the bank account.
|
|
367
369
|
attr_reader :bsb_number
|
|
370
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
371
|
+
attr_reader :expected_debit_date
|
|
368
372
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
369
373
|
attr_reader :fingerprint
|
|
370
374
|
# Last four digits of the bank account number.
|
|
@@ -381,7 +385,9 @@ module Stripe
|
|
|
381
385
|
end
|
|
382
386
|
end
|
|
383
387
|
|
|
384
|
-
class BacsDebit < Stripe::StripeObject
|
|
388
|
+
class BacsDebit < ::Stripe::StripeObject
|
|
389
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
390
|
+
attr_reader :expected_debit_date
|
|
385
391
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
386
392
|
attr_reader :fingerprint
|
|
387
393
|
# Last four digits of the bank account number.
|
|
@@ -400,7 +406,7 @@ module Stripe
|
|
|
400
406
|
end
|
|
401
407
|
end
|
|
402
408
|
|
|
403
|
-
class Bancontact < Stripe::StripeObject
|
|
409
|
+
class Bancontact < ::Stripe::StripeObject
|
|
404
410
|
# Bank code of bank associated with the bank account.
|
|
405
411
|
attr_reader :bank_code
|
|
406
412
|
# Name of the bank associated with the bank account.
|
|
@@ -429,7 +435,7 @@ module Stripe
|
|
|
429
435
|
end
|
|
430
436
|
end
|
|
431
437
|
|
|
432
|
-
class Billie < Stripe::StripeObject
|
|
438
|
+
class Billie < ::Stripe::StripeObject
|
|
433
439
|
# The Billie transaction ID associated with this payment.
|
|
434
440
|
attr_reader :transaction_id
|
|
435
441
|
|
|
@@ -442,7 +448,7 @@ module Stripe
|
|
|
442
448
|
end
|
|
443
449
|
end
|
|
444
450
|
|
|
445
|
-
class Blik < Stripe::StripeObject
|
|
451
|
+
class Blik < ::Stripe::StripeObject
|
|
446
452
|
# A unique and immutable identifier assigned by BLIK to every buyer.
|
|
447
453
|
attr_reader :buyer_id
|
|
448
454
|
|
|
@@ -455,7 +461,7 @@ module Stripe
|
|
|
455
461
|
end
|
|
456
462
|
end
|
|
457
463
|
|
|
458
|
-
class Boleto < Stripe::StripeObject
|
|
464
|
+
class Boleto < ::Stripe::StripeObject
|
|
459
465
|
# The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)
|
|
460
466
|
attr_reader :tax_id
|
|
461
467
|
|
|
@@ -468,8 +474,8 @@ module Stripe
|
|
|
468
474
|
end
|
|
469
475
|
end
|
|
470
476
|
|
|
471
|
-
class Card < Stripe::StripeObject
|
|
472
|
-
class Checks < Stripe::StripeObject
|
|
477
|
+
class Card < ::Stripe::StripeObject
|
|
478
|
+
class Checks < ::Stripe::StripeObject
|
|
473
479
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
474
480
|
attr_reader :address_line1_check
|
|
475
481
|
# If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -486,7 +492,7 @@ module Stripe
|
|
|
486
492
|
end
|
|
487
493
|
end
|
|
488
494
|
|
|
489
|
-
class ExtendedAuthorization < Stripe::StripeObject
|
|
495
|
+
class ExtendedAuthorization < ::Stripe::StripeObject
|
|
490
496
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
491
497
|
attr_reader :status
|
|
492
498
|
|
|
@@ -499,7 +505,7 @@ module Stripe
|
|
|
499
505
|
end
|
|
500
506
|
end
|
|
501
507
|
|
|
502
|
-
class IncrementalAuthorization < Stripe::StripeObject
|
|
508
|
+
class IncrementalAuthorization < ::Stripe::StripeObject
|
|
503
509
|
# Indicates whether or not the incremental authorization feature is supported.
|
|
504
510
|
attr_reader :status
|
|
505
511
|
|
|
@@ -512,8 +518,8 @@ module Stripe
|
|
|
512
518
|
end
|
|
513
519
|
end
|
|
514
520
|
|
|
515
|
-
class Installments < Stripe::StripeObject
|
|
516
|
-
class Plan < Stripe::StripeObject
|
|
521
|
+
class Installments < ::Stripe::StripeObject
|
|
522
|
+
class Plan < ::Stripe::StripeObject
|
|
517
523
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
518
524
|
attr_reader :count
|
|
519
525
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
|
@@ -542,7 +548,7 @@ module Stripe
|
|
|
542
548
|
end
|
|
543
549
|
end
|
|
544
550
|
|
|
545
|
-
class Multicapture < Stripe::StripeObject
|
|
551
|
+
class Multicapture < ::Stripe::StripeObject
|
|
546
552
|
# Indicates whether or not multiple captures are supported.
|
|
547
553
|
attr_reader :status
|
|
548
554
|
|
|
@@ -555,7 +561,7 @@ module Stripe
|
|
|
555
561
|
end
|
|
556
562
|
end
|
|
557
563
|
|
|
558
|
-
class NetworkToken < Stripe::StripeObject
|
|
564
|
+
class NetworkToken < ::Stripe::StripeObject
|
|
559
565
|
# Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
560
566
|
attr_reader :used
|
|
561
567
|
|
|
@@ -568,7 +574,7 @@ module Stripe
|
|
|
568
574
|
end
|
|
569
575
|
end
|
|
570
576
|
|
|
571
|
-
class Overcapture < Stripe::StripeObject
|
|
577
|
+
class Overcapture < ::Stripe::StripeObject
|
|
572
578
|
# The maximum amount that can be captured.
|
|
573
579
|
attr_reader :maximum_amount_capturable
|
|
574
580
|
# Indicates whether or not the authorized amount can be over-captured.
|
|
@@ -583,7 +589,7 @@ module Stripe
|
|
|
583
589
|
end
|
|
584
590
|
end
|
|
585
591
|
|
|
586
|
-
class ThreeDSecure < Stripe::StripeObject
|
|
592
|
+
class ThreeDSecure < ::Stripe::StripeObject
|
|
587
593
|
# For authenticated transactions: how the customer was authenticated by
|
|
588
594
|
# the issuing bank.
|
|
589
595
|
attr_reader :authentication_flow
|
|
@@ -615,8 +621,8 @@ module Stripe
|
|
|
615
621
|
end
|
|
616
622
|
end
|
|
617
623
|
|
|
618
|
-
class Wallet < Stripe::StripeObject
|
|
619
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
|
624
|
+
class Wallet < ::Stripe::StripeObject
|
|
625
|
+
class AmexExpressCheckout < ::Stripe::StripeObject
|
|
620
626
|
def self.inner_class_types
|
|
621
627
|
@inner_class_types = {}
|
|
622
628
|
end
|
|
@@ -626,7 +632,7 @@ module Stripe
|
|
|
626
632
|
end
|
|
627
633
|
end
|
|
628
634
|
|
|
629
|
-
class ApplePay < Stripe::StripeObject
|
|
635
|
+
class ApplePay < ::Stripe::StripeObject
|
|
630
636
|
def self.inner_class_types
|
|
631
637
|
@inner_class_types = {}
|
|
632
638
|
end
|
|
@@ -636,7 +642,7 @@ module Stripe
|
|
|
636
642
|
end
|
|
637
643
|
end
|
|
638
644
|
|
|
639
|
-
class GooglePay < Stripe::StripeObject
|
|
645
|
+
class GooglePay < ::Stripe::StripeObject
|
|
640
646
|
def self.inner_class_types
|
|
641
647
|
@inner_class_types = {}
|
|
642
648
|
end
|
|
@@ -646,7 +652,7 @@ module Stripe
|
|
|
646
652
|
end
|
|
647
653
|
end
|
|
648
654
|
|
|
649
|
-
class Link < Stripe::StripeObject
|
|
655
|
+
class Link < ::Stripe::StripeObject
|
|
650
656
|
def self.inner_class_types
|
|
651
657
|
@inner_class_types = {}
|
|
652
658
|
end
|
|
@@ -656,8 +662,8 @@ module Stripe
|
|
|
656
662
|
end
|
|
657
663
|
end
|
|
658
664
|
|
|
659
|
-
class Masterpass < Stripe::StripeObject
|
|
660
|
-
class BillingAddress < Stripe::StripeObject
|
|
665
|
+
class Masterpass < ::Stripe::StripeObject
|
|
666
|
+
class BillingAddress < ::Stripe::StripeObject
|
|
661
667
|
# City, district, suburb, town, or village.
|
|
662
668
|
attr_reader :city
|
|
663
669
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -668,7 +674,7 @@ module Stripe
|
|
|
668
674
|
attr_reader :line2
|
|
669
675
|
# ZIP or postal code.
|
|
670
676
|
attr_reader :postal_code
|
|
671
|
-
# State, county, province, or region.
|
|
677
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
672
678
|
attr_reader :state
|
|
673
679
|
|
|
674
680
|
def self.inner_class_types
|
|
@@ -680,7 +686,7 @@ module Stripe
|
|
|
680
686
|
end
|
|
681
687
|
end
|
|
682
688
|
|
|
683
|
-
class ShippingAddress < Stripe::StripeObject
|
|
689
|
+
class ShippingAddress < ::Stripe::StripeObject
|
|
684
690
|
# City, district, suburb, town, or village.
|
|
685
691
|
attr_reader :city
|
|
686
692
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -691,7 +697,7 @@ module Stripe
|
|
|
691
697
|
attr_reader :line2
|
|
692
698
|
# ZIP or postal code.
|
|
693
699
|
attr_reader :postal_code
|
|
694
|
-
# State, county, province, or region.
|
|
700
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
695
701
|
attr_reader :state
|
|
696
702
|
|
|
697
703
|
def self.inner_class_types
|
|
@@ -723,7 +729,7 @@ module Stripe
|
|
|
723
729
|
end
|
|
724
730
|
end
|
|
725
731
|
|
|
726
|
-
class SamsungPay < Stripe::StripeObject
|
|
732
|
+
class SamsungPay < ::Stripe::StripeObject
|
|
727
733
|
def self.inner_class_types
|
|
728
734
|
@inner_class_types = {}
|
|
729
735
|
end
|
|
@@ -733,8 +739,8 @@ module Stripe
|
|
|
733
739
|
end
|
|
734
740
|
end
|
|
735
741
|
|
|
736
|
-
class VisaCheckout < Stripe::StripeObject
|
|
737
|
-
class BillingAddress < Stripe::StripeObject
|
|
742
|
+
class VisaCheckout < ::Stripe::StripeObject
|
|
743
|
+
class BillingAddress < ::Stripe::StripeObject
|
|
738
744
|
# City, district, suburb, town, or village.
|
|
739
745
|
attr_reader :city
|
|
740
746
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -745,7 +751,7 @@ module Stripe
|
|
|
745
751
|
attr_reader :line2
|
|
746
752
|
# ZIP or postal code.
|
|
747
753
|
attr_reader :postal_code
|
|
748
|
-
# State, county, province, or region.
|
|
754
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
749
755
|
attr_reader :state
|
|
750
756
|
|
|
751
757
|
def self.inner_class_types
|
|
@@ -757,7 +763,7 @@ module Stripe
|
|
|
757
763
|
end
|
|
758
764
|
end
|
|
759
765
|
|
|
760
|
-
class ShippingAddress < Stripe::StripeObject
|
|
766
|
+
class ShippingAddress < ::Stripe::StripeObject
|
|
761
767
|
# City, district, suburb, town, or village.
|
|
762
768
|
attr_reader :city
|
|
763
769
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -768,7 +774,7 @@ module Stripe
|
|
|
768
774
|
attr_reader :line2
|
|
769
775
|
# ZIP or postal code.
|
|
770
776
|
attr_reader :postal_code
|
|
771
|
-
# State, county, province, or region.
|
|
777
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
772
778
|
attr_reader :state
|
|
773
779
|
|
|
774
780
|
def self.inner_class_types
|
|
@@ -866,7 +872,7 @@ module Stripe
|
|
|
866
872
|
attr_reader :incremental_authorization
|
|
867
873
|
# Installment details for this payment.
|
|
868
874
|
#
|
|
869
|
-
# For more information, see the [installments integration guide](https://stripe.com/
|
|
875
|
+
# For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
|
|
870
876
|
attr_reader :installments
|
|
871
877
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
872
878
|
attr_reader :issuer
|
|
@@ -912,8 +918,8 @@ module Stripe
|
|
|
912
918
|
end
|
|
913
919
|
end
|
|
914
920
|
|
|
915
|
-
class CardPresent < Stripe::StripeObject
|
|
916
|
-
class Offline < Stripe::StripeObject
|
|
921
|
+
class CardPresent < ::Stripe::StripeObject
|
|
922
|
+
class Offline < ::Stripe::StripeObject
|
|
917
923
|
# Time at which the payment was collected while offline
|
|
918
924
|
attr_reader :stored_at
|
|
919
925
|
# The method used to process this payment method offline. Only deferred is allowed.
|
|
@@ -928,7 +934,7 @@ module Stripe
|
|
|
928
934
|
end
|
|
929
935
|
end
|
|
930
936
|
|
|
931
|
-
class Receipt < Stripe::StripeObject
|
|
937
|
+
class Receipt < ::Stripe::StripeObject
|
|
932
938
|
# The type of account being debited or credited
|
|
933
939
|
attr_reader :account_type
|
|
934
940
|
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
|
@@ -957,7 +963,7 @@ module Stripe
|
|
|
957
963
|
end
|
|
958
964
|
end
|
|
959
965
|
|
|
960
|
-
class Wallet < Stripe::StripeObject
|
|
966
|
+
class Wallet < ::Stripe::StripeObject
|
|
961
967
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
|
962
968
|
attr_reader :type
|
|
963
969
|
|
|
@@ -999,12 +1005,14 @@ module Stripe
|
|
|
999
1005
|
attr_reader :generated_card
|
|
1000
1006
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
1001
1007
|
attr_reader :iin
|
|
1002
|
-
# Whether this [PaymentIntent](https://stripe.com/
|
|
1008
|
+
# Whether this [PaymentIntent](https://docs.stripe.com/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
|
|
1003
1009
|
attr_reader :incremental_authorization_supported
|
|
1004
1010
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
1005
1011
|
attr_reader :issuer
|
|
1006
1012
|
# The last four digits of the card.
|
|
1007
1013
|
attr_reader :last4
|
|
1014
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1015
|
+
attr_reader :location
|
|
1008
1016
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
1009
1017
|
attr_reader :network
|
|
1010
1018
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
@@ -1017,6 +1025,8 @@ module Stripe
|
|
|
1017
1025
|
attr_reader :preferred_locales
|
|
1018
1026
|
# How card details were read in this transaction.
|
|
1019
1027
|
attr_reader :read_method
|
|
1028
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1029
|
+
attr_reader :reader
|
|
1020
1030
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
1021
1031
|
attr_reader :receipt
|
|
1022
1032
|
# Attribute for field wallet
|
|
@@ -1031,7 +1041,7 @@ module Stripe
|
|
|
1031
1041
|
end
|
|
1032
1042
|
end
|
|
1033
1043
|
|
|
1034
|
-
class Cashapp < Stripe::StripeObject
|
|
1044
|
+
class Cashapp < ::Stripe::StripeObject
|
|
1035
1045
|
# A unique and immutable identifier assigned by Cash App to every buyer.
|
|
1036
1046
|
attr_reader :buyer_id
|
|
1037
1047
|
# A public identifier for buyers using Cash App.
|
|
@@ -1048,7 +1058,7 @@ module Stripe
|
|
|
1048
1058
|
end
|
|
1049
1059
|
end
|
|
1050
1060
|
|
|
1051
|
-
class Crypto < Stripe::StripeObject
|
|
1061
|
+
class Crypto < ::Stripe::StripeObject
|
|
1052
1062
|
# The wallet address of the customer.
|
|
1053
1063
|
attr_reader :buyer_address
|
|
1054
1064
|
# The blockchain network that the transaction was sent on.
|
|
@@ -1067,7 +1077,7 @@ module Stripe
|
|
|
1067
1077
|
end
|
|
1068
1078
|
end
|
|
1069
1079
|
|
|
1070
|
-
class CustomerBalance < Stripe::StripeObject
|
|
1080
|
+
class CustomerBalance < ::Stripe::StripeObject
|
|
1071
1081
|
def self.inner_class_types
|
|
1072
1082
|
@inner_class_types = {}
|
|
1073
1083
|
end
|
|
@@ -1077,7 +1087,7 @@ module Stripe
|
|
|
1077
1087
|
end
|
|
1078
1088
|
end
|
|
1079
1089
|
|
|
1080
|
-
class Eps < Stripe::StripeObject
|
|
1090
|
+
class Eps < ::Stripe::StripeObject
|
|
1081
1091
|
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
|
1082
1092
|
attr_reader :bank
|
|
1083
1093
|
# Owner's verified full name. Values are verified or provided by EPS directly
|
|
@@ -1094,7 +1104,7 @@ module Stripe
|
|
|
1094
1104
|
end
|
|
1095
1105
|
end
|
|
1096
1106
|
|
|
1097
|
-
class Fpx < Stripe::StripeObject
|
|
1107
|
+
class Fpx < ::Stripe::StripeObject
|
|
1098
1108
|
# Account holder type, if provided. Can be one of `individual` or `company`.
|
|
1099
1109
|
attr_reader :account_holder_type
|
|
1100
1110
|
# The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
|
@@ -1111,7 +1121,7 @@ module Stripe
|
|
|
1111
1121
|
end
|
|
1112
1122
|
end
|
|
1113
1123
|
|
|
1114
|
-
class Giropay < Stripe::StripeObject
|
|
1124
|
+
class Giropay < ::Stripe::StripeObject
|
|
1115
1125
|
# Bank code of bank associated with the bank account.
|
|
1116
1126
|
attr_reader :bank_code
|
|
1117
1127
|
# Name of the bank associated with the bank account.
|
|
@@ -1132,7 +1142,7 @@ module Stripe
|
|
|
1132
1142
|
end
|
|
1133
1143
|
end
|
|
1134
1144
|
|
|
1135
|
-
class Grabpay < Stripe::StripeObject
|
|
1145
|
+
class Grabpay < ::Stripe::StripeObject
|
|
1136
1146
|
# Unique transaction id generated by GrabPay
|
|
1137
1147
|
attr_reader :transaction_id
|
|
1138
1148
|
|
|
@@ -1145,8 +1155,8 @@ module Stripe
|
|
|
1145
1155
|
end
|
|
1146
1156
|
end
|
|
1147
1157
|
|
|
1148
|
-
class Ideal < Stripe::StripeObject
|
|
1149
|
-
# The customer's bank. 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`.
|
|
1158
|
+
class Ideal < ::Stripe::StripeObject
|
|
1159
|
+
# The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1150
1160
|
attr_reader :bank
|
|
1151
1161
|
# The Bank Identifier Code of the customer's bank.
|
|
1152
1162
|
attr_reader :bic
|
|
@@ -1156,6 +1166,8 @@ module Stripe
|
|
|
1156
1166
|
attr_reader :generated_sepa_debit_mandate
|
|
1157
1167
|
# Last four characters of the IBAN.
|
|
1158
1168
|
attr_reader :iban_last4
|
|
1169
|
+
# Unique transaction ID generated by iDEAL.
|
|
1170
|
+
attr_reader :transaction_id
|
|
1159
1171
|
# Owner's verified full name. Values are verified or provided by iDEAL directly
|
|
1160
1172
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1161
1173
|
attr_reader :verified_name
|
|
@@ -1169,8 +1181,8 @@ module Stripe
|
|
|
1169
1181
|
end
|
|
1170
1182
|
end
|
|
1171
1183
|
|
|
1172
|
-
class InteracPresent < Stripe::StripeObject
|
|
1173
|
-
class Receipt < Stripe::StripeObject
|
|
1184
|
+
class InteracPresent < ::Stripe::StripeObject
|
|
1185
|
+
class Receipt < ::Stripe::StripeObject
|
|
1174
1186
|
# The type of account being debited or credited
|
|
1175
1187
|
attr_reader :account_type
|
|
1176
1188
|
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
|
@@ -1226,6 +1238,8 @@ module Stripe
|
|
|
1226
1238
|
attr_reader :issuer
|
|
1227
1239
|
# The last four digits of the card.
|
|
1228
1240
|
attr_reader :last4
|
|
1241
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1242
|
+
attr_reader :location
|
|
1229
1243
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
1230
1244
|
attr_reader :network
|
|
1231
1245
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
@@ -1234,6 +1248,8 @@ module Stripe
|
|
|
1234
1248
|
attr_reader :preferred_locales
|
|
1235
1249
|
# How card details were read in this transaction.
|
|
1236
1250
|
attr_reader :read_method
|
|
1251
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1252
|
+
attr_reader :reader
|
|
1237
1253
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
1238
1254
|
attr_reader :receipt
|
|
1239
1255
|
|
|
@@ -1246,7 +1262,7 @@ module Stripe
|
|
|
1246
1262
|
end
|
|
1247
1263
|
end
|
|
1248
1264
|
|
|
1249
|
-
class KakaoPay < Stripe::StripeObject
|
|
1265
|
+
class KakaoPay < ::Stripe::StripeObject
|
|
1250
1266
|
# A unique identifier for the buyer as determined by the local payment processor.
|
|
1251
1267
|
attr_reader :buyer_id
|
|
1252
1268
|
# The Kakao Pay transaction ID associated with this payment.
|
|
@@ -1261,9 +1277,9 @@ module Stripe
|
|
|
1261
1277
|
end
|
|
1262
1278
|
end
|
|
1263
1279
|
|
|
1264
|
-
class Klarna < Stripe::StripeObject
|
|
1265
|
-
class PayerDetails < Stripe::StripeObject
|
|
1266
|
-
class Address < Stripe::StripeObject
|
|
1280
|
+
class Klarna < ::Stripe::StripeObject
|
|
1281
|
+
class PayerDetails < ::Stripe::StripeObject
|
|
1282
|
+
class Address < ::Stripe::StripeObject
|
|
1267
1283
|
# The payer address country
|
|
1268
1284
|
attr_reader :country
|
|
1269
1285
|
|
|
@@ -1304,8 +1320,8 @@ module Stripe
|
|
|
1304
1320
|
end
|
|
1305
1321
|
end
|
|
1306
1322
|
|
|
1307
|
-
class Konbini < Stripe::StripeObject
|
|
1308
|
-
class Store < Stripe::StripeObject
|
|
1323
|
+
class Konbini < ::Stripe::StripeObject
|
|
1324
|
+
class Store < ::Stripe::StripeObject
|
|
1309
1325
|
# The name of the convenience store chain where the payment was completed.
|
|
1310
1326
|
attr_reader :chain
|
|
1311
1327
|
|
|
@@ -1329,7 +1345,7 @@ module Stripe
|
|
|
1329
1345
|
end
|
|
1330
1346
|
end
|
|
1331
1347
|
|
|
1332
|
-
class KrCard < Stripe::StripeObject
|
|
1348
|
+
class KrCard < ::Stripe::StripeObject
|
|
1333
1349
|
# The local credit or debit card brand.
|
|
1334
1350
|
attr_reader :brand
|
|
1335
1351
|
# A unique identifier for the buyer as determined by the local payment processor.
|
|
@@ -1348,7 +1364,7 @@ module Stripe
|
|
|
1348
1364
|
end
|
|
1349
1365
|
end
|
|
1350
1366
|
|
|
1351
|
-
class Link < Stripe::StripeObject
|
|
1367
|
+
class Link < ::Stripe::StripeObject
|
|
1352
1368
|
# Two-letter ISO code representing the funding source country beneath the Link payment.
|
|
1353
1369
|
# You could use this attribute to get a sense of international fees.
|
|
1354
1370
|
attr_reader :country
|
|
@@ -1362,7 +1378,7 @@ module Stripe
|
|
|
1362
1378
|
end
|
|
1363
1379
|
end
|
|
1364
1380
|
|
|
1365
|
-
class MbWay < Stripe::StripeObject
|
|
1381
|
+
class MbWay < ::Stripe::StripeObject
|
|
1366
1382
|
def self.inner_class_types
|
|
1367
1383
|
@inner_class_types = {}
|
|
1368
1384
|
end
|
|
@@ -1372,8 +1388,8 @@ module Stripe
|
|
|
1372
1388
|
end
|
|
1373
1389
|
end
|
|
1374
1390
|
|
|
1375
|
-
class Mobilepay < Stripe::StripeObject
|
|
1376
|
-
class Card < Stripe::StripeObject
|
|
1391
|
+
class Mobilepay < ::Stripe::StripeObject
|
|
1392
|
+
class Card < ::Stripe::StripeObject
|
|
1377
1393
|
# Brand of the card used in the transaction
|
|
1378
1394
|
attr_reader :brand
|
|
1379
1395
|
# Two-letter ISO code representing the country of the card
|
|
@@ -1405,7 +1421,7 @@ module Stripe
|
|
|
1405
1421
|
end
|
|
1406
1422
|
end
|
|
1407
1423
|
|
|
1408
|
-
class Multibanco < Stripe::StripeObject
|
|
1424
|
+
class Multibanco < ::Stripe::StripeObject
|
|
1409
1425
|
# Entity number associated with this Multibanco payment.
|
|
1410
1426
|
attr_reader :entity
|
|
1411
1427
|
# Reference number associated with this Multibanco payment.
|
|
@@ -1420,7 +1436,7 @@ module Stripe
|
|
|
1420
1436
|
end
|
|
1421
1437
|
end
|
|
1422
1438
|
|
|
1423
|
-
class NaverPay < Stripe::StripeObject
|
|
1439
|
+
class NaverPay < ::Stripe::StripeObject
|
|
1424
1440
|
# A unique identifier for the buyer as determined by the local payment processor.
|
|
1425
1441
|
attr_reader :buyer_id
|
|
1426
1442
|
# The Naver Pay transaction ID associated with this payment.
|
|
@@ -1435,7 +1451,7 @@ module Stripe
|
|
|
1435
1451
|
end
|
|
1436
1452
|
end
|
|
1437
1453
|
|
|
1438
|
-
class NzBankAccount < Stripe::StripeObject
|
|
1454
|
+
class NzBankAccount < ::Stripe::StripeObject
|
|
1439
1455
|
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
|
1440
1456
|
attr_reader :account_holder_name
|
|
1441
1457
|
# The numeric code for the bank account's bank.
|
|
@@ -1444,6 +1460,8 @@ module Stripe
|
|
|
1444
1460
|
attr_reader :bank_name
|
|
1445
1461
|
# The numeric code for the bank account's bank branch.
|
|
1446
1462
|
attr_reader :branch_code
|
|
1463
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
1464
|
+
attr_reader :expected_debit_date
|
|
1447
1465
|
# Last four digits of the bank account number.
|
|
1448
1466
|
attr_reader :last4
|
|
1449
1467
|
# The suffix of the bank account number.
|
|
@@ -1458,7 +1476,7 @@ module Stripe
|
|
|
1458
1476
|
end
|
|
1459
1477
|
end
|
|
1460
1478
|
|
|
1461
|
-
class Oxxo < Stripe::StripeObject
|
|
1479
|
+
class Oxxo < ::Stripe::StripeObject
|
|
1462
1480
|
# OXXO reference number
|
|
1463
1481
|
attr_reader :number
|
|
1464
1482
|
|
|
@@ -1471,7 +1489,7 @@ module Stripe
|
|
|
1471
1489
|
end
|
|
1472
1490
|
end
|
|
1473
1491
|
|
|
1474
|
-
class P24 < Stripe::StripeObject
|
|
1492
|
+
class P24 < ::Stripe::StripeObject
|
|
1475
1493
|
# The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
|
|
1476
1494
|
attr_reader :bank
|
|
1477
1495
|
# Unique reference for this Przelewy24 payment.
|
|
@@ -1490,7 +1508,7 @@ module Stripe
|
|
|
1490
1508
|
end
|
|
1491
1509
|
end
|
|
1492
1510
|
|
|
1493
|
-
class PayByBank < Stripe::StripeObject
|
|
1511
|
+
class PayByBank < ::Stripe::StripeObject
|
|
1494
1512
|
def self.inner_class_types
|
|
1495
1513
|
@inner_class_types = {}
|
|
1496
1514
|
end
|
|
@@ -1500,7 +1518,7 @@ module Stripe
|
|
|
1500
1518
|
end
|
|
1501
1519
|
end
|
|
1502
1520
|
|
|
1503
|
-
class Payco < Stripe::StripeObject
|
|
1521
|
+
class Payco < ::Stripe::StripeObject
|
|
1504
1522
|
# A unique identifier for the buyer as determined by the local payment processor.
|
|
1505
1523
|
attr_reader :buyer_id
|
|
1506
1524
|
# The Payco transaction ID associated with this payment.
|
|
@@ -1515,10 +1533,10 @@ module Stripe
|
|
|
1515
1533
|
end
|
|
1516
1534
|
end
|
|
1517
1535
|
|
|
1518
|
-
class Paynow < Stripe::StripeObject
|
|
1519
|
-
# ID of the [location](https://stripe.com/
|
|
1536
|
+
class Paynow < ::Stripe::StripeObject
|
|
1537
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1520
1538
|
attr_reader :location
|
|
1521
|
-
# ID of the [reader](https://stripe.com/
|
|
1539
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1522
1540
|
attr_reader :reader
|
|
1523
1541
|
# Reference number associated with this PayNow payment
|
|
1524
1542
|
attr_reader :reference
|
|
@@ -1532,8 +1550,8 @@ module Stripe
|
|
|
1532
1550
|
end
|
|
1533
1551
|
end
|
|
1534
1552
|
|
|
1535
|
-
class Paypal < Stripe::StripeObject
|
|
1536
|
-
class SellerProtection < Stripe::StripeObject
|
|
1553
|
+
class Paypal < ::Stripe::StripeObject
|
|
1554
|
+
class SellerProtection < ::Stripe::StripeObject
|
|
1537
1555
|
# An array of conditions that are covered for the transaction, if applicable.
|
|
1538
1556
|
attr_reader :dispute_categories
|
|
1539
1557
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
|
@@ -1571,7 +1589,26 @@ module Stripe
|
|
|
1571
1589
|
end
|
|
1572
1590
|
end
|
|
1573
1591
|
|
|
1574
|
-
class
|
|
1592
|
+
class Payto < ::Stripe::StripeObject
|
|
1593
|
+
# Bank-State-Branch number of the bank account.
|
|
1594
|
+
attr_reader :bsb_number
|
|
1595
|
+
# Last four digits of the bank account number.
|
|
1596
|
+
attr_reader :last4
|
|
1597
|
+
# ID of the mandate used to make this payment.
|
|
1598
|
+
attr_reader :mandate
|
|
1599
|
+
# The PayID alias for the bank account.
|
|
1600
|
+
attr_reader :pay_id
|
|
1601
|
+
|
|
1602
|
+
def self.inner_class_types
|
|
1603
|
+
@inner_class_types = {}
|
|
1604
|
+
end
|
|
1605
|
+
|
|
1606
|
+
def self.field_remappings
|
|
1607
|
+
@field_remappings = {}
|
|
1608
|
+
end
|
|
1609
|
+
end
|
|
1610
|
+
|
|
1611
|
+
class Pix < ::Stripe::StripeObject
|
|
1575
1612
|
# Unique transaction id generated by BCB
|
|
1576
1613
|
attr_reader :bank_transaction_id
|
|
1577
1614
|
|
|
@@ -1584,7 +1621,7 @@ module Stripe
|
|
|
1584
1621
|
end
|
|
1585
1622
|
end
|
|
1586
1623
|
|
|
1587
|
-
class Promptpay < Stripe::StripeObject
|
|
1624
|
+
class Promptpay < ::Stripe::StripeObject
|
|
1588
1625
|
# Bill reference generated by PromptPay
|
|
1589
1626
|
attr_reader :reference
|
|
1590
1627
|
|
|
@@ -1597,9 +1634,9 @@ module Stripe
|
|
|
1597
1634
|
end
|
|
1598
1635
|
end
|
|
1599
1636
|
|
|
1600
|
-
class RevolutPay < Stripe::StripeObject
|
|
1601
|
-
class Funding < Stripe::StripeObject
|
|
1602
|
-
class Card < Stripe::StripeObject
|
|
1637
|
+
class RevolutPay < ::Stripe::StripeObject
|
|
1638
|
+
class Funding < ::Stripe::StripeObject
|
|
1639
|
+
class Card < ::Stripe::StripeObject
|
|
1603
1640
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
1604
1641
|
attr_reader :brand
|
|
1605
1642
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
@@ -1648,7 +1685,7 @@ module Stripe
|
|
|
1648
1685
|
end
|
|
1649
1686
|
end
|
|
1650
1687
|
|
|
1651
|
-
class SamsungPay < Stripe::StripeObject
|
|
1688
|
+
class SamsungPay < ::Stripe::StripeObject
|
|
1652
1689
|
# A unique identifier for the buyer as determined by the local payment processor.
|
|
1653
1690
|
attr_reader :buyer_id
|
|
1654
1691
|
# The Samsung Pay transaction ID associated with this payment.
|
|
@@ -1663,7 +1700,7 @@ module Stripe
|
|
|
1663
1700
|
end
|
|
1664
1701
|
end
|
|
1665
1702
|
|
|
1666
|
-
class Satispay < Stripe::StripeObject
|
|
1703
|
+
class Satispay < ::Stripe::StripeObject
|
|
1667
1704
|
# The Satispay transaction ID associated with this payment.
|
|
1668
1705
|
attr_reader :transaction_id
|
|
1669
1706
|
|
|
@@ -1676,7 +1713,7 @@ module Stripe
|
|
|
1676
1713
|
end
|
|
1677
1714
|
end
|
|
1678
1715
|
|
|
1679
|
-
class SepaCreditTransfer < Stripe::StripeObject
|
|
1716
|
+
class SepaCreditTransfer < ::Stripe::StripeObject
|
|
1680
1717
|
# Name of the bank associated with the bank account.
|
|
1681
1718
|
attr_reader :bank_name
|
|
1682
1719
|
# Bank Identifier Code of the bank associated with the bank account.
|
|
@@ -1693,18 +1730,20 @@ module Stripe
|
|
|
1693
1730
|
end
|
|
1694
1731
|
end
|
|
1695
1732
|
|
|
1696
|
-
class SepaDebit < Stripe::StripeObject
|
|
1733
|
+
class SepaDebit < ::Stripe::StripeObject
|
|
1697
1734
|
# Bank code of bank associated with the bank account.
|
|
1698
1735
|
attr_reader :bank_code
|
|
1699
1736
|
# Branch code of bank associated with the bank account.
|
|
1700
1737
|
attr_reader :branch_code
|
|
1701
1738
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
1702
1739
|
attr_reader :country
|
|
1740
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
1741
|
+
attr_reader :expected_debit_date
|
|
1703
1742
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1704
1743
|
attr_reader :fingerprint
|
|
1705
1744
|
# Last four characters of the IBAN.
|
|
1706
1745
|
attr_reader :last4
|
|
1707
|
-
# Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/
|
|
1746
|
+
# Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).
|
|
1708
1747
|
attr_reader :mandate
|
|
1709
1748
|
|
|
1710
1749
|
def self.inner_class_types
|
|
@@ -1716,7 +1755,7 @@ module Stripe
|
|
|
1716
1755
|
end
|
|
1717
1756
|
end
|
|
1718
1757
|
|
|
1719
|
-
class Sofort < Stripe::StripeObject
|
|
1758
|
+
class Sofort < ::Stripe::StripeObject
|
|
1720
1759
|
# Bank code of bank associated with the bank account.
|
|
1721
1760
|
attr_reader :bank_code
|
|
1722
1761
|
# Name of the bank associated with the bank account.
|
|
@@ -1747,7 +1786,7 @@ module Stripe
|
|
|
1747
1786
|
end
|
|
1748
1787
|
end
|
|
1749
1788
|
|
|
1750
|
-
class StripeAccount < Stripe::StripeObject
|
|
1789
|
+
class StripeAccount < ::Stripe::StripeObject
|
|
1751
1790
|
def self.inner_class_types
|
|
1752
1791
|
@inner_class_types = {}
|
|
1753
1792
|
end
|
|
@@ -1757,7 +1796,7 @@ module Stripe
|
|
|
1757
1796
|
end
|
|
1758
1797
|
end
|
|
1759
1798
|
|
|
1760
|
-
class Swish < Stripe::StripeObject
|
|
1799
|
+
class Swish < ::Stripe::StripeObject
|
|
1761
1800
|
# Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|
|
1762
1801
|
attr_reader :fingerprint
|
|
1763
1802
|
# Payer bank reference number for the payment
|
|
@@ -1774,7 +1813,20 @@ module Stripe
|
|
|
1774
1813
|
end
|
|
1775
1814
|
end
|
|
1776
1815
|
|
|
1777
|
-
class Twint < Stripe::StripeObject
|
|
1816
|
+
class Twint < ::Stripe::StripeObject
|
|
1817
|
+
def self.inner_class_types
|
|
1818
|
+
@inner_class_types = {}
|
|
1819
|
+
end
|
|
1820
|
+
|
|
1821
|
+
def self.field_remappings
|
|
1822
|
+
@field_remappings = {}
|
|
1823
|
+
end
|
|
1824
|
+
end
|
|
1825
|
+
|
|
1826
|
+
class Upi < ::Stripe::StripeObject
|
|
1827
|
+
# Customer's unique Virtual Payment Address.
|
|
1828
|
+
attr_reader :vpa
|
|
1829
|
+
|
|
1778
1830
|
def self.inner_class_types
|
|
1779
1831
|
@inner_class_types = {}
|
|
1780
1832
|
end
|
|
@@ -1784,13 +1836,15 @@ module Stripe
|
|
|
1784
1836
|
end
|
|
1785
1837
|
end
|
|
1786
1838
|
|
|
1787
|
-
class UsBankAccount < Stripe::StripeObject
|
|
1839
|
+
class UsBankAccount < ::Stripe::StripeObject
|
|
1788
1840
|
# Account holder type: individual or company.
|
|
1789
1841
|
attr_reader :account_holder_type
|
|
1790
1842
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
|
1791
1843
|
attr_reader :account_type
|
|
1792
1844
|
# Name of the bank associated with the bank account.
|
|
1793
1845
|
attr_reader :bank_name
|
|
1846
|
+
# Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
1847
|
+
attr_reader :expected_debit_date
|
|
1794
1848
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
1795
1849
|
attr_reader :fingerprint
|
|
1796
1850
|
# Last four digits of the bank account number.
|
|
@@ -1811,7 +1865,7 @@ module Stripe
|
|
|
1811
1865
|
end
|
|
1812
1866
|
end
|
|
1813
1867
|
|
|
1814
|
-
class Wechat < Stripe::StripeObject
|
|
1868
|
+
class Wechat < ::Stripe::StripeObject
|
|
1815
1869
|
def self.inner_class_types
|
|
1816
1870
|
@inner_class_types = {}
|
|
1817
1871
|
end
|
|
@@ -1821,12 +1875,12 @@ module Stripe
|
|
|
1821
1875
|
end
|
|
1822
1876
|
end
|
|
1823
1877
|
|
|
1824
|
-
class WechatPay < Stripe::StripeObject
|
|
1878
|
+
class WechatPay < ::Stripe::StripeObject
|
|
1825
1879
|
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
|
1826
1880
|
attr_reader :fingerprint
|
|
1827
|
-
# ID of the [location](https://stripe.com/
|
|
1881
|
+
# ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1828
1882
|
attr_reader :location
|
|
1829
|
-
# ID of the [reader](https://stripe.com/
|
|
1883
|
+
# ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1830
1884
|
attr_reader :reader
|
|
1831
1885
|
# Transaction ID of this particular WeChat Pay transaction.
|
|
1832
1886
|
attr_reader :transaction_id
|
|
@@ -1840,7 +1894,7 @@ module Stripe
|
|
|
1840
1894
|
end
|
|
1841
1895
|
end
|
|
1842
1896
|
|
|
1843
|
-
class Zip < Stripe::StripeObject
|
|
1897
|
+
class Zip < ::Stripe::StripeObject
|
|
1844
1898
|
def self.inner_class_types
|
|
1845
1899
|
@inner_class_types = {}
|
|
1846
1900
|
end
|
|
@@ -1931,6 +1985,8 @@ module Stripe
|
|
|
1931
1985
|
attr_reader :paynow
|
|
1932
1986
|
# Attribute for field paypal
|
|
1933
1987
|
attr_reader :paypal
|
|
1988
|
+
# Attribute for field payto
|
|
1989
|
+
attr_reader :payto
|
|
1934
1990
|
# Attribute for field pix
|
|
1935
1991
|
attr_reader :pix
|
|
1936
1992
|
# Attribute for field promptpay
|
|
@@ -1953,10 +2009,12 @@ module Stripe
|
|
|
1953
2009
|
attr_reader :swish
|
|
1954
2010
|
# Attribute for field twint
|
|
1955
2011
|
attr_reader :twint
|
|
1956
|
-
# The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/
|
|
2012
|
+
# The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
|
|
1957
2013
|
# An additional hash is included on `payment_method_details` with a name matching this value.
|
|
1958
2014
|
# It contains information specific to the payment method.
|
|
1959
2015
|
attr_reader :type
|
|
2016
|
+
# Attribute for field upi
|
|
2017
|
+
attr_reader :upi
|
|
1960
2018
|
# Attribute for field us_bank_account
|
|
1961
2019
|
attr_reader :us_bank_account
|
|
1962
2020
|
# Attribute for field wechat
|
|
@@ -2009,6 +2067,7 @@ module Stripe
|
|
|
2009
2067
|
payco: Payco,
|
|
2010
2068
|
paynow: Paynow,
|
|
2011
2069
|
paypal: Paypal,
|
|
2070
|
+
payto: Payto,
|
|
2012
2071
|
pix: Pix,
|
|
2013
2072
|
promptpay: Promptpay,
|
|
2014
2073
|
revolut_pay: RevolutPay,
|
|
@@ -2020,6 +2079,7 @@ module Stripe
|
|
|
2020
2079
|
stripe_account: StripeAccount,
|
|
2021
2080
|
swish: Swish,
|
|
2022
2081
|
twint: Twint,
|
|
2082
|
+
upi: Upi,
|
|
2023
2083
|
us_bank_account: UsBankAccount,
|
|
2024
2084
|
wechat: Wechat,
|
|
2025
2085
|
wechat_pay: WechatPay,
|
|
@@ -2032,7 +2092,7 @@ module Stripe
|
|
|
2032
2092
|
end
|
|
2033
2093
|
end
|
|
2034
2094
|
|
|
2035
|
-
class PresentmentDetails < Stripe::StripeObject
|
|
2095
|
+
class PresentmentDetails < ::Stripe::StripeObject
|
|
2036
2096
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
2037
2097
|
attr_reader :presentment_amount
|
|
2038
2098
|
# Currency presented to the customer during payment.
|
|
@@ -2047,8 +2107,8 @@ module Stripe
|
|
|
2047
2107
|
end
|
|
2048
2108
|
end
|
|
2049
2109
|
|
|
2050
|
-
class RadarOptions < Stripe::StripeObject
|
|
2051
|
-
# A [Radar Session](https://stripe.com/
|
|
2110
|
+
class RadarOptions < ::Stripe::StripeObject
|
|
2111
|
+
# A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
2052
2112
|
attr_reader :session
|
|
2053
2113
|
|
|
2054
2114
|
def self.inner_class_types
|
|
@@ -2060,8 +2120,8 @@ module Stripe
|
|
|
2060
2120
|
end
|
|
2061
2121
|
end
|
|
2062
2122
|
|
|
2063
|
-
class Shipping < Stripe::StripeObject
|
|
2064
|
-
class Address < Stripe::StripeObject
|
|
2123
|
+
class Shipping < ::Stripe::StripeObject
|
|
2124
|
+
class Address < ::Stripe::StripeObject
|
|
2065
2125
|
# City, district, suburb, town, or village.
|
|
2066
2126
|
attr_reader :city
|
|
2067
2127
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -2072,7 +2132,7 @@ module Stripe
|
|
|
2072
2132
|
attr_reader :line2
|
|
2073
2133
|
# ZIP or postal code.
|
|
2074
2134
|
attr_reader :postal_code
|
|
2075
|
-
# State, county, province, or region.
|
|
2135
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2076
2136
|
attr_reader :state
|
|
2077
2137
|
|
|
2078
2138
|
def self.inner_class_types
|
|
@@ -2103,7 +2163,7 @@ module Stripe
|
|
|
2103
2163
|
end
|
|
2104
2164
|
end
|
|
2105
2165
|
|
|
2106
|
-
class TransferData < Stripe::StripeObject
|
|
2166
|
+
class TransferData < ::Stripe::StripeObject
|
|
2107
2167
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
|
2108
2168
|
attr_reader :amount
|
|
2109
2169
|
# ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
|
|
@@ -2117,7 +2177,7 @@ module Stripe
|
|
|
2117
2177
|
@field_remappings = {}
|
|
2118
2178
|
end
|
|
2119
2179
|
end
|
|
2120
|
-
# Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/
|
|
2180
|
+
# Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
2121
2181
|
attr_reader :amount
|
|
2122
2182
|
# Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
|
|
2123
2183
|
attr_reader :amount_captured
|
|
@@ -2125,9 +2185,9 @@ module Stripe
|
|
|
2125
2185
|
attr_reader :amount_refunded
|
|
2126
2186
|
# ID of the Connect application that created the charge.
|
|
2127
2187
|
attr_reader :application
|
|
2128
|
-
# The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/
|
|
2188
|
+
# The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
|
|
2129
2189
|
attr_reader :application_fee
|
|
2130
|
-
# The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/
|
|
2190
|
+
# The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
|
|
2131
2191
|
attr_reader :application_fee_amount
|
|
2132
2192
|
# Authorization code on the charge.
|
|
2133
2193
|
attr_reader :authorization_code
|
|
@@ -2151,7 +2211,7 @@ module Stripe
|
|
|
2151
2211
|
attr_reader :disputed
|
|
2152
2212
|
# ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
|
|
2153
2213
|
attr_reader :failure_balance_transaction
|
|
2154
|
-
# Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/
|
|
2214
|
+
# Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).
|
|
2155
2215
|
attr_reader :failure_code
|
|
2156
2216
|
# Message to user further explaining reason for charge failure if available.
|
|
2157
2217
|
attr_reader :failure_message
|
|
@@ -2161,15 +2221,15 @@ module Stripe
|
|
|
2161
2221
|
attr_reader :id
|
|
2162
2222
|
# Attribute for field level3
|
|
2163
2223
|
attr_reader :level3
|
|
2164
|
-
#
|
|
2224
|
+
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
2165
2225
|
attr_reader :livemode
|
|
2166
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
2226
|
+
# 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.
|
|
2167
2227
|
attr_reader :metadata
|
|
2168
2228
|
# String representing the object's type. Objects of the same type share the same value.
|
|
2169
2229
|
attr_reader :object
|
|
2170
|
-
# The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/
|
|
2230
|
+
# The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
|
|
2171
2231
|
attr_reader :on_behalf_of
|
|
2172
|
-
# Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/
|
|
2232
|
+
# Details about whether the payment was accepted, and why. See [understanding declines](https://docs.stripe.com/declines) for details.
|
|
2173
2233
|
attr_reader :outcome
|
|
2174
2234
|
# `true` if the charge succeeded, or was successfully authorized for later capture.
|
|
2175
2235
|
attr_reader :paid
|
|
@@ -2181,7 +2241,7 @@ module Stripe
|
|
|
2181
2241
|
attr_reader :payment_method_details
|
|
2182
2242
|
# Attribute for field presentment_details
|
|
2183
2243
|
attr_reader :presentment_details
|
|
2184
|
-
# Options to configure Radar. See [Radar Session](https://stripe.com/
|
|
2244
|
+
# Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2185
2245
|
attr_reader :radar_options
|
|
2186
2246
|
# This is the email address that the receipt for this charge was sent to.
|
|
2187
2247
|
attr_reader :receipt_email
|
|
@@ -2211,9 +2271,9 @@ module Stripe
|
|
|
2211
2271
|
attr_reader :status
|
|
2212
2272
|
# ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
|
|
2213
2273
|
attr_reader :transfer
|
|
2214
|
-
# An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/
|
|
2274
|
+
# An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
|
|
2215
2275
|
attr_reader :transfer_data
|
|
2216
|
-
# A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/
|
|
2276
|
+
# A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
|
|
2217
2277
|
attr_reader :transfer_group
|
|
2218
2278
|
|
|
2219
2279
|
# Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
|