Name | Type | Description | Notes |
---|---|---|---|
headers | Dict[str, str] | Custom headers for the webhook. | |
id | str | The unique ID of the webhook. | |
merchant_id | str | The ID of the merchant that the webhook belongs to. | |
status | WebhookStatus | ||
subscribed_events | List[WebhookEventType] | The events that the webhook is subscribed to. | |
url | str | The URL to send the webhook events to. |
from openapi_client.models.webhook import Webhook
# TODO update the JSON string below
json = "{}"
# create an instance of Webhook from a JSON string
webhook_instance = Webhook.from_json(json)
# print the JSON string representation of the object
print(Webhook.to_json())
# convert the object into a dict
webhook_dict = webhook_instance.to_dict()
# create an instance of Webhook from a dict
webhook_from_dict = Webhook.from_dict(webhook_dict)