Skip to main content
Go to Integrations > Revenue Tracking to configure webhooks. Rev Reporting Pn

Configure iOS

Choose ONE of the following 3 options:

1) App Store Server Notifications

This option is recommended if you are using StoreKit to handle your purchases.
Send purchase events direct from Apple to Helium.

2) RevenueCat Webhooks

This option is recommended if you are using RevenueCat to handle your purchases.
Use RevenueCat webhooks to send revenue events to Helium. Follow the instructions shown under RevenueCat Webhooks.

3) Forward App Store Server Notifications

This option is recommended if you are using StoreKit to handle your purchases but want to consume App Store Server Notifications on your own server and forward those events to Helium.
Grab the Webhook URL from the App Store Server Notifications section and use that value in your forwarding code. Wherever you consume webhook events for App Store Server Notifications, you’ll want to add a snippet of code that forwards the exact, unmodified ASSN payload to Helium. Here is some example forwarding code. Reach out to Helium support if you have any questions.
const express = require('express');
const axios = require('axios');
const app = express();

app.use(express.json());

app.post('/assn-webhook', async (req, res) => {
  try {
    const response = await axios.post(
      'your-helium-webhook-url-here',
      req.body,
      {
        headers: { 'Content-Type': 'application/json' },
        timeout: 5000
      }
    );

    console.log('Successfully forwarded webhook');
    res.status(200).json({ success: true });
  } catch (error) {
    console.error('Failed to forward webhook:', error.message);
    res.status(500).json({ error: 'Failed to forward webhook' });
  }
});
You may want to extract the pk value from the Webhook URL as an environment variable to avoid storing in version control.

Configure Android

Choose ONE of the following 2 options:

1) Google Play RTDN

This option is recommended if you are NOT using RevenueCat to handle your purchases.
Utilize Google Play Real-Time Developer Notifications to send revenue events to Helium.

2) RevenueCat Webhooks

This option is recommended if you are using RevenueCat to handle your purchases.
Use RevenueCat webhooks to send revenue events to Helium. Follow the instructions shown under RevenueCat Webhooks.