Digital River uses webhooks to notify your application (endpoint URL) when events occur. A webhook contains the event and timestamp for the event. You can use the Webhook Service page in Global Commerce to search, create, edit, enable, disable, and delete webhooks. You can also reveal and rotate webhook secrets. When you register your webhook URLs with Digital River, Digital River creates a Data object and sends webhook events that notify your application any time an event occurs. The Data object includes the type of event and the data associated with that event.
Each webhook has a unique identifier (ID). If you know the webhook ID, you can search for it from the Webhook Service page in Global Commerce. A webhook ID only appears in the search results if it exactly matches the text that you type in the Search field.
An endpoint URL is where the payload will be sent to when the subscribed event happens. The endpoint URL must begin with either
The endpoint must return a
2xx HTTP status code to acknowledge the receipt of an event. If the endpoint fails to acknowledge events over several days, the endpoint will be disabled. If Digital River receives any response codes outside this range, it indicates that you did not receive the event. For example, Digital River treats a URL redirection as a failure.
The webhook status is Disabled by default. The system will prompt you to enable the webhook when you create a webhook. If you chose to disable the webhook, no payload would be sent when an event occurs.
After you create a webhook, you can choose to enable or disable the webhook manually. Enabling a webhook manually does not require confirmation. However, you are required to provide confirmation when you manually disable a webhook by entering the username (case sensitive).