> For the complete documentation index, see [llms.txt](https://hotopaydocs.potatosoft.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hotopaydocs.potatosoft.kr/pg/tosspayments_webhook.md).

# 토스페이먼츠 연동하기 2 - 웹훅 설정

`Hotopay > PG 설정`에서 `Toss Payments 설정 > Webhook URL` 부분을 확인해주세요

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

해당 URL이 정상적으로 뜬다면 Tosspayments의 내 상점에 들어가서 `개발 정보` 탭에 들어가주세요

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

이후 개발 정보에 들어왔다면 좌측 탭에서 `웹훅`을 클릭해주세요&#x20;

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

이후 아래와 같이 설정을 해주시면 됩니다.

<div><figure><img src="/files/md4gosz9DFVOHIdb7mxh" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Mys1zs9N8cfoDFJS6fUY" alt=""><figcaption></figcaption></figure></div>

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

이렇게 설정해주시면 가상계좌 입금 알림을 받을 수 있으며, 토스에서 결제를 취소해도 Hotopay에 반영됩니다.
