Skip to main content
A merchant category code (MCC) is a four-digit number assigned by a card network (Visa or Mastercard) to a business, based on the goods or services the business offers. On the Marqeta platform, an MCC group defines a set of MCCs. You can include an MCC group within a spend control to limit user spending at a set of merchants. An MCC group also allows you to automatically increase authorization amounts and to control the expiration of authorizations for the specified MCCs. By default, these controls apply to all cards in your program. An MCC group authorization control can have exceptions defined at the card product level. See Controlling Spending for a tutorial that walks you through the creation of a spend control, as well as links to more information about merchant category codes.

Create MCC group

Action: POST
Endpoint: /mccgroups
Use this endpoint to create an MCC group.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List MCC groups

Action: GET
Endpoint: /mccgroups
Use this endpoint to either list all MCC groups defined in your program or list all MCC groups that contain a specified code. This endpoint supports field filtering and pagination.

URL query parameters

Response body

Sample response body

JSON

Update MCC group

Action: PUT
Endpoint: /mccgroups/{token}
Use this endpoint to update an MCC group. Include the token path parameter to identify the MCC group to update. You must pass all the merchant category codes you want included in the group, including existing ones you want to retain.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Retrieve MCC group

Action: GET
Endpoint: /mccgroups/{token}
Use this endpoint to retrieve a specific MCC group.

URL path parameters

Response body

Sample response body

JSON