# Get order API

### Gets order details (API that wraps  [Kakao Pay's Get order details API](https://developers.kakao.com/docs/restapi/kakaopay-api#%EC%A3%BC%EB%AC%B8%EB%82%B4%EC%97%AD%EC%A1%B0%ED%9A%8C)).

## Gets order details.

<mark style="color:blue;">`GET`</mark> `https://api.iamport.kr/kakao/payment/orders`

Request is similar and response is identical with Kakao Pay API.

#### Query Parameters

| Name                                                     | Type    | Description                                                                           |
| -------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------- |
| payment\_request\_date<mark style="color:red;">\*</mark> | String  | <p> <mark style="color:red;"><strong>Request date</strong></mark> </p><p>YYYYMMDD</p> |
| cid                                                      | String  | <p><strong>Kakao Pay MID</strong></p><p>Default: Kakao Pay CID set in i'mport</p>     |
| page                                                     | integer | **Page number**                                                                       |

{% tabs %}
{% tab title="200: OK Success" %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

{% hint style="success" %}
**Swagger Test Link**

[**https://api.iamport.kr/#!/kakao/getOrders**](https://api.iamport.kr/#!/kakao/getOrders)
{% endhint %}

{% hint style="danger" %}

### **Precaution**

The support for this API will be terminated i&#x6E;**`2H of 2022`** due to Kakao Pay's policy change.
{% endhint %}
