Create your webhook endpoint
Either create your own endpoint or use the Svix Playground for rapid testing.Once you have an endpoint, register it via API or the web dashboard:
- API: Create a webhook endpoint — use the
urlfield to register the endpoint. - Web dashboard: Create webhooks
List available events and subscribe
- API: List webhook event types
- API: Create webhook subscriptions — use the
endpointIdto subscribe to any or all event types. - Web dashboard: Select events
Get validation key
The validation key is used to verify that webhook messages originate from Anchorage Digital. Find it on the web dashboard or via API.Sandbox validation key:
Trigger an event
To test in sandbox, send testnet assets to a wallet, or attempt a withdrawal or transfer via API or the iOS app.For a deposit event:
- Generate a new wallet address for BTC Signet (
BTC_S) via Postman or the API reference. - Use the BTC Signet Faucet to send testnet BTC to that address.
Receive the webhook message
Once the event fires, your endpoint will receive a message like the following:
Validate the message signature
Verify the webhook message is from Anchorage Digital using the validation key and the API signature header.You can validate manually or use an open-source tool:Ed25519 Signature Tool
| Field | Value |
|---|---|
| Algorithm | Base64 |
| Message encoding | Text (UTF-8) |
| Message | Paste the raw message response |
| Key encoding | Hex |
| Seed (private key) | Leave blank |
| Public key | Validation key |
| Signature | Paste the Api-Signature header value |
Decode the payload
The
payload field in the response body is Base64-encoded. Decode it to retrieve the event data.Use a Base64 decode tool — paste the payload value into the decode input.Fetch additional details with the transaction ID
Use the decoded
transactionId (or customerId for KYC events) to fetch full details from the API:- List transactions
- (RIA only) Get KYC onboarding status

