POST
/
v1
/
sub_account_settle_pnl
curl --request POST \
  --url https://api.orderly.org/v1/sub_account_settle_pnl \
  --header 'Content-Type: application/json' \
  --header 'orderly-key: <orderly-key>' \
  --header 'orderly-signature: <orderly-signature>' \
  --header 'orderly-timestamp: <orderly-timestamp>' \
  --header 'orderly_account_id: <orderly_account_id>' \
  --data '{
  "settle_nonce": 123
}'
{
  "success": true,
  "timestamp": 1702989203989,
  "data": {
    "settle_pnl_id": 1
  }
}

Headers

orderly-timestamp
string
required
orderly_account_id
string
required

account_id in header can only be sub_account

orderly-key
string
required
orderly-signature
string
required

Body

application/json

Response

200 - application/json

OK

The response is of type object.