リミットオーダーをキャンセルする

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_idstring変換ID
uuidstring変換注文のUUID
convert_amount_fromstring|null変換元の金額
convert_amount_tostring|null変換先の金額
executed_amount_fromstring|null実行された金額(元)
executed_amount_tostring|null実行された金額(先)
convert_currency_fromstring|null変換通貨元
convert_currency_tostring|null変換通貨先
typestring列挙型利用可能なオプション:• market• limit
statusstring状態列挙型利用可能なオプション:• active• completed• partially_completed• cancelled• expired• failed
created_atstring作成日時
current_ratestring|null現在のレート
market_ratestring|null市場価格
limitstring|null限度額(タイプが「限度」の場合のみ)
expires_atstring限度の有効期限
completed_atstring注文完了日時(注文が完了した場合のみ)

パラメータータイプ

string

意味

変換ID

パラメータータイプ

string

意味

変換注文のUUID

パラメータータイプ

string|null

意味

変換元の金額

パラメータータイプ

string|null

意味

変換先の金額

パラメータータイプ

string|null

意味

実行された金額(元)

パラメータータイプ

string|null

意味

実行された金額(先)

パラメータータイプ

string|null

意味

変換通貨元

パラメータータイプ

string|null

意味

変換通貨先

パラメータータイプ

string

意味

列挙型利用可能なオプション:- market- limit

パラメータータイプ

string

意味

状態列挙型利用可能なオプション:- active- completed- partially_completed- cancelled- expired- failed

パラメータータイプ

string

意味

作成日時

パラメータータイプ

string|null

意味

現在のレート

パラメータータイプ

string|null

意味

市場価格

パラメータータイプ

string|null

意味

限度額(タイプが「限度」の場合のみ)

パラメータータイプ

string

意味

限度の有効期限

パラメータータイプ

string

意味

注文完了日時(注文が完了した場合のみ)

応答の例


1{
2  "state": 0,
3  "result": {
4    "order_id": "2d9bf426-98ef-448b-84c2-03cc1ec78feb",
5    "uuid": "740a39d1-2edd-4b4d-bf49-826caf324312",
6    "convert_amount_from": "10.000",
7    "convert_amount_to": "3.000",
8    "executed_amount_from": null,
9    "executed_amount_to": null,
10    "convert_currency_from": "USDT",
11    "convert_currency_to": "XMR",
12    "type": "limit",
13    "status": "cancelled",
14    "created_at": "2024-07-11 , 18:06:04",
15    "current_rate": "100",
16    "market_rate": "100",
17    "limit": "70000",
18    "expires_at": "2024-07-12 , 18:06:04"
19  }
20}
コピー