Skip to main content

Copier Transfer

The /user/copier/transfer endpoint allows copier to transfer money from their main account to copier account. Only USDT allowed

Method

POST /user/copier/transfer

Request Body

{
"id": "0123198321",
"margins": [
{ "symbol": "USDT", "amount": "2432.422" },
{ "symbol": "XBT", "amount": "0.0005" }
]
}

Fields

  • id (string, required): ID of the copier to stop.
  • margins (array, optional): List of additional margins to transfer. Each margin object should contain:
    • symbol (string, required): The currency symbol (e.g., "USDT", "XBT").
    • amount (string, required): The amount to transfer in the specified currency.

Response

{
"status": 200,
"data": {
"success": true
}
}

Errors

  • 400 Bad Request: Invalid parameters (e.g. missing required fields, non-numeric thresholds, negative values).
  • 401 Unauthorized: User is not the owner of the copier.
  • 500 Internal Server Error: Failed to update the copier (e.g. internal or NATS error).