# 내 구매 목록

<mark style="color:blue;">`GET`</mark> `https://{market-domain}/v1.0/mypage/purchase/list`

#### Query Parameters

| Name         | Type  | Description          |
| ------------ | ----- | -------------------- |
| page\_offset | int64 | 페이지 번호 (default : 1) |
| page\_size   | int64 | 페이지 크기 (default : 8) |

#### Headers

| Name                                            | Type   | Description                   |
| ----------------------------------------------- | ------ | ----------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer eyJhbGciOiJIUzI1NiI... |

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

```javascript
{
    "return": 0,
    "message": "success",
    "value": {
        "page_offset": 1,
        "page_size": 10,
        "total_count" : 2,
        "my_purchases": [
            {
                "thumbnail_path": "https://onbufffile.blob.core.windows.net/inno/dev/nft/pack/103/thumb.png",
                "product_id": 53,
                "nft_pack_id": 103,
                "nft_pack_name": "funigloo Rank #4",
                "original_extension":"jpg",
                "explanation": "Rank #5 ability",
                "modified_date": "2022-07-13T05:27:56.011Z",
                "status": 5,
                "coin_id": 1,
                "quantity": -0.0001
            },
            {
                "thumbnail_path": "https://onbufffile.blob.core.windows.net/inno/dev/nft/pack/104/thumb.png",
                "product_id": 54,
                "nft_pack_name": "funigloo Rank #4",
                "explanation": "Rank #4 ability",
                "modified_date": "2022-07-12T07:00:27.316Z",
                "status": 5,
                "coin_id": 4,
                "quantity": -0.0001
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Example Curl" %}
curl --location --request GET '<https://localhost:51071/v1.0/mypage/purchase/list'\\>
\--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsI....'
{% endtab %}

{% tab title="Response Value" %}

<table><thead><tr><th width="173.33333333333331">key</th><th width="180.93023255813955">data type</th><th>desc.</th></tr></thead><tbody><tr><td>thumbnail_path</td><td>string</td><td>NFT 썸네일 URL</td></tr><tr><td>product_id</td><td>int64</td><td>상품ID</td></tr><tr><td>nft_pack_id</td><td>int64</td><td>NFT PACK id</td></tr><tr><td>nft_pack_name</td><td>string</td><td>NFT 팩 이름</td></tr><tr><td>original_extension</td><td>string</td><td>NFT Image EXT</td></tr><tr><td>explanation</td><td>string</td><td>상품 설명</td></tr><tr><td>modified_date</td><td>string</td><td>전송일시</td></tr><tr><td>status</td><td>int8</td><td>전송상태<br>1: 코인 전송 시작 <br>2: 코인 전송 성공 <br>3: 코인 전송 실패 <br>4: NFT 전송 시작 <br>5: NFT 전송 성공 <br>6: NFT 전송 실패 <br>7: NFT 전송 재시도</td></tr><tr><td>coin_id</td><td>int64</td><td>코인ID</td></tr><tr><td>quantity</td><td>float64</td><td>수량</td></tr><tr><td>tx_hash</td><td>string</td><td>구매 트랜잭션ID</td></tr></tbody></table>
{% endtab %}

{% tab title="Result Code" %}

| return        | message            | desc.       |
| ------------- | ------------------ | ----------- |
| 0             | success            | 성공          |
| 64026         | MyPage Load Failed | 구매 정보 조회 실패 |
| {% endtab %}  |                    |             |
| {% endtabs %} |                    |             |
