DOKU Malaysia API Reference
Home
Products
Products
  • Checkout
  • Payment
  • Cards Payment
DOKU Docs
Home
Products
Products
  • Checkout
  • Payment
  • Cards Payment
DOKU Docs
  1. Notification
  • Introduction
  • Getting Started
    • Create Account
    • Make your first API call
    • Authentication & API Keys
  • Checkout
    • Overview
    • Create Checkout
      POST
    • Retrieve Checkout Status
      GET
  • Payment
    • Overview
    • Create Payment
      POST
    • Get Bank List - FPX
      POST
    • Retrieve Payment Status
      GET
  • Cards Payment
    • Overview
    • Payment Form
      • Request Payment
    • Host-to-Host Payment
      • Check Three D Secure
      • Charge Payment
      • Capture Authorized Payment
    • Request Refund
      POST
    • Unbind Token
      POST
    • Check Status
      GET
  • Payout
    • Overview
    • Inquire Beneficiary Account
      POST
    • Send Payout
      POST
    • Read Payout Status
      GET
    • Read Available Balance
      GET
  • Notification
    • Overview
    • Retry Notification
    • Setup Notification URL
    • Sample Notification - Global
      POST
    • Sample Notification - Cards
      POST
  • Technical Reference
    • Authentication & Integrity
    • Idempotency
    • Data Type
    • Order & Transaction Status
    • Postman Collection
    • Response Code
      • Error Code
      • Payout Response Code
      • Credit Card Acquirer Response Code
    • API Version
      • Create Checkout
      • Create Payment
      • Get Bank List - FPX
      • Retrieve Checkout
      • Retrieve Payment
      • Inquire Beneficiary Account
      • Send Payout
      • Read Payout Status
      • Read Available Balance
    • Signature
      • Signature - Global
        • Prepare Signature Component
        • Generating Signature
        • Validating Signature
        • Sample Code
      • Signature - Cards Payment API
        • Signature Component from Response Header
        • Signature from API Get Method
        • Sample Code
        • Signature Component from Request Header
  1. Notification

Setup Notification URL

To get notified by DOKU, you must setup the Notification URL on DOKU Back Office on Webhook Menu. For security reason, we encourage you to use https:// URL protocol prefix.
Notification URL must be able accesed 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.
Payment Notification URL for Cards will be on Credit Card Menu
Setup Notification URL for Cards payment channel will be on different menu. Please refer to point 2 below.

1. Setup Webhook for Payment Notification URL#

Follow the steps below to configure your webhook so you can receive real-time payment notifications from DOKU:
1.
First, open the DOKU Back Office, go to Settings, and select the Webhook menu.
Screenshot 2025-11-25 at 16.29.00.png
2.
Next, click Create Webhook to add a new webhook configuration. Currently, the webhook only supports the Payment Notification event.
Screenshot 2025-11-25 at 16.31.02.png
3.
You will be directed to the webhook detail page. Fill in the following fields:
Note
Only active payment channels are displayed in the list.
Description – A brief note to help identify this webhook.
URL Endpoint – Your URL Endpoint Address that will receive payment notifications.
Payment Channel – Select the payment channel you want to enable.
Screenshot 2025-11-25 at 16.31.54.png
4.
After all fields are completed, click Save to store the webhook configuration. The system will validate the input and perform the save process.
Screenshot 2025-11-25 at 16.39.44.png
5.
If successful, a confirmation pop-up will appear stating that the webhook has been saved. Your new webhook will be added to the existing webhook list.
Screenshot 2025-11-25 at 16.43.14.png
6.
Please note that each payment channel can only be linked to one URL Endpoint. This means if a payment channel is already used in another webhook, that channel will no longer appear when you create a new webhook.
Screenshot 2025-11-25 at 16.41.55.png

2. Setup Cards Webhook for Payment Notification URL#

Follow the steps below to configure your Cards webhook so you can receive real-time payment notifications from DOKU:
1.
First, open the DOKU Back Office, go to Settings, and select the Cards menu under Payment section.
Screenshot 2026-11-02 at 15.24.40.png
2.
Choose the Payment Configuration tab and you can see the Payment Notification URL settings. After that click Edit button to input your Notification URL.
Screenshot 2026-10-14 at 15.53.18.png
3.
Input your Notification URL and then click Submit button, then your Payment Notification URL will be saved.
Screenshot 2026-10-14 at 15.53.38.png
4.
If successful, a confirmation pop-up will appear stating that the notification URL has been saved.
Screenshot 2026-10-14 at 15.56.44.png
Modified at 2026-11-02 08:26:02
Previous
Retry Notification
Next
Sample Notification - Global
Built with