# Set discount to payment method

**POST** `https://api.heleket.com/v1/payment/discount/set`

## Request

### Body parameters (response-parameters)

| Name | Definition |
| --- | --- |
| currency (required) | Currency code |
| network (required) | Blockchain network code |
| discount\_percent (required) | Discount percent |

> **About discount percent:**
> 
> Positive Numbers (>0). Gives buyers a discount for paying with a coin. Good promotional tool if you want to give extra support to a particular coin.
> 
>   
> 
> Negative Numbers (<0). Adds a certain percentage (padding) for paying with a coin. This could be used to cover your crypto/fiat conversion costs, make adjustments to match your local exchange, etc.

### Request example

```
curl https://api.heleket.com/v1/payment/discount/set \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{
    "network": "bsc",
    "currency": "BUSD",
    "discount_percent": -20
}'
```

## Response

### Response parameters

| Name | Definition |
| --- | --- |
| currency | Currency code |
| network | Blockchain network code |
| discount\_percent | Discount percent |

### Response example

```
{
    "state": 0,
    "result": {
      "currency": "BUSD",
      "network": "bsc",
      "discount": "-10"
    }
}
```

### Response example with error

```
{
  "message": "The service BUSD bsc was not found",
  "state": 1
}
```
