The request body (payload) must be signed to ensure the integrity and authenticity of the message. To generate a signature hash, Xnova provides each merchant with a Signature Key.Every Merchant Account is assigned at least one Signature Key, which is used for signing API requests and receiving signed notifications from Xnova. Each Signature Key has a unique Key ID, and only one default Key ID can be active at a time for the Merchant Account. This allows Xnova to identify which key to use when sending notifications.The Signature Key is uniquely generated and shared between the Merchant and Xnova. The signature itself is computed as a SHA256 (32-byte) hash and returned as a 64-character hexadecimal string.
The Xnova API uses API keys for secure request encryption. To obtain your API key pairs, please reach out to your account manager.
Xnova provides separate API keys for test and live environments. Ensure you switch to the appropriate keys and endpoint URL when transitioning from the test environment to the live environment to avoid processing real transactions during testing.
All API requests must be sent over HTTPS, as calls made via HTTP will fail. Additionally, any API requests lacking proper encryption (using SHA256) will be rejected.
Keep Sign Key confidential!
Since your API keys provide extensive access, it’s crucial to keep them safe! Never share your secret API keys in publicly accessible locations like GitHub, client-side code, or similar areas.