Server-only
This page covers your server webhook handler. The client triggers delegation; your server verifies, decrypts, and stores materials.
This page covers your server webhook handler. The client triggers delegation; your server verifies, decrypts, and stores materials.
wallet.delegation.created. The delegated materials are in data.
Verify → Decrypt → Store
- Verify the webhook signature. See Validate webhook signatures.
- Decrypt
data.encryptedDelegatedShareanddata.encryptedWalletApiKey. - Store
userId,walletId, and decrypted materials securely (e.g., envelope encryption, KMS, at-rest encryption).
Encryption fields
alg: hybrid (RSA‑OAEP + AES‑256‑GCM); iv: AES IV; ct: ciphertext; tag: GCM tag; ek: encrypted content‑encryption key; kid: key identifier for rotation.Example: Node (using Dynamic SDK)
We provide a helper function to handle decryption for you. Install the SDK:decryptDelegatedWebhookData function:
If a delivery fails, you can replay it from the dashboard. Use the
eventId as an idempotency key.Storage Best Practices
Learn how to securely store decrypted delegated materials.
Developer Actions
Learn how to use the delegated materials.