Webhook Configuration
To integrate webhooks for Donary Enterprise, POST API endpoints need to be configured in your primary system to receive notifications for successful payments, voided payments, pledges, and scheduled payments. After setting up these endpoints, please email Donary to complete the webhook integration.
Step-by-Step Configuration
-
Configure API Endpoints for Webhooks
Set up POST API endpoints in your system for each of the following events:
Payment Webhook: Notifications for successful payments.
Void Payment Webhook: Notifications for voided payments.
Pledge Webhook: Notifications for pledges.
Scheduled Payment Webhook: Notifications for scheduled payments.
Each endpoint must:
Be accessible anonymously, without requiring an authentication token.
Handle the JSON payloads sent by Donary for the respective events.
-
Email Donary to Finalize Configuration
After configuring the four required endpoints in your system, please email Donary at integrations@donary.com with the details of each endpoint URL. Donary will then configure these URLs in the system to match the ones you’ve provided for the following settings:
- Add Payment Webhook
- Void Payment Webhook
- Pledge Webhook
- Schedule Payment Webhook
Setting:
PaymentWebhookEndpoint
Setting:
PaymentStatusUpdateWebhookEndpoint
Setting:
PledgeWebhookEndpoint
Setting:
ScheduleWebhookEndpoint
-
Execution
Donary will send JSON payloads to the configured endpoint. If delivery fails, Donary retries three times before notifying the user via email.