---
updatedAt: 2026-09-09T13:47:04.000Z
agentTools:
  projectIndex: https://developers.virtualincentives.com/llms.txt
---

# Reward DNA Webhooks

Virtual Incentives supports webhooks to provide real-time notifications when key reward lifecycle events occur. These webhooks allow clients to stay up-to-date as rewards move through their lifecycle from order creation to email or SMS delivery to activation. Webhooks are managed within our VI Now client portal.

<Callout icon="📘" theme="info">
  Webhooks require approval prior to access. Please contact your Virtual Incentives Account Manager to discuss your use case.
</Callout>

# Getting Started

To manage your webhooks:

1. Log in to [VI Now](https://now.virtualincentives.com/login/).
2. Navigate to the **Webhooks** section.
3. Use the management interface to:
   1. Register endpoints to receive events
   2. Subscribe to specific event types
   3. View delivery logs

👤 An Admin must enable the Webhooks page in VI Now before users in the organization can access it.

# Creating and Managing Endpoints

1. In the **Webhooks** section, click **Add Endpoint**.
2. Provide your endpoint URL and optional description.
3. Optionally add custom headers.
4. A **signing secret** will be generated for validating event signatures.

# Subscribing to Events

You can subscribe to any combination of the following event types. This consolidated list reflects the order lifecycle, reward status updates, and payout events as used throughout the VI platform:

| Event Type                                | Description                                                                                                                                                                      |
| :---------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| order.created                             | A new order was successfully created.                                                                                                                                            |
| order.processing                          | Order is currently being processed.                                                                                                                                              |
| order.processed                           | Order has completed processing.                                                                                                                                                  |
| order.pending\_funds                      | Order is awaiting client funding.                                                                                                                                                |
| order.canceled                            | An order was canceled before fulfillment.                                                                                                                                        |
| reward.activated.auto\_activated          | Reward was automatically activated.                                                                                                                                              |
| reward.activated.instant\_issue           | Physical Instant Issue Visa card was activated via API.                                                                                                                          |
| reward.activated.phone                    | Reward was activated via phone.                                                                                                                                                  |
| reward.activated.web                      | Reward was activated online.                                                                                                                                                     |
| reward.cancel\_fee                        | Fee charged for canceling a reward.                                                                                                                                              |
| reward.cancel\_reissue\_fee               | Fee charged for canceling and reissuing a reward.                                                                                                                                |
| reward.canceled                           | Reward was canceled after delivery.                                                                                                                                              |
| reward.claimed                            | A recipient reveals their reward details, confirming successful delivery.                                                                                                        |
| reward.credit\_applied                    | Refund issued for a canceled reward.                                                                                                                                             |
| reward.data\_redacted.gdpr                | Reward data redacted due to GDPR compliance.                                                                                                                                     |
| reward.data\_redacted.retention\_policy   | Reward data redacted per retention policy.                                                                                                                                       |
| reward.delivery\_failed                   | Delivery attempt failed (e.g., email or SMS undeliverable).                                                                                                                      |
| reward.delivery\_failed.blacklisted       | Delivery failed due to blacklisted recipient or domain.                                                                                                                          |
| reward.email.link\_extended               | Reward link expiration date was extended.                                                                                                                                        |
| reward.email.resent                       | Reward email was resent.                                                                                                                                                         |
| reward.email.viewed                       | Reward email was viewed.                                                                                                                                                         |
| reward.extend\_link\_fee                  | Fee charged for extending reward link expiration.                                                                                                                                |
| reward.sms\_resent                        | Reward SMS message was resent.                                                                                                                                                   |
| reward.link\_clicked                      | Reward link was clicked.                                                                                                                                                         |
| reward.blocked\_recipient\_signals\_fraud | Reward blocked due to potential fraud detected.                                                                                                                                  |
| reward.idv.failed                         | Recipient failed identity verification.                                                                                                                                          |
| reward.idv.passed                         | Recipient passed identity verification.                                                                                                                                          |
| reward.multifactor\_authentication.failed | MFA attempt failed.                                                                                                                                                              |
| reward.multifactor\_authentication.reset  | Reward flagged for MFA failure was reset.                                                                                                                                        |
| reward.online\_registration\_completed    | Recipient completed online account registration.                                                                                                                                 |
| reward.reissued\_reward                   | A reward was reissued.                                                                                                                                                           |
| reward.reminder\_sent                     | Reminder sent for unclaimed reward.                                                                                                                                              |
| reward.sent                               | Reward was successfully sent.                                                                                                                                                    |
| reward.sent.fm\_override                  | Previously flagged reward was whitelisted and sent.                                                                                                                              |
| reward.card\_shipped                      | A physical card was shipped.                                                                                                                                                     |
| reward.shipped\_via\_courier              | Reward shipped using a courier service.                                                                                                                                          |
| reward.recipient\_reissue\_fee            | Fee charged for reissuing reward to recipient.                                                                                                                                   |
| reward.payout.succeeded                   | PayPal or Venmo payout was successfully delivered.                                                                                                                               |
| reward.payout.unclaimed                   | PayPal or Venmo payout sent to unregistered recipient; awaiting claim.                                                                                                           |
| reward.payout.held                        | PayPal or Venmo payout is under review and temporarily held.                                                                                                                     |
| reward.payout.denied                      | PayPal or Venmo payout was declined by the recipient.                                                                                                                            |
| reward.payout.blocked                     | PayPal or Venmo payout was blocked due to account or compliance issues.                                                                                                          |
| reward.payout.refunded                    | PayPal or Venmo payout was refunded after being claimed.                                                                                                                         |
| reward.payout.returned                    | PayPal or Venmo payout was voided and funds returned. For Cash Payouts, this means the recipient-provided bank details were invalid; an email is sent for re-enter bank details. |
| reward.payout.failed                      | PayPal, Venmo, or Cash Payout attempt failed.                                                                                                                                    |
| reward.payout.canceled                    | PayPal, Venmo, or Cash Payout was canceled prior to processing.                                                                                                                  |
| reward.payout.bank\_account\_linked       | Cash Payout recipient entered bank account details.                                                                                                                              |
| reward.payout.sent                        | Cash Payout sent to the recipient's bank account.                                                                                                                                |

# Viewing Logs

Navigate to the **Logs** tab within the Webhooks interface to:

* View webhook deliveries and retries
* Inspect request/response payloads
* Diagnose failed or delayed notifications

⏱️ Webhooks are retried automatically using exponential backoff.

# 📦Payload

Each webhook contains a JSON body with the following structure:

# Example Webhook Payloads

```text
{
  "date": "06/17/2025 16:01:56",
  "event": "reward.canceled",
  "event_id": "339133515",
  "note": "",
  "recipient_id": "42498355",
  "user": "John Smith"
  }
  
{
  "date": "06/17/2025 16:01:58",
  "event": "reward.credit_applied",
  "event_id": "339128032",
  "note": "$10.00",
  "recipient_id": "42498355",
  "user": "John Smith"
}


```

# Payload Fields

| Status        | Type   | Description                                                                            |
| ------------- | :----- | :------------------------------------------------------------------------------------- |
| date          | string | The date/time when the webhook event occurred                                          |
| event         | string | The event type (e.g., order.processed)                                                 |
| event\_id     | string | A unique identifier for this specific webhook event                                    |
| note          | string | Note added during a manually initiated event, or credit amount for reward cancelation. |
| recipient\_id | string | Virtual Incentives unique identifier associated with the reward                        |
| user          | string | Client user associated with a manually initiated event such as a cancelation           |

<br />

# 🔐Webhook Signature Verification

Each webhook includes headers that allow you to verify the authenticity of the request using an HMAC-based signature.

**Required Headers**

| Header         | Description                                  |
| -------------- | -------------------------------------------- |
| svix-id        | Unique message ID                            |
| svix-timestamp | UNIX timestamp of when the webhook was sent  |
| svix-signature | HMAC-SHA256 signature of the message payload |

<br />

**How to Verify the Signature**

1. **Concatenate** the three values: svix-id, svix-timestamp, and the raw request body with a period (.) as a separator:

```text
to_sign = svix-id + "." + svix-timestamp + "." + raw_body
```

2. **Compute the HMAC SHA256 digest** of  *to\_sign* using your secret key (provided to you by VI), and encode it as a Base64 string:

```text
import hmac
import hashlib
import base64

secret = base64.b64decode("your-secret-here")
signature = base64.b64encode(
    hmac.new(secret, to_sign.encode(), hashlib.sha256).digest()
).decode()
```

3. **Compare** this computed signature with the one in the svix-signature header. If they match, the webhook is authentic.

<Callout icon="⚠️" theme="warn">
  ### Security Tip

  Always check that _svix-timestamp_ is recent (e.g., within 5 minutes) to protect against replay attacks.
</Callout>

**Additional Resources**

[Verifying webhook payloads](https://docs.svix.com/receiving/verifying-payloads/how) - If you prefer to use a library rather than implement the verification logic manually, this guide provides examples in multiple languages and frameworks:

[IP Addresses for Whitelisting](https://docs.svix.com/receiving/source-ips#us) - Optionally whitelist IP addresses from which webhook events will be delivered. The only applicable IPs for Virtual Incentives are listed under "US".

<h3>🔄 Retry Behavior</h3>

<p>If your server does not respond with a <code>2xx</code> HTTP status code, we will retry the webhook several times with exponential backoff.</p>

<p>Ensure your endpoint can safely handle duplicate events.</p>

<h3>✅ Security Best Practices</h3>

<ul>
  <li>Respond quickly with a <code>200 OK</code> after validating and logging the event.</li>
  <li>Always validate the <code>svix-signature</code>.</li>
  <li>Store the latest <code>status</code> for each <code>uuid</code> to maintain a full verification history.</li>
  <li>Secure your endpoint with HTTPS</li>
  <li>Limit IP access or implement token-based authentication where possible.</li>
  <li>Log and monitor webhook traffic for anomalies.</li>
</ul>