# 포트원 연동하기 2.  Callback URL 등록

포트원 관리자 페이지에서 \[결제 연동]에 들어가줍니다

{% embed url="<https://admin.portone.io/integration?tab=channels>" %}

<figure><img src="/files/PKC1BaJuJpfjSjYQXwvx" alt=""><figcaption></figcaption></figure>

상단에 \[실 연동 관리] 탭에 들어가줍니다.

<figure><img src="/files/HNfxQ9ndHqEcFYLosg0I" alt=""><figcaption></figcaption></figure>

\[실 결제 전용 결제 알림 (Webhook)] 항목에, Endpoint URL 항목을 찾아 아래와 같이 입력해줍니다.

> [https://example.com/hotopay/api/v1/portone/paymentCallback](https://example.com/hotopay/api/v1/iamport/paymentCallback)

여기서 example.com은 hotopay를 적용하고자 하는 사이트의 도메인을 입력하여야 합니다. 또한 Content-type는 application/json으로 고정해두어야 합니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hotopaydocs.potatosoft.kr/pg/iamport_callback_url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
