#Bans
1 messages ยท Page 1 of 1 (latest)
Hello ๐
My PHP skills aren't super great but let me take a swing
It's okay hanzo ๐
This is my Reqeust payload:
{
"price": "price_1MRguZAVc0AdHeDfuKCxOpgT",
"discounts": {
"coupon": {
"0": "CdqQE4jL"
}
},
"customer": "cus_NEdJD6JONAOHib"
}
Thanks Hanzo!
This is the correct format. ๐
Great ๐ Glad I could help
It's pretty weird, why is it formatted that way?
I think making it an array would allow us to support multiple coupons on a single invoice item (which as far as I know isn't currently possible)