折扣清单
post https://api.cryptomus.com/v1/payment/discount/list 复制
要求
查询参数
没有参数
请求示例
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'
复制回复
响应参数
| 姓名 | 参数类型 | 定义 |
|---|---|---|
| network | string | 区块链网络代码 |
| currency | string | 货币代码 |
| discount | integer | 折扣百分比 |
参数类型
string定义
区块链网络代码参数类型
string定义
货币代码参数类型
integer定义
折扣百分比
响应示例
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复制