List all personalization designs ​
Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Returns ​
A dictionary with a data property that contains an array of up to limit cards, starting after card starting_after. Each entry in the array is a separate personalization design object. If no more cards are available, the resulting array will be empty.
Parameters ​
ending_before(string, optional) A cursor for use in pagination.ending_beforeis an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withobj_bar, your subsequent call can includeending_before=obj_barin order to fetch the previous page of the list.limit(integer, optional) A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.lookup_keys(array of strings, optional) Only return personalization designs with the given lookup keys.preferences(object, optional) Only return personalization designs with the given preferences.preferences.is_default(boolean, optional) Only return the personalization design that’s set as the default. A connected account uses the Connect platform’s default design if no personalization design is set as the default.preferences.is_platform_default(boolean, optional) Only return the personalization design that is set as the Connect platform’s default. This parameter is only applicable to connected accounts.
starting_after(string, optional) A cursor for use in pagination.starting_afteris an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withobj_foo, your subsequent call can includestarting_after=obj_fooin order to fetch the next page of the list.status(enum, optional) Only return personalization designs with the given status. Possible enum values:activePersonalization design can be used to create cards that fulfill immediately.inactivePersonalization design cannot be used to create cards because it was deactivated.rejectedPersonalization design cannot be used to create cards because it was rejected by design review.reviewPersonalization design can be used to create cards but cards will only be fulfilled once the personalization design is activated.
curl
curl -G https://api.stripe.com/v1/issuing/personalization_designs \
-u "<<YOUR_SECRET_KEY>>" \
-d limit=3Response ​
json
{
"object": "list",
"url": "/v1/issuing/personalization_designs",
"has_more": false,
"data": [
{
"id": "ipcd_Oiw9GXcFRE81LZ",
"object": "issuing.personalization_design",
"livemode": true,
"card_logo": "file_1LzR9L2eZvKYlo2CelTpcvKu",
"carrier_text": null,
"lookup_key": "my_card_design_lookup_key",
"metadata": {},
"name": "My personalization design name",
"physical_bundle": "ics_Oiw9ahglMfql0U",
"preferences": {
"is_default": false
},
"rejection_reasons": {
"card_logo": [],
"carrier_text": []
},
"status": "review"
}
]
}