/merchantgroups endpoint to create, update, and retrieve groups of merchant identifiers (MIDs). You can use merchant groups for authorization controls and in card product configurations. For example, use a merchant group to create a merchant exemption for a group of merchants rather than an individual merchant.
Create merchant group
Action:POSTEndpoint:
/merchantgroups
To create a merchant group, send a POST request to the /merchantgroups endpoint.
Request body
Sample request body
JSON
Response body
Sample response body
JSON
List merchant groups
Action:GETEndpoint:
/merchantgroups
To return an array of all merchant groups, send a GET request to the /merchantgroups endpoint.
To return an array of all merchant groups that include a specific merchant identifier, send a GET request to the /merchantgroups endpoint that includes the merchant identifier in the query parameters.
URL query parameters
Response body
Sample response body
JSON
Update merchant group
Action:PUTEndpoint:
/merchantgroups/{token}
To update a merchant group, send a PUT request to the /merchantgroups/{token} endpoint. Include the merchant group token path parameter to specify the merchant group to update.
URL path parameters
Request body
Sample request body
JSON
Response body
Sample response body
JSON
Retrieve merchant group
Action:GETEndpoint:
/merchantgroups/{token}
To retrieve a specific merchant group, send a GET request to the /merchantgroups/{token} endpoint. Include the merchant group token path parameter to specify the merchant group to return.
URL path parameters
Response body
Sample response body
JSON