Profile

Transfer referral balance to main balance

Changed on

Transfers 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 URL
    https://api.getmytg.com
  • URL
    https://api.getmytg.com/v1/profile/referral/transfer-balance
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

amountnumber required

Amount to transfer from referral balance

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