#atul
1 messages · Page 1 of 1 (latest)
What do you mean? You want to know the max character length of this field? https://stripe.com/docs/api/coupons/create#create_coupon-name
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am going to store the promotion_code and coupon in my database, so please confirm what should be the character length that i must assig to column indatabasew
I'm not sure offhand. Are you just storing the id?
suppose the promotion_code is PROM767H
So the length of it is 8.
So stripe any specific length decided for promocode ??
Just tested this with our API and it didn't throw an error until 500 characters