Webhooks

Build custom workflows with donation webhooks

Webhooks

Webhooks require Premium Access. After your 7-day free trial ends, upgrade to Premium to unlock this feature.

Webhooks allow you to receive real-time data about donations to your own server. This is perfect for building custom integrations, like:

  • Adding donors to a Minecraft whitelist.
  • Triggering in-game events.
  • Updating a custom database.

How It Works

When a donation occurs, ZeroCut will send a POST request to the URL you specify. The payload will contain details about the donation, including the donor's name, amount, message, and any custom fields they filled out.

Custom Input Fields

You can ask donors for specific information when they donate. For example, if you run a Minecraft server, you can add a required field for "Minecraft Username". This data will be sent in the webhook payload.

Setting Up a Webhook

  1. Go to Settings > Donations.
  2. Scroll to Custom Donation Systems.
  3. Click Create Webhook.
  4. Enter your Endpoint URL.
  5. Add any Input Fields you need.
  6. Save and test!

Payload Example

{
   "id": "don_123456789",
   "amount": 50.0,
   "currency": "USD",
   "donorName": "Steve",
   "message": "Keep up the good work!",
   "customFields": {
      "Minecraft Username": "StevePro123"
   },
   "timestamp": "2023-10-27T10:00:00Z"
}