Good to know: A quick start guide can be good to help folks get up and running with your API in a few steps. Some people prefer diving in with the basics rather than meticulously reading every page of documentation!
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can contact HUSKY to generate an API key.
Request Headers
Each API request must include these headers
x-appid
App ID
x-signature
Signature of the request body
Signature
We use "pbkdf2"
1) Prepare payload by sort keys of the payload object by alphabet and serial to JSON string,
functionsortKeysFor($obj){ // Get the keys of the associative array and sort them$keys=array_keys($obj);sort($keys); // Create a new associative array with the sorted keys$sortedObj=[];foreach($keysas$key){$sortedObj[$key]=$obj[$key];}return$sortedObj;}