Webhooks

# Webhooks

Webhooks are used to communicate changes in an Order or a Credit line. We have available the following webhook events:

| Webhook event          |                                                                                                                                            |
| :--------------------- | :----------------------------------------------------------------------------------------------------------------------------------------- |
| credit_line.activate   | Fired when a Credit line is activated                                                                                                      |
| credit_line.deactivate | Fired when a Credit line is deactivated                                                                                                    |
| credit_line.updated    | Fired when a Credit line is updated due to: 1) new order placed, 2) new payment made by the Buyer to Kontempo, 3) credit line limit change |
| order.completed        | Fired when an Order is marked as Completed                                                                                                 |

***

## How to setup Webhooks?

1. Go to Developer section in your Merchant Dashboard and click Manage Webhooks button

![](https://files.readme.io/e94c8d4-SCR-20221007-kh4.png)

2. An svix page will be launched, click on New endpoint button

![](https://files.readme.io/386067f-SCR-20221007-kis.png)

3. Set the endpoint URL where you want to be notified — select the Webhook events you want to listen

![](https://files.readme.io/9df1f27-SCR-20221007-kj7.png)

4. Click "Create" button and you are all set!

***

## Webhook events payload

In the svix page, please go to **Event Catalog** section to see details of every Webhook event payload.

![](https://files.readme.io/9005501-SCR-20221007-kde.png)