API Reference
DOKU DocsChangelogDOKU Github
  • Getting Started with DOKU API
    • User Registration
    • Idempotency Request
    • Notification
      • Setup Notification URL
      • HTTP Notification Sample for SNAP
      • HTTP Notification Sample - Non SNAP
      • Best Practice
      • Retry Notification
      • Override Notification URL
    • Signature Component
      • Non-SNAP
        • Signature Component from Request Header
        • Signature Componen from Response Header
        • Signature from API Get Method
        • Sample Code
      • SNAP
        • Symmetric Signature
        • Asymmetric Signature
    • Response Code
      • HTTP Status and Case Code
    • Check Status API
      • Non-SNAP
      • SNAP
    • Retrieve Payment Credential
  • Accept Payment
    • DOKU Checkout
      • Integration Guide
        • Backend Integration
        • Frontend Integration
        • Simulate payment and Notification
      • Supported Payment Methods
      • Status Order
      • Additional Feature
        • Tokenization
        • Promo on DOKU Checkout Page
        • Track Campaign Source on Google Analytics
      • Checkout Settings
    • Direct API
      • Non-SNAP
        • Cards
          • Payment Page Integration Guide
          • Host-To-Host Integration Guide
          • Mastercard Automatic Billing Updater (ABU) Integration Guide
            • Backend Integration
        • e-Wallet
          • Overview
          • DOKU e-Wallet
          • OVO Push Payment
          • ShopeePay
          • LinkAja
        • Paylater
          • Akulaku
          • Kredivo
          • Indodana
        • Digital Banking
          • Jenius Pay
        • Convenience Store
          • Alfa Group
          • Indomaret
      • SNAP
        • Integration Guide
          • Get Token API
            • B2B
            • B2B2C
          • Virtual Account
            • CIMB Virtual Account
            • BSI Virtual Account
            • BCA Virtual Account
            • BNC Virtual Account
            • BNI Virtual Account
            • Mandiri Virtual Account
            • BRI Virtual Account
            • BTN Virtual Account
            • Permata Virtual Account
            • Danamon Virtual Account
            • BSS Virtual Account
          • E-Wallet
            • DOKU Wallet
            • DANA
            • OVO
            • ShopeePay
          • Direct Debit
            • Allo Bank Direct Debit
            • BRI Direct Debit
            • CIMB Direct Debit
            • Mandiri Direct Debit
          • Kartu Kredit Indonesia Cepat Secure(KKI CPTS)
            • Host to Host Integration
          • QRIS
    • Finance and Settlement
      • Split Settlement
      • Custom Settlement Report
      • Hold and Release Settlement
      • Bulk Registration Bank
    • Test on DOKU Demo Site
    • DOKU Payment Simulator
  • Developer Kit
    • Postman Collection
    • Libraries and SDK
  • Wallet As A Service
    • Sub Account
  • Partnership
    • Partner API
      • Check Requirements API
      • Generate Token API
      • Upload File API
      • Business Registration API
      • Create Business Lite API
      • Get Business Data API
  • Payout
    • Kirim DOKU
  • FLEXIBILL
    • Account Billing
      • Batch Upload
    • DOKU Biller
      • Response Code
      • Samples
  • PAYCHAT API
    • Send WhatsApp Message
  • Archive
    • Non-SNAP
      • Tokenization V1
      • e-Wallet
        • OVO Recurring
        • OVO Open API
    • SNAP
      • Virtual Account
        • BCA v1.0
        • BRI v1.0
        • BNI v1.0
        • BNC v1.0
        • Mandiri v1.0
        • BTN v1.0
        • Permata v1.0
        • Danamon Virtual Account
      • e-Wallet
        • OVO Open API
        • DANA
        • ShopeePay
      • Direct Debit
        • CIMB Direct Debit
        • BRI Direct Debit
        • Allobank
Powered by GitBook

DOKU API

  • Legacy Documentation
On this page
  • Virtual Account SNAP
  • Virtual Account Non-SNAP
  • Cards
  • Convenience Store
  • e-Wallet
  • Paylater

Was this helpful?

  1. Getting Started with DOKU API
  2. Notification

Setup Notification URL

PreviousNotificationNextHTTP Notification Sample for SNAP

Last updated 4 months ago

Was this helpful?

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.

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.

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.

LOCAL DEVELOPMENT

If you are still on development process, you can utilize service like and then put the URL to the Notification URL on the DOKU Back Office.

Virtual Account SNAP

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

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

Virtual Account Non-SNAP

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

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.

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

Convenience Store

For Virtual Account, go to Settings > Under Payment Settings > Convenience Store.

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.

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

Paylater

For Virtual Account, go to Settings > Under Payment Settings > Paylater.

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

Localhost.run