Signature
The "Signature" header is a body converted from JSON to a string and then HMAC SHA256 signed with a private key.
Example
const crypto = require("crypto");
function createHmacSha256(c, a) {
let e = Object.keys(c)
.map((a) => a + "=" + c[a])
.join("&"),
t = crypto.createHmac("sha256", a).update(e).digest("hex");
return t;
}
const body = { uniq_id: "0sv0c0c02da105aa6b7fbzf1zv05444d8a0ccd4c" };
console.log(createHmacSha256(body, "Your Private Key"));