지정가 주문 취소
delete
https://api.cryptomus.com/v2/user-api/convert/{orderUuid}
요구
쿼리 매개 변수
이름 | 매개 변수 유형 | 정의 |
---|---|---|
orderUuid* | uuid | 변환 주문의 UUID |
매개 변수 유형
uuid정의
변환 주문의 UUID
* - 필수 매개 변수
요청 예제
curl https://api.cryptomus.com/v2/user-api/convert/740a39d1-2edd-4b4d-bf49-826caf324312 \
-X DELETE \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json'
복사응답
응답 매개 변수
이름 | 정의 |
---|---|
order_id | 변환 ID |
convert_amount_from | 변환할 금액 (출발) |
convert_amount_to | 변환할 금액 (도착) |
convert_currency_from | 변환할 통화 (출발) |
convert_currency_to | 변환할 통화 (도착) |
type | 열거형 유형사용 가능한 옵션 :• market• limit |
status | 상태 열거형사용 가능한 옵션 :• active• completed• partially_completed• cancelled• expired• failed |
created_at | 생성 일시 |
current_rate | 현재 환율 |
limit | 한도 값 (유형이 한도인 경우에만) |
expires_at | 한도 만료 일시 |
completed_at | 주문 완료 일시 (주문이 완료된 경우에만) |
정의
변환 ID정의
변환할 금액 (출발)정의
변환할 금액 (도착)정의
변환할 통화 (출발)정의
변환할 통화 (도착)정의
열거형 유형사용 가능한 옵션 :- market- limit정의
상태 열거형사용 가능한 옵션 :- active- completed- partially_completed- cancelled- expired- failed정의
생성 일시정의
현재 환율정의
한도 값 (유형이 한도인 경우에만)정의
한도 만료 일시정의
주문 완료 일시 (주문이 완료된 경우에만)
응답 예
1{
2 "state": 0,
3 "result": {
4 "order_id": "2d9bf426-98ef-448b-84c2-03cc1ec78feb",
5 "convert_amount_from": "10.000",
6 "convert_amount_to": "3.000",
7 "executed_amount_from": null,
8 "executed_amount_to": null,
9 "convert_currency_from": "USDT",
10 "convert_currency_to": "XMR",
11 "type": "market",
12 "status": "completed",
13 "created_at": "2024-07-11 , 18:06:04",
14 "current_rate": "100",
15 "completed_at": "2024-07-11 , 18:06:04"
16 }
17}
복사