curl --request POST \
--url https://test.paysight.io/api/admin/merchantaccounts/{id}/group \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"groupId": 123,
"merchantAccountId": 123,
"weight": 123,
"immediateAutoWeighting": true,
"parentCompanyId": 123
}
'