These are the requirements and steps for decrypting a webhook.Documentation Index
Fetch the complete documentation index at: https://docs.rio.trade/llms.txt
Use this file to discover all available pages before exploring further.
Structure of the message that our webhooks send
Secret is used to decrypt the webhook payload.
Standard decryption for aes-256-cbc using the data, the iv, and the secret
returned during the webhook registration.
Converts the hexadecimal IV to a byte buffer
- [Recommendation] Check if the key length is 32 bytes, which is the required size for the AES-256 encryption algorithm.
TypeScript Example
- Converts the hexadecimal IV to a byte buffer.
TypeScript Example
Disclaimer: All technical documentation is subject to the terms and
conditions, which apply supplementarily and take precedence over the
documentation.