v1

latestOpenAPI 3.0.12026-07-24510443.1 KB
주문(Order)

id로 주문 목록 취소 접수

UUID 또는 Identifier 목록으로 취소 대상 주문을 지정 취소합니다. 한 번의 요청으로 최대 20개의 주문을 취소할 수 있습니다.

delete/orders/uuids

Query parameters

uuids[]string[]

취소하고자 하는 주문의 UUID 목록. 취소 가능한 최대 주문 개수는 20개입니다. 2개 이상의 UUID로 조회하는 경우 쿼리 파라미터를 다음과 같이 요청합니다.

[예시] uuids[]=uuid1&uuids[]=uuid2…

[
  "9ca023a5-851b-4fec-9f0a-48cd83c2eaae"
]
identifiers[]string[]

취소하고자 하는 주문의 클라이언트 지정 식별자 목록. 취소 가능한 최대 주문 개수는 20개입니다. 2개 이상의 identifiers로 조회하는 경우 쿼리 파라미터를 다음과 같이 요청합니다.

[예시] identifiers[]=id1&identifiers[]=id2…

[
  "9ca023a5-851b-4fec-9f0a-48cd83c2eaae"
]

Response

List of canceled orders

Example response

{
  "success": {
    "count": 5,
    "orders": [
      {
        "uuid": "9ca023a5-851b-4fec-9f0a-48cd83c2eaae",
        "market": "KRW-BTC",
        "identifier": "9ca023a5-851b-4fec-9f0a-48cd83c2eaae"
      }
    ]
  },
  "failed": {
    "count": 5,
    "orders": [
      {
        "uuid": "9ca023a5-851b-4fec-9f0a-48cd83c2eaae",
        "market": "KRW-BTC",
        "identifier": "9ca023a5-851b-4fec-9f0a-48cd83c2eaae"
      }
    ]
  }
}