Profile
Transfer referral balance to main balance
Changed onTransfers a specified amount from the user's referral balance to their main balance. The amount must be between 1 and 100,000 USD.
post/v1/profile/referral/transfer-balance
Request
- Base URLhttps://api.getmytg.com
- URLhttps://api.getmytg.com/v1/profile/referral/transfer-balance
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Example request
{
"amount": 100
}Response
Response for status 200
Example response
{
"referral_info": {
"referrals_count": 5,
"profit": {
"amount": "1.50",
"currency_code": "USD"
},
"balance": {
"amount": "1.50",
"currency_code": "USD"
}
},
"balance": {
"amount": "1.50",
"currency_code": "USD"
}
}Changes
- info
endpoint added
- info