Introduction

WelcomeServices map

Guides

AcceptSpend

Legal

SecurityPrivacyTerms

PreviousEnable paymentsNextSellers
BlogPrivacyTerms

Unlock on your product

Register, list, test, or delete HTTPS webhook endpoints. payment.succeeded is how Accept connects to your backend.


Same flow over HTTP: Webhooks API

Tool

rill_webhooks

Use action=create to register a callback for payment.succeeded so your product can grant access after pay. Delivery is signed and SSRF-safe. Use action=list to review registered endpoints. action=test sends a sample event. action=delete removes the endpoint. Save the signing secret from the create response, you need it to verify X-Rill-Signature.

Auth

Owner Supabase JWT required (session or owner_jwt).

Parameters

ParameterTypeRequiredDescription
actioncreate|list|test|deleteyescreate registers a URL; list returns endpoints; test and delete need webhook_id
urlstringcreateHTTPS callback URL (create only)
eventsstring[]noOptional event allowlist (create only)
webhook_idstringtest/deleteEndpoint id from action=list
owner_jwtstringnoOverrides session JWT for this call

Usage notes

  • Verify X-Rill-Signature and X-Rill-Timestamp (300s tolerance) on every delivery.
  • Localhost callbacks are allowed outside production.
  • Same flows over HTTP: POST /webhooks, GET /webhooks, POST /webhooks/:id/test, DELETE /webhooks/:id. CLI twin: webhooks create|list|test|delete.