I need to know which Signature method NetSuite uses currently in my account for TBA.
HMAC-SHA256 or HMAC-SHA1 ?
NetSuite version - 2022.1 I am using NetSuite restlet based implementation.
By default HMAC SHA256 is supported. Then end of support for HMAC-SHA1 announced for 2021.2 has been postponed. Accounts can disable HMAC-SHA1 but cannot (at this time) disable HMAC-SHA256 so just use that.
If you need to know that SHA1 has been disabled you can run this in the console. or use the method in a script:
require(['N/runtime'], runtime=>{
console.log(runtime.isFeatureInEffect({feature:'KILLSHA1FORTBA'}));
});