# 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="/files/YsE4eUYQqbDLfTHahSJz" 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="/files/Ai5Hzj87vhmEq2uKAcm1" 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="/files/HwGNpdwmkXNqmzvZgFOE" 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="/files/8IwgXceAp8dLjcMnRGfe" 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="/files/5CcREb1JRiU5KmNRDzlu" 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="/files/FqH9Fw2cAgapOTq2YZXq" alt=""><figcaption></figcaption></figure>

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


---

# 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://developers.doku.com/get-started-with-doku-api/notification/setup-notification-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.
