Skip to main content

Overview

Webhooks allow your application to receive real-time notifications when events occur — a transaction succeeds, a recurring payment fails, a dispute is opened. Instead of polling the API, Dime Payments pushes event data to a URL you specify.

Setting up a webhook

  1. Log into the Dime Payments dashboard
  2. Navigate to Settings > Webhooks
  3. Click Add Endpoint
  4. Enter your publicly accessible HTTPS URL
  5. Select the events you want to receive
  6. Save
Your endpoint must return a 200 HTTP response within 30 seconds or the delivery will be marked as failed and retried.

Event types

Payload format

All webhook payloads are JSON and follow the same envelope structure:

Verifying webhook signatures

Dime Payments signs every webhook payload so you can verify it came from us. A signature is included in the X-Dime-Signature header.

Retries

If your endpoint fails to return a 200 response, Dime Payments will retry the delivery with exponential backoff: After 5 failed attempts the delivery is abandoned. You can view failed deliveries and manually retry them from the dashboard.

Testing webhooks locally

Use a tool like ngrok to expose your local server to the internet during development:
Use the generated https:// URL as your webhook endpoint in the dashboard.

Next steps