Learn how to use webhooks.

Digital River uses webhooks to notify your application when events occur.

When an event occurs, Digital River will create an Event object and then send a webhook to your application (endpoint URL) through a POST request that contains the event and timestamp for the event. You can set up multiple webhook endpoints to receive a single event. This allows you to receive real-time updates on the state of your SKUs, orders, fulfillments, returns, and refunds using webhooks.

Your Webhook resource can take specific actions when these events occur. For example, you can expect to receive a checkout.created event whenever someone begins the checkout flow for one of your SKUs. An order.created event represents a purchase, so when you receive an order.created webhook for a digital item, it's time to fulfill the purchased SKU. We generate an invoice and a webhook on a fulfillment.created event.

Webhook endpoints can be better secured by using a signing secret and authenticating via OAuth or basic authorization.

You can send webhooks to your customer that includes this tracking information. You can create a webhook to subscribe to the event. When you receive the webhook, you can then share a file link with the customer without using a secret key.