POST
/
api
/
admin
/
merchantaccounts
/
{id}
/
group
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
}'
{
  "success": true,
  "message": "<string>",
  "group": {}
}

Authorizations

Authorization
string
header
required

Your Paysight API key. You can find it in your Paysight account at https://app.paysight.io/settings/account

Path Parameters

id
integer
required

Body

application/json

Response

200 - application/json

Merchant account added to group

The response is of type object.