Skip to main content

Donation events

Subscribe to individual donations, recurring donation subscriptions, and the campaigns that receive them.

Each recurring donation instalment produces its own donation record and payment event, linked to its subscription. Refund events include the individual refund ID, its minor-unit amount and currency, and the cumulative refunded amount currently recorded on the resource. Partial refunds produce separate events per refund. A provider cancellation of a refund is reported as refund_failed.

Donation​

EventWhen it is sent
donation.createdThe resource is created, including pending checkout or payment records
donation.payment_succeededA payment succeeds
donation.payment_failedA payment fails
donation.refund_createdAn individual refund is created
donation.refund_succeededAn individual refund succeeds
donation.refund_failedAn individual refund fails or is cancelled by the provider
donation.dispute_openedA donation payment dispute opens
donation.dispute_closedA donation payment dispute is resolved

Donation subscription​

EventWhen it is sent
donation_subscription.createdThe resource is created, including pending checkout or payment records
donation_subscription.activatedThe recurring donation subscription becomes active
donation_subscription.updatedPublic resource fields change
donation_subscription.past_dueThe recurring donation subscription becomes past due
donation_subscription.cancellation_scheduledCancellation is scheduled for the end of the current period
donation_subscription.cancellation_revokedA scheduled cancellation is withdrawn
donation_subscription.cancelledThe resource is cancelled

Donation campaign​

EventWhen it is sent
donation_campaign.createdThe resource is created
donation_campaign.updatedPublic resource fields change
donation_campaign.publishedThe campaign enters published status
donation_campaign.unpublishedThe campaign leaves published status
donation_campaign.deletedThe resource is deleted

Example payload​

This example illustrates donation.payment_succeeded. Available fields depend on the resource and the action.

{
"id": "evt_example",
"event": "donation.payment_succeeded",
"timestamp": "2030-05-01T18:00:00.000Z",
"organisation_id": "507f1f77bcf86cd799439010",
"schema_version": "1",
"source": "admin",
"data": {
"donation": {
"id": "507f1f77bcf86cd799439011",
"company": "507f1f77bcf86cd799439010",
"campaign": "507f1f77bcf86cd799439011",
"member": "507f1f77bcf86cd799439011",
"donor": {
"name": "Example Donor",
"email": "donor@example.com"
},
"amount": 2500,
"currency": "gbp",
"status": "paid"
}
}
}

See delivery and security for the shared envelope, signature verification, retry behavior, and delivery guarantees. Use subscription management to preview sample data for every supported event and send test deliveries.