# 토스페이먼츠 연동하기 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에 반영됩니다.


---

# 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/tosspayments_webhook.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.
