Skip to main content
To integrate HMAC validation, you can either leverage the official Nayax SDK or implement the logic manually in your preferred language.

Nayax SDK (C# Developers)

C# developers can use the SDK.Api.Contracts library, which includes built-in HMAC validation functionality.
  1. Install the library: Run Install-Package SDK.Api.Contracts.
  2. Use the HMAC Service: Utilize the HmacService class, which handles all HMAC calculation and validation logic automatically.

Custom Implementation (Non-C# Developers)

If you are not using C#, you should replicate the logic found in the Nayax SDK using these technical specifications:

Security Best Practices

To maintain a high level of security and prevent unauthorized access to your transaction data, adhere to the following guidelines: