NostrBridge Webhook Relay Engine

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

  1. Open Stripe Dashboard ➔ DevelopersWebhooks.
  2. Click Add endpoint and enter your NostrBridge rule URL: https://api.bridge.workouse.com/v1/wh/YOUR_RULE_ID
  3. Select event type: charge.succeeded or customer.subscription.created.
  4. Save changes.