Create an Event object.
- Parameters:
params - a dict of parameters; valid keys are:
-
payload : The raw JWS message payload.
required
-
url : The URL for the webhook. If present it
must match the URL registered for the webhook.
auth_args - an Authentication object used for the API call. If no value is
passed the gloabl keys simplify.public_key and
simplify.private_key are used. For backwards compatibility the
public and private keys may be passed instead of an
Authentication object.
- Returns:
- an Event object
|