Donation event formats
The donations channel carries the events below. For which donations to show on stream, see Moderation and display.
donation.created
Section titled “donation.created”A donation was paid (Donatty) or received live from a connected Donation Alerts account. Sent for every donation with its full message, whatever the moderation: moderation.status is PENDING while the streamer decides, NONE when there is no moderation. Widget amount ranges and word filters are not applied. Donation Alerts donations arrive while a connection with the donations channel is open, after Donatty connects to the account: no open widget is needed, the PRO subscription and a connected Donation Alerts account are required. While Donatty waits for a free slot for that connection or reconnects, such donations can be missed and automatic redelivery is not guaranteed; REST returns only the donations Donatty has already received or imported from history.
Channel: donations (scope donations:read)
| Field | Type | Description |
|---|---|---|
id |
string, evt_… |
Event identifier. It stays the same when the event is delivered again from the channel history: drop an event whose id you have already handled. |
type |
string, always donation.created |
|
subject |
string | Donation identifier, don_…. |
dataschema |
string (URI), always the DonationEventData schema address | |
data |
Donation plus isTest |
data fields beyond Donation
Section titled “data fields beyond Donation”| Field | Type | Description |
|---|---|---|
isTest |
boolean | true for the test donation the streamer sends with «Тест на стриме» (Test on stream) in the dashboard. A test donation is not stored: it is not in GET /v1/donations and gets no later events. |
Example
Section titled “Example”{ "specversion": "1.0", "id": "evt_1f0b7c52-3a9e-4d16-8c41-6e5d2a9b7f03", "type": "donation.created", "source": "https://api.donatty.com/v1/streamer", "subject": "don_0f6e2a4c-91b3-4d7a-8c5e-3b2a1f0e9d84", "time": "2026-11-09T10:15:30.123456Z", "datacontenttype": "application/json", "dataschema": "https://api.donatty.com/v1/asyncapi.yaml#/components/schemas/DonationEventData", "data": { "id": "don_0f6e2a4c-91b3-4d7a-8c5e-3b2a1f0e9d84", "createdAt": "2026-11-09T10:15:30.123456Z", "source": "DONATTY", "donorName": "Alex", "message": "Thanks for the stream!", "amount": { "value": "500.00", "currency": "RUB" }, "feeCompensation": null, "paymentMethod": "SBP", "goal": { "id": "goal_7e3a9c10-4b2d-4f8e-a1c6-0d9b8e7f6a52", "title": "New microphone" }, "moderation": { "status": "PENDING", "deadline": "2026-11-09T10:16:30Z" }, "media": { "title": "Song of the day", "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "provider": "YOUTUBE", "durationSeconds": 212, "moderation": { "status": "PENDING", "deadline": "2026-11-09T10:16:30Z" } }, "isTest": false }}donation.moderated
Section titled “donation.moderated”Moderation of a donation got its decision: sent once when both the message and the video (if any) are decided, and again when «Повторить на стриме» (Repeat on stream) changes the message status to PASSED. A rejected donation keeps its full text and has BLOCKED.
Channel: donations (scope donations:read)
| Field | Type | Description |
|---|---|---|
id |
string, evt_… |
Event identifier. It stays the same when the event is delivered again from the channel history: drop an event whose id you have already handled. |
type |
string, always donation.moderated |
|
subject |
string | Donation identifier, don_…. |
dataschema |
string (URI), always the DonationModeratedData schema address | |
data |
object, fields below |
What data holds
Section titled “What data holds”The donation id and the current moderation of its message and its video.
| Field | Type | Description |
|---|---|---|
id |
string, don_… |
Donation identifier, don_…. |
moderation |
Moderation |
Moderation of the message. |
media |
object or null | Moderation of the attached video; null when the donation has no video. |
media.moderation |
Moderation |
Example
Section titled “Example”{ "specversion": "1.0", "id": "evt_8a4d3e6f-2b17-4c95-a0d8-9f1e7c5b3a24", "type": "donation.moderated", "source": "https://api.donatty.com/v1/streamer", "subject": "don_0f6e2a4c-91b3-4d7a-8c5e-3b2a1f0e9d84", "time": "2026-11-09T10:16:02.500Z", "datacontenttype": "application/json", "dataschema": "https://api.donatty.com/v1/asyncapi.yaml#/components/schemas/DonationModeratedData", "data": { "id": "don_0f6e2a4c-91b3-4d7a-8c5e-3b2a1f0e9d84", "moderation": { "status": "PASSED", "deadline": null }, "media": { "moderation": { "status": "BLOCKED", "deadline": null } } }}donation.replayed
Section titled “donation.replayed”The streamer pressed «Повторить на стриме» (Repeat on stream): show the donation again. The message is approved by this action, so moderation.status is PASSED; the video keeps its own status.
Channel: donations (scope donations:read)
| Field | Type | Description |
|---|---|---|
id |
string, evt_… |
Event identifier. It stays the same when the event is delivered again from the channel history: drop an event whose id you have already handled. |
type |
string, always donation.replayed |
|
subject |
string | Donation identifier, don_…. |
dataschema |
string (URI), always the DonationEventData schema address | |
data |
Donation plus isTest |
data fields beyond Donation
Section titled “data fields beyond Donation”| Field | Type | Description |
|---|---|---|
isTest |
boolean | true for the test donation the streamer sends with «Тест на стриме» (Test on stream) in the dashboard. A test donation is not stored: it is not in GET /v1/donations and gets no later events. |
Example
Section titled “Example”{ "specversion": "1.0", "id": "evt_c7e15a90-6d43-4b28-9f6a-0b3d8e2c4f71", "type": "donation.replayed", "source": "https://api.donatty.com/v1/streamer", "subject": "don_3c9d7b21-5e84-4a6f-b0d2-8e1f4a7c6b35", "time": "2026-11-09T10:30:12Z", "datacontenttype": "application/json", "dataschema": "https://api.donatty.com/v1/asyncapi.yaml#/components/schemas/DonationEventData", "data": { "id": "don_3c9d7b21-5e84-4a6f-b0d2-8e1f4a7c6b35", "createdAt": "2026-11-09T10:02:11Z", "source": "DONATTY", "donorName": "Anonymous", "message": "This text was rejected by moderation but is returned in full.", "amount": { "value": "150.50", "currency": "RUB" }, "feeCompensation": null, "paymentMethod": "CARD", "goal": null, "moderation": { "status": "PASSED", "deadline": null }, "media": null, "isTest": false }}