https://stripe.com/docs/api/promotion_codes/object?lang=node#promotion_code_object-customer

This. Is it for when creating the code so I can limit the code to exactly that customer or is it when the customer redeems the code, his id is added in there by stripe ?

1

There are 1 best solutions below

0
martinIvovIv On BEST ANSWER

I just found in their docs, it's actually the limit. It limits to a particular customer, who's the only one who can use it. Took me some time so I am answering it here:

https://stripe.com/docs/billing/subscriptions/discounts/codes#limit-by-customer