Stripe Payment Webhook Integration Guide
Learn how to broadcast payment confirmations and business metrics directly to Nostr relays.
1 Define Stripe Rule Parameters
Create a rule configured for Stripe intake:
- Rule Name:
Stripe Sales Bot - Condition Filter:
type == "charge.succeeded" - Target Relays:
wss://relay.damus.io,wss://nos.lol
2 Liquid Template & Tags Mapping
Set your template to convert raw Stripe amount cents into standard currency display:
⚡ Payment Received: ${{ payload.data.object.amount / 100 }} {{ payload.data.object.currency | uppercase }}
Description: {{ payload.data.object.description }}
3 Register Webhook in Stripe Dashboard
- Open Stripe Dashboard ➔ Developers ➔ Webhooks.
- Click Add endpoint and enter your NostrBridge rule URL:
https://api.bridge.workouse.com/v1/wh/YOUR_RULE_ID - Select event type:
charge.succeededorcustomer.subscription.created. - Save changes.