curl --request POST \
--url https://api.perpo.trade/v1/sub_account_settle_pnl \
--header 'Content-Type: application/json' \
--header 'orderly_account_id: <orderly_account_id>' \
--header 'perpo-key: <perpo-key>' \
--header 'perpo-signature: <perpo-signature>' \
--header 'perpo-timestamp: <perpo-timestamp>' \
--data '
{
"settle_nonce": 123
}
'