Skip to main content
Use the /bulkissuances endpoint to order physical payment cards in bulk. For more information on cards, card products, and bulk card ordering, see About Cards. Some attributes of the bulkissuance object can also be defined in an associated card or cardproduct 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 bulk card order

Action: POST
Endpoint: /bulkissuances
Use this endpoint to order physical cards in bulk. A new bulk card order creates new cards or users, generally within about a day. Before creating a bulk card order, set the config.fulfillment.bulk_ship field of the associated card product to true. To associate all cards with the same user:
  • Set user_association.single_inventory_user=true
  • Set user_association.single_inventory_user_token equal to the token of an existing user.
The bulk card order automatically populates the database with the specified card objects. Values for the card token fields are generated in the format card-numericPostfix, where numericPostfix is a randomly generated number that is added for each new card that is generated. To associate each card with a unique user: Set user_association.single_inventory_user=false. Both the cards and their associated users are automatically generated. Values for the user token fields are generated in the format user-numericPostfix. The numericPostfix values for cards and their associated users match. This value is also printed on the physical cards if the name_line_1_numeric_postfix field is set to true.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List bulk card orders

Action: GET
Endpoint: /bulkissuances
Use this endpoint to list existing bulk card orders. This endpoint supports pagination and sorting.

URL query parameters

Response body

Sample response body

JSON

Retrieve bulk card order

Action: GET
Endpoint: /bulkissuances/{token}
Use this endpoint to retrieve a specific bulk card order.

URL path parameters

Response body

Sample response body

JSON