> For the complete documentation index, see [llms.txt](https://developers.doku.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.doku.com/get-started-with-doku-api/notification/setup-notification-url.md).

# Setup Notification URL

To get notified by DOKU, you must setup the `Notification URL` on DOKU Back Office. For security reason, we encourage you to use `https://` URL protocol prefix.

{% hint style="warning" %}
**Important: ngrok Domain Prohibited for Notification URLs**

Please note that we no longer support URLs that use the **ngrok** domain, as they do not meet our security standards. Ensure that your Notification URL is hosted on a secure and reliable domain to maintain the integrity of your transactions.
{% endhint %}

{% hint style="info" %}
**NOTIFICATION URL MUST BE ABLE ACCESSED FROM INTERNET**

Make sure to input Notification URL that can be reached from Public Internet. DOKU will not be able to send notification to localhost, URL protected with authentication, URL behind VPN, unusual destination port, and etc.
{% endhint %}

{% hint style="info" %}
**LOCAL DEVELOPMENT**

If you are still on development process, you can utilize service like [Localhost.run](http://localhost.run/) and then put the URL to the `Notification URL` on the DOKU Back Office.
{% endhint %}

### Virtual Account SNAP <a href="#virtual-account" id="virtual-account"></a>

For Virtual Account, go to **Settings  > Under Payment Settings > Virtual Account SNAP**. You should see the Payment Method that is available to you.

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2F2WZKqjWSbLGCswgkfmNB%2FScreenshot%202024-07-12%20at%2010.01.52.png?alt=media&amp;token=4b4bc22c-1707-4ed3-8cfd-990d2cec4b6f" alt=""><figcaption></figcaption></figure>

You will need to setup the `Notification URL` on each Virtual Account by clicking the **CONFIGURE** button.

### Virtual Account Non-SNAP <a href="#virtual-account" id="virtual-account"></a>

For Virtual Account, go to **Settings  > Under Payment Settings > Virtual Account**. You should see the Payment Method that is available to you.

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2F0eoBkzFxdr6m6VMhKU9a%2Fimage.png?alt=media&amp;token=e472fdfa-58b8-4656-8a36-047f0068cd56" alt=""><figcaption></figcaption></figure>

You will need to setup the `Notification URL` on each Virtual Account by clicking the **CONFIGURE** button.

### **Cards**

For Virtual Account, go to **Settings  >** Under **Payment Settings > Cards > Tab Payment Configuration.**&#x20;

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2Fzbx37dPHqTeFlWjixHYQ%2FScreenshot%202024-07-12%20at%2009.56.44.png?alt=media&amp;token=9d890045-5eed-43c8-829f-81de1745b180" alt=""><figcaption></figcaption></figure>

Please add or edit in the payment notification URL on the provided box.

### Convenience Store

&#x20;For Virtual Account, go to **Settings  >** Under **Payment Settings > Convenience Store.**

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2Fnr6hLo0bTGTOncrICrMQ%2FScreenshot%202024-07-12%20at%2009.58.51.png?alt=media&amp;token=102e1308-33a0-49db-bf49-705413519bf2" alt=""><figcaption></figcaption></figure>

You will need to setup the `Notification URL` on each Convenience Store Payment Channel by clicking the **CONFIGURE** button.

### e-Wallet

For Virtual Account, go to **Settings  >** Under **Payment Settings > e-Wallet.**

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2FPhozMLYmUFIhB9sAmoln%2FScreenshot%202024-07-12%20at%2010.07.06.png?alt=media&amp;token=55ffbecb-1b87-42b2-808a-5a96c53f2877" alt=""><figcaption></figcaption></figure>

You will need to setup the `Notification URL` on each e-Wallet Payment Channel by clicking the **CONFIGURE** button.

### Paylater&#x20;

For Virtual Account, go to **Settings  >** Under **Payment Settings > Paylater.**&#x20;

<figure><img src="https://3092822868-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqCxtvLoJNNxvp4U7kLHd%2Fuploads%2FtHTyjvuVfoA7ZeSPSQ6t%2FScreenshot%202024-07-12%20at%2010.15.32.png?alt=media&amp;token=e0e1219c-95d0-489d-add0-8ef0000287e1" alt=""><figcaption></figcaption></figure>

You will need to setup the `Notification URL` on each Paylater Payment Channel by clicking the **CONFIGURE** button.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.doku.com/get-started-with-doku-api/notification/setup-notification-url.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
