Skip to content

GetCopyTradeRewards

Endpoint

GET /copytrade/rewards

Authorization

Requires SESSION_CUSTOMER.

Description

Returns reward accruals where either master_login or follower_login belongs to the authenticated customer.

Profit-share-per-trade rewards are created automatically when a copied follower trade closes with positive profit. Settlement uses follower balance-out and master payout balance-in operations with TR_REASON_COPY_REWARD.

Response

{
  "rows": [
    {
      "id": 1,
      "subscription_id": 10,
      "master_login": 100001,
      "follower_login": 100002,
      "payout_account_login": 100001,
      "reward_type": 3,
      "source_order": 123456,
      "charge_order": 123457,
      "payout_order": 123458,
      "period_from": 1778160000,
      "period_to": 1780838400,
      "base_amount": 1000,
      "fee_amount": 200,
      "currency": "USD",
      "state": 2,
      "failure_reason": "",
      "created_time": 1780838400,
      "updated_time": 1780838400
    }
  ],
  "count": 1
}

Errors

HTTP Error Description
401 INVALID_CUSTOMER_SESSION Customer session is missing or invalid