Authorize QR Code Transaction Signing

Authorize Transaction Signing function that verify user’s username with QR Code together with transaction id and details.

Below is the URL to access the API functions:

POST /v2/CentagateWS/webresources/auth/authQRCode

Parameters

ParametersOccurenceDescriptions
usernameRequiredRegistered Username in CENTAGATE Cloud
devAccIdRequiredThe selected device account id
otpRequiredThe OTP generated based on the QR code
challengeRequiredThe OTP challenge
detailsRequiredThe transaction information based on requested QR code encoded using Base64. Format: - - -
Alternatively, the information is returned as plainText during QR code request.
authTokenOptionalThe previous generated authToken.
integrationKeyRequiredIntegration Key Of The App That The User Wants To Authenticate
unixTimestampRequiredCurrent Time In Unixtimestamp
supportFidoOptionalFIDO Authentication Option, Pass True To Enable And False To Disable. Or Leave It Empty
ipAddressOptionalIP Address From Where The Authentication Request Is Originated.
userAgentOptionalPlatform Information Of Authentication Request is made of.
browserFpOptionalBrowser Fingerprint
transactionValueRequiredThe transaction values.
isTransactionRequiredThis value should be “1”.
HMACRequiredHmac Generated From Combination (username + devAccId + otp + challenge + details + authToken + userAgent + integrationKey + supportFido + browserFp + unixTimeStamp + ipAddress) Using Secretkey (Can Be Obtained From The App Page) As The Key​

Sample Code

As in below there are some examples of source code of access the API functions: