Anedot can posts Action Page submission, donation, and commitment data to other applications in realtime when there's a change in your account.
Webhooks allow an application to be notified of changes in Anedot. They are intended to provide an efficient way for integrations which react to creations or changes of state in Anedot. Allow your integration to take action only when something is created or changed.
Webhook Objects
- Submission - Immutable required container with lead information, and 1 or more donation entries if available
- Donation - Immutable, hosted gift, recurrence of a commitment, or payment.
- Product - Immutable product description optional associated with a donation and submission.
- Commitment - Mutable optional commitment from donor to be charged on a scheduled interval
Object Diagram
Available Actions
Setting Name | event | Description |
Commitment Created | commitment_created | A new recurring commitment was created |
Commitment Failed To Process | commitment_failed_to_process | A recurrence of a commitment failed to charge the donor an automated donation |
Commitment Updated | commitment_updated | Changes was made to commitment, name, address, amount or schedule frequency |
Donation ACH Returned | donation_ach_returned | Check return |
Donation Chargeback | donation_chargeback | Check charge back |
Donation Chargeback Reversed | donation_chargeback_reversed | Charge back reversed |
Donation Completed | donation_completed | Successful submission with donation |
Donation Partially Refunded | donation_partially_refunded | Refund less that full donation amount |
Donation Refunded | donation_refunded | Full refund, with our without fees |
Donation Voided | donation_voided | Donation void occurred, no charge was made |
Payload message examples
attribute examples | format | example value |
submission_id | uuid | f42e7e4f-c93d-4956-a5a2-efab4eef4558 |
event_date | ISO UTC date | 2020-12-11 22:06:26 UTC |
net_amount | decimal money as string | 23.70 |
Donation Created via donor form
amount_in_dollars | full amount of donation or payment |
net_amount | payment minus fees |
commitment_uid | if present associated commitment |
origin | hosted if via form recurring if via commitment schedule |
custom_field_responses | example radio custom field |
products > internal_identifier | Product id or SKU created via Action Pages > Products |
created_at | Original submission date |
updated_at | Any subsequent changes to a message payload |
Donation Completed
Note, all donation payload follow the same schechma
{
"event": "donation_completed",
"payload": {
"submission_id": "f42e7e4f-c93d-4956-a5a2-efab4eef4558",
"donation": {
"id": "d467208a8376024eacd71",
"donation_project": "",
"products":
[
{
"internal_identifier": "dl332",
"name": "Slipper"
}
],
"fees": {
"anedot_fees": {
"amount": "1.30"
},
"vendor_fees": []
}
},
"origin": "hosted",
"commitment_uid": "e1c696e4-4b7d-443b-a69d-1eb1f7027e29",
"event_amount": "25.00",
"amount_in_dollars": "25.0",
"net_amount": "23.70",
"frequency": "once",
"action_page_id": "e8f8f185-9a94-4fec-8c9c-974065b4db75",
"action_page_name": "New Donation Page",
"donor_profile_id": "",
"payment_method_id": "9d19c94c-8249-4a26-b1aa-299a423bc852",
"created_at": "2020-12-11 22:06:25 UTC",
"updated_at": "2020-12-11 22:06:26 UTC",
"address_line_1": "143 S 3rd St",
"address_line_2": "",
"address_city": "Philadelphia",
"address_region": "PA",
"address_postal_code": "19106",
"address_country": "US",
"email": "susan.b.anthony@anedot.com",
"phone": "5552221212",
"first_name": "Susan",
"last_name": "Anthony",
"middle_name": "",
"occupation": "",
"employer_name": "",
"title": "",
"suffix": "",
"ip_address": "10.0.0.1",
"referrer": "https://secure.anedot.com/example/slug",
"referrer_to_form": "",
"custom_field_responses": {
"turn_up": "Option One"
},
"communications_consent_email": "",
"communications_consent_phone": "",
"currently_employed": ""
}
}
Donation Voided
{
"event": "donation_voided",
"payload": {
"submission_id": "f42e7e4f-c93d-4956-a5a2-efab4eef4558",
"donation": {
"id": "d467208a8376024eacd71",
"donation_project": "",
"products": [
{
"internal_identifier": "dl332",
"name": "Slipper"
}
],
"fees": {
"anedot_fees": {
"amount": "-1.30"
},
"vendor_fees": []
}
},
"origin": "hosted",
"commitment_uid": "e1c696e4-4b7d-443b-a69d-1eb1f7027e29",
"event_amount": "-25.00",
"amount_in_dollars": "25.0",
"net_amount": "-23.70",
"frequency": "once",
"action_page_id": "e8f8f185-9a94-4fec-8c9c-974065b4db75",
"action_page_name": "New Donation Page",
"donor_profile_id": "",
"payment_method_id": "9d19c94c-8249-4a26-b1aa-299a423bc852",
"created_at": "2020-12-11 22:06:25 UTC",
"updated_at": "2020-12-11 22:06:26 UTC",
"address_line_1": "143 S 3rd St",
"address_line_2": "",
"address_city": "Philadelphia",
"address_region": "PA",
"address_postal_code": "19106",
"address_country": "US",
"email": "susan.b.anthony@anedot.com",
"phone": "5552221212",
"first_name": "Susan",
"last_name": "Anthony",
"middle_name": "",
"occupation": "",
"employer_name": "",
"title": "",
"suffix": "",
"ip_address": "2600:100c:b01f:815d:456d:5903:4547:f517",
"referrer": "https://secure.anedot.com/mje-test/slug",
"referrer_to_form": "",
"custom_field_responses": {
"turn_up": "Option One"
},
"communications_consent_email": "",
"communications_consent_phone": "",
"currently_employed": ""
}
}