Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Register a webhook

Dashboard webhook management is coming soon. Use the SDK or cURL.

Parameters

ParameterTypeRequiredDescription
urlstringYesHTTPS endpoint to deliver events to
eventsstring[]YesList of event types to subscribe to. Use ["*"] for all events.

Available event types

EventWhen fired
payment.receivedPayment successfully verified
vault.sealedVault sealed by your handler
vault.expiringVault will expire within 1 hour
vault.expiredVault has expired and been deleted
deposit.successDeposit detected on a BYO wallet
transfer.completedBridge transfer confirmed on destination chain
transfer.failedBridge transfer failed, funds refunded
withdrawal.completedBank wire received at destination
withdrawal.failedWithdrawal processing failed
Use ["*"] to subscribe to all current and future event types.

Update a webhook

curl -X PATCH https://api.prudra.dev/webhooks/wh_clx1abc123 \
  -H "Authorization: Bearer prv_test_sk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "events": ["payment.received", "vault.sealed", "deposit.success", "transfer.completed"]
  }'