KlicklPay 英文收单接口文档

KlicklPay 英文收单接口文档


Signature mechanism

<p><strong>Signature mechanism:</strong></p> <p>Signature mechanism: mac=md5 (params+&quot;&amp;secretKey=SecretKeyValue&quot;), which uses &quot;UTF-8 when it comes to character encoding conversion in the algorithm.</p> <p>Parameters using camelcase coding, all parameters of the case must be prepared in accordance with the provisions of the document, otherwise it will lead to the signature failure.</p> <ul> <li> <p> In the request message, except for the mac message, all other messages that need to be used are parameters to be signed; null values do not need to be passed (unpassed parameters do not need to be signed), and mac fields do not need to be signed.</p> </li> <li> <p> In the synchronous response and asynchronous callback message, check the check according to the return parameters. If the parameter value in the return is null, there is no need to add parameters to the check;</p> </li> <li> <p> Organize all messages except mac into the form of key=value (the null content is in the form of key=), sort by key in ascending order (compare the characters of key in turn), and splice them with &amp; characters;</p> </li> <li> Combine the results of step (4) with &amp;secretKey=“SecretKeyValue&quot; into a string to be signed (mac); 5) Calculate the MD5 summary of the string to be signed (mac) and express it as a hexadal string (32 lowercase).</li> </ul> <p><strong>Remarks:</strong> SecretKeyValue: The key value for signing, the value of SecretKey obtained by merchants logging in to the KlicklPay background in the access boot. mac: Signature</p>

页面列表

ITEM_HTML