Skip to main content
Use the /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: POST
Endpoint: /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: GET
Endpoint: /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: PUT
Endpoint: /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: GET
Endpoint: /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