cURL
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 } }
Limit: 10 requests per second
POST /v1/sub_account_settle_pnl
Main account’s Orderly key can control sub-accounts.
account_id in header can only be sub_account
OK
The response is of type object.
object