Skip to main content
The card products resource represents the behavior and functionality of one or more cards (either physical or virtual). For example, attributes of the card product determine whether the associated cards can be used at an ATM and/or online and whether they are currently enabled. For physical cards, the card product determines color and other printing specifications for when the cards are manufactured and personalized. You can optionally associate authorization controls and/or velocity controls with card products to restrict where and how associated cards are used. If your program is Managed by Marqeta, then Marqeta will create the card products for your production environment. Some attributes of the cardproduct object can also be defined in an associated bulkissuance or card object. If you define one of these attributes in more than one object, the Marqeta platform applies an order of precedence to determine which attribute to use at fulfillment time. The order of precedence is as follows:
1
card
2
bulkissuance
3
cardproduct
Defining an attribute in an object with higher precedence does not overwrite the same attribute in a lower-precedence object; the Marqeta platform ignores these lower-precedence attributes. For more information on cards, see About Cards.

Create card product

Action: POST Endpoint: /cardproducts Use this endpoint to create a card product. The card product request contains a set of fields that provide basic information about the card product, such as name, active status, and start and end dates. Configuration information is contained in the config object, which contains sub-elements whose fields control the features and behavior of the card product. The elements are referred to collectively as the card product “configuration,” and as such are contained in a config object.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List card products

Action: GET Endpoint: /cardproducts Use this endpoint to list existing card products. This endpoint supports pagination.

URL query parameters

Response body

Sample response body

JSON

Update card product

Action: PUT Endpoint: /cardproducts/{token} Use this endpoint to update a card product. Only values of fields in the request are modified; all others are left unchanged.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON

Retrieve card product

Action: GET Endpoint: /cardproducts/{token} Use this endpoint to retrieve a specific card product.

URL path parameters

Response body

Sample response body

JSON