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'
CopyResponse
Response parameters
| Name | Parameter type | Definition |
|---|---|---|
| network | string | Blockchain network code |
| currency | string | Currency code |
| discount | integer | Discount percent |
Parameter type
stringDefinition
Blockchain network codeParameter type
stringDefinition
Currency codeParameter type
integerDefinition
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
22Copy