...
Merchants are added to a Group or /org Org by creating an orgEntity pointing to the entity and org for the association. To update the group, you will be required to remove the associated entity by deleting the orgEntity that ties them both together.
Groups can be updated using the /orgEntities
endpoints:
/orgEntities
- https://test-portal.payrix.com/docs/api#orgEntities
...
Info |
---|
The Entity is the merchant of record that is being updated. Entity ID = t1_ent_xxxx |
Step 1 -
...
Retrieve merchant entity orgEntity ID
Using the merchant entity ID and the org ID that you want to remove you will query the entity ID and org ID:
Entity id / t1_ent_xxxxx - The identifier of the Entity that this orgEntity is associated with.
Org id / t1_org_xxx - The identifier of the org that the merchant entity is associated with.
Code Block |
---|
GET /orgEntities/ Search:SEARCH entity[in]=<id> |
...
&org[in]=<id> |
To get all the groups that the entity is associated with you can query the /orgEntities
endpoint searching for just the entity ID:
Code Block |
---|
GET /orgEntities/
Search: entity[in]=<id> |
Once you have the orgEntity ID that needs to be removed proceed to Step 2.
Step 2 - Remove/Delete merchant from the group
...