Generate Address header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/Generateaddress
{ "data": { "address": "TznQ31zq5Tzso969SrwZcqBAsPfTJ6Qf", "totalusd": "1.0000", "invoiceno": "zu2mhzrgiaxl", "price": "0.13908000", "amount": "7.19010600", "currency": "TRX", "basecurrency": "USDT", "orderno": "854585" "expdate": "2024-03-06 16:19:07.057" }, "status": "succeed", "message": "Generated Successfully" }
Send Transaction header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/SendTransaction
{ "status": "succeed", "message": "Withdrwal Successful", "withdrwalid": "axxxx" }
Balance by address header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/GetAccountBalance/{currency}
{ "data": { "balance": 0 }, "status": "succeed", "message": "succeed" }
Get Transaction List header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/GetTransactionList/{currency}
{ "data": [ { "debit": 5.1891, "credit": 0, "hashcode": "s5f251462", "currency": "TRX", "paymentDate": "21/02/2024 06:54:04", "explorerhash": "https://tronscan.org/#/transaction/g8", "paymenttype": "Add Fund", "invoicenumber": "dya8an42u4aw" } ], "status": "succeed", "message": "succeed" }
Sending a payment form via POST The following technical elements: 1. The <form> and </form> tags that allow to create an HTML form. 2. The method="POST" attribute that defines the method used for sending data. 3. The action="https://smartcloudpay.com/paymentdo/" attribute that defines where to send the form data. Click to see Example of parameters sent to the payment gateway <form method="POST" action="https://smartcloudpay.com/paymentdo/"> <input type="hidden" name="clientid" value="1" /> <input type="hidden" name="merchantid" value="txf1252" /> <input type="hidden" name="callbackurl" value="url.com" /> <input type="hidden" name="currency" value="TRX" /> <input type="hidden" name="basecurrency" value="USDT" /> <input type="hidden" name="amount" value="100" /> <input type="hidden" name="email" value="[email protected]" /> <input type="hidden" name="mobile" value="12345678" /> <input type="hidden" name="name" value="XYZ" /> <input type="hidden" name="apikey" value="xxxxxxxxx" /> <input type="hidden" name="refrencenumber" value="txhsg8548545" /> <input type="submit" name="pay" value="Pay"/> </form>
The following technical elements:
1. The <form> and </form> tags that allow to create an HTML form.
2. The method="POST" attribute that defines the method used for sending data.
3. The action="https://smartcloudpay.com/paymentdo/" attribute that defines where to send the form data.
Click to see Example of parameters sent to the payment gateway
<form method="POST" action="https://smartcloudpay.com/paymentdo/"> <input type="hidden" name="clientid" value="1" /> <input type="hidden" name="merchantid" value="txf1252" /> <input type="hidden" name="callbackurl" value="url.com" /> <input type="hidden" name="currency" value="TRX" /> <input type="hidden" name="basecurrency" value="USDT" /> <input type="hidden" name="amount" value="100" /> <input type="hidden" name="email" value="[email protected]" /> <input type="hidden" name="mobile" value="12345678" /> <input type="hidden" name="name" value="XYZ" /> <input type="hidden" name="apikey" value="xxxxxxxxx" /> <input type="hidden" name="refrencenumber" value="txhsg8548545" /> <input type="submit" name="pay" value="Pay"/> </form>
1. orderno":"xx5625", 2. status":"1", (0 Pending, 1 Success, 2 Partially Payment,3 Cancelled By User, 4 Timeout)
Withdrwal Details by Withdrawal ID header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/V1/GetWithdrwalstatus/{withdrwalid}
{ "data": [ { "debit": 5.1891, "payout": 5.1372, "charges": 0.0519, "subamt": 0, "walletaddress": "xxxxxxx", "subwalletaddress": "", "hashcode": "xqsssssssss", "subhashcode": "", "currency": "TRX", "paymentDate": "21/02/2024 06:54:04", "status": "Approved" } ], "status": "succeed", "message": "succeed" }
Invoice Details by Order ID,Invoice ID,Reference Number header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/getinvoicedetails/{Order ID or Invoice ID or Reference Number}
{ "data": { "paymentstatus": 4, "currency": "TRX", "orderno": "9603035", "amount": "7.214487", "merchantid": "ss", "createdate": "2024-02-23 16:19:47", "paymentamt": "5.000000", "remainamt": "2.214487", "amountusd": "1.0000", "mobile": "xx", "email": "XXXXX.com", "name": "XXXXXX", "refrencenumber": "PA1125", "invoiceno": "ep7m5a8pcn65" }, "paymentList": [ { "hashcode": "ac008a1d37e97887336a10be8f64291b7f67bfcb0cf0170ad013e79a62b4a4d", "amt": "5.000000" } ], "status": "succeed", "message": "succeed" }
Check Transaction Status by Order ID,Invoice ID,Reference Number header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/checktransactionstatus/{Order ID or Invoice ID or Reference Number}
{ "data": { "paymentstatus": 1 }, "status": "succeed", "message": "succeed" }
Check Merchant Currency by Merchant ID header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/Getmerchnatcurrency
{ "data": [ { "currency": "TRX" }, { "currency": "BNB" } ], "status": "succeed", "message": "succeed" }
Invoice Cancelled by Order ID,Invoice ID,Reference Number header 'apikey: XYZ' header 'merchantid: XYZ' header 'content-type: application/json' /api/v1/Ordercancel/{Order ID,Invoice ID,Reference Number}
{ "status": "succeed", "message": "Cancelled Successfully" }
Showing last 1 login history