Webhooks
Get all webhooks
client.webhooks.list(RequestOptionsoptions?): WebhookListResponse { status, message, webhooks }
/api/v2/account/webhooks
Add new webhooks
client.webhooks.create(WebhookCreateParams { webhooks, globalSecret, type } body, RequestOptionsoptions?): WebhookCreateResponse { status, message, webhooks }
/api/v2/account/webhooks
Replace all webhooks
client.webhooks.update(WebhookUpdateParams { webhooks } body, RequestOptionsoptions?): WebhookUpdateResponse { status, message, webhooks }
/api/v2/account/webhooks
Delete specific webhooks
client.webhooks.delete(WebhookDeleteParams { webhooks, type } body, RequestOptionsoptions?): WebhookDeleteResponse { status, message }
/api/v2/account/webhooks