Skip to content

Webhooks send real-time notifications to your systems when events occur in your Ripple Custody (Wallet) organization. Use the Ripple Custody (Wallet) console to create webhooks, choose which events they subscribe to, view them, and delete them. For what webhooks are and how delivery works, see Webhooks. To verify signatures and handle retries on your endpoint, see Receive webhook deliveries. For event types and payload formats, see Webhook event reference.

Permissions required

Only owners and administrators can configure webhooks.

Webhook actions

ActionConsole roleConsole procedureAPI procedure
Create a webhookOwner, AdministratorCreate a webhookCreate a webhook
Add subscriptions to a webhook--Add subscriptions
List webhooksOwner, Administrator, AuditorView webhooksList webhooks
View a webhookOwner, Administrator, AuditorView webhooksGet a webhook
List subscriptionsOwner, Administrator, AuditorView webhooksList subscriptions
Delete a subscription--Delete a subscription
Delete a webhookOwner, AdministratorDelete a webhookDelete a webhook

Permissions: In the console, owners and administrators can create, update, and delete webhooks, and owners, administrators, and auditors can view them. See User roles and permissions. The API procedures need an API credential of type MONITORING. See Prerequisites.

Create a webhook via the console

Required role: Owner or Administrator.

Before you start, develop an HTTPS endpoint on your server to receive webhook events. Your endpoint must:

  • Use HTTPS.
  • Return a 2xx response, such as 200 OK, to acknowledge receipt of each webhook. See Retries.

For the full set of endpoint requirements, see Endpoint requirements.

  1. Go to Settings > Webhooks.
  2. Select Create webhook.
  3. Enter a name (5–50 characters) that describes the webhook's purpose. The name must be unique in your organization. Several webhooks can share the same URL.
  4. Enter an optional description (5–100 characters).
  5. Enter the URL — the HTTPS endpoint that receives webhook deliveries. The URL must use HTTPS.
  6. Select one or more subscriptions — the event categories that trigger deliveries:
    • Transaction — All transaction events for this organization
    • Wallet — All wallet events for this organization
    • Approval — All approval events for this organization
  7. Select Save.
At least one subscription required

You must select at least one event subscription. To change a webhook's subscriptions after creation, add or delete subscriptions through the API. See Manage webhooks via the API.

The Create webhook form with Name, Description, URL, and the Transaction, Wallet, and Approval subscription checkboxes

After you create the webhook, copy its public key from the View webhook page so that your endpoint can verify each delivery. See Verify the signature.

View webhooks via the console

Required role: Owner, Administrator, or Auditor.

The console lists your webhooks in a table on Settings > Webhooks after you create them. To find a webhook, use Search webhooks, or select Filters to narrow the list by name, description, endpoint, ID, last success, last failure, or date created or updated. To view a webhook, select its name. The three dots in the Actions column open a menu with View and Delete webhook.

When you view a webhook, you see the following information:

  • Name
  • Description
  • URL
  • Public key, which your endpoint uses to verify each delivery. Select Copy to copy it. See Verify the signature.
  • Subscriptions: the event subscriptions configured
  • Activity: success and failure counts for the last hour, and the time of the last success and last failure. See Monitor failures.
  • Who created and last updated the webhook, and when

The View webhook page, with the webhook details, public key, subscriptions, and activity

Update a webhook

You can't edit a webhook's name, description, or URL in the console or through the API. To change them, delete the webhook and create a new one. The new webhook has a new public key, so update your signature verification.

To change which events a webhook receives, add or delete subscriptions through the API. See Manage webhooks via the API.

Delete a webhook via the console

Required role: Owner or Administrator.

  1. Go to Settings > Webhooks.
  2. Select the webhook, or select the three dots in the Actions column of the table.
  3. Select Delete webhook.
  4. Select Delete to confirm.

The Delete webhook confirmation dialog, with the Delete button

Ripple Custody (Wallet) stops sending deliveries to the endpoint immediately after deletion.

API documentation

To create webhooks and subscriptions programmatically, see Manage webhooks via the API.