#Carlos Mascarenhas - create a coupon
1 messages · Page 1 of 1 (latest)
It looks like you are passing in an entire json object rather than just its ID. That endpoint is expecting an invoice ID, it will look like this: in_123456789
Also I notice that that is a get request. Can you tell me a bit more about what you are trying to do here?
That request looks very different than what I can see. Can you try doing this request one more time and send me the request ID for that?
req_uKXSZMnFxwaG4f
Coupons are being created, but there is an error in the request
Is this app making other API calls?
I see this successful coupon creation call from just now https://dashboard.stripe.com/test/logs/req_HXqemsv9SEMc2Q
So it sounds like your app may be making a $stripe->invoices->retrieve call somewhere else which is where this error is coming from