Integrate Ninja Backer tips into your applications, overlays, and automation tools.
Configure a webhook URL in your dashboard to receive HTTP POST requests when tips arrive.
{
"type": "tip",
"amount": 5.00,
"currency": "USD",
"name": "TipperName",
"message": "Great stream!",
"timestamp": 1702138446000
}
| Field | Type | Description |
|---|---|---|
| type | string | Always "tip" |
| amount | number | Tip amount in dollars (e.g., 5.00) |
| currency | string | Currency code (USD, EUR, GBP, etc.) |
| name | string | Tipper's display name |
| message | string | Optional message from tipper |
| timestamp | number | Unix timestamp in milliseconds |
For real-time integrations, connect to the SSE endpoint using your Tip ID.
GET https://tip.vdo.ninja/v1/subscribe/{YOUR_TIP_ID}
const tipId = 'your_tip_id_here';
const events = new EventSource(`https://tip.vdo.ninja/v1/subscribe/${tipId}`);
events.onmessage = (event) => {
const data = JSON.parse(event.data);
if (data.type === 'tip') {
console.log(`Received $${data.amount} from ${data.fromLabel}`);
console.log(`Message: ${data.message}`);
}
};
events.onerror = () => {
console.log('Connection lost, reconnecting...');
};
{
"type": "tip",
"amount": 5.00,
"currency": "USD",
"fromLabel": "TipperName",
"message": "Great stream!",
"timestamp": 1702138446000
}
Add the &tip=YOUR_TIP_ID parameter to your VDO.Ninja URL to enable in-stream tipping.
https://vdo.ninja/?push=streamid&tip=YOUR_TIP_ID
| Parameter | Description | Example |
|---|---|---|
&tip=ID | Your Tip ID from dashboard | &tip=aS_WnIp8IPrV |
&tip | Show setup modal (no ID) | &tip |
&tipqrsize=N | QR code size in pixels | &tipqrsize=200 |
&tipqr | Show QR code on video (default: on) | &tipqr=false |
&tipamounts=A,B,C | Custom tip button amounts | &tipamounts=5,10,25,50 |
&tipcurrency=XXX | Currency code | &tipcurrency=EUR |
Viewers must opt-in to see tip UI. Add &showtips to viewer URLs:
https://vdo.ninja/?view=streamid&showtips
If you prefer not to show the QR code overlay on your video:
https://vdo.ninja/?push=streamid&tip=YOUR_TIP_ID&tipqr=false
Adjust the QR code size (default is 150px):
https://vdo.ninja/?push=streamid&tip=YOUR_TIP_ID&tipqrsize=100
To use with Social Stream, enter your Social Stream webhook URL in the dashboard. Tips will appear alongside your chat messages.
Use the "Send Test Tip" button in your dashboard to trigger a test notification without making a real payment. Test tips include "isTest": true in the payload.
Your profile avatar is automatically loaded from Gravatar using your Stripe account email.
If no Gravatar is found, a default placeholder image is displayed.