{"templateId":"markdown","versions":[{"version":"v1","label":"v1","link":"/products/collections/concepts/webhooks","default":true,"active":true,"folderId":"3fa9ff87"},{"version":"v0","label":"v0","link":"/products/collections/v0/concepts/webhooks","default":false,"active":false,"folderId":"3fa9ff87"}],"sharedDataIds":{"sidebar":"sidebar-products/collections/@v0/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Webhooks","description":"User guides, API reference, and support resources.","siteUrl":"https://docs.ripple.com","lang":"en-US"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"webhooks","__idx":0},"children":["Webhooks"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A webhook is a subscription that tells Ripple Collections to notify your system when something happens, instead of you polling to find out."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You register a callback URL against an event type. When an event of that type occurs, we send an"," ","HTTP request to your URL carrying the event payload. Use these notifications to track partner,"," ","transaction, transfer, and settlement status changes."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API creates one webhook per event type. Subscribing to several event types creates several webhook records, each independently retrievable."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"event-types","__idx":1},"children":["Event types"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The subscription API accepts the event types below, grouped by resource. For settlement"," ","completion, subscribe to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SETTLEMENT_COMPLETED"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SETTLEMENT_FAILED"]},". Refresh resources by ID"," ","to verify their current status; accepting an event type does not guarantee a notification for"," ","every lifecycle change."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Resource"},"children":["Resource"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Event types"},"children":["Event types"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/channels"},"children":["Channels"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CHANNEL_CREATED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CHANNEL_ARCHIVED"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/partners"},"children":["Partners"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PARTNER_STATUS_CHANGED"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/transactions"},"children":["Transactions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSACTION_STATUS_CHANGED"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/settlements"},"children":["Settlements"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SETTLEMENT_INITIATED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SETTLEMENT_COMPLETED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SETTLEMENT_FAILED"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Transfers"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSFER_STATUS_CHANGED"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Wallet addresses"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WALLET_ADDRESS_ROTATED"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Webhooks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WEBHOOK_CREATED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WEBHOOK_UPDATED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WEBHOOK_DELETED"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To observe account activation and balance changes, poll"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/accounts/getaccountbyidv1"},"children":["Get account details"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"verifying-that-a-webhook-came-from-us","__idx":2},"children":["Verifying that a webhook came from us"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Anyone can send an HTTP request to your callback URL. Signature verification is how you establish that a given request actually originated from Ripple Collections and was not tampered with in transit."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you create a webhook, the response includes a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signature_verification_key"]},". The key is a base64-encoded symmetric secret, and each webhook has its own. Store it securely, as you would any other credential: it's what you use to validate every payload delivered to that webhook."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each delivered webhook carries a timestamp header and an HMAC-SHA256 signature computed over the payload. Your handler recomputes the signature using your stored key and compares."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treat this as required rather than optional. An unverified webhook endpoint will act on anything sent to it."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For the verification procedure and code samples, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/guides/verifying-webhooks"},"children":["Verify webhook signatures"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api-operations","__idx":3},"children":["API operations"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/webhooks/createwebhooks"},"children":["Create webhooks"]},": Create one webhook per event type supplied."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/webhooks/listwebhooks"},"children":["List webhooks"]},": Retrieve your existing webhook subscriptions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/webhooks/getwebhook"},"children":["Get a webhook"]},": View the details of a single webhook subscription."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/webhooks/deletewebhook"},"children":["Delete a webhook"]},": Remove a webhook subscription you no longer need."]}]}]},"headings":[{"value":"Webhooks","id":"webhooks","depth":1},{"value":"Event types","id":"event-types","depth":2},{"value":"Verifying that a webhook came from us","id":"verifying-that-a-webhook-came-from-us","depth":2},{"value":"API operations","id":"api-operations","depth":2}],"frontmatter":{"seo":{"title":"Webhooks"}},"lastModified":"2026-11-24T20:30:41.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/collections/concepts/webhooks","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}