WX Pay EN

WX Pay Document


INTRODUTION

<h2>INTRODUTION</h2> <p>This manual provides a detailed description of the API, Following the instructions will enable your company’s technical department to have a detailed understanding of the system for development, maintenance and management personnel, It can make the merchant's technicians understand the interface of the system more quickly. The technical staff should have basic knowledge of the following:</p> <ol> <li>Understand the website transmission (http/https) settings and online troubleshooting. </li> <li>Know all kinds of back-end languages.</li> <li>Understand the basic concepts of information security. 4. Understand Json and post format.</li> </ol> <h1>BEFRORE INTERFACING</h1> <p>Please contact the business manager before the docking to obtain the following information:</p> <ol> <li>Get the login account and account verification method of the merchant backstage.</li> <li>API location, merchant ID, and secret key can be queried in the background. The query method is as follows:</li> <li>signinthebackgroundmerchants-SystemManagement-&gt;channelinformationsee &quot;API location&quot;, &quot;Merchant ID&quot;, &quot;keys Key&quot;. Reminder: <strong>The test environment will be opened at the beginning of the connection, and any orders in the test environment will not be counted into the accounts. If the merchant confirms to go online, please inform the relevant personnel to apply for conversion to a formal environment.</strong></li> </ol> <h2>Docking matter</h2> <p><strong>Method:POST</strong> <strong>content-type:form-data</strong> <strong>Notifycallbackmethod:POST</strong> <strong>Notifycallbackcontent-type:form-data</strong> <strong>Characterencoding:UTF-8</strong> <strong>ThedatareturnedaftercallingtheAPIareall:JSON</strong> <strong>Allparametersarecasesensitive</strong> <strong>Althoughthefloating-pointnumbertypeisused,whentheactualAPIreceivesit,thetwodecimal places will be automatically rounded off, and the value will be converted to an integer.</strong> <strong>The purpose of the time stamp is to increase the illegibility of the digital signature, please use the number of seconds of the current time to bring it in. Example: 1586312712</strong> <strong>Please bring all the parameters listed in this document unless otherwise specified. (even if the parameters are blank, they need to be brought in and signed.)</strong></p> <h1>DIGITAL SIGNATURE</h1> <ol> <li>All parameters except the sign field are sorted according to the ascii code of the field name from small to large, a to z.</li> <li>Use the format of QueryString, that is, key1=value1&amp;key2=value2... is spliced together, and the secret key Key (&amp;key=XXXXXX) is spliced at the end.</li> <li>Use the MD5 signature function to perform signature operations on the signed string.</li> <li>Get the signature result string and convert all of it to uppercase.</li> <li>Add the data signature result string to the parameter sign transmission.</li> </ol> <h1>FRIENDLY REMINDER</h1> <p><strong>The parameters involved in the signature must be exactly the same as the parameters of the final transmission, and the data at the time of sending must be the same as the data before the signature.</strong> <strong>Alltransmitteddatamustbeincludedinthesignaturelist.</strong> <strong>Theparameterwithablankstringmustalsobesigned.</strong> <strong>Donotincludeblanks,linebreaks,branchsymbolsbeforeandafterthecharacterstring,thesystem will automatically clear them, and the signature verification will fail.</strong> <strong>TheJsonofthereturnedresultshouldnotbedecodebeforeverification.PleasekeeptheJsonstring status for signature calculation.</strong></p>

页面列表

ITEM_HTML