It is recommended to update a fee group after 10 PM EST. Updating a Group before the cutoff time may cause duplicate fees or missed fees.
Updating a Merchant Fee Group
Merchants are added to a Group or /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
This guide is specific to updating merchant fee groups via API and will be broken down into three steps:
Search for associated orgEntities
Identify and delete the org entity that needs to be removed
Add merchant to a new group or org entity
The Entity is the merchant of record that is being updated. You will be required to pass the Entity ID in the query. Entity ID = t1_ent_xxxx
Step 1 - Search for associated orgEntities
To get orgEntities associated with the entity, query the /orgEntities
endpoint.
Entity id / t1_ent_xxxxx - The identifier of the Entity that this orgEntity is associated with.
GET /orgEntities/ Search: entity[in]=<id>
Once all the /orgEntries
associated with the entity has been pulled, identify the fee group that needs to be removed.
Step 2 - Remove/Delete merchant from the group
orgEntity id / t1_oet_xxxx
DELETE /orgEntities/<id>
Step 3- Add merchant to the new group
Entity = Merchant
Org = New Group ID
POST /orgEntities/ "entity": "t1_ent_xxxx" "org": "t1_org_xxxx"