Invoice

📡Invoice Callbacks (Webhooks)

These are server-side callbacks sent to the merchant's server whenever the status of invoice changes.

Invoice Callback

  • Triggered when:

    • The invoice is successfully paid

    • The invoice expires

    • The invoice is canceled

    • The invoice is rejected

    • The invoice is underpaid

    • Invoice paid double

    • Invoice paid in another currency

  • The callback sends the updated invoice data (e.g., status, amount, currency) to the configured callbackUrl.

Notes:

  • These callbacks enable your server to automatically update the order/payment status based on real-time data from TheDex.

  • Callbacks can be manually re-sent from the admin panel in case of delivery failure or testing purposes.

  • For testing callback URLs, services like https://webhook.site/ can be used.

Last updated