할인 목록

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'
복사

응답

응답 매개 변수

이름매개 변수 유형정의
networkstring블록 체인 네트워크 코드
currencystring통화 코드
discountinteger할인 백분율

매개 변수 유형

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
복사