Referral Rocket
HomeDashboard
  • What is Referral Rocket?
  • Referral Program Examples
  • Getting Started
    • Campaigns
      • Campaign Types
      • Campaigns Details
        • Milestone Details
        • Reward Details
        • Referrer Widget
        • Invitee Widget
      • Installing/Tracking your Referral Campaign
        • Option 1: Hosted Solution (No/Low Code)
        • Option 2: Custom Solution
          • Simple Referral Program Redirect: Quick Setup Guide
          • Redirect user to hosted campaign
          • Embed Referral Rocket Widget
          • Integrate the referral program inside your webapp for logged in user
        • Referral Tracking
          • Track referral on Sign Up page
          • Track referral on Payments
      • Reward Management
      • Campaign Participants
      • Campaign Dashboards
  • Developer Tooks
    • Javascript SDK
    • REST API
      • API Endpoint
    • Webhooks
      • Setup
      • Testing
      • Events
  • Integrations
    • Stripe
      • How to setup Stripe?
        • Stripe Settings
      • Referral Tracking with Stripe
        • Promo Code Referral Tracking with Stripe
        • Setup Stripe Pricing Table
        • Setup Stripe Payment Links
        • Setup Stripe Payment Button
        • Stripe Checkout Sessions
    • Cashfree
    • Razorpay
    • MemberSpace
    • Outseta
    • Shopify
      • How to setup Shopify?
      • Add Referral Widget on Shopify Stor
      • Popup Script to Display Discount Codes
    • ScoreApp
  • Rewards
    • Tremendous
      • How to integrate Tremendous?
        • Tremendous Settings
      • How to issue rewards with Tremendous?
    • PayPal Mass Payments
    • Wise Batch Payments
    • Stripe
    • Shopify
    • RazorPayX
    • Paypal
  • Affiliate Hub
    • Affiliate Program Hub
  • Product Updates
    • December 2024
  • Trust Center
  • Contact Us
  • FAQ
    • Where to find Campaign ID?
    • Understanding the Test Plan: Perfect for Testing, Limited for Production
Powered by GitBook
On this page
  1. Developer Tooks
  2. Webhooks

Events

Below are sample request payloads you will receive based on the webhook event types you have selected for your account.

  1. Referrer / Affiliate Created Description: When a new referrer/affiliate is added to the campaign (includes direct signups, signup via API/SDK, and participants added/imported via admin dashboard)

  2. Referee Created Description: When a new referee is added to the campaign (includes direct signups, signup via API/SDK, and participants added/imported via admin dashboard)

  3. Participant unlocked a Reward Description: When a participant becomes elgibile for a reward

{
  "eventType": "referrer_added",
  "data": {
    "participantId": 384,
    "firstName": "",
    "lastName": "",
    "email": "karan.r.shahss92@gmail.com",
    "code": "scG3q9Ez",
    "campaignId": "PMf8BDZ1zb",
    "referredByCode": null,
    "referralReward": 0,
    "referralRewardBalance": 0,
    "referralRewardRedeemed": 0,
    "refereeReward": 0,
    "refereeRewardBalance": 0,
    "refereeRewardRedeemed": 0,
    "refereeActionCompleted": false,
    "refereeActionCompletedLabel": null,
    "rewardType": null,
    "rewardCurrency": "USD",
    "createdOn": "2025-02-09T03:00:28.002+00:00",
    "updatedOn": "2025-02-09T03:00:28.002+00:00",
    "approval": true,
    "totalReferred": 0,
    "totalCompletedReferred": 0,
    "amountPaid": 0,
    "paymentCount": 0,
    "revenueGenerated": 0,
    "rewardDue": 0,
    "rewardPaid": 0,
    "score": "Low",
    "impressionCount": 0
  },
  "createdAt": 1739070028207,
  "updatedAt": 1739070028207
}

PreviousTestingNextStripe

Last updated 3 months ago