Reference Client Demo
About 1 min
Java DEMO
If your programming language is Java, you can refer to the JAVA SDK and follow Steps 1, 2, 3, 4, 5, 6 in the Demo... If you have any questions, please contact Smilepay.
- Step1_RSA.java: You can generate RSA pair. Please keep your private key safe and set the public key to Smilepay.
- Step2_AccessToken.java: Before you send request, please set the MerchantID first. Through this interface, you can get the AccessToken.
- Step3_Payin.java Before you send request, please set the MerchantSecret first. Through this interface, you can Transaction PayIn.
- Step4_Inquiry_PaymentMethod.java Before you send request, please set the MerchantSecret first. Through this interface.
- Step5_Inquiry_account.java Before you send request, please set the MerchantSecret first. Through this interface.
- Step6_Payout.java Through this interface, you can disbursement payout.
Python DEMO
So if your programming language is Python, you can refer to the Python SDK and follow steps 1, 2, 3, 4 in the Demo.... If you have any questions, please contact Smilepay.
- Step1_RSA_Pair.py: You can generate RSA pair. Please keep your private key safe and set the public key to Smilepay.
- Step2_AccessToken.py: Before you send request, please set the MerchantID first. Through this interface, you can get the AccessToken.
- Step3_PayIn.py Before you send request, please set the MerchantSecret first. Through this interface, you can Transaction PayIn.
- Step4_Payout.py Through this interface, you can disbursement payout.
Php DEMO
So if your programming language is Php, you can refer to the Php SDK and follow steps 1, 2 in the Demo.... If you have any questions, please contact Smilepay.
- Step1_RSA.php: You can generate RSA pair. Please keep your private key safe and set the public key to Smilepay.
- Step2_AccessToken.php: Before you send request, please set the MerchantID first. Through this interface, you can get the AccessToken.
Node.js DEMO
So if your programming language is Node.js, you can refer to the Node.js SDK and follow steps 1, 2 in the Demo.... If you have any questions, please contact Smilepay.
- Step1_generate_rsa_keys.js: You can generate RSA pair. Please keep your private key safe and set the public key to Smilepay.
- Step2_accessToken.js: Before you send request, please set the MerchantID first. Through this interface, you can get the AccessToken.