#wei-coupon

1 messages · Page 1 of 1 (latest)

wild locust
#

Hi there!

#

What error are you seeing?

#

What error did you get from curl https://api.stripe.com/v1/invoices/in_1LO1R12YSHbEHM3wYRnyjxE1 \ -u key: \ -d "discounts[coupon]"=1jIYymtq

digital helm
#
< access-control-max-age: 300
< cache-control: no-cache, no-store
< idempotency-key: 784272de-0613-4fdd-863c-89889c5d75b0
< original-request: req_iNArA5SQEUyUim
< request-id: req_iNArA5SQEUyUim
< stripe-version: 2015-02-16
< strict-transport-security: max-age=31556926; includeSubDomains; preload
#

Perhaps it's due to our stripe api version being too old?

#

That's not it, tried with -H "Stripe-Version: 2020-08-27" same error

wild locust
#

Always forget cURL syntax 😉

#

It is an array of hashes