---
description: 결제 후 digest 검증 및 충전,민팅 처리
---

# 입금완료(후처리)

<mark style="color:green;">`POST`</mark> \{{bridge\_host\_ext\}}/v1.0/deposit/purchase

#### Headers

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

#### Request Body

| Name                                       | Type   | Description |
| ------------------------------------------ | ------ | ----------- |
| tx\_hash<mark style="color:red;">\*</mark> | string | tx\_hash    |

{% tabs %}
{% tab title="200: OK 정상 서비스 상태" %}
````json
```json
{
    "return": 0,
    "message": "success"
}
```
````
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Example Curl" %}
```powershell
curl --location 'https://localhost:51171/v1.0/deposit/purchase' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdiYmMyNzdlLWM1ZmQtNDNhNy04ODNlLWI0MTEwZmQzMmRhMyIsImF1X2lkIjoxMDAwMDE1LCJleHAiOjE3MTIyMzM4MzA2NjcsImlubm9fdWlkIjoicGRNQUh6eHFnTXdNVWI2OU1yV3czU1BiaDRjUk9XQUpLZzN5UFZ2VHNMWT0iLCJsb2dpbl90eXBlIjo0LCJzb2NpYWxfdHlwZSI6MX0.X2_sIjb378iRe2rIIoTKAC6hzuFZ6h6h0a_qT5ovVMw' \
--data '{
    "tx_hash" : "0xweopjfwopew"
}'
```
{% endtab %}

{% tab title="Response 'Value'" %}

{% endtab %}

{% tab title="Result Code" %}
| return | message | desc.                                                                   |
| ------ | ------- | ----------------------------------------------------------------------- |
| 0      | success | 성공                                                                      |
|        |         | tx\_hash체크를 하지않으므로 유저가 알아야 할 오류는 없음. 그대로뿌려도 무방하고 System Error로 통일해도 무방함 |
{% endtab %}
{% endtabs %}

