#avinash.vaishya
1 messages · Page 1 of 1 (latest)
@orchid crag are you able to help? I can share my request body. Or you can share the request body that works for you?
I'm looking - give me a minute please
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You appear to be sending no request body
How are you producing this request?
I see postman is used, what kind of body did you set?
copied from the logs of my developer account on stripe
What does that mean?
Note you must use form-encoding, not json body data
I created an invoice and saw the logs which gives the log for API used for creation. I tried this as I was not able to create an invoice with lines directly
No, that's not a single reuqest you can make
You need to create and invoice and items separately, see docs here:
I think I get my mistake, I was doing JSON bosy
body
So there is no way to send the invoice header and line together?
Nope, you need to make separate requests
create invoice, then create one or more invoice items for it
Thanks.