List of discounts

post https://api.cryptomus.com/v1/payment/discount/list Copy

Request

Query parameters

No parameters

Request example


curl https://api.cryptomus.com/v1/payment/discount/list \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: f80fa426a89eb62bd53997326865d850' \
-H 'Content-Type: application/json'
Copy

Response

Response parameters

NameParameter typeDefinition
networkstringBlockchain network code
currencystringCurrency code
discountintegerDiscount percent

Parameter type

string

Definition

Blockchain network code

Parameter type

string

Definition

Currency code

Parameter type

integer

Definition

Discount percent

Response example


1{
2  "state": 0,
3  "result": [
4    {
5      "currency": "BTC",
6      "network": "btc",
7      "discount": 0
8    },
9    {
10      "currency": "BUSD",
11      "network": "bsc",
12      "discount": -10
13    },
14    {
15      "currency": "DASH",
16      "network": "dash",
17      "discount": 0
18    }
19  ]
20}
21
22
Copy