Buyer withdraw
Endpoint usage
POST
https://open.tronify.io/api/tronRent/user/withdraw/coins
The fields with * are required, and the fields without * are optional
Headers
Name
Type
Description
api-key*
String
Access the buyer management platform of tronify.io to obtain it.
Request Body
Name
Type
Description
address*
String
User address (Wallet address)
sourceFlag*
String
Source channel (Both sides need to agree on a name to represent the channel of the third parties)
balance*
String
The amount of TRX
{
"resCode": 100,
"resMsg": "Success",
"data": {}
}
code example
// example
const params = {
address: 'TKghVbeEzvrV8GLK3YE1gRrjVHSf8rGB6k',
balance: 100,
sourceFlag: 'tronLink'
}
const headers = {
'api-key': 'your-api-key'
};
const res = await axios.post('https://open.tronify.io/api/tronRent/user/withdraw/coins',params, { headers })
console.log(res)
if(res.resCode === '100'){
//...
}
Postman example

Last updated