Where to view the reference code
Reference code address
Java reference code address: https://github.com/Transsion-mios/paynicorn-apidemo-java
Golang reference code address: https://github.com/Transsion-mios/paynicorn-apidemo-golang
PHP reference code address: https://github.com/Transsion-mios/paynicorn-apidemo-php
How to use the reference code
In the reference code in the corresponding language, replace PUT_YOUR_MERCHANT_MD5_SECRET_KEY_HERE
in the code with the merchant's own merchant secret
,
Replace the PUT_YOUR_APP_KEY_HERE
in the code with the appkey
of the merchant-created app, then run the reference code directly
Reference for merchant secret
Get merchant secret
Reference for getting appkey
Get appkey