diff --git a/API_VERSION b/API_VERSION index 93be1cef5..72fc940f3 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -88aa59022b32620f4d66d6196e3b42d5a0f86bbb \ No newline at end of file +a3035d6cb25cc44d50589c1da75b21abbd3601ca \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 16739433e..abf60f206 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2140 \ No newline at end of file +v2143 \ No newline at end of file diff --git a/stripe/_event_notification_handler.py b/stripe/_event_notification_handler.py index 58397bfbf..c39700041 100644 --- a/stripe/_event_notification_handler.py +++ b/stripe/_event_notification_handler.py @@ -145,6 +145,9 @@ from stripe.events._v2_money_management_outbound_transfer_updated_event import ( V2MoneyManagementOutboundTransferUpdatedEventNotification, ) + from stripe.events._v2_money_management_payout_method_created_event import ( + V2MoneyManagementPayoutMethodCreatedEventNotification, + ) from stripe.events._v2_money_management_payout_method_updated_event import ( V2MoneyManagementPayoutMethodUpdatedEventNotification, ) @@ -862,6 +865,19 @@ def on_v2_money_management_outbound_transfer_updated( ) return func + def on_v2_money_management_payout_method_created( + self, + func: "Callable[[V2MoneyManagementPayoutMethodCreatedEventNotification, StripeClient], None]", + ): + """ + Registers a callback for the `V2MoneyManagementPayoutMethodCreatedEvent` (`v2.money_management.payout_method.created`) event notification. + """ + self._register( + "v2.money_management.payout_method.created", + func, + ) + return func + def on_v2_money_management_payout_method_updated( self, func: "Callable[[V2MoneyManagementPayoutMethodUpdatedEventNotification, StripeClient], None]",