100 million webhooks.
1
flat fee.
Just code.
Programmable queue without the billing anxiety.
Protect your server and your wallet.
export default (req, drip, env) => {
const { id, secret, url, ...payload } = req.body
if (!env.verify(req.headers['x-qbaby-token'])) return
if (env.dedupe(id)) return
const signature = env.sign(secret)
const headers = { YOUR_API_SIGNATURE: signature }
drip(url, payload, { headers })
}
export default (req, drip, env) => {
if (!env.verify(env.secrets.STRIPE_KEY)) return
if (env.dedupe(req.body.id)) return
const billing = "https://billing.myapp.com"
const analytics = "https://analytics.myapp.com"
drip(billing, req.body)
drip(analytics, req.body)
}