# Webhook Alerts for Cypher Business

Now businesses can configure webhooks under Settings -> Alerts -> Setup Webhook menu on the top right.&#x20;

Configure a hook URL which can accept HTTP POST Request with the following payloads.&#x20;

## Sample Payloads

### **Different Event Types**

`type: 'DEBIT' | 'CREDIT' | 'REFUND' | 'DECLINE' | 'LOW_BALANCE_ALERT' | 'DAILY_BALANCE_ALERT'`

### Debit Response<br>

```
JSON
{
	id: string,
	type: string,
	amount: number,
	date: string(ISO format),
	isSettled: boolean,
	title: string,
	category: string,
	last4: string,
	closingBalance: number,
	employeeName: string,
};
```

### Credit Response

```
JSON
{
	id: string,
	type: string,
	amount: number,
	date: string(ISO format),
	title: string,
	closingBalance: number,
	tokenData: {
		chain: string,
		hash: string,
		symbol: string,
		tokenNos: string,
	}
}
```

### Refund Response

```
JSON
{
	id: string,
	type: string,
	amount: number,
	date: string(ISO format),
	isSettled: boolean,
	title: string,
	category: string,
	last4: string,
	closingBalance: number,
	employeeName: string,
}
```

### Decline Response

```
JSON
{
	id: string,
	type: string,
	amount: number,
	date: string(ISO format),
	title: string,
	category: string,
	last4: string,
	closingBalance: number,
	employeeName: string,
	reason: string,
}
```

### Low Balance Alert Response

```
JSON
{
	type: string,
	date: string(ISO format),
	closingBalance: number,
	lowBalanceLimit: number,
	businessName: string,
}
```

### Daily Balance Alert Response

```
JSON
{
	type: string,
	date: string(ISO format),
	closingBalance: number,
	businessName: string,
}
```
