code: def handler(*event_types):
  	
  
  	def decorator(func):
  		for event_type in event_types:
  			registrations[event_type].append(func)
  		return func
  
  	return decorator
docs: Decorator that registers a function as a webhook handler.
  
  	Functions can be registered for event types (e.g. 'customer') or
  	fully qualified event sub-types (e.g. 'customer.subscription.deleted').
  
  	If an event type is specified, the handler will receive callbacks for
  	ALL webhook events of that type.  For example, if 'customer' is specified,
  	the handler will receive events for 'customer.subscription.created',
  	'customer.subscription.updated', etc.
  
  	:param event_types: The event type(s) that should be handled.
  	:type event_types: str.